/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #000000;
  --white:   #f5f5f7;
  --gray:    #86868b;
  --gray2:   #424245;
  --gray3:   #1d1d1f;
  --accent:  #FF6958;
  --accent2: #FF6958;
  --gold:    #FF6958;
  --green:   #30d158;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */
.display {
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
}
.headline {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
}
.title-1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.title-2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.body-large {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--gray);
  font-weight: 400;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.caption {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 52px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta a {
  color: var(--accent2);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  transition: opacity 0.2s;
}
.nav-cta a:hover { opacity: 0.7; }

/* ─── NAV LOGO ─────────────────────────────────────────────── */
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  /* Logo probablemente es oscuro — lo invertimos a blanco */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ─── HERO CLIENT LOGO ─────────────────────────────────────── */
.hero-client {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-client-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-client-logo {
  height: 48px;
  width: auto;
  border-radius: 50%;
  display: block;
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* texto a la izquierda */
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;  /* video visible a la derecha */
}

/* Zona oscura izquierda → video visible derecha */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.96) 0%,
    rgba(0,0,0,0.88) 38%,
    rgba(0,0,0,0.55) 58%,
    rgba(0,0,0,0.15) 78%,
    transparent      100%
  );
  pointer-events: none;
}

/* Contenido — izquierda */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6%;
  max-width: 58vw;
  width: 100%;
}

.hero-eyebrow {
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.16,1,0.3,1) forwards;
  /* Sobreescribir el gold del eyebrow global */
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 65px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.35s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* Palabra de acento con subrayado estilo referencia */
.hero-accent {
  color: var(--accent2);
  position: relative;
  white-space: nowrap;
}
.hero-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -0.06em;
  height: 0.06em;
  background: var(--accent2);
  border-radius: 2px;
  opacity: 0.6;
}

.hero-sub {
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.8s 0.55s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s 0.75s cubic-bezier(0.16,1,0.3,1) forwards;
}

.link-primary {
  color: var(--accent2);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: opacity 0.2s;
}
.link-primary::after { content: ' ›'; }
.link-primary:hover { opacity: 0.7; }

.btn-hero {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: var(--accent2);
  color: #fff;
  text-decoration: none;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 400;
  transition: opacity 0.2s;
}
.btn-hero:hover { opacity: 0.86; }

.hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0.5px;
  background: var(--gray2);
  z-index: 3;
}

/* ─── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--gray2);
  border-bottom: 0.5px solid var(--gray2);
}
.stat-item {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 0.5px solid var(--gray2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s, transform 0.7s;
}
.stat-item:last-child { border-right: none; }
.stat-item.visible { opacity: 1; transform: translateY(0); }
.stat-number {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}
.stat-unit { color: var(--accent2); }
.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ─── INTRO STATEMENT ──────────────────────────────────────── */
.intro-section {
  padding: 10rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.intro-section .headline {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.intro-section .headline.visible { opacity: 1; transform: translateY(0); }
.intro-section .headline span { color: var(--gray); }
.ignite-text {
  color: var(--gray2);
  position: relative;
  display: inline-block;
}
/* Subrayado que crece de izquierda a derecha */
.ignite-text::after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.08em;
  height: 0.07em;
  width: 100%;
  background: var(--accent2);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: none;
}

/* ─── VIDEO SCRUB ──────────────────────────────────────────── */
.video-scrub-section {
  height: 180vh;   /* menos scroll */
  position: relative;
  background: var(--black);
}
.video-scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Velo negro que JS va desvaneciendo al scrollear → efecto "iluminado" */
.scrub-veil {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.05s linear;
}

/* Degradado lateral: protege el texto según su lado */
.video-scrub-sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
/* Texto derecha → oscuro a la derecha */
.video-scrub-section:not(.text-left) .video-scrub-sticky::after {
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.5) 40%,
    transparent 70%
  );
}
/* Texto izquierda → oscuro a la izquierda */
.video-scrub-section.text-left .video-scrub-sticky::after {
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.5) 40%,
    transparent 70%
  );
}

/* Texto a la izquierda (diseño) */
.scrub-text-left {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 420px;
}
.scrub-text-left .eyebrow { margin-bottom: 1rem; display: block; }
.scrub-text-left .headline { margin-bottom: 1rem; }
.scrub-text-left .body-large { margin-bottom: 1.5rem; }

/* Texto a la derecha (código) */
.scrub-text-right {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 420px;
}
.scrub-text-right .eyebrow { margin-bottom: 1rem; display: block; }
.scrub-text-right .headline { margin-bottom: 1rem; }
.scrub-text-right .body-large { margin-bottom: 1.5rem; }


.scrub-progress {
  width: 100px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
}
.scrub-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--accent2);
  width: 0%;
}

/* Fallback background */
.scrub-fallback {
  position: absolute;
  inset: 0;
  background: #000;
}

/* ─── SERVICES — APPLE LIST STYLE ──────────────────────────── */
.services-section {
  padding: 8rem 6%;
  max-width: 1200px;
  margin: 0 auto;
}
.services-top {
  margin-bottom: 5rem;
}
.services-top .eyebrow { display: block; margin-bottom: 1rem; }

.services-list {
  list-style: none;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 0.5px solid var(--gray2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.service-row.visible { opacity: 1; transform: translateY(0); }
.service-row:last-child { border-bottom: 0.5px solid var(--gray2); }
.service-name { font-size: 1.1rem; font-weight: 600; padding-top: 0.1rem; }
.service-desc { font-size: 0.95rem; color: var(--gray); line-height: 1.65; }
.service-tag {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--green);
  background: rgba(48,209,88,0.08);
  padding: 0.2rem 0.7rem;
  border-radius: 980px;
  border: 0.5px solid rgba(48,209,88,0.25);
}

/* ─── TIMELINE ─────────────────────────────────────────────── */
.process-section {
  background: var(--black);
  padding: 8rem 6%;
  position: relative;
  overflow: hidden;
}

.process-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.process-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}
.process-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.process-header { margin-bottom: 5rem; }
.process-header .eyebrow { display: block; margin-bottom: 1rem; }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 11px;
  left: calc(10% + 11px);
  right: calc(10% + 11px);
  height: 0.5px;
  background: var(--gray2);
}
.tl-item {
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.tl-item.visible { opacity: 1; transform: translateY(0); }
.tl-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 0.5px solid var(--gray2);
  background: var(--gray3);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray);
}
.tl-item.active .tl-dot::after { background: var(--accent2); }
.tl-item.active .tl-dot { border-color: var(--accent2); }
.tl-week { font-size: 0.72rem; color: var(--gray); margin-bottom: 0.5rem; }
.tl-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.tl-desc { font-size: 0.78rem; color: var(--gray); line-height: 1.55; }

/* ─── PRICING ──────────────────────────────────────────────── */
.pricing-section {
  padding: 8rem 6%;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}
.pricing-header .eyebrow { display: block; margin-bottom: 1rem; }

/* Dos cards lado a lado */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.plan-card {
  background: var(--gray3);
  border: 0.5px solid var(--gray2);
  border-radius: 18px;
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card--featured {
  border-color: var(--accent2);
  background: var(--gray3);
}
.plan-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,105,88,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.plan-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent2);
  border: 0.5px solid var(--accent2);
  padding: 0.25rem 0.8rem;
  border-radius: 980px;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}
.plan-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.plan-name {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.plan-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  margin-bottom: 0.3rem;
}
.plan-curr {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray);
  margin-top: 0.6rem;
}
.plan-amount {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-note {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 2rem;
}
.plan-per-mes {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--gray);
  letter-spacing: -0.01em;
  align-self: flex-end;
  padding-bottom: 0.35em;
}

.plan-features {
  list-style: none;
  border-top: 0.5px solid var(--gray2);
  margin-bottom: 1.5rem;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 0.5px solid var(--gray2);
  font-size: 0.9rem;
}
.check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(48,209,88,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  color: var(--green);
}

.plan-addon-box {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--gray2);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.plan-addon-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  gap: 1rem;
}
.addon-price-tag { color: var(--accent2); font-size: 0.82rem; flex-shrink: 0; }

.cta-pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border: 0.5px solid var(--gray2);
  color: var(--white);
  text-decoration: none;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.cta-pricing:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.cta-pricing--accent {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}
.cta-pricing--accent:hover { opacity: 0.86; background: var(--accent2); border-color: var(--accent2); }

/* Disclaimer importante */
.pricing-disclaimer {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: rgba(255,105,88,0.05);
  border: 0.5px solid rgba(255,105,88,0.25);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1rem;
}
.disclaimer-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--accent2);
}
.pricing-disclaimer strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.pricing-disclaimer p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.7;
}

/* Chips de plataformas */
.platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.platform-chip {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem;
  border-radius: 980px;
  border: 0.5px solid var(--gray2);
  color: var(--gray);
}
.platform-li  { border-color: rgba(10,102,194,0.4); color: #0a66c2; background: rgba(10,102,194,0.08); }
.platform-ig  { border-color: rgba(225,48,108,0.4);  color: #e1306c; background: rgba(225,48,108,0.08); }
.platform-yt  { border-color: rgba(255,0,0,0.3);     color: #ff4444; background: rgba(255,0,0,0.06); }
.platform-gmb { border-color: rgba(66,133,244,0.3);  color: #4285f4; background: rgba(66,133,244,0.06); }

/* ─── PRICE SPLIT LAYOUT ───────────────────────────────────── */
.price-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 0.5px solid var(--gray2);
  border-bottom: 0.5px solid var(--gray2);
}

.price-split-left {
  padding: 4rem 4rem 4rem 0;
  border-right: 0.5px solid var(--gray2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.price-split-left .eyebrow { margin-bottom: 1.5rem; display: block; }

.price-split-number {
  display: flex;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1;
}
.price-split-curr {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray);
  margin-top: 0.8rem;
}
.price-split-number .plan-amount {
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-split-note {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.6rem;
}

.price-split-right {
  padding: 4rem 0 4rem 4rem;
  display: flex;
  flex-direction: column;
}
.price-split-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.price-split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-split-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-top: 0.5px solid var(--gray2);
}
.price-split-list li:last-child {
  border-bottom: 0.5px solid var(--gray2);
}
.price-split-num {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 0.15rem;
  min-width: 24px;
}
.price-split-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.price-split-list p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .price-split { grid-template-columns: 1fr; }
  .price-split-left { border-right: none; border-bottom: 0.5px solid var(--gray2); padding: 3rem 0; }
  .price-split-right { padding: 3rem 0; }
}

/* ─── CTA FINAL ────────────────────────────────────────────── */
.cta-section {
  padding: 12rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 0.5px solid var(--gray2);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('https://digency.es/wp-content/uploads/2023/03/diseno_web_barcelona.png') center center / cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .headline { margin-bottom: 1.2rem; }
.cta-section .body-large { max-width: 520px; margin: 0 auto 3rem; }
.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border: 0.5px solid rgba(48,209,88,0.3);
  color: var(--green);
  text-decoration: none;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 400;
  transition: opacity 0.2s, background 0.2s;
}
.btn-whatsapp svg { width: 18px; height: 18px; }
.btn-whatsapp:hover { opacity: 0.8; background: rgba(48,209,88,0.06); }

.trust-line {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray);
}
.trust-sep { color: var(--gray2); }

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--gray3);
  padding: 3rem 6%;
  border-top: 0.5px solid var(--gray2);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo-img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  display: block;
  margin-bottom: 0.6rem;
}
.footer p { font-size: 0.78rem; color: var(--gray); margin-top: 0.2rem; }
.footer-link {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }

/* ─── SECTION DIVIDERS ─────────────────────────────────────── */
.divider {
  height: 0.5px;
  background: var(--gray2);
}

/* ─── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ─── HAMBURGER NAV ────────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 52px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-link {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0.7rem 2rem;
  width: 100%;
  text-align: center;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--accent2); }
.mobile-link--accent {
  color: var(--accent2);
  margin-top: 1rem;
  border-bottom: none;
}

/* ─── RESPONSIVE — TABLET (≤ 960px) ───────────────────────── */
@media (max-width: 960px) {

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }

  /* Hero — tablet/móvil: centrado */
  .hero { align-items: center; justify-content: center; }
  .hero-content { max-width: 88%; padding: 0 2rem; text-align: center; }
  .hero-title { font-size: clamp(2rem, 5vw, 3.5rem); }
  .hero-title br { display: none; }
  .hero-overlay { background: rgba(0,0,0,0.55); }

  /* Video scrub — en tablet mostrar video directamente (JS pone autoplay) */
  .scrub-video { display: block !important; }
  .scrub-veil { transition: none; }

  /* Intro */
  .intro-section { padding: 6rem 1.5rem; }

  /* Video scrub: texto siempre abajo centrado */
  .scrub-text-left,
  .scrub-text-right {
    left: 0; right: 0; top: auto;
    bottom: 0;
    transform: none;
    max-width: 100%;
    padding: 2.5rem 1.5rem;
    text-align: left;
  }
  .video-scrub-section.text-left .video-scrub-sticky::after,
  .video-scrub-section:not(.text-left) .video-scrub-sticky::after {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.95) 0%,
      rgba(0,0,0,0.6)  35%,
      transparent      70%
    );
  }
  .scrub-text-left .headline,
  .scrub-text-right .headline { font-size: clamp(1.8rem, 6vw, 3rem); }

  /* Services */
  .services-section { padding: 5rem 5%; }
  .services-top { margin-bottom: 3rem; }
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.5rem 0;
  }

  /* Process */
  .process-section { padding: 5rem 5%; }
  .process-header { margin-bottom: 3rem; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline::before { display: none; }
  .tl-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 0.5px solid var(--gray2);
    position: relative;
  }
  .tl-item:last-child { border-bottom: none; }
  .tl-dot { margin-bottom: 0; grid-column: 1; grid-row: 1 / 4; align-self: start; margin-top: 2px; }
  .tl-week { grid-column: 2; grid-row: 1; margin-bottom: 0.2rem; }
  .tl-name { grid-column: 2; grid-row: 2; margin-bottom: 0.3rem; }
  .tl-desc { grid-column: 2; grid-row: 3; }
  /* Línea vertical entre pasos */
  .tl-item:not(:last-child) .tl-dot::before {
    content: '';
    position: absolute;
    left: 10px; top: 30px; bottom: -1.5rem;
    width: 0.5px;
    background: var(--gray2);
  }

  /* Pricing */
  .pricing-section { padding: 5rem 5%; }
  .pricing-cards { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  .plan-card { padding: 1.8rem; }
  .pricing-header { margin-bottom: 3rem; }

  /* Disclaimer */
  .pricing-disclaimer { flex-direction: column; gap: 0.8rem; padding: 1.2rem 1.5rem; }

  /* CTA */
  .cta-section { padding: 6rem 1.5rem; }
  .trust-line { flex-direction: column; gap: 0.5rem; text-align: center; }
  .trust-sep { display: none; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ─── RESPONSIVE — MOBILE (≤ 600px) ───────────────────────── */
@media (max-width: 600px) {

  /* Hero — móvil: texto a la izquierda, salto de línea controlado */
  .hero { justify-content: flex-start; }
  .hero-content { max-width: 100%; padding: 0 2rem; text-align: left; }
  .hero-title { font-size: clamp(1.8rem, 7.5vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1rem; }
  .hero-title br { display: inline; }
  .hero-sub { font-size: 0.88rem; line-height: 1.6; }
  .hero-sub br { display: none; }
  .hero-eyebrow { display: none; }

  /* Stats: 1 columna compacta */
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item {
    border-right: none;
    border-bottom: 0.5px solid var(--gray2);
    padding: 1.8rem 1.5rem;
  }
  .stat-number { font-size: 3.5rem; }

  /* Intro */
  .intro-section { padding: 4rem 1.2rem; }

  /* Video scrub menos altura en móvil */
  .video-scrub-section { height: 160vh; }

  /* Servicios */
  .services-section { padding: 4rem 1.2rem; }

  /* Process */
  .process-section { padding: 4rem 1.2rem; }

  /* Pricing */
  .pricing-section { padding: 4rem 1.2rem; }
  .plan-card { padding: 1.5rem; border-radius: 14px; }
  .plan-amount { font-size: 3.5rem; }
  .plan-curr { font-size: 1.3rem; }
  .plan-features li { font-size: 0.85rem; padding: 0.6rem 0; }

  /* Plataformas chips en móvil */
  .platforms-row { gap: 0.3rem; }
  .platform-chip { font-size: 0.62rem; padding: 0.2rem 0.5rem; }

  /* CTA */
  .cta-section { padding: 5rem 1.2rem; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-hero[style] { width: 100%; justify-content: center; text-align: center; }
  .btn-whatsapp { justify-content: center; }

  /* Footer */
  .footer { padding: 2rem 1.2rem; }
}
