/* =========================================================
   Grovia · Sistema de diseño
   1. Tokens  2. Base  3. Layout  4. Botones  5. Header
   6. Componentes  7. Secciones de Inicio  8. Footer  9. WhatsApp
   10. Animaciones
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0A2A5E;
  --navy-deep: #071F47;
  --blue: #14509C;
  --sky: #5BA4E6;
  --ice: #E8F0FA;
  --text: #1B2430;
  --muted: #5A6775;
  --line: #D8E0EA;
  --bg: #F4F7FB;
  --white: #FFFFFF;
  --orange: #F58220;
  --orange-dark: #C25E0A;   /* texto naranja grande sobre fondo claro (AA ≥3:1 en blanco y azul hielo) */
  --orange-text: #A84F06;   /* texto naranja chico sobre fondo claro (AA ≥4.5:1) */
  --orange-light: #FF9A3D;  /* texto naranja sobre los azules (AA ≥3:1 aun en #14509C) */
  --sky-light: #9CCBF5;     /* texto celeste sobre los azules (AA ≥4.5:1) */
  --orange-soft: #FFF1E5;

  --grad-hero: radial-gradient(60% 70% at 85% 10%, rgba(91,164,230,.38), transparent 70%),
               radial-gradient(40% 50% at 0% 100%, rgba(245,130,32,.14), transparent 70%),
               linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);

  --font-title: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-text: Inter, system-ui, sans-serif;

  --fs-display: clamp(2.4rem, 1.3rem + 4.6vw, 4.6rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.4vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  --fs-lead: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10,42,94,.06), 0 4px 14px -6px rgba(10,42,94,.14);
  --shadow: 0 2px 4px rgba(10,42,94,.05), 0 18px 40px -18px rgba(10,42,94,.32);
  --shadow-lg: 0 30px 70px -28px rgba(7,31,71,.55);

  --gutter: 16px;
  --container: 1200px;
  --section-y: clamp(64px, 6vw + 32px, 120px);
  --header-h: 68px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; font-weight: 700; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
/* El punto final de Plus Jakarta Sans trae mucho aire a la izquierda */
.pt { margin-left: -.09em; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--ice { background: var(--ice); }
.section--white { background: var(--white); }
.section--navy { background: var(--grad-hero); color: var(--ice); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lead); color: var(--muted); margin-top: 16px; }
.section--navy .section-head p { color: var(--ice); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(245,130,32,.18); }
.section--navy .eyebrow, .hero .eyebrow, .cta-final .eyebrow { color: var(--sky-light); }

/* Palabra destacada en títulos */
.hl { color: var(--orange-dark); }
.section--navy .hl, .hero .hl, .page-hero .hl, .cta-final .hl { color: var(--orange-light); }
.hl-under { background: linear-gradient(transparent 62%, rgba(245,130,32,.28) 62%, rgba(245,130,32,.28) 92%, transparent 92%); padding-inline: .06em; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 600px) and (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 4. Botones ---------- */
.btn {
  --b-bg: var(--blue); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px;
  font: 700 1rem/1.2 var(--font-title); letter-spacing: -0.01em; text-decoration: none; text-align: center;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); color: var(--b-fg); }
.btn:active { transform: translateY(0); }
/* Naranja con texto marino: pasa contraste AA (≈5,9:1) */
.btn-primary { --b-bg: var(--orange); --b-fg: var(--navy); box-shadow: 0 10px 24px -10px rgba(245,130,32,.75), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-primary:hover { --b-bg: #FF9234; box-shadow: 0 16px 30px -12px rgba(245,130,32,.85); }
.btn-secondary { --b-bg: var(--blue); --b-fg: #fff; }
.btn-secondary:hover { --b-bg: var(--navy); }
.btn-outline { --b-bg: transparent; --b-fg: var(--navy); --b-bd: var(--line); }
.btn-outline:hover { --b-bd: var(--navy); }
.btn-ghost-light { --b-bg: rgba(255,255,255,.08); --b-fg: #fff; --b-bd: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --b-bg: rgba(255,255,255,.16); --b-bd: #fff; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(244,247,251,.85); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,42,94,.5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 34px; width: auto; }
@media (min-width: 768px) { .brand img { height: 38px; } }

.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-open { display: none; }
.menu-open .nav-toggle .i-close { display: block; }

.site-nav { display: none; }
.menu-open .site-nav {
  display: flex; flex-direction: column; position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--bg); padding: 16px var(--gutter) 32px; overflow-y: auto;
}
.site-nav ul { display: flex; flex-direction: column; }
.site-nav a { text-decoration: none; color: var(--navy); font-weight: 600; }
.menu-open .site-nav ul a { display: block; padding: 16px 4px; font: 700 1.375rem/1.2 var(--font-title); letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.menu-open .site-nav .btn { margin-top: 24px; }
.menu-open { overflow: hidden; }

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 24px; }
  .site-nav ul { flex-direction: row; gap: 4px; }
  .site-nav ul a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .9375rem; color: var(--text); transition: color .15s, background-color .15s; }
  .site-nav ul a:hover { color: var(--navy); background: var(--ice); }
  .site-nav ul a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
}

/* ---------- 6. Componentes ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.4vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C6D3E3; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ice); color: var(--blue); margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.is-orange { background: var(--orange-soft); color: var(--orange-dark); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--orange); color: var(--navy); font: 700 .75rem/1.2 var(--font-text); letter-spacing: .04em; text-transform: uppercase;
}
.badge.is-soft { background: var(--orange-soft); color: #8A3F00; }
.badge.is-ice { background: var(--ice); color: var(--blue); }

.checks li { position: relative; padding-left: 30px; margin-top: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314509C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--navy .checks li::before { background-color: rgba(245,130,32,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F58220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.price-from { font-size: var(--fs-small); color: var(--muted); }
.price-from strong { font: 700 1.125rem var(--font-text); color: var(--navy); letter-spacing: -0.02em; }

/* Tarjetas de precio (Inicio y Precios) */
.price-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.price-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.price-card .badge { position: absolute; top: -13px; left: 28px; }
.price-kind { font-size: .8125rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { margin: 6px 0 14px; font-size: 1.5rem; }
/* Los montos van en Inter: el punto de miles de Plus Jakarta Sans queda muy separado */
.price { font: 700 clamp(2rem, 1.6rem + 1.2vw, 2.5rem)/1 var(--font-text); color: var(--navy); letter-spacing: -0.04em; }
.price span { display: block; font: 500 .875rem var(--font-text); color: var(--muted); letter-spacing: 0; margin-bottom: 6px; }
.price small { font: 600 1rem var(--font-text); color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price-card .checks { margin: 20px 0 28px; font-size: .9375rem; flex: 1; }
.price-card .btn { width: 100%; }
.price-card.is-featured { border: 2px solid var(--orange); box-shadow: 0 30px 60px -30px rgba(245,130,32,.55), var(--shadow); }
@media (min-width: 900px) { .price-card.is-featured { padding-block: 44px; } }

/* Avatar provisorio con iniciales */
.avatar-ph {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad-hero); color: #fff; font: 800 2rem var(--font-title); letter-spacing: -0.03em;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line);
}

/* ---------- 7. Secciones de Inicio ---------- */

/* Hero */
.hero { position: relative; background: var(--grad-hero); color: var(--ice); overflow: hidden; padding: clamp(48px, 6vw, 96px) 0 clamp(120px, 12vw, 170px); }
.hero::after { /* trama de puntos sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.hero h1 { color: #fff; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.04em; }
.hero-lead { font-size: var(--fs-lead); color: var(--ice); max-width: 560px; margin: 24px 0 36px; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: .9375rem; color: var(--ice); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--orange); }

/* Mockup de celular (HTML/CSS) */
.mock { position: relative; width: min(100%, 480px); margin-inline: auto; aspect-ratio: 480 / 580; }
.phone {
  position: absolute; right: 6%; top: 0; width: 56%; aspect-ratio: 9 / 18.6;
  background: #0B1730; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 32%; height: 20px; border-radius: 99px; background: #0B1730; z-index: 2; }
.screen { position: relative; height: 100%; border-radius: 31px; background: #fff; overflow: hidden; color: var(--text); font-size: 10px; padding: 44px 12px 12px; }
.s-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 7px 10px; font-size: 10.5px; color: var(--text); box-shadow: var(--shadow-sm); }
.s-search svg { width: 12px; height: 12px; color: var(--muted); }
.s-tabs { display: flex; gap: 12px; margin: 10px 2px 10px; font-size: 9.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.s-tabs span { padding-bottom: 6px; }
.s-tabs .on { color: var(--blue); font-weight: 700; box-shadow: inset 0 -2px 0 var(--blue); }
.s-label { font-size: 9px; color: var(--muted); margin-bottom: 6px; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-prod { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.s-prod.is-ours { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(245,130,32,.25); }
.s-img { aspect-ratio: 1; background: var(--ice); display: grid; place-items: center; }
.s-img svg { width: 70%; height: 70%; }
.s-info { padding: 6px 7px 8px; line-height: 1.3; }
.s-info b { display: block; font-size: 9.5px; font-weight: 600; color: var(--text); }
.s-info .p { font: 700 11px var(--font-text); color: var(--navy); margin-top: 2px; }
.s-info .st { font-size: 8.5px; color: var(--muted); }
.s-info .ship { font-size: 8.5px; color: #1F7A4D; font-weight: 600; }

.reel {
  position: absolute; left: 0; bottom: 8%; width: 32%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #2C6CC0 0%, var(--navy) 70%); box-shadow: var(--shadow-lg); border: 3px solid #fff; z-index: 3;
}
.reel-art { position: absolute; inset: 0; display: grid; place-items: center; }
.reel-art svg { width: 64%; }
.reel-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--navy); }
.reel-play svg { width: 16px; height: 16px; margin-left: 2px; }
.reel-cap { position: absolute; left: 8px; right: 8px; bottom: 10px; color: #fff; font-size: 9px; line-height: 1.3; }
.reel-cap b { display: block; font: 700 10px var(--font-title); }
.reel-bar { height: 2px; background: rgba(255,255,255,.3); border-radius: 2px; margin-top: 6px; }
.reel-bar i { display: block; width: 42%; height: 100%; background: var(--orange); border-radius: 2px; }

.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); font: 700 13px/1.2 var(--font-title); letter-spacing: -0.01em;
}
.float-chip small { display: block; font: 500 11px var(--font-text); color: var(--muted); letter-spacing: 0; }
.float-chip .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--orange); display: grid; place-items: center; color: var(--navy); flex: none; }
.float-chip .dot svg { width: 18px; height: 18px; }
.chip-a { left: 0; top: 12%; }
.chip-b { right: 0; bottom: 0; }
@media (max-width: 479px) {
  .float-chip { font-size: 12px; padding: 8px 10px; } .float-chip .dot { width: 28px; height: 28px; }
  .phone { width: 62%; right: 0; } .screen { padding: 40px 9px 9px; }
  .s-tabs span:last-child { display: none; }
}
.s-search { white-space: nowrap; overflow: hidden; }

/* Franja de números (se monta sobre el borde del hero) */
.stats-wrap { position: relative; z-index: 2; margin-top: calc(clamp(120px, 12vw, 170px) * -1 + 40px); }
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(20px, 2.5vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) { .stat { border-bottom: 0; } .stat:nth-child(2n) { border-right: 1px solid var(--line); } .stat:last-child { border-right: 0; } }
.stat b { display: block; font: 800 clamp(2rem, 1.4rem + 2.4vw, 3.25rem)/1 var(--font-title); letter-spacing: -0.045em; color: var(--navy); }
.stat b em { font-style: normal; color: var(--orange-dark); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .9375rem; line-height: 1.4; }

/* Servicios estrella */
.service-card { display: flex; flex-direction: column; }
.service-card p { color: var(--muted); margin-top: 10px; }
.service-card .checks { margin: 18px 0 24px; font-size: .9375rem; }
.service-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-card.is-star { border-color: var(--orange); background: linear-gradient(180deg, #FFF8F1 0%, #fff 40%); }
.service-card .badge { align-self: flex-start; margin-bottom: 14px; }
.more-services { margin-top: 28px; text-align: center; color: var(--muted); }

/* Google Shopping */
.gs-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .gs-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.gs-grid h2 { font-size: var(--fs-h2); }
.gs-grid .lead { font-size: var(--fs-lead); margin: 18px 0 24px; color: var(--ice); }
.gs-grid .checks { margin-bottom: 32px; }
.gs-grid .checks li { color: #fff; }
.gs-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: clamp(20px, 3vw, 32px); backdrop-filter: blur(8px); }
.gs-flow { display: grid; gap: 12px; }
.gs-step { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; color: var(--text); }
.gs-step .n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--ice); color: var(--blue); font: 800 15px var(--font-title); }
.gs-step:last-child .n { background: var(--orange); color: var(--navy); }
.gs-step b { display: block; font: 700 15px/1.25 var(--font-title); color: var(--navy); letter-spacing: -0.01em; }
.gs-step span { font-size: 13.5px; color: var(--muted); }
.gs-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ice); }
.gs-note svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 2px; }

/* Cómo trabajamos: pasos sobre un camino */
.steps { position: relative; display: grid; gap: 28px; counter-reset: paso; list-style: none; padding: 0; }
.step { position: relative; padding-left: 80px; }
.step:not(:last-child)::after { /* el camino hasta el paso siguiente */
  content: ""; position: absolute; left: 27px; top: 64px; bottom: -20px; border-left: 3px dashed #B9CBE2;
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { padding-left: 0; padding-top: 84px; }
  .step:not(:last-child)::after { left: 68px; right: -16px; top: 27px; bottom: auto; border-left: 0; border-top: 3px dashed #B9CBE2; }
}
.step::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--navy); font: 800 1.375rem var(--font-title); box-shadow: var(--shadow-sm);
}
.step:last-child::before { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9375rem; }
.step .tag { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--ice); padding: 3px 10px; border-radius: 99px; }

/* Por qué Grovia */
.compare { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 960px) { .compare { grid-template-columns: 1fr 1.15fr 1fr; align-items: center; } }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.compare-col h3 { font-size: 1.125rem; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.compare-col .sub { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.compare-col li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.compare-col li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare-col .no svg { color: #9AA7B6; }
.compare-col.is-grovia { order: -1; background: var(--navy); border-color: var(--navy); color: var(--ice); box-shadow: var(--shadow-lg); padding: 36px 32px; position: relative; }
@media (min-width: 960px) { .compare-col.is-grovia { order: 0; padding-block: 44px; } }
.compare-col.is-grovia h3 { color: #fff; font-size: 1.5rem; }
.compare-col.is-grovia .sub { color: var(--sky); }
.compare-col.is-grovia li { border-color: rgba(255,255,255,.14); color: #fff; }
.compare-col.is-grovia li svg { color: var(--orange); }
.compare-col.is-grovia .badge { position: absolute; top: -13px; left: 32px; }
.compare-col.is-grovia .btn { margin-top: 24px; width: 100%; }

/* Historia y socios */
.story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .story { grid-template-columns: 1fr 1fr; gap: 72px; } }
.wordplay { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; font: 800 clamp(2.2rem, 1.4rem + 2.4vw, 3.5rem)/1 var(--font-title); letter-spacing: -0.045em; color: var(--navy); margin-bottom: 24px; }
.wordplay > span { display: inline-flex; flex-direction: column; }
.wordplay .op { color: var(--sky); font-weight: 700; }
.wordplay .res { color: var(--orange-dark); }
.wordplay small { display: block; font: 500 .875rem var(--font-text); letter-spacing: 0; color: var(--muted); margin-top: 14px; }
.story p { color: var(--muted); font-size: 1.0625rem; }
.story p + p { margin-top: 14px; }
.partners { display: grid; gap: 16px; }
.partner { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.partner h3 { font-size: 1.25rem; }
.partner .role { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); margin-top: 2px; }
.partner p { font-size: .9375rem; margin-top: 6px; color: var(--muted); }

/* Precios: condiciones */
.price-note { margin-top: 28px; text-align: center; font-size: .9375rem; color: var(--muted); }
.price-note a { font-weight: 600; }

/* Casos: pendiente honesto + precio fundador */
.cases { display: grid; gap: 20px; }
@media (min-width: 960px) { .cases { grid-template-columns: 1.1fr .9fr; } }
.case-empty { border: 2px dashed #C3D2E6; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.case-empty .ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 24px 0; }
.case-empty .ba div { background: var(--bg); border-radius: 14px; padding: 16px; text-align: center; }
.case-empty .ba small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.case-empty .ba b { font: 800 1.5rem var(--font-title); color: var(--muted); letter-spacing: -0.02em; }
.case-empty .ba svg { width: 24px; height: 24px; color: var(--orange); }
.case-empty p { color: var(--muted); }
.case-empty .badge { align-self: flex-start; }
.founder {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  background: var(--orange); color: var(--navy);
}
.founder::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.18); }
.founder h3 { color: var(--navy); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.founder .big { color: var(--navy); font: 800 clamp(3.5rem, 2.5rem + 4vw, 5.5rem)/0.9 var(--font-title); letter-spacing: -0.05em; margin-bottom: 12px; }
.founder p { margin: 12px 0 24px; font-size: 1rem; color: #2A1A08; position: relative; z-index: 1; }
.founder .btn { position: relative; z-index: 1; --b-bg: var(--navy); --b-fg: #fff; }
.founder .btn:hover { --b-bg: var(--navy-deep); }

/* CTA final */
.cta-final { background: var(--grad-hero); color: var(--ice); text-align: center; overflow: hidden; position: relative; }
.cta-final h2 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4rem); max-width: 900px; margin-inline: auto; letter-spacing: -0.04em; }
.cta-final p { font-size: var(--fs-lead); max-width: 620px; margin: 20px auto 36px; }
.cta-final .btn-row { justify-content: center; }
.cta-final .bars { position: absolute; right: -40px; bottom: -30px; width: 340px; opacity: .07; pointer-events: none; }

/* ---------- 8. Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B8C7DC; font-size: .9375rem; padding: 72px 0 32px; }
.site-footer a { color: #DCE6F3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; } }
.footer-brand img { height: 72px; width: auto; }
.footer-brand p { margin-top: 18px; font: 700 1.125rem/1.35 var(--font-title); color: #fff; letter-spacing: -0.01em; max-width: 280px; }
.site-footer h2 { font: 700 .8125rem var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.footer-links li + li { margin-top: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li + li { margin-top: 12px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--orange); }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s; }
.socials a:hover { background: var(--orange); color: var(--navy); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.data-fiscal { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 88px; border: 1px dashed rgba(255,255,255,.3); border-radius: 6px; font-size: 10px; text-align: center; line-height: 1.2; color: #8EA3C0; }

/* ---------- 9. WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(7,31,71,.5); transition: transform .2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--navy); color: #fff; font: 600 .875rem var(--font-text); padding: 8px 12px; border-radius: 10px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wa-float .tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--navy); }
.wa-float:hover .tip, .wa-float:focus-visible .tip { opacity: 1; }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; } .wa-float .tip { opacity: 1; animation: tip-out .4s ease 6s forwards; } }
@keyframes tip-out { to { opacity: 0; } }

/* ---------- 10. Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.slow { animation-duration: 8s; animation-delay: -2s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 11. Páginas internas ---------- */
.page-hero { background: var(--grad-hero); color: var(--ice); padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 6vw, 96px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4rem); letter-spacing: -0.04em; max-width: 900px; }
.page-hero .lead { font-size: var(--fs-lead); max-width: 680px; margin-top: 20px; color: var(--ice); }
.page-hero .btn-row { margin-top: 32px; }
.page-hero .eyebrow { color: var(--sky-light); }
/* En una sola línea: si se parte al cargar la fuente, mueve toda la página (CLS) */
.crumbs li { white-space: nowrap; }
.crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.crumbs { list-style: none; padding: 0; display: flex; flex-wrap: nowrap; gap: 6px; font-size: .875rem; margin-bottom: 22px; color: var(--sky-light); }
.crumbs a { color: var(--ice); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* Banda del diagnóstico gratis */
.diag-band { display: grid; gap: 20px; align-items: center; background: #fff; border: 2px solid var(--orange); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
@media (min-width: 900px) { .diag-band { grid-template-columns: auto 1fr auto; gap: 28px; } }
.diag-band .icon-badge { margin: 0; width: 64px; height: 64px; }
.diag-band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.diag-band p { color: var(--muted); margin-top: 6px; }

/* Servicio en detalle */
.svc { display: grid; gap: 28px; padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.svc:first-of-type { border-top: 0; }
@media (min-width: 1024px) { .svc { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.svc h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.svc .who { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: .875rem; font-weight: 600; color: var(--blue); background: var(--ice); padding: 5px 12px; border-radius: 99px; }
.svc .who svg { width: 16px; height: 16px; flex: none; }
.svc .for { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
.svc .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.inc-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .inc-grid { grid-template-columns: 1fr 1fr; } }
.inc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.inc h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-text); font-weight: 700; color: var(--navy); }
.inc .checks { font-size: .9375rem; }
.inc.is-no { background: var(--bg); }
.inc.is-no h3 { color: var(--muted); }
.nos li { position: relative; padding-left: 30px; margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.nos li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 12px; height: 2px; background: #9AA7B6; border-radius: 2px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 1.0625rem/1.35 var(--font-title); color: var(--navy); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--blue); font: 700 1.25rem/1 var(--font-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: var(--navy); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Requisitos (checklist visual) */
.req-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .req-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .req-grid { grid-template-columns: repeat(3, 1fr); } }
.req { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.req .icon-badge { width: 40px; height: 40px; border-radius: 12px; margin: 0; flex: none; }
.req .icon-badge svg { width: 20px; height: 20px; }
.req b { display: block; font: 700 1rem/1.3 var(--font-title); color: var(--navy); }
.req span { font-size: .875rem; color: var(--muted); }

/* Toggle Abonos / Proyectos */
.toggle { display: inline-flex; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); margin: 0 auto 40px; }
.toggle-wrap { text-align: center; }
.toggle button { font: 700 1rem var(--font-title); letter-spacing: -0.01em; border: 0; background: transparent; color: var(--muted); padding: 12px 24px; border-radius: 999px; cursor: pointer; min-height: 48px; }
.toggle button[aria-selected="true"] { background: var(--navy); color: #fff; }
.price-grid.is-wide { align-items: stretch; }
@media (min-width: 900px) { .price-grid.is-wide .price-card.is-featured { padding-block: 32px; } }
.extras { display: grid; gap: 14px; }
@media (min-width: 720px) { .extras { grid-template-columns: repeat(3, 1fr); } }
.extra { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.extra b { font: 700 1rem var(--font-title); color: var(--navy); }
.extra span { font: 700 1.125rem var(--font-text); color: var(--navy); white-space: nowrap; }
.combo { display: grid; gap: 24px; align-items: center; background: var(--grad-hero); color: var(--ice); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .combo { grid-template-columns: 1.3fr 1fr; } }
.combo h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.combo .old { text-decoration: line-through; color: #C3D3EA; font: 600 1.125rem var(--font-text); }
.combo .now { font: 700 clamp(2.4rem, 1.8rem + 2vw, 3.4rem)/1 var(--font-text); color: #fff; letter-spacing: -0.04em; margin: 6px 0 10px; }
.combo .cond { font-size: .9375rem; }
.fine { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; font-size: .9375rem; color: var(--text); }
.fine h2 { font-size: 1.125rem; margin-bottom: 10px; }
.fine li { margin-top: 8px; padding-left: 18px; position: relative; }
.fine li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* Casos */
.case-tpl { display: grid; gap: 20px; }
@media (min-width: 900px) { .case-tpl { grid-template-columns: repeat(3, 1fr); } }
.metric { background: #fff; border: 1px dashed #C3D2E6; border-radius: var(--radius); padding: 24px; }
.metric small { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.metric .vals { display: flex; align-items: center; gap: 12px; margin-top: 12px; font: 700 1.75rem var(--font-text); color: var(--muted); letter-spacing: -0.03em; }
.metric .vals svg { width: 22px; height: 22px; color: var(--orange); }

/* Texto largo: artículos y legales */
.prose { max-width: 760px; font-size: 1.0625rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose strong { color: var(--navy); }
.prose blockquote { border-left: 4px solid var(--orange); padding: 4px 0 4px 20px; color: var(--muted); }
.prose .callout { background: var(--ice); border-radius: var(--radius); padding: 20px 24px; }
.prose .pending { background: var(--orange-soft); border: 1px dashed var(--orange); border-radius: 10px; padding: 2px 8px; font-size: .9375rem; }
.meta-line { font-size: .9375rem; color: var(--ice); margin-top: 18px; }

/* Recursos */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .cover { aspect-ratio: 16 / 9; border-radius: 14px; background: var(--grad-hero); margin: -8px -8px 20px; display: grid; place-items: center; overflow: hidden; }
.post-card .cover svg { width: 38%; color: #fff; opacity: .9; }
.post-card h3 { margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: .9375rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 18px; }
.post-card.is-soon { opacity: .75; border-style: dashed; box-shadow: none; }
.post-card.is-soon:hover { transform: none; }
.post-card.is-soon .cover { background: var(--ice); }
.post-card.is-soon .cover svg { color: var(--blue); }

/* Contacto */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--text); }
.contact-card .icon-badge { margin: 0; flex: none; }
.contact-card b { display: block; font: 700 1.0625rem var(--font-title); color: var(--navy); }
.contact-card span { font-size: .9375rem; color: var(--muted); }
.contact-card.is-wa .icon-badge { background: #25D366; color: #fff; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--ice); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Formulario */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form .intro { color: var(--muted); margin: 8px 0 24px; }
.fields { display: grid; gap: 18px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .9375rem; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem var(--font-text); color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 50px; transition: border-color .15s, background-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(20,80,156,.12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2410C; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 44px; }
.chips input { width: 18px; height: 18px; min-height: 0; accent-color: var(--orange); }
.chips label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 24px; width: 100%; }
.form .legal { font-size: .8125rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-error { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #FEF2F2; color: #9F1239; font-size: .9375rem; }
.form-error.is-on { display: block; }

/* Página de error y gracias */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.center-page .big { font: 800 clamp(5rem, 3rem + 10vw, 10rem)/0.9 var(--font-title); letter-spacing: -0.06em; color: var(--navy); }
.center-page .big em { font-style: normal; color: var(--orange-dark); }
.center-page h1 { font-size: var(--fs-h2); margin-top: 16px; }
.center-page p { color: var(--muted); font-size: var(--fs-lead); max-width: 560px; margin: 16px auto 32px; }
.center-page .btn-row { justify-content: center; }
.ok-badge { width: 88px; height: 88px; border-radius: 28px; background: var(--orange); color: var(--navy); display: grid; place-items: center; margin: 0 auto; box-shadow: 0 20px 40px -18px rgba(245,130,32,.8); }
.ok-badge svg { width: 44px; height: 44px; }

/* ---------- 12. Muestras de contenido (reel + fotos) ---------- */
.samples { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; }
@media (min-width: 640px) { .samples { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .samples { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; margin: 0; } }
.sample { position: relative; scroll-snap-align: start; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); margin: 0; }
.sample img, .sample video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sample figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(7,31,71,.78); backdrop-filter: blur(8px); color: #fff; font-size: .8125rem; line-height: 1.35; }
.sample figcaption b { font: 700 .9375rem var(--font-title); letter-spacing: -0.01em; }
.sample .tag { position: absolute; top: 12px; left: 12px; }
.sample-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--orange); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); transition: transform .2s, opacity .2s; }
.sample-play svg { width: 26px; height: 26px; margin-left: 3px; }
.sample-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.sample.is-playing .sample-play { opacity: 0; }
.sample.is-playing:hover .sample-play { opacity: 1; }
.samples-note { margin-top: 16px; font-size: .8125rem; color: var(--muted); }
