/* ============================================================
   NEOPIXEL — Home page (AMD-style)
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(100px, 10vw, 160px) 0 clamp(100px, 10vw, 160px);
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 80vh;
}
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 16, 0.6) 0%, rgba(10, 13, 16, 0.85) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  align-self: center;
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.2);
}
.hero__badge-num {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero__badge-num em { color: var(--bg-dark); font-weight: 800; font-style: normal; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hero__title em { font-style: normal; color: var(--accent); position: relative; display: inline-block; }
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 8px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 99px;
  z-index: -1;
}
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-wrap: pretty;
}
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}
.hero__trust-avatars { display: flex; }
.hero__trust-avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  background: #ffffff;
  object-fit: contain;
  padding: 5px;
  margin-left: -8px;
}
.hero__trust-avatars img:first-child { margin-left: 0; }
.hero__trust-text { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; text-align: left; }
.hero__trust-text strong { color: #fff; font-weight: 600; display: block; font-size: 14.5px; }
.hero__trust-stars { color: #ffb84d; font-size: 13px; letter-spacing: 1px; }


/* ---------- Logos strip ---------- */
.logos-strip {
  background: var(--bg);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-strip__head {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 28px;
}
.logos-strip__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 48px;
}
.logos-strip__grid img {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.45);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}
.logos-strip__grid img:hover {
  filter: none;
  transform: translateY(-2px);
}
.logos-strip__grid img.logo-apolion {
  height: 28px;
}

/* Dark modifier for logos strip */
.logos-strip--dark {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logos-strip--dark .logos-strip__head {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Intro 2-col ---------- */
.intro {
  padding: var(--section-y) 0;
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.intro__copy { display: flex; flex-direction: column; gap: 20px; }
.intro__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.intro__title em { font-style: normal; color: var(--accent-dark); }
.intro__text {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg-2);
}
.intro__text strong { color: var(--fg); font-weight: 600; }
.intro__bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 8px;
}
.intro__bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg);
}
.intro__bullets li::before {
  content: "✓";
  width: 22px; height: 22px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.intro__visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}
.intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.intro__visual:hover img {
  transform: scale(1.04);
}

/* ---------- Services grid ---------- */
.services {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
  position: relative;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  position: relative;
  min-height: 260px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -20px rgba(12,15,18,0.18);
  border-color: var(--line-strong);
}
.svc-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.svc-card__title em { color: var(--accent-dark); font-style: normal; }
.svc-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-dark);
  padding: 10px 24px;
  border: 2px solid var(--accent-dark);
  border-radius: 99px;
  margin-top: 10px;
  transition: all 0.3s var(--ease-out);
}
.svc-card:hover .svc-card__link {
  background: var(--accent-dark);
  color: #fff;
  gap: 14px;
}
.svc-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease-out);
}
.svc-card:hover .svc-card__link svg {
  transform: translateX(4px);
}

/* Dark modifier for services grid */
.services--dark {
  background: var(--bg-dark);
  color: #fff;
}
.services--dark .section__kicker {
  color: var(--accent);
}
.services--dark .section__title {
  color: #fff;
}
.services--dark .section__title em {
  color: var(--accent);
}
.services--dark .section__sub {
  color: rgba(255, 255, 255, 0.65);
}
.services--dark .svc-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-shadow: 0 2px 8px rgba(12, 15, 18, 0.6);
}
.services--dark .svc-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}
.services--dark .svc-card__title {
  color: #fff;
}
.services--dark .svc-card__title em {
  color: var(--accent);
}
.services--dark .svc-card__link {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(25, 214, 140, 0.05);
  text-shadow: none;
}
.services--dark .svc-card:hover .svc-card__link {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(25, 214, 140, 0.4);
}

.services--dark .svc-card.svc-card--web {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.45) 0%, rgba(12, 15, 18, 0.7) 100%), url('../img/Paginaweb.jpg') no-repeat center center / cover;
}
.services--dark .svc-card.svc-card--web:hover {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.3) 0%, rgba(12, 15, 18, 0.55) 100%), url('../img/Paginaweb.jpg') no-repeat center center / cover;
}

.services--dark .svc-card.svc-card--inbound {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.45) 0%, rgba(12, 15, 18, 0.7) 100%), url('../img/Marketing.jpg') no-repeat center center / cover;
}
.services--dark .svc-card.svc-card--inbound:hover {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.3) 0%, rgba(12, 15, 18, 0.55) 100%), url('../img/Marketing.jpg') no-repeat center center / cover;
}

.services--dark .svc-card.svc-card--seo {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.45) 0%, rgba(12, 15, 18, 0.7) 100%), url('../img/Posicionamiento.jpg') no-repeat center center / cover;
}
.services--dark .svc-card.svc-card--seo:hover {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.3) 0%, rgba(12, 15, 18, 0.55) 100%), url('../img/Posicionamiento.jpg') no-repeat center center / cover;
}

.services--dark .svc-card.svc-card--email {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.45) 0%, rgba(12, 15, 18, 0.7) 100%), url('../img/Email.jpg') no-repeat center center / cover;
}
.services--dark .svc-card.svc-card--email:hover {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.3) 0%, rgba(12, 15, 18, 0.55) 100%), url('../img/Email.jpg') no-repeat center center / cover;
}

.services--dark .svc-card.svc-card--ads {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.45) 0%, rgba(12, 15, 18, 0.7) 100%), url('../img/Ads.jpg') no-repeat center center / cover;
}
.services--dark .svc-card.svc-card--ads:hover {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.3) 0%, rgba(12, 15, 18, 0.55) 100%), url('../img/Ads.jpg') no-repeat center center / cover;
}

.services--dark .svc-card.svc-card--dev {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.45) 0%, rgba(12, 15, 18, 0.7) 100%), url('../img/Desarrollo.jpg') no-repeat center center / cover;
}
.services--dark .svc-card.svc-card--dev:hover {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.3) 0%, rgba(12, 15, 18, 0.55) 100%), url('../img/Desarrollo.jpg') no-repeat center center / cover;
}

/* ---------- Why us ---------- */
.why { padding: var(--section-y) 0; }
.why__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 64px;
}
.why__head .section__head {
  max-width: 60%;
  margin-bottom: 0;
}
.why__head-image {
  flex: 1;
  max-width: 35%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.6s var(--ease-out);
}
.why__head-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why__head-image:hover {
  transform: translateY(-4px) scale(1.02);
}

@media (max-width: 1024px) {
  .why__head {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .why__head .section__head {
    max-width: 100%;
  }
  .why__head-image {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s, border-color 0.3s;
}
.why-card:hover { background: var(--bg-alt); border-color: var(--line-strong); }
.why-card__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
  line-height: 1;
}
.why-card__num small { font-size: 0.5em; color: var(--fg-3); margin-left: 4px; font-weight: 500; }
.why-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.why-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* ---------- Stats counters (dark) ---------- */
.stats-band {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.stats-band__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 48px;
}
.stats-band__head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 760px;
  text-wrap: balance;
}
.stats-band__head h2 em { color: var(--accent); font-style: normal; }
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell__plus {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.5em;
  align-self: center;
}
.stat-cell__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat-cell__value em { color: var(--accent); font-style: normal; }
.stat-cell__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  max-width: 160px;
  margin: 0 auto;
  line-height: 1.4;
}





/* ---------- Clients logos band ---------- */
.clients { padding: var(--section-y) 0; background: var(--bg); overflow: hidden; }

/* Clients Slider Container */
.clients-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

/* Gradient masks for smooth fading edges */
.clients-slider::before,
.clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}
.clients-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.clients-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.clients-slider__track {
  display: flex;
  width: max-content;
  animation: clientsMarquee 30s linear infinite;
}

.clients-slider__track:hover {
  animation-play-state: paused;
}

.clients-slider__group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.client-cell {
  padding: 10px 40px;
  display: flex; align-items: center; justify-content: center;
  min-height: 100px;
  min-width: 220px;
  transition: transform 0.3s var(--ease-out);
}
.client-cell:hover {
  transform: translateY(-4px);
}

.client-cell img {
  height: 48px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}
.client-cell:hover img {
  transform: scale(1.06);
}
.client-cell img.logo-apolion {
  height: 34px;
}
.client-cell img.logo-eon {
  height: 58px;
  max-width: 170px;
}

@keyframes clientsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Technologies ---------- */
.tech {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.tech__inner {
  display: flex;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.tech__copy {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tech__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.tech__title em {
  font-style: normal;
  color: var(--accent-dark);
}
.tech__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin-bottom: 4px;
}
.tech__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.tech-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 16px var(--accent-glow);
}
.tech-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
}
.tech-card:hover .tech-card__icon {
  transform: scale(1.1);
}
.tech-card__icon img, .tech-card__icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tech-card__name {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--fg);
  letter-spacing: -0.015em;
}


/* ---------- FAQ ---------- */
.faq { padding: var(--section-y) 0; background: var(--bg-alt); }
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.faq__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.faq__side-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 60%),
    linear-gradient(135deg, var(--bg-dark) 0%, #1a2128 100%);
  aspect-ratio: 4 / 5;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.faq__side-img-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid rgba(25,214,140,0.3);
  border-radius: 99px;
  background: rgba(25,214,140,0.06);
}
.faq__side-img-body {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.faq__side-img-body em { color: var(--accent); font-style: normal; }

.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.is-open { border-color: var(--line-strong); }
.faq-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--fg);
  cursor: pointer;
}
.faq-item__plus {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s;
}
.faq-item.is-open .faq-item__plus { background: var(--accent); color: var(--bg-dark); transform: rotate(45deg); }
.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }
.faq-item__body > div { overflow: hidden; }
.faq-item__body p {
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
}
.faq-item__body p + p { padding-top: 12px; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: var(--section-y) 0;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(50px);
  opacity: 0.5;
  pointer-events: none;
}
.final-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.final-cta__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 18ch;
}
.final-cta__title em { color: var(--accent); font-style: normal; }
.final-cta__sub { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 560px; line-height: 1.6; }
.final-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta__note {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 460px; }
  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid, .partners__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }


  .tech__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .tech__copy { flex: none; width: 100%; }
  .tech__grid { grid-template-columns: repeat(3, 1fr); }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__side { position: static; }
}
@media (max-width: 640px) {
  .services__grid, .partners__grid, .why__grid { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 24px 16px; }
  .stat-cell:last-child { border-bottom: 0; }

  .tech__grid { grid-template-columns: repeat(3, 1fr); }
  .tech-card { padding: 12px 6px; gap: 8px; }
  .tech-card__icon { width: 36px; height: 36px; }
  .tech-card__name { font-size: 11px; }
  .hv-main { width: 100%; }
  .hv-side { width: 160px; }
  .intro__bullets { grid-template-columns: 1fr; }
}

/* ---------- Homepage Transparent Header Overlay ---------- */
body[data-screen-label="01 Home"] .topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
body[data-screen-label="01 Home"] .nav {
  background: transparent;
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) {
  color: #ffffff;
  border-bottom-color: transparent;
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) .nav__logo {
  color: #ffffff;
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) .nav__links > li > a {
  color: rgba(255, 255, 255, 0.85);
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) .nav__links > li > a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) .theme-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) .nav__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--accent);
  color: var(--bg-dark);
}
body[data-screen-label="01 Home"] .nav:not(.is-scrolled) .nav__cta:hover {
  background: var(--accent-dark);
  color: #ffffff;
  border-color: var(--accent-dark);
}
body[data-screen-label="01 Home"] .nav.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}
body[data-screen-label="01 Home"] .hero {
  margin-top: -92px; /* Pulls hero under nav only, slightly overlapping to prevent any white gap */
  padding-top: calc(92px + clamp(100px, 10vw, 160px));
}
