/* =====================================================================
   seo.css — SEO Service Page
   Loaded after home-new.css; uses --da-* CSS custom properties.
   ===================================================================== */

/* Page-level overflow guard */
html,
body { overflow-x: hidden; }

/* ======================================================================
   KEYFRAMES
   ====================================================================== */

@keyframes seoReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0% 0);
    transform: translateY(0);
  }
}

@keyframes seoFadeUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes seoPop {
  0%   { opacity: 0; transform: scale(0.75) translateY(14px); }
  68%  { transform: scale(1.05) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes seoGradShimmer {
  0%   { background-position: 100% center; }
  50%  { background-position: 0%   center; }
  100% { background-position: 100% center; }
}

/* ======================================================================
   GRADIENT TEXT UTILITY
   ====================================================================== */

.seo-grad {
  background: linear-gradient(90deg, #7c3aed, #c026d3, #e11d48, #c026d3, #7c3aed);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: seoGradShimmer 3.5s ease 1.2s infinite;
}

/* ======================================================================
   HERO SECTION
   ====================================================================== */

.seo-hero {
  position: relative;
  overflow: visible;
  min-height: calc(100vh - var(--da-nav-h, 78px));
  background-color: #050508;
  background-image: url('../img/seo/seo_banner.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Dark overlay — dense at top for text readability, clears toward jet */
.seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 4, 14, 0.88) 0%,
    rgba(5, 4, 14, 0.68) 38%,
    rgba(5, 4, 14, 0.28) 65%,
    rgba(5, 4, 14, 0.04) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Inner wrapper (text block) ── */
.seo-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 4vw, 3.5rem) 0;
  display: flex;
  justify-content: center;
}

/* ── Content block (centered) ── */
.seo-hero__content {
  text-align: center;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── H1 ── */
.seo-hero__title {
  font-family: var(--da-font);
  font-size: clamp(1.75rem, 2.8vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--da-white);
  margin: 0 0 1.5rem;
  animation: seoReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* ── Body paragraph ── */
.seo-hero__body {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.9vw, 0.875rem);
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  margin: 0 0 2rem;
  animation: seoFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* ── CTA button — border-gradient pill ── */
.seo-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#060612, #060612) padding-box,
    linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--da-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: seoPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s both;
}

.seo-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(192, 38, 211, 0.30);
}

/* Arrow icon pill on CTA right side */
.seo-hero__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
}

/* ======================================================================
   LAMP ASSEMBLY
   Hangs from jet belly at bottom-center of the section.
   z-index: 2 keeps it behind content (z-index: 3) so the cord never
   overlaps the CTA button. overflow:visible lets the glow bleed below.
   ====================================================================== */

.seo-hero__lamp-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.seo-hero__lamp-cord {
  width: 2.5px;
  height: clamp(40px, 6vh, 80px);
  background: linear-gradient(
    180deg,
    rgba(130, 130, 130, 0.22) 0%,
    rgba(168, 168, 168, 0.52) 42%,
    rgba(195, 195, 195, 0.80) 100%
  );
  border-radius: 2px;
}

.seo-hero__lamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.seo-hero__lamp-cap {
  width: 34px;
  height: 14px;
  background: radial-gradient(
    ellipse at 50% 0%,
    #747474 0%, #4e4e4e 42%, #2e2e2e 80%, #1e1e1e 100%
  );
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.seo-hero__lamp-svg {
  display: block;
  width: clamp(150px, 16vw, 220px);
  height: auto;
}

.seo-hero__lamp-glow {
  width: clamp(150px, 16vw, 220px);
  height: 5px;
  margin-top: -3px;
  background: rgba(255, 253, 215, 0.95);
  filter: blur(3px);
  box-shadow:
    0    0px  14px   5px rgba(255, 252, 200, 0.94),
    0   28px  55px  20px rgba(255, 246, 175, 0.58),
    0   75px 120px  42px rgba(255, 236, 140, 0.28),
    0  145px 220px  68px rgba(255, 222,  95, 0.12),
    0  260px 360px  90px rgba(255, 205,  55, 0.05);
}

/* ======================================================================
   REDUCED MOTION
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  .seo-hero__title,
  .seo-hero__body,
  .seo-hero__cta,
  .seo-grad {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

/* ======================================================================
   RESPONSIVE BREAKPOINTS
   ====================================================================== */

@media (max-width: 1100px) {
  .seo-hero__title { font-size: clamp(1.9rem, 3.5vw, 3.4rem); }
}

@media (max-width: 768px) {
  .seo-hero {
    min-height: calc(100vh - var(--da-mob-h, 64px));
    background-position: center 60%;
  }
  .seo-hero::before {
    background: rgba(5, 4, 14, 0.82);
  }
  .seo-hero__inner  { padding: 3rem 1.5rem 0; }
  .seo-hero__title  { font-size: clamp(1.65rem, 6.5vw, 2.4rem); }
  .seo-hero__body   { font-size: 0.84rem; max-width: 100%; }

  .seo-hero__lamp-cap  { width: 24px; height: 11px; }
  .seo-hero__lamp-svg  { width: clamp(100px, 22vw, 140px); }
  .seo-hero__lamp-glow { width: clamp(100px, 22vw, 140px); }
}

@media (max-width: 480px) {
  .seo-hero__inner { padding: 2.5rem 1.25rem 0; }
  .seo-hero__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .seo-hero__body  { font-size: 0.82rem; }
  .seo-hero__cta   { min-height: 44px; font-size: 11px; padding: 0 6px 0 18px; }
  .seo-hero__cta-arrow { width: 30px; height: 30px; font-size: 12px; }

  .seo-hero__lamp-cord { height: clamp(28px, 4vh, 55px); }
  .seo-hero__lamp-cap  { width: 20px; height: 9px; }
  .seo-hero__lamp-svg  { width: clamp(85px, 22vw, 115px); }
  .seo-hero__lamp-glow { width: clamp(85px, 22vw, 115px); }
}

@media (max-width: 360px) {
  .seo-hero__inner { padding: 2rem 1rem 0; }
  .seo-hero__title { font-size: clamp(1.35rem, 6.5vw, 1.75rem); }
  .seo-hero__body  { font-size: 0.8rem; }

  .seo-hero__lamp-cord { height: clamp(22px, 3.5vh, 45px); }
  .seo-hero__lamp-cap  { width: 17px; height: 8px; }
  .seo-hero__lamp-svg  { width: clamp(70px, 24vw, 100px); }
  .seo-hero__lamp-glow { width: clamp(70px, 24vw, 100px); }
}

/* ======================================================================
   TOP SEO SERVICES SECTION
   ====================================================================== */

.seo-services {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
  background-color: #07060e;
  background-image: url('../web/Home_back_B.webp');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  overflow: hidden;
}

.seo-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.78);
  pointer-events: none;
  z-index: 1;
}

.seo-services__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── Heading ── */
.seo-services__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.seo-services__title {
  font-family: var(--da-font);
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

/* ── Body copy ── */
.seo-services__body {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.seo-services__body p {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  max-width: 780px;
  margin: 0 auto 1.1rem;
}

.seo-services__lead {
  font-size: clamp(0.85rem, 1vw, 0.95rem) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 1.5rem !important;
}

.seo-services__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.1rem;
  max-width: 580px;
}

.seo-services__list li {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.9vw, 0.875rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
}

/* ── Cards: 4-col grid ── */
.seo-services__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.seo-services__card {
  border-radius: 14px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0e0c1a, #0e0c1a) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.seo-services__card--active {
  background:
    linear-gradient(135deg, #1a0a2e, #240830) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
}

.seo-services__card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #c026d3;
  font-size: 18px;
  flex-shrink: 0;
}

.seo-services__card--active .seo-services__card-icon {
  background: rgba(124, 58, 237, 0.30);
  color: #e879f9;
}

.seo-services__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.85vw, 0.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.seo-services__card-desc {
  font-family: var(--da-font);
  font-size: clamp(0.72rem, 0.78vw, 0.8rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ======================================================================
   SCROLL-REVEAL — .is-visible added to .seo-services by IntersectionObserver
   ====================================================================== */

.seo-services [data-ss-reveal="head"] {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity   0.85s ease 0.1s,
    transform 0.85s ease 0.1s,
    clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.seo-services [data-ss-reveal="body"] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease 0.35s, transform 0.8s ease 0.35s;
}

.seo-services [data-ss-reveal="card"] {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition:
    opacity   0.7s ease,
    transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.seo-services [data-ss-reveal="card"][data-ss-delay="0"] { transition-delay: 0.55s; }
.seo-services [data-ss-reveal="card"][data-ss-delay="1"] { transition-delay: 0.70s; }
.seo-services [data-ss-reveal="card"][data-ss-delay="2"] { transition-delay: 0.85s; }
.seo-services [data-ss-reveal="card"][data-ss-delay="3"] { transition-delay: 1.00s; }

.seo-services.is-visible [data-ss-reveal="head"] {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
}

.seo-services.is-visible [data-ss-reveal="body"] {
  opacity: 1;
  transform: translateY(0);
}

.seo-services.is-visible [data-ss-reveal="card"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .seo-services [data-ss-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .seo-services__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .seo-services__title { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .seo-services__cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 480px) {
  .seo-services__cards { grid-template-columns: 1fr; }
  .seo-services__card  { padding: 1.5rem 1.25rem; }
}

/* ======================================================================
   SEO PARTNER SECTION
   ====================================================================== */

.seo-partner {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
  background-color: #07060e;
  background-image: url('../web/Home_back_C.webp');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  overflow: hidden;
}

.seo-partner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.80);
  pointer-events: none;
  z-index: 1;
}

.seo-partner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* ── Left: image ── */
.seo-partner__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-partner__img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 44px rgba(124, 58, 237, 0.40));
}

/* ── Right: text ── */
.seo-partner__head {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.seo-partner__title {
  font-family: var(--da-font);
  font-size: clamp(1.6rem, 2.8vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  margin: 0;
}

.seo-partner__body p {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.1rem;
}

.seo-partner__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.seo-partner__list li {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.9vw, 0.875rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 1.1rem;
  position: relative;
}

.seo-partner__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c026d3;
  line-height: 1.75;
}

/* ======================================================================
   SCROLL-REVEAL — .is-visible added to .seo-partner by IntersectionObserver
   ====================================================================== */

.seo-partner [data-ss-reveal="img"] {
  opacity: 0;
  transform: translateX(-44px);
  transition:
    opacity   0.9s ease 0.1s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.seo-partner [data-ss-reveal="head"] {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity   0.85s ease 0.3s,
    transform 0.85s ease 0.3s,
    clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.seo-partner [data-ss-reveal="body"] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease 0.55s, transform 0.8s ease 0.55s;
}

.seo-partner.is-visible [data-ss-reveal="img"] {
  opacity: 1;
  transform: translateX(0);
}

.seo-partner.is-visible [data-ss-reveal="head"] {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
}

.seo-partner.is-visible [data-ss-reveal="body"] {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .seo-partner [data-ss-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .seo-partner__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .seo-partner__img { max-width: 380px; margin: 0 auto; }
  .seo-partner__list li { text-align: left; }
}

@media (max-width: 768px) {
  .seo-partner__title { font-size: clamp(1.4rem, 5.5vw, 2rem); }
}

@media (max-width: 480px) {
  .seo-partner__img   { max-width: 280px; }
  .seo-partner__title { font-size: clamp(1.35rem, 7vw, 1.9rem); }
  .seo-partner__body p,
  .seo-partner__list li { font-size: 0.82rem; }
}

/* ======================================================================
   WISH GRANTED / 9-CARD SERVICES SECTION
   ====================================================================== */

.seo-wish {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
  background-color: #07060e;
  background-image: url('../web/Home_back_D.webp');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  overflow: hidden;
}

.seo-wish::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.82);
  pointer-events: none;
  z-index: 1;
}

.seo-wish__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── Heading ── */
.seo-wish__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.seo-wish__title {
  font-family: var(--da-font);
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

/* ======================================================================
   ORBITAL LAYOUT — absolute positioning, 9 cards in one ring + central arrow
   Proportions re-derived from designer's reference image:
   orbital ≈ 800px wide × 620px tall; arrow fills ~38% of width.
   All 9 service cards (top arc, middle flanks, bottom arc) live in one
   ring around the arrow — do NOT split any of them into a separate grid.
   ====================================================================== */

.seo-wish__orbital {
  position: relative;
  max-width: 800px;
  width: 100%;
  height: 620px;
  margin: 0 auto clamp(1rem, 1.5vw, 1.5rem);
}

/* All 9 orbital cards: absolutely positioned, 26% of orbital width */
.seo-wish__orbital .seo-wish__card {
  position: absolute;
  width: 26%;
  z-index: 1;
}

/* Smaller icon so cards stay compact inside the tight orbital */
.seo-wish__orbital .seo-wish__card-icon {
  width: 40px;
  height: 40px;
}

/* Description capped at 3 lines for consistent card height */
.seo-wish__orbital .seo-wish__card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Top arc ── */
/* KEYWORD RESEARCH — crown: top center */
.seo-wish__orb-kw { top: 0;    left: 37%; z-index: 2; }

/* COMPETITOR ANALYSIS — top left */
.seo-wish__orb-ca { top: 60px; left: 2%; }

/* ON-PAGE SEO — top right */
.seo-wish__orb-op { top: 55px; right: 2%; }

/* ── Middle flanks ── */
/* TECHNICAL SEO — left, mid-height */
.seo-wish__orb-ts { top: 220px; left: 0; }

/* OFF-PAGE SEO — right, mid-height */
.seo-wish__orb-of { top: 210px; right: 0; }

/* ── Bottom arc (overlapping fan) ── */
/* SEO AUDIT AND REPORTING — active/highlighted, bottom left */
.seo-wish__orb-sa { top: 400px; left: 4%;  z-index: 3; }

/* CONTENT MARKETING — bottom center-left, overlaps SEO Audit's right edge */
.seo-wish__orb-cm { top: 435px; left: 25%; z-index: 2; }

/* MOBILE SEO — bottom center-right */
.seo-wish__orb-ms { top: 435px; right: 25%; z-index: 1; }

/* LOCAL SEO — bottom right */
.seo-wish__orb-ls { top: 400px; right: 4%; z-index: 1; }

/* Arrow: dominant center element spanning the full ring height,
   z-index 0 so it always sits behind every card. */
.seo-wish__arrow {
  position: absolute;
  left: 30%;
  top: 130px;
  width: 38%;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

.seo-wish__arrow img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(220, 38, 38, 0.50));
}

/* ── Card — mirrors seo-services__card ── */
.seo-wish__card {
  border-radius: 14px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0e0c1a, #0e0c1a) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
  padding: clamp(1rem, 1.4vw, 1.4rem) clamp(0.9rem, 1.2vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-wish__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.22);
}

.seo-wish__card--active {
  background:
    linear-gradient(135deg, #1a0a2e, #240830) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
}

.seo-wish__card-icon {
  width: clamp(40px, 4vw, 56px);
  height: clamp(40px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seo-wish__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seo-wish__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.72rem, 0.82vw, 0.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.seo-wish__card-desc {
  font-family: var(--da-font);
  font-size: clamp(0.68rem, 0.74vw, 0.78rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ======================================================================
   SCROLL-REVEAL — .is-visible added to .seo-wish by IntersectionObserver
   ====================================================================== */

.seo-wish [data-ss-reveal="head"] {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity   0.85s ease 0.1s,
    transform 0.85s ease 0.1s,
    clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.seo-wish [data-ss-reveal="card"] {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition:
    opacity   0.7s ease var(--d, 0s),
    transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) var(--d, 0s);
}

.seo-wish [data-ss-reveal="arrow"] {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity   0.9s ease 0.35s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.seo-wish.is-visible [data-ss-reveal="head"] {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
}

.seo-wish.is-visible [data-ss-reveal="card"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.seo-wish.is-visible [data-ss-reveal="arrow"] {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .seo-wish [data-ss-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
/* At ≤860px: revert absolute → flex, hide arrow (orbital is max 800px so this kicks in on small tablets/phones) */
@media (max-width: 860px) {
  .seo-wish__orbital {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .seo-wish__orbital .seo-wish__card {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    width: calc(50% - 0.5rem);
    z-index: 1 !important;
  }
  .seo-wish__orb-kw,
  .seo-wish__orb-ca,
  .seo-wish__orb-op,
  .seo-wish__orb-ts,
  .seo-wish__orb-of,
  .seo-wish__orb-sa,
  .seo-wish__orb-cm,
  .seo-wish__orb-ms,
  .seo-wish__orb-ls { top: auto; left: auto; right: auto; bottom: auto; }
  .seo-wish__orbital .seo-wish__card-desc {
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
  }
  .seo-wish__arrow { display: none; }
}

@media (max-width: 768px) {
  .seo-wish__title { font-size: clamp(1.4rem, 5.5vw, 2rem); }
}

@media (max-width: 480px) {
  .seo-wish__orbital .seo-wish__card { width: 100%; }
  .seo-wish__title { font-size: clamp(1.35rem, 7vw, 1.85rem); }
  .seo-wish__card-desc { font-size: 0.75rem; }
}

/* ======================================================================
   SEO-IMPACT — "SEO DUBAI: MAXIMIZE YOUR ONLINE IMPACT"
   Two-column: text left (~55%), boy+phone image right (~45%)
   ====================================================================== */

.seo-impact {
  position: relative;
  background: url('../web/Home_back_E.webp') center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
  overflow: hidden;
}

.seo-impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.83);
  z-index: 1;
}

.seo-impact__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* ---- Left: text ---- */

.seo-impact__title {
  font-size: clamp(1.6rem, 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  letter-spacing: 0.02em;
}

.seo-impact__lead {
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.seo-impact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.seo-impact__list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.seo-impact__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--da-purple, #7c3aed);
  line-height: 1.65;
}

.seo-impact__close {
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

/* ---- Right: image ---- */

.seo-impact__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* pull image down to bottom of section for natural floating look */
  margin-bottom: clamp(-3rem, -6vw, -5rem);
}

.seo-impact__img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  object-fit: contain;
  /* subtle glow behind the figure */
  filter: drop-shadow(0 0 60px rgba(124, 58, 237, 0.18));
}

/* ======================================================================
   SCROLL-REVEAL
   ====================================================================== */

.seo-impact [data-ss-reveal="text"] {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.seo-impact [data-ss-reveal="visual"] {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.75s ease 0.2s, transform 0.75s ease 0.2s;
}

.seo-impact.is-visible [data-ss-reveal="text"],
.seo-impact.is-visible [data-ss-reveal="visual"] {
  opacity: 1;
  transform: translateX(0);
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */

@media (max-width: 900px) {
  .seo-impact__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .seo-impact__visual {
    order: -1;
    margin-bottom: 0;
    margin-top: clamp(-2rem, -4vw, -3rem);
  }
  .seo-impact__img { max-width: 380px; }
}

@media (max-width: 480px) {
  .seo-impact__title { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .seo-impact__img { max-width: 280px; }
}

/* ======================================================================
   CROSS TICKER  (.sm-crt)
   Reuses da-crt__ ribbon internals from home-new.css.
   CSS below matches social-media.css exactly for visual parity.
   ====================================================================== */

.sm-crt {
  position: relative;
  overflow: visible;
  z-index: 1;
  background: #07070a;
  min-height: clamp(260px, 28vw, 360px);
  padding: clamp(70px, 8vw, 100px) 0;
}

.sm-crt__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.sm-crt .da-crt__fade--top,
.sm-crt__clip .da-crt__fade--top {
  height: 18%;
  background: linear-gradient(to bottom,
    #07070a 0%, rgba(7,7,10,0.70) 40%, transparent 100%);
}
.sm-crt .da-crt__fade--bottom,
.sm-crt__clip .da-crt__fade--bottom {
  height: 18%;
  background: linear-gradient(to top,
    #07070a 0%, rgba(7,7,10,0.70) 40%, transparent 100%);
}
.sm-crt .da-crt__vignette--l,
.sm-crt .da-crt__vignette--r { display: none; }

/* Cord */
.sm-crt__cord {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(130,130,130,0.22) 10%,
    rgba(168,168,168,0.52) 42%,
    rgba(195,195,195,0.80) 100%);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}

/* Lamp group */
.sm-crt__lamp {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 30;
  pointer-events: none;
}

.sm-crt__lamp-cap {
  width: 34px;
  height: 14px;
  background: radial-gradient(ellipse at 50% 0%,
    #747474 0%, #4e4e4e 42%, #2e2e2e 80%, #1e1e1e 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.12);
}

.sm-crt__lamp-svg {
  display: block;
  width: clamp(150px, 16vw, 220px);
  height: auto;
}

.sm-crt__lamp-glow {
  width: clamp(150px, 16vw, 220px);
  height: 5px;
  margin-top: -3px;
  background: rgba(255, 253, 215, 0.95);
  filter: blur(3px);
  box-shadow:
    0    0px  14px   5px rgba(255, 252, 200, 0.94),
    0   28px  55px  20px rgba(255, 246, 175, 0.58),
    0   75px 120px  42px rgba(255, 236, 140, 0.28),
    0  145px 220px  68px rgba(255, 222,  95, 0.12),
    0  260px 360px  90px rgba(255, 205,  55, 0.05);
}

/* ======================================================================
   TESTIMONIALS  (.sm-testimonials)
   ====================================================================== */

.sm-testimonials {
  position: relative;
  z-index: 5;
  overflow: visible;
  background: linear-gradient(180deg,
    transparent               0%,
    rgba(7, 7, 10, 0.55)      7%,
    rgba(7, 7, 10, 0.90)     16%,
    #07070a                  24%);
  margin-top: -2px;
  padding-top:    clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

.sm-testimonials__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.sm-testimonials__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity   1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter    1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.sm-testimonials.is-visible .sm-testimonials__header {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

.sm-testimonials__title {
  font-family: var(--da-font);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 clamp(0.8rem, 1.2vw, 1.1rem);
}

.sm-testimonials__sub {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.60);
  max-width: 560px;
  margin: 0 auto;
}

/* Infinite carousel */
.sm-testimonials__slider-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(1rem, 1.5vw, 1.5rem) 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}
.sm-testimonials.is-visible .sm-testimonials__slider-wrap {
  opacity: 1; transform: translateY(0);
}

.sm-testimonials__slider-wrap::before,
.sm-testimonials__slider-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(30px, 4vw, 60px);
  z-index: 5;
  pointer-events: none;
}
.sm-testimonials__slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, #07070a 0%, transparent 100%);
}
.sm-testimonials__slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, #07070a 0%, transparent 100%);
}

.sm-testimonials__track {
  display: flex;
  gap: clamp(14px, 1.5vw, 20px);
  width: max-content;
  will-change: transform;
  animation: smReviewScroll 32s linear infinite;
}
.sm-testimonials__slider-wrap:hover .sm-testimonials__track {
  animation-play-state: paused;
}

@keyframes smReviewScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card */
.sm-testimonials__card {
  flex-shrink: 0;
  width: clamp(280px, 24vw, 350px);
  background: rgba(14, 12, 26, 0.94);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.2vw, 1.1rem);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.sm-testimonials__card:hover {
  border-color: rgba(124,58,237,0.38);
  box-shadow: 0 10px 36px rgba(124,58,237,0.16);
  transform: translateY(-4px);
}

.sm-testimonials__card--featured {
  border-color: transparent;
  background:
    linear-gradient(rgba(14,12,26,0.96), rgba(14,12,26,0.96)) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
}
.sm-testimonials__card--featured:hover { filter: brightness(1.04); }

.sm-testimonials__quote {
  font-size: clamp(1.4rem, 2vw, 2rem);
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  opacity: 0.9;
}

.sm-testimonials__text {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.84vw, 0.875rem);
  line-height: 1.78;
  color: rgba(255,255,255,0.72);
  margin: 0;
  flex: 1;
}

.sm-testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: clamp(0.6rem, 0.9vw, 0.85rem);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.sm-testimonials__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.sm-testimonials__avatar--a { background: linear-gradient(135deg,#7c3aed,#c026d3); }
.sm-testimonials__avatar--b { background: linear-gradient(135deg,#1d4ed8,#7c3aed); }
.sm-testimonials__avatar--c { background: linear-gradient(135deg,#c026d3,#e11d48); }
.sm-testimonials__avatar--d { background: linear-gradient(135deg,#0891b2,#7c3aed); }
.sm-testimonials__avatar--e { background: linear-gradient(135deg,#f97316,#e11d48); }
.sm-testimonials__avatar--f { background: linear-gradient(135deg,#059669,#0891b2); }

.sm-testimonials__name {
  font-family: var(--da-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c026d3;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sm-crt { min-height: clamp(300px, 70vw, 420px); }
  .sm-crt__lamp-svg { width: clamp(100px, 22vw, 140px); }
  .sm-crt__lamp-cap { width: 24px; height: 11px; }
}
@media (max-width: 480px) {
  .sm-crt { min-height: clamp(280px, 80vw, 380px); }
  .sm-crt__lamp-svg { width: clamp(85px, 22vw, 115px); }
  .sm-crt__lamp-cap { width: 20px; height: 9px; }
  .sm-testimonials__card { width: clamp(240px, 80vw, 300px); }
}
@media (max-width: 360px) {
  .sm-crt { min-height: clamp(260px, 85vw, 360px); }
  .sm-crt__lamp-svg { width: clamp(70px, 24vw, 100px); }
  .sm-crt__lamp-cap { width: 17px; height: 8px; }
  .sm-testimonials__inner { padding: 0 1rem; }
  .sm-testimonials__card  { width: clamp(220px, 88vw, 280px); }
  .sm-testimonials__title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sm-testimonials__header, .sm-testimonials__slider-wrap, .sm-testimonials__track {
    transition: none !important; animation: none !important;
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}
