/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
  --bg:           #07080c;
  --bg-2:         #0c0d13;
  --bg-3:         #10111a;
  --accent:       #4f8ef7;
  --accent-dim:   rgba(79,142,247,0.15);
  --accent-border:rgba(79,142,247,0.3);
  --teal:         #38bdf8;
  --green:        #34d399;
  --white:        #f4f4f5;
  --muted:        #71717a;
  --muted-2:      #3f3f46;
  --gold:         #d4a843;
  --gold-dim:     rgba(212,168,67,0.15);
  --gold-border:  rgba(212,168,67,0.4);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-serif:'Cormorant Garamond', serif;

  --radius:    10px;
  --radius-lg: 18px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1140px;
}

/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; border:none; background:none; font-family:inherit; color:inherit; }
ul { list-style:none; }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 3rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-sub { margin: 0 auto 3rem; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.22s var(--ease);
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn--primary:hover {
  background: #3b7de8;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,142,247,0.35);
}
.btn--white-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--white-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.btn--sm  { font-size: 0.78rem; padding: 0.5rem 1.1rem; }
.btn--lg  { font-size: 0.95rem; padding: 0.85rem 2rem; }
.btn--xl  { font-size: 1rem;    padding: 1rem 2.5rem; }
.btn--block { display: flex; width: 100%; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1rem 0;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,8,12,0.94);
  border-bottom-color: var(--muted-2);
  backdrop-filter: blur(14px);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) { .nav__inner { padding: 0 2rem; } }

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: none;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav__links {
    display: flex;
    list-style: none;
  }
  .nav__links a {
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--muted);
    transition: color 0.2s;
  }
  .nav__links a:hover { color: var(--white); }
}

.nav__cta { display: none; }
@media (min-width: 768px) { .nav__cta { display: inline-flex; } }

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
@media (min-width: 768px) { .nav__burger { display: none; } }
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav dropdown */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(7,8,12,0.97);
  border-top: 1px solid var(--muted-2);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--muted-2);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile .btn { margin-top: 1rem; justify-content: center; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding: 5.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 55% at 50% 100%, rgba(30,15,70,0.9) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 20% 80%, rgba(10,8,50,0.6) 0%, transparent 50%),
    linear-gradient(170deg, #12102a 0%, #0a0916 40%, #080b18 70%, #09101c 100%);
  z-index: 0;
}

/* Imagen de fondo Medellín — se opaca con el scroll */
.hero__img-bg {
  position: absolute; inset: 0;
  background: url('imagenhero.png') center center / cover no-repeat;
  opacity: 0.28;
  z-index: 1;
  transition: opacity 0.05s linear;
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

/* Badge cursivo */
.hero__pill {
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  background: var(--gold-dim);
  letter-spacing: 0.02em;
}

.hero__date {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  max-width: 680px;
}
.hero__headline span { color: var(--accent); }

.hero__vsl {
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;       /* ← esto es el fix */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 60px rgba(0,0,0,0.6), 0 0 0 1px var(--muted-2);
  margin: 0.4rem auto;
}
.hero__vsl video {
  width: 100%;
  height: 100%;               /* ← llena el contenedor */
  object-fit: cover;          /* ← recorta sin deformar */
  display: block;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__scroll-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.hero__scroll-link:hover { color: var(--white); }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.73rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.dot { color: var(--muted-2); }

/* ══════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════ */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--muted-2);
  border-bottom: 1px solid var(--muted-2);
  padding: 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding: 2rem 1rem;
  border-right: 1px solid var(--muted-2);
}
.stat:last-child { border-right: none; }
.stat:nth-child(2) { border-right: none; }
@media (min-width: 640px) { .stat:nth-child(2) { border-right: 1px solid var(--muted-2); } }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════
   URGENCY BAR
══════════════════════════════════════════ */
.urgency-bar {
  background: linear-gradient(90deg, rgba(79,142,247,0.12), rgba(56,189,248,0.08));
  border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border);
  padding: 0.9rem 0;
}
.urgency-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.urgency-bar__inner span {
  font-size: 0.85rem;
  color: var(--muted);
}
.urgency-bar__inner strong { color: var(--white); }

/* ══════════════════════════════════════════
   MÉTODO
══════════════════════════════════════════ */
.metodo {
  padding: 6rem 0;
  background: var(--bg);
}
.dias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .dias-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .dias-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dias-grid .dia-card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
    width: 100%;
  }
}

.dia-card {
  background: var(--bg-2);
  border: 1px solid var(--muted-2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}
.dia-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}
.dia-card--accent {
  border-color: var(--accent-border);
  background: linear-gradient(135deg, var(--bg-3), rgba(79,142,247,0.06));
}
.dia-card__num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
}
.dia-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.dia-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.dia-card ul { display: flex; flex-direction: column; gap: 0.4rem; }
.dia-card li {
  font-size: 0.78rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.dia-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

/* ══════════════════════════════════════════
   SECTION CTA (inline between sections)
══════════════════════════════════════════ */
.section-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--muted-2);
}
.section-cta p {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.section-cta span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════
   PARA QUIÉN
══════════════════════════════════════════ */
.para-quien {
  padding: 5rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--muted-2);
  border-bottom: 1px solid var(--muted-2);
}
.pq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}
@media (min-width: 768px) { .pq-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.pq-col {
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.pq-col--si {
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.2);
}
.pq-col--no {
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.15);
}
.pq-col h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pq-icon {
  display: inline-flex;
  width: 22px; height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pq-icon.si { background: rgba(52,211,153,0.2); color: var(--green); }
.pq-icon.no { background: rgba(239,68,68,0.15); color: #f87171; }

.pq-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.pq-col li {
  font-size: 0.87rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.55;
}
.pq-col--si li::before { content:'✓'; position:absolute; left:0; color:var(--green); font-size:0.7rem; top:0.15rem; }
.pq-col--no li::before { content:'✕'; position:absolute; left:0; color:#f87171; font-size:0.7rem; top:0.15rem; }

/* ══════════════════════════════════════════
   CASOS / INSTAGRAM CARDS
══════════════════════════════════════════ */
.casos {
  padding: 6rem 0;
  background: var(--bg);
}
.ig-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* Casos reales — grid de imágenes */
.casos-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) { .casos-img-grid { grid-template-columns: repeat(4, 1fr); } }

.caso-img-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.caso-img-item img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--muted-2);
  display: block;
}

.ig-card {
  background: var(--bg-2);
  border: 1px solid var(--muted-2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.ig-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
}
.ig-card--feat {
  border-color: var(--accent-border);
  background: linear-gradient(160deg, var(--bg-3) 0%, rgba(79,142,247,0.07) 100%);
}

.ig-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ig-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px rgba(255,255,255,0.15);
}
.ig-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
}
.ig-handle {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ig-niche {
  font-size: 0.7rem;
  color: var(--muted);
}
.ig-badge {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.ig-badge--gold {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

/* Stats row */
.ig-stats {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-top: 1px solid var(--muted-2);
  border-bottom: 1px solid var(--muted-2);
}
.ig-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}
.ig-stat strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.ig-stat span {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
}

/* Before / After */
.ba-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-3);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.ba-before, .ba-after {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.ba-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.ba-before span:last-child { font-size: 0.75rem; color: #f87171; font-weight: 500; }
.ba-after  span:last-child { font-size: 0.75rem; color: var(--green); font-weight: 600; }
.ba-arrow {
  font-size: 1rem;
  color: var(--muted-2);
  flex-shrink: 0;
}

/* Growth bar */
.ig-growth { display: flex; flex-direction: column; gap: 0.5rem; }
.ig-growth__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ig-growth__head span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ig-growth__head strong { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; color: var(--green); }
.ig-bar-wrap {
  height: 5px;
  background: var(--muted-2);
  border-radius: 10px;
  overflow: hidden;
}
.ig-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 10px;
  transition: width 1.6s var(--ease);
}

/* Quote */
.ig-card blockquote {
  font-size: 0.83rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
  border-left: 2px solid var(--accent-border);
  padding-left: 0.85rem;
  margin-top: auto;
}

/* ══════════════════════════════════════════
   CTA BLOCK (mid-page)
══════════════════════════════════════════ */
.cta-block {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-block__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(79,142,247,0.1) 0%, rgba(56,189,248,0.05) 50%, rgba(79,142,247,0.08) 100%);
  border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border);
}
.cta-block__inner {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-block__inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
  }
}
.cta-block__text { max-width: 480px; }
.cta-block__text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.9rem;
  margin-top: 0.5rem;
}
.cta-block__text p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.cta-block__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
@media (min-width: 768px) { .cta-block__action { align-items: flex-start; } }
.cta-block__seats { font-size: 0.82rem; color: var(--muted); }
.cta-block__seats strong { color: var(--white); }
.cta-block__proof {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cta-block__proof span { font-size: 0.73rem; color: var(--muted); }

.marketing-section {
  background: var(--bg-2);
  border-top: 1px solid var(--muted-2);
  border-bottom: 1px solid var(--muted-2);
}

.dias-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════
   TESTIMONIO LUIS
══════════════════════════════════════════ */
.testimonio-section {
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--muted-2);
}

.testimonio-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--bg-3);
  border: 1px solid var(--muted-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.testimonio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  z-index: 1;
}
@media (min-width: 768px) {
  .testimonio-card {
    grid-template-columns: 420px 1fr;
    gap: 0;
  }
}

/* ── Video lado izquierdo ── */
.test-video-wrap {
  position: relative;
  background: #000;
  overflow: hidden;
  min-height: 280px;
}
@media (min-width: 768px) {
  .test-video-wrap {
    min-height: 480px;
  }
}
.test-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.test-mute-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}
.test-mute-btn:hover {
  background: rgba(79,142,247,0.5);
  border-color: var(--accent);
}

/* ── Lado derecho ── */
.test-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2rem;
}
@media (min-width: 768px) {
  .test-right {
    border-left: 1px solid var(--muted-2);
    padding: 2.5rem;
  }
}

/* IG Profile */
.test-ig-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.test-ig-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
              linear-gradient(135deg, #f09433, #dc2743, #bc1888, #833ab4) border-box;
  overflow: hidden;
  flex-shrink: 0;
}
.test-ig-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-ig-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.test-ig-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.test-ig-verified {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.test-ig-bio {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.test-ig-stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.15rem;
}
.test-ig-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
}
.test-ig-stat strong {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
}
.test-ig-stat span {
  font-size: 0.6rem;
  color: var(--muted);
}

.btn--ig-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  align-self: flex-start;
}
.btn--ig-visit:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* Divider horizontal between IG and quote */
.test-divider-h {
  width: 100%;
  height: 1px;
  background: var(--muted-2);
  margin: 1.5rem 0;
}

/* Quote & metrics */
.test-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.test-quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.4;
  user-select: none;
}

.test-quote {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.75;
  border: none;
  padding: 0;
  margin: 0;
}

.test-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.test-author-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}
.test-author-role {
  font-size: 0.7rem;
  color: var(--muted);
}

.test-metrics {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: rgba(79,142,247,0.06);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  margin-top: 0.3rem;
}
.test-metric {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.test-metric strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.test-metric span {
  font-size: 0.67rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq {
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--muted-2);
}
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--muted-2); }
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  transition: color 0.2s;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s, color 0.2s;
  font-weight: 300;
}
.faq-item.open .faq-item__q::after { transform: rotate(45deg); color: var(--accent); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  padding-bottom: 0;
}
.faq-item.open .faq-item__a { max-height: 300px; padding-bottom: 1.4rem; }

/* ══════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════ */
.cta-final {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.cta-final__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(79,142,247,0.12) 0%, transparent 65%);
}
.cta-final__inner {
  position: relative; z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.cta-final__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
}
.cta-final__title em { font-style: italic; color: var(--accent); }
.cta-final__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}
.cta-final__trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--muted-2);
  background: var(--bg-2);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 640px) { .footer__inner { flex-direction: row; justify-content: space-between; } }
.footer__inner p { font-size: 0.73rem; color: var(--muted); }

/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--muted-2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  color: var(--muted); font-size: 1.1rem;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: var(--muted-2); color: var(--white); }

.modal__pill {
  display: inline-block;
  align-self: flex-start;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--gold);
  background: var(--gold-dim);
  margin-bottom: 0.5rem;
}
.modal__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.modal__sub {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.9rem; }
.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--muted-2);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.12);
}
.form-group input::placeholder { color: var(--muted); }
.form-group select option { background: var(--bg-2); }
.modal__legal {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════
   ANIMATE ON SCROLL
══════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVE OVERRIDES (mobile last tweaks)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero { padding: 5rem 0 2.5rem; }
  .hero__headline { font-size: 1.35rem; }
  .hero__actions { gap: 1rem; }
  .hero__trust { font-size: 0.65rem; gap: 0.4rem; }
  .modal { padding: 1.75rem 1.25rem; }
  .urgency-bar__inner { flex-direction: column; gap: 0.75rem; }
  .stat:nth-child(odd) { border-right: 1px solid var(--muted-2); }
  .stat:nth-child(even) { border-right: none; }
  .cta-block__inner { text-align: center; }
  .cta-final__trust { font-size: 0.65rem; }
}
/* ══════════════════════════════════════════
   MULTI-STEP MODAL
══════════════════════════════════════════ */
.modal--multistep {
  max-width: 500px;
  padding: 2rem 2rem 1.75rem;
}
.mf-progress {
  width: 100%;
  height: 4px;
  background: var(--muted-2);
  border-radius: 99px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.mf-progress__bar {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.4s var(--ease);
  width: 0%;
}
.mf-step-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

/* Cards grid (industry) */
.mf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1.2rem 0 1.4rem;
}
.mf-cards--col {
  grid-template-columns: 1fr;
}
.mf-card {
  background: var(--bg-3);
  border: 1.5px solid var(--muted-2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.mf-card:hover {
  border-color: var(--accent);
  background: rgba(79,142,247,0.07);
}
.mf-card.selected {
  border-color: var(--accent);
  background: rgba(79,142,247,0.14);
  color: var(--white);
}
.mf-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Service cards: side by side with hover reveal ── */
.mf-cards--services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.2rem 0 1.4rem;
}

.mf-card--service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 110px;
  justify-content: flex-start;
}

.mf-card__icon {
  font-size: 1.75rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.1rem;
  transition: transform 0.3s var(--ease);
}

.mf-card--service:hover .mf-card__icon {
  transform: scale(1.15) translateY(-2px);
}

.mf-card--service strong {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  display: block;
}

.mf-card__desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.35s ease, margin-top 0.3s ease;
  margin-top: 0;
}

/* Desktop: reveal on hover */
@media (hover: hover) {
  .mf-card--service:hover .mf-card__desc {
    max-height: 150px;
    opacity: 1;
    margin-top: 0.5rem;
  }
}

/* Always show desc when selected */
.mf-card--service.selected .mf-card__desc {
  max-height: 150px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Mobile: always show desc */
@media (max-width: 768px) {
  .mf-cards--services {
    grid-template-columns: 1fr 1fr;
  }
  .mf-card--service {
    min-height: 90px;
  }
  .mf-card__desc {
    max-height: 150px;
    opacity: 1;
    margin-top: 0.4rem;
  }
}

/* Radio row */
.mf-radio-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.4rem;
}
.mf-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  cursor: pointer;
}
.mf-radio input { accent-color: var(--accent); }

/* Slider */
.mf-slider-wrap {
  margin: 1.4rem 0 1.6rem;
}
.mf-slider-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.2rem;
}
.mf-slider-amount {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.mf-slider-label {
  font-size: 0.82rem;
  color: var(--muted);
}
.mf-slider-track {
  position: relative;
  height: 6px;
  background: var(--muted-2);
  border-radius: 99px;
  margin-bottom: 0.5rem;
}
.mf-slider-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  border-radius: 99px;
  pointer-events: none;
  transition: width 0.05s;
}
.mf-slider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  height: 22px;
}
.mf-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 2px var(--accent);
  transition: transform 0.15s;
}
.mf-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.mf-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-2);
  cursor: pointer;
}
.mf-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* ══════════════════════════════════════════
   ADMIN BUTTON (footer)
══════════════════════════════════════════ */
.btn--admin-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--muted-2);
  border-radius: var(--radius);
  padding: 0.4rem 0.85rem;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn--admin-trigger:hover {
  color: var(--white);
  border-color: var(--muted);
  background: rgba(255,255,255,0.05);
}
/* En navbar: solo ícono, sin texto, tamaño cuadrado */
.nav__admin {
  padding: 0.4rem 0.5rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   MODAL SUCCESS STEP
══════════════════════════════════════════ */
.mf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0 0.25rem;
  gap: 0.6rem;
}
.mf-success__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 2px solid rgba(52, 211, 153, 0.5);
  color: var(--green);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}
.mf-success__details {
  background: var(--bg-3);
  border: 1px solid var(--muted-2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.4rem;
}
.mf-success__details p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  text-align: left;
}

/* ══════════════════════════════════════════
   ADMIN DASHBOARD TABLE
══════════════════════════════════════════ */
#adminDashBody table th,
#adminDashBody table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--muted-2);
  color: var(--white);
  white-space: nowrap;
}
#adminDashBody table th {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#adminDashBody table tr:last-child td { border-bottom: none; }
#adminDashBody table tbody tr:hover { background: rgba(79,142,247,0.05); }

/* ══════════════════════════════════════════
   SERVICIO 03 · CREACIÓN DE PÁGINAS WEB
   Tarjeta épica con animación holográfica
══════════════════════════════════════════ */

/* Wrapper ocupa el ancho completo */
.web-card-wrapper {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

/* Tarjeta principal */
.web-card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(135deg, #0a0b14 0%, #0e1020 50%, #0a0d1a 100%);
  border: 1px solid rgba(79,142,247,0.18);
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s;
  cursor: default;
}
.web-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow:
    0 30px 80px rgba(79,142,247,0.18),
    0 0 0 1px rgba(79,142,247,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Borde holográfico giratorio */
.web-card__holo-border {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: conic-gradient(
    from var(--holo-angle, 0deg),
    transparent 0%, #4f8ef7 10%, #38bdf8 20%, #a78bfa 30%,
    transparent 40%, transparent 60%,
    #34d399 70%, #4f8ef7 80%, transparent 90%
  );
  z-index: -1;
  opacity: 0;
  animation: holoBorderSpin 4s linear infinite, holoBorderFadeIn 1s 0.5s forwards;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 2px;
}
@keyframes holoBorderFadeIn { to { opacity: 0.7; } }
@keyframes holoBorderSpin {
  to { --holo-angle: 360deg; }
}
@property --holo-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Capa de glitch/scanlines */
.web-card__glitch-layer {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(79,142,247,0.012) 2px,
    rgba(79,142,247,0.012) 4px
  );
  pointer-events: none;
  z-index: 1;
  animation: scanMove 8s linear infinite;
}
@keyframes scanMove {
  0%   { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

/* Partículas */
.web-card__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.web-particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}
@keyframes particleFloat {
  0%   { transform: translateY(100%) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-20%) translateX(var(--px, 20px)) scale(1.5); opacity: 0; }
}

/* Inner layout */
.web-card__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  z-index: 3;
}
@media (max-width: 768px) {
  .web-card__inner { grid-template-columns: 1fr; }
}

/* Número */
.web-num {
  position: absolute;
  top: 1.8rem;
  left: 2rem;
  z-index: 4;
}

/* ── ILUSIÓN: PANTALLA ── */
.web-illusion {
  position: relative;
  padding: 3.5rem 2rem 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: linear-gradient(135deg, rgba(79,142,247,0.06), rgba(56,189,248,0.04));
  border-right: 1px solid rgba(79,142,247,0.12);
  overflow: hidden;
}
@media (max-width: 768px) {
  .web-illusion {
    border-right: none;
    border-bottom: 1px solid rgba(79,142,247,0.12);
    min-height: 260px;
    padding: 3.5rem 1.5rem 2rem;
  }
}

/* Brillo ambiental de fondo */
.web-illusion::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,142,247,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ambientPulse 3s ease-in-out infinite;
}
@keyframes ambientPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1);   opacity: 0.5; }
  50%       { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
}

/* Ventana browser */
.web-illusion__screen {
  width: 100%;
  max-width: 340px;
  background: #0d0f1c;
  border-radius: 12px;
  border: 1px solid rgba(79,142,247,0.3);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(79,142,247,0.1),
    inset 0 1px 0 rgba(255,255,255,0.04);
  animation: screenFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes screenFloat {
  0%, 100% { transform: translateY(0) rotateX(1deg) rotateY(-1deg); }
  33%       { transform: translateY(-8px) rotateX(-1deg) rotateY(1deg); }
  66%       { transform: translateY(-4px) rotateX(2deg) rotateY(-2deg); }
}

/* Barra del browser */
.web-illusion__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: #0a0b16;
  border-bottom: 1px solid rgba(79,142,247,0.15);
}
.web-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.web-dot.red    { background: #f87171; }
.web-dot.yellow { background: #fbbf24; }
.web-dot.green  { background: #34d399; }
.web-illusion__url {
  flex: 1;
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.15);
  border-radius: 5px;
  padding: 0.2rem 0.6rem;
  font-size: 0.62rem;
  color: var(--muted);
  font-family: 'Space Grotesk', monospace;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

/* Vista código */
.web-illusion__code {
  padding: 1rem 0.9rem;
  font-size: 0.65rem;
  font-family: 'Space Grotesk', monospace;
  line-height: 1.8;
  transition: opacity 0.6s, transform 0.6s;
}
.code-line { white-space: nowrap; animation: typeIn 0.3s both; }
.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.2s; }
.code-line:nth-child(3) { animation-delay: 0.3s; }
.code-line:nth-child(4) { animation-delay: 0.4s; }
.code-line:nth-child(5) { animation-delay: 0.5s; }
.code-line:nth-child(6) { animation-delay: 0.6s; }
.code-line:nth-child(7) { animation-delay: 0.7s; }
.code-line:nth-child(8) { animation-delay: 0.8s; }
.code-line:nth-child(9) { animation-delay: 0.9s; }
@keyframes typeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.c-tag  { color: #60a5fa; }
.c-prop { color: #a78bfa; }
.c-val  { color: #34d399; }
.c-str  { color: #fbbf24; }

/* Vista site (renderizado) */
.web-illusion__site {
  padding: 0.75rem 0.8rem;
  display: none;
  flex-direction: column;
  gap: 0.6rem;
}
.ws-hero {
  background: linear-gradient(135deg, rgba(79,142,247,0.15), rgba(56,189,248,0.08));
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(79,142,247,0.2);
}
.ws-hero__tag {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #38bdf8;
  font-family: var(--font-head);
  margin-bottom: 0.4rem;
}
.ws-hero__h {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.ws-hero__h span { color: #4f8ef7; }
.ws-hero__btn {
  display: inline-block;
  background: #4f8ef7;
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 0.25rem 0.7rem;
  border-radius: 5px;
}
.ws-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.ws-card {
  height: 40px;
  border-radius: 6px;
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.15);
  animation: cardShimmer 2s ease-in-out infinite;
}
.ws-card--accent {
  background: rgba(56,189,248,0.12);
  border-color: rgba(56,189,248,0.2);
  animation-delay: 0.3s;
}
@keyframes cardShimmer {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* Estado transformado (site visible) */
.web-illusion__code.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}
.web-illusion__site.visible {
  display: flex;
}

/* Cursor animado */
.web-cursor {
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(79,142,247,0.8));
}
.web-cursor::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-left: 7px solid white;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  filter: drop-shadow(0 0 4px rgba(79,142,247,0.9));
}
.web-cursor::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 5px;
  width: 2px; height: 8px;
  background: white;
  border-radius: 1px;
}

/* ── CONTENIDO DERECHO ── */
.web-card__content {
  padding: 3.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .web-card__content { padding: 2rem 1.5rem 2.5rem; }
}

.web-card__content h3 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  color: var(--white);
  background: linear-gradient(135deg, #fff 40%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.web-card__content p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.web-card__content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.web-card__content ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(244,244,245,0.85);
}
.web-card__content ul li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: rgba(79,142,247,0.15);
  border: 1px solid rgba(79,142,247,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%234f8ef7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Botón CTA con glow */
.web-cta-btn {
  position: relative;
  overflow: hidden;
}
.web-btn-glow {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: btnGlowSpin 2.5s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}
.web-cta-btn:hover .web-btn-glow { opacity: 1; }
@keyframes btnGlowSpin {
  to { transform: rotate(360deg); }
}

/* Ajuste al grid existente para la tarjeta full-width */
.dias-grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .dias-grid--2 { grid-template-columns: 1fr; }
}