/* ============================================================
   MENTARY — Sistema de diseño global
   Color de marca: #1ca5eb · Tipografía: Outfit
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---------- Tokens ---------- */
:root {
  --brand: #20a6eb;
  --brand-dark: #1685bd;
  --brand-darker: #0d7ab8;
  --brand-light: #e0f4fd;
  --brand-50: #f0f9ff;
  --ink: #0f172b;
  --ink-2: #16213e;
  --ink-3: #1e293b;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #f59e0b;
  --purple: #7c3aed;
  --whatsapp: #25d366;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15,23,43,.06);
  --shadow: 0 4px 16px rgba(15,23,43,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,43,.10);
  --shadow-xl: 0 24px 60px rgba(15,23,43,.14);
  --shadow-brand: 0 8px 30px rgba(28,165,235,.30);

  --container: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-light { background: var(--slate-50); }
.bg-brand-light { background: var(--brand-50); }
.bg-ink { background: var(--ink); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; color: var(--slate-900); font-weight: 800; letter-spacing: -.02em; }
.display { font-size: clamp(36px, 5.5vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.h1 { font-size: clamp(30px, 4.5vw, 48px); }
.h2 { font-size: clamp(26px, 3.6vw, 40px); }
.h3 { font-size: clamp(20px, 2.4vw, 26px); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--slate-600); line-height: 1.7; }
.muted { color: var(--slate-500); }
.text-brand { color: var(--brand); }
.text-white { color: var(--white); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--brand); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow-light { color: var(--brand); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 700;
}
.pill-brand { background: var(--brand-light); color: var(--brand-darker); }
.pill-slate { background: var(--slate-100); color: var(--slate-600); }
.pill-green { background: var(--green-light); color: var(--green); }
.pill-glass { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.18); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.8);} }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 32px; height: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 700;
  transition: all .25s var(--ease); white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--slate-900); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand); box-shadow: var(--shadow-brand); transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: var(--white); box-shadow: var(--shadow-brand); }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(28,165,235,.42); }
.btn-wa { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-wa:hover { background: #1fb855; transform: translateY(-2px); }
.btn-outline { background: var(--white); color: var(--slate-800); border-color: var(--slate-200); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-ghost-white { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn-ghost-white:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15,23,43,.06); transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { font-size: 22px; font-weight: 800; color: var(--slate-900); letter-spacing: -.04em; }
.nav-logo-text b { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14.5px; font-weight: 500; color: var(--slate-600);
  padding: 9px 14px; border-radius: 100px; transition: all .2s;
}
.nav-links > li > a:hover { color: var(--brand); background: var(--brand-50); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a .icon { width: 15px; height: 15px; transition: transform .2s; }
.nav-dropdown:hover > a .icon { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 300px; background: var(--white); border: 1px solid var(--slate-100);
  border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 10px;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease); z-index: 110;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); transition: background .18s; }
.dropdown-item:hover { background: var(--brand-50); }
.dropdown-item .icon { width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.dropdown-item-title { font-size: 14px; font-weight: 700; color: var(--slate-800); }
.dropdown-item-desc { font-size: 12.5px; color: var(--slate-500); }
/* Mega-menú de Servicios: 10 tipos de trabajo en 2 columnas */
.dropdown-menu.svc-mega { width: 360px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-menu.svc-mega .dropdown-item { padding: 9px 11px; align-items: center; }
.dropdown-menu.svc-mega .dropdown-item-title { font-weight: 600; }

/* hamburger + mobile */
.hamburger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; color: var(--slate-700); }
.hamburger:hover { background: var(--slate-100); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--white); padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu.open { transform: translateX(0); }
/* :not(.btn) → la línea inferior y el "space-between" son solo para los enlaces de texto del
   menú, NO para los botones (Crear cuenta / WhatsApp), que antes mostraban una rayita debajo
   y el contenido descuadrado. Los botones conservan su propio estilo .btn (centrado, sin línea). */
.mobile-menu a:not(.btn) { font-size: 17px; font-weight: 600; color: var(--slate-700); padding: 15px 8px; border-bottom: 1px solid var(--slate-100); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu a:not(.btn):hover { color: var(--brand); }
.mobile-menu .mm-sub { font-size: 14px; font-weight: 500; color: var(--slate-500); padding-left: 24px; }
.mobile-menu .btn { margin-top: 18px; }

/* === Cuenta en el header: Iniciar sesión + Crear cuenta === */
.nav-cta .nav-auth { display: flex; align-items: center; gap: 10px; }
.nav-cta .nav-login { font-size: 14px; font-weight: 600; color: var(--slate-700); padding: 8px 6px; border-radius: 8px; white-space: nowrap; }
.nav-cta .nav-login:hover { color: var(--brand); background: var(--brand-50); }
.nav-cta .nav-wa { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: var(--brand); border: 1px solid var(--slate-200); flex-shrink: 0; }
.nav-cta .nav-wa .icon { width: 20px; height: 20px; }
.nav-cta .nav-wa:hover { background: var(--brand-50); border-color: var(--brand); }
/* Cuenta en el menú móvil (arriba del todo) */
.mobile-menu .mm-auth { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--slate-100); }
.mobile-menu .mm-auth .btn { margin-top: 0; }
/* En móvil, la cuenta vive en el menú; el header queda limpio (logo + ☰) */
@media (max-width: 720px) {
  .nav-cta .nav-auth { display: none; }
  .nav-cta .nav-wa { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 80px; overflow: hidden; background: linear-gradient(160deg, #f8fbff 0%, #eef7ff 45%, #f8fafc 100%); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.hero-blob.b1 { width: 460px; height: 460px; background: var(--brand); opacity: .14; top: -80px; right: -60px; }
.hero-blob.b2 { width: 360px; height: 360px; background: #8b5cf6; opacity: .08; bottom: -100px; left: -80px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--brand); position: relative; }
.hero-lead { max-width: 520px; margin-bottom: 32px; }
.hero-lead strong { color: var(--slate-800); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: block; }
.hero-trust-track { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.hero-trust-item { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--slate-600); font-weight: 500; }
.hero-trust-item .icon { width: 18px; height: 18px; color: var(--brand); }
.hero-trust-dup { display: none; }

/* Brillo animado DENTRO de las letras (gradiente que se mueve, clipeado al texto) */
.shine-text {
  background: linear-gradient(110deg, var(--slate-600) 0%, var(--slate-600) 42%, var(--brand) 50%, var(--slate-600) 58%, var(--slate-600) 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-sweep 3.2s linear infinite;
}
@keyframes shine-sweep {
  0% { background-position: 230% 0; }
  100% { background-position: -130% 0; }
}
@keyframes hero-trust-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Móvil: ocultar el pill de años y volver la lista de confianza un marquee continuo
   (se desliza suave y sin parar, "poco a poco", igual que la franja de normas) */
@media (max-width: 640px) {
  .hide-on-mobile { display: none !important; }
  /* permitir que la columna encoja para que el track no infle el ancho */
  .hero-grid > .hero-copy { min-width: 0; }
  .hero-trust-carousel { display: block; width: 100%; max-width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
  .hero-trust-carousel .hero-trust-track { flex-wrap: nowrap; width: max-content; gap: 0; animation: hero-trust-marquee 22s linear infinite; }
  .hero-trust-carousel .hero-trust-dup { display: flex; }
  .hero-trust-carousel .hero-trust-item { padding: 0 16px; white-space: nowrap; }
}

/* hero visual */
.hero-visual { position: relative; }
.hero-img-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/5; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
/* Illustration variant: show full Popsy SVG inside the framed card */
.hero-img-wrap.illus { background: radial-gradient(120% 120% at 50% 0%, var(--brand-light) 0%, #eaf6fe 45%, #f4fbff 100%); border: 1px solid var(--brand-50); }
.hero-img-wrap.illus img { object-fit: contain; padding: 34px; }
.hero-float {
  position: absolute; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; z-index: 3; border: 1px solid var(--slate-100);
}
.hero-float.f1 { top: 24px; left: -28px; }
.hero-float.f2 { bottom: 28px; right: -24px; }
.hero-float-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float-ic.green { background: var(--green-light); color: var(--green); }
.hero-float-ic.blue { background: var(--brand-light); color: var(--brand); }
.hero-float-label { font-size: 12px; color: var(--slate-400); }
.hero-float-value { font-size: 16px; font-weight: 800; color: var(--slate-900); }

/* ---------- Logos / trust strip ---------- */
.trust-strip { padding: 28px 0; border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: 18px 40px; flex-wrap: wrap; }
.trust-strip-label { font-size: 13px; font-weight: 600; color: var(--slate-400); }
.norma-badge { font-size: 15px; font-weight: 800; color: var(--slate-400); letter-spacing: .02em; transition: color .2s; }
.norma-badge:hover { color: var(--brand); }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--ink); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 12px; }
.stat-num { font-size: clamp(34px,4.5vw,52px); font-weight: 900; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.stat-num b { color: var(--brand); font-weight: 900; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 8px; font-weight: 500; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.service-card {
  position: relative; padding: 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--slate-150, var(--slate-100));
  transition: all .3s var(--ease); overflow: hidden;
}
.service-card::after { content:''; position: absolute; left:0; bottom:0; height:3px; width:100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.service-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-ic .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--slate-500); margin-bottom: 18px; }
.service-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.service-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--slate-600); }
.service-list .icon { width: 17px; height: 17px; color: var(--brand); margin-top: 3px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand); }
.service-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .service-link .icon { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; background: var(--slate-50); color: var(--slate-600); border: 1px solid var(--slate-200); }

/* mini service (icon + name) */
.mini-card { padding: 22px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--slate-100); text-align: center; transition: all .3s var(--ease); }
.mini-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.mini-card .service-ic { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; }
.mini-card .service-ic .icon { width: 24px; height: 24px; }
.mini-card .name { font-size: 14.5px; font-weight: 700; color: var(--slate-800); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; }
.steps::before { content:''; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px); opacity: .4; z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--brand); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; margin: 0 auto 18px; box-shadow: var(--shadow-brand); }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--slate-500); }

/* ============================================================
   FEATURE / SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-media .illustration { width: 100%; max-width: 460px; margin: 0 auto; }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .feature-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--slate-500); }

/* dark variant */
.split-dark .feature-item .feature-ic { background: rgba(28,165,235,.15); }
.split-dark h2, .split-dark h4 { color: var(--white); }
.split-dark p { color: rgba(255,255,255,.6); }

/* ============================================================
   GUARANTEES
   ============================================================ */
.guarantee-card { display: flex; gap: 18px; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--slate-100); background: var(--white); transition: all .3s var(--ease); }
.guarantee-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.guarantee-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.guarantee-ic .icon { width: 26px; height: 26px; }
.guarantee-card h4 { font-size: 17px; margin-bottom: 7px; }
.guarantee-card p { font-size: 14px; color: var(--slate-500); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.t-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.t-filter { padding: 9px 20px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--slate-600); background: var(--white); border: 1px solid var(--slate-200); transition: all .2s; }
.t-filter:hover { border-color: var(--brand); color: var(--brand); }
.t-filter.active { background: var(--brand); color: var(--white); border-color: var(--brand); }
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.t-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 28px; transition: all .3s var(--ease); display: flex; flex-direction: column; }
.t-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.t-stars { display: flex; gap: 2px; color: var(--amber); margin-bottom: 14px; }
.t-stars .icon { width: 17px; height: 17px; fill: var(--amber); stroke: var(--amber); }
.t-text { font-size: 14.5px; color: var(--slate-600); line-height: 1.7; margin-bottom: 22px; flex: 1; }

/* ── Testimonios con difuminado de marca full-bleed (azul fuerte arriba → claro abajo) ── */
.testimonials-fade {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand) 12%, var(--brand-light) 60%, var(--white) 100%);
  border-radius: 50% 50% 0 0 / 70px 70px 0 0;
  padding-top: 100px;
}
.testimonials-fade .section-head .h2 { color: #fff; }
.testimonials-fade .section-head .eyebrow { color: #fff; background: rgba(255, 255, 255, 0.18); }
.t-author { display: flex; align-items: center; gap: 13px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-light); }
.t-name { font-size: 14.5px; font-weight: 700; color: var(--slate-800); }
.t-meta { font-size: 12.5px; color: var(--slate-400); }
.t-hide { display: none; }

/* ============================================================
   VIDEO (vertical 9:16 — estilo TikTok)
   ============================================================ */
.video-section { background: var(--ink); position: relative; overflow: hidden; }
.video-section::before { content:''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; border-radius: 50%; background: var(--brand); filter: blur(150px); opacity: .1; }
.video-split { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.video-phones { display: flex; gap: 24px; justify-content: center; }
.phone { width: 240px; flex-shrink: 0; }
.phone-frame {
  position: relative; aspect-ratio: 9/19.5; border-radius: 36px; background: #000;
  border: 8px solid #1a1a1a; box-shadow: 0 30px 60px rgba(0,0,0,.5); overflow: hidden;
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 38%; height: 22px; background: #1a1a1a; border-radius: 0 0 14px 14px; z-index: 3; }
.phone-screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #1e293b, #0f172a); }
.phone-screen video, .phone-screen iframe, .phone-screen img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.phone-placeholder { text-align: center; color: rgba(255,255,255,.6); padding: 20px; }
.phone-play { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--shadow-brand); transition: transform .25s; }
.phone:hover .phone-play { transform: scale(1.08); }
.phone-play .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 3px; }
.phone-caption { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5); text-align: center; margin-top: 16px; }
.video-tag { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color: var(--brand); background: rgba(28,165,235,.12); padding: 7px 14px; border-radius: 100px; margin-bottom: 18px; }

/* ============================================================
   INTERNATIONAL
   ============================================================ */
.intl { position: relative; }
.country-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 8px; }
.country-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--slate-100); transition: all .25s var(--ease); }
.country-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.country-flag { font-size: 26px; line-height: 1; }
.country-name { font-size: 14px; font-weight: 700; color: var(--slate-800); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }

/* featured post */
.blog-feature { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); margin-bottom: 48px; }
.blog-feature-img { position: relative; min-height: 340px; overflow: hidden; }
.blog-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-feature:hover .blog-feature-img img { transform: scale(1.05); }
.blog-feature-tag { position: absolute; top: 18px; left: 18px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 100px; z-index: 2; }
.blog-feature-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-feature-body .blog-meta { margin-bottom: 14px; }
.blog-feature-body h2 { font-size: clamp(24px,3vw,32px); line-height: 1.2; margin-bottom: 14px; }
.blog-feature-body p { font-size: 15.5px; color: var(--slate-500); margin-bottom: 24px; line-height: 1.7; }
@media (max-width: 860px) { .blog-feature { grid-template-columns: 1fr; } .blog-feature-img { min-height: 240px; } .blog-feature-body { padding: 30px; } }

/* blog filter */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.blog-filter { padding: 9px 20px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--slate-600); background: var(--white); border: 1px solid var(--slate-200); transition: all .2s; }
.blog-filter:hover { border-color: var(--brand); color: var(--brand); }
.blog-filter.active { background: var(--brand); color: var(--white); border-color: var(--brand); }
.blog-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--brand-darker); font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; backdrop-filter: blur(4px); }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 12.5px; color: var(--slate-400); margin-bottom: 10px; display: flex; gap: 12px; }
.blog-body h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.blog-card:hover .blog-body h3 { color: var(--brand); }
.blog-body p { font-size: 14px; color: var(--slate-500); margin-bottom: 16px; flex: 1; }
.blog-readmore { font-size: 13.5px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }

/* article */
.article-hero { padding: calc(var(--nav-h) + 48px) 0 32px; background: var(--slate-50); }
.article-cat { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.article-title { font-size: clamp(28px,4vw,44px); margin: 14px 0 18px; }
.article-meta { display: flex; align-items: center; gap: 14px; color: var(--slate-500); font-size: 14px; }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; }
.article-cover { max-width: 900px; margin: -8px auto 0; padding: 0 24px; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/8; object-fit: cover; }
.article-body { max-width: 720px; margin: 48px auto; padding: 0 24px; }
.article-body h2 { font-size: 26px; margin: 38px 0 16px; }
.article-body h3 { font-size: 20px; margin: 28px 0 12px; }
.article-body p { font-size: 17px; color: var(--slate-700); line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { font-size: 17px; color: var(--slate-700); line-height: 1.8; margin-bottom: 8px; }
.article-body ul li { list-style: none; position: relative; padding-left: 8px; }
.article-body ul li::before { content:''; position: absolute; left: -16px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.article-body blockquote { border-left: 4px solid var(--brand); background: var(--brand-50); padding: 18px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-size: 17px; color: var(--slate-700); font-style: italic; }
.article-body strong { color: var(--slate-900); font-weight: 700; }
.article-cta { background: var(--ink); border-radius: var(--radius-lg); padding: 36px; text-align: center; margin: 40px 0; }
.article-cta h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,.6); margin-bottom: 22px; }

/* ============================================================
   RECURSOS
   ============================================================ */
.resource-card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--slate-100); transition: all .3s var(--ease); overflow: hidden; }
.resource-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.resource-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.resource-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.resource-ic .icon { width: 28px; height: 28px; }
.resource-format { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; background: var(--slate-50); color: var(--slate-500); border: 1px solid var(--slate-200); }
.resource-card h3 { font-size: 20px; margin-bottom: 10px; }
.resource-card > p { font-size: 14.5px; color: var(--slate-500); margin-bottom: 18px; }
.resource-incl { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.resource-incl li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--slate-600); }
.resource-incl .icon { width: 17px; height: 17px; color: var(--green); margin-top: 3px; }
.resource-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* interactive checklist */
.checklist-card { max-width: 820px; margin: 0 auto; background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.checklist-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.checklist-top h3 { font-size: 18px; }
.checklist-count { font-size: 14px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.checklist-progress { height: 10px; background: var(--slate-100); border-radius: 100px; overflow: hidden; margin-bottom: 24px; }
.checklist-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-darker)); border-radius: 100px; transition: width .45s var(--ease); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li label { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm); cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--slate-700); transition: all .2s; }
.checklist li label:hover { border-color: var(--brand); background: var(--brand-50); }
.checklist input { width: 20px; height: 20px; accent-color: var(--brand); flex-shrink: 0; cursor: pointer; }
.checklist input:checked ~ span { color: var(--slate-400); text-decoration: line-through; }
.checklist-done { margin-top: 24px; padding: 18px 22px; border-radius: var(--radius); background: var(--green-light); color: #15803d; font-weight: 600; font-size: 14.5px; display: none; align-items: center; gap: 12px; }
.checklist-done.show { display: flex; }
.checklist-done .icon { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }

/* ============================================================
   COTIZADOR
   ============================================================ */
.quote-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.quote-form { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 14px; font-weight: 700; color: var(--slate-700); margin-bottom: 10px; }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm); font-size: 15px; color: var(--slate-800); background: var(--white); transition: border .2s; }
.form-control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.option-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.option-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option label { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; font-size: 14px; font-weight: 600; color: var(--slate-700); }
.option label small { font-weight: 500; color: var(--slate-400); font-size: 12px; }
.option input:checked + label { border-color: var(--brand); background: var(--brand-50); color: var(--brand-darker); }
.option label:hover { border-color: var(--brand); }
.range-wrap { display: flex; align-items: center; gap: 16px; }
.range-wrap input[type=range] { flex: 1; accent-color: var(--brand); height: 6px; }
.range-value { min-width: 96px; text-align: center; font-weight: 800; color: var(--brand); font-size: 18px; background: var(--brand-50); padding: 8px; border-radius: var(--radius-sm); }

.quote-summary { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--ink); border-radius: var(--radius-lg); padding: 30px; color: #fff; }
.quote-summary h3 { color: #fff; font-size: 19px; margin-bottom: 20px; }
.quote-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.quote-row span:first-child { color: rgba(255,255,255,.55); }
.quote-row span:last-child { font-weight: 700; color: #fff; text-align: right; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0; }
.quote-total .label { font-size: 14px; color: rgba(255,255,255,.6); }
.quote-total .amount { font-size: 32px; font-weight: 900; color: var(--brand); }
.quote-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 14px; line-height: 1.5; text-align: center; }
.quote-disclaimer { display: flex; gap: 11px; align-items: flex-start; background: rgba(28,165,235,.13); border: 1px solid rgba(28,165,235,.35); border-radius: var(--radius-sm); padding: 14px 15px; margin: 20px 0 18px; }
.quote-disclaimer .icon { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.quote-disclaimer p { font-size: 12.5px; color: rgba(255,255,255,.72); line-height: 1.55; }
.quote-disclaimer strong { color: #fff; font-weight: 700; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--slate-150, var(--slate-200)); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--white); transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--brand); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--slate-800); text-align: left; }
.faq-q .icon { width: 22px; height: 22px; color: var(--brand); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; font-size: 15px; color: var(--slate-600); line-height: 1.7; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding: calc(var(--nav-h) + 56px) 0 60px; background: linear-gradient(160deg, #f8fbff, #eef7ff); position: relative; overflow: hidden; }
.page-hero .hero-blob.b1 { width: 380px; height: 380px; top: -120px; right: -80px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
/* Two-column page hero with a Popsy illustration on the right */
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.page-hero-grid .page-hero-inner { max-width: 640px; }
.page-hero-art { display: flex; align-items: center; justify-content: center; padding: 30px; border-radius: var(--radius-xl); background: radial-gradient(120% 120% at 50% 8%, #ffffff 0%, #f3faff 55%, #e6f4fe 100%); border: 1px solid var(--brand-50); box-shadow: var(--shadow-lg); }
.page-hero-art img { width: 100%; max-width: 380px; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-art { order: -1; max-width: 360px; margin: 0 auto; padding: 22px; }
  .page-hero-art img { max-width: 280px; }
}
/* Reusable illustration spot inside content sections */
.illus-spot { display: flex; justify-content: center; }
.illus-spot img { width: 100%; max-width: 440px; filter: drop-shadow(0 16px 28px rgba(28,165,235,.14)); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate-400); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .icon { width: 14px; height: 14px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--slate-100); transition: all .25s; background: var(--white); }
.contact-method:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.contact-method.primary { background: var(--brand); border-color: var(--brand); }
.contact-method.primary .cm-ic { background: rgba(255,255,255,.2); color: #fff; }
.contact-method.primary .cm-title, .contact-method.primary .cm-value { color: #fff; }
.contact-method.primary .cm-value { opacity: .9; }
.cm-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cm-title { font-size: 14px; font-weight: 700; color: var(--slate-800); }
.cm-value { font-size: 14px; color: var(--slate-500); }
.cm-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; background: rgba(255,255,255,.25); color: #fff; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-darker)); position: relative; overflow: hidden; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 6px; }
.cta-band .btn-white { background: #fff; color: var(--brand-darker); }
.cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }

.cta-dark { background: linear-gradient(135deg, var(--ink), var(--ink-2)); text-align: center; position: relative; overflow: hidden; }
.cta-dark::before { content:''; position: absolute; top:-50%; left:50%; transform: translateX(-50%); width:600px; height:600px; border-radius:50%; background: var(--brand); filter: blur(150px); opacity:.1; }
.cta-dark-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-dark h2 { color: #fff; margin-bottom: 16px; }
.cta-dark h2 span { color: var(--brand); }
.cta-dark p { color: rgba(255,255,255,.6); margin-bottom: 32px; }

/* ── Franjas de color full-bleed → bandas flotantes redondeadas (look premium).
   Una sola regla para todas las páginas (clases compartidas). ── */
.stats,
.video-section,
.cta-band,
.cta-dark {
  width: calc(100% - 48px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -32px rgba(2, 6, 23, 0.45);
}
/* Las bandas de cierre (justo antes del footer) necesitan aire abajo para que
   sus esquinas redondeadas no choquen contra el footer oscuro. */
.cta-band,
.cta-dark {
  margin-bottom: 56px;
}
.cta-feats { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-top: 36px; }
.cta-feat { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.cta-feat .icon { width: 17px; height: 17px; color: var(--brand); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--slate-900); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 48px; }
.footer-brand-name { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-brand-name b { color: var(--brand); }
.footer-brand-logo { display: inline-block; margin-bottom: 16px; }
.footer-brand-logo img { height: 38px; width: auto; display: block; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 280px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: all .2s; }
.social-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.social-btn .icon { width: 19px; height: 19px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-links a:hover { color: var(--brand); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.footer-contact-item .icon { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom-links a:hover { color: var(--brand); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float { position: fixed; bottom: 26px; right: 26px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 6px 24px rgba(37,211,102,.45); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float .wa-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: wa-ring 2.4s infinite; }
@keyframes wa-ring { 0%{transform:scale(1);opacity:.6;} 100%{transform:scale(1.7);opacity:0;} }

/* Ocultar flotantes (WhatsApp, FAB de contacto, centro de cookies) cuando el menú móvil está abierto */
body.menu-open .wa-float,
body.menu-open .contact-fab,
body.menu-open .m-cc { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }

/* ============================================================
   CONTACT FAB (Messenger / Instagram / Correo) — sobre el de WhatsApp
   ============================================================ */
.contact-fab { position: fixed; right: 26px; bottom: 100px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cfab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cfab-item { display: flex; align-items: center; gap: 10px; text-decoration: none; opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.contact-fab.open .cfab-item { opacity: 1; transform: none; pointer-events: auto; }
.contact-fab.open .cfab-item:nth-child(1) { transition-delay: .04s; }
.contact-fab.open .cfab-item:nth-child(2) { transition-delay: .09s; }
.contact-fab.open .cfab-item:nth-child(3) { transition-delay: .14s; }
.cfab-label { background: var(--slate-900); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; box-shadow: var(--shadow); white-space: nowrap; }
.cfab-ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--brand); box-shadow: 0 6px 18px rgba(15,23,43,.2); transition: transform .2s; }
.cfab-item:hover .cfab-ic { transform: scale(1.1); }
.cfab-ic .icon { width: 22px; height: 22px; }
.cfab-item[data-net="instagram"] .cfab-ic { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.cfab-item[data-net="messenger"] .cfab-ic { background: linear-gradient(60deg,#0078ff,#a033ff,#ff5280,#ff7061); color: #fff; }
.cfab-item[data-net="mail"] .cfab-ic { background: var(--brand); color: #fff; }
.cfab-toggle { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; border: none; cursor: pointer; box-shadow: 0 8px 24px rgba(28,165,235,.5); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .25s var(--ease), background .2s; }
.cfab-toggle:hover { transform: scale(1.08); }
.cfab-toggle .icon { width: 26px; height: 26px; position: absolute; transition: opacity .2s, transform .3s var(--ease); }
.cfab-toggle .cfab-i-close { opacity: 0; transform: rotate(-90deg); }
.contact-fab.open .cfab-toggle { background: var(--brand-dark); }
.contact-fab.open .cfab-toggle .cfab-i-open { opacity: 0; transform: rotate(90deg); }
.contact-fab.open .cfab-toggle .cfab-i-close { opacity: 1; transform: rotate(0); }
.cfab-hint { position: absolute; right: 68px; background: var(--slate-900); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow); }
.cfab-toggle:hover .cfab-hint { opacity: 1; transform: none; }
.contact-fab.open .cfab-hint { display: none; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }
/* Popsy gradient SVGs (loaded via <img>) rasterize "pale" if they first paint while their
   container sits on a composited layer mid-reveal (transform/opacity transition). Render the
   illustration containers statically so the SVG always rasterizes at full strength. */
.page-hero-art.reveal, .split-media.reveal { opacity: 1; transform: none; transition: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---- Tablet (incl. iPad portrait): tighten section rhythm, restructure grids ---- */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding: calc(var(--nav-h) + 44px) 0 64px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .cards-3, .blog-grid, .t-grid { grid-template-columns: repeat(2,1fr); }
  .cards-4, .country-grid { grid-template-columns: repeat(3,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .steps::before { display: none; }
  .split, .video-split, .quote-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .quote-summary { position: static; }
  .footer-grid { grid-template-columns: repeat(3,1fr); gap: 36px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px 24px; }
}
/* ---- Phone: compact, desktop-like density. Smaller type/buttons, less whitespace ---- */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .section-tight { padding: 40px 0; }
  .section-head { margin-bottom: 30px; }
  .stats { padding: 40px 0; }
  .stats-grid { gap: 22px 16px; }

  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }

  .display { font-size: clamp(30px, 8.5vw, 40px); }
  .btn { padding: 12px 22px; font-size: 14px; }
  .btn-lg { padding: 14px 26px; font-size: 15px; }

  .hero { padding: calc(var(--nav-h) + 28px) 0 44px; }
  .hero-grid { gap: 30px; }
  .hero-visual { max-width: 330px; }
  .hero-badges { margin-bottom: 18px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-ctas { gap: 12px; margin-bottom: 24px; }
  .page-hero { padding: calc(var(--nav-h) + 26px) 0 36px; }

  .cards-3, .cards-2, .cards-4, .blog-grid, .t-grid, .country-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-num { width: 52px; height: 52px; }
  .split, .video-split, .quote-wrap, .contact-grid { gap: 30px; }
  .service-card { padding: 24px; }
  .quote-form { padding: 22px; }
  .quote-summary { padding: 24px; }
  .video-phones { flex-direction: column; align-items: center; }
  .option-grid.cols-3 { grid-template-columns: 1fr 1fr; }

  .footer { padding: 44px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-bottom: 30px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-desc { max-width: none; margin-bottom: 18px; }
  .footer-col h5 { margin-bottom: 14px; }
  .footer-links { gap: 9px; }
  .footer-contact-item { margin-bottom: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; padding-top: 22px; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}
/* ---- Small phone ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .display { font-size: clamp(28px, 9vw, 34px); }
  .section-head { margin-bottom: 26px; }
  .country-grid { grid-template-columns: 1fr 1fr; }
  .phone { width: 200px; }
  .hero-visual { max-width: 280px; }
}

/* ============================================================
   PÁGINAS LEGALES (Garantías · Privacidad · Términos)
   ============================================================ */
.legal-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, var(--brand-darker) 130%);
  color: #fff; padding: calc(var(--nav-h) + 56px) 0 64px; text-align: center;
}
.legal-hero::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: var(--brand); opacity: .22; filter: blur(90px); top: -180px; right: -120px;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero .eyebrow { color: #7fd2f7; }
.legal-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); }
.legal-hero p { color: rgba(255,255,255,.82); max-width: 620px; margin: 16px auto 0; font-size: 17px; line-height: 1.7; }
.legal-updated {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.92);
}
.legal-updated .icon { width: 15px; height: 15px; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.legal-toc {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 22px 22px 24px; box-shadow: var(--shadow-sm);
}
.legal-toc h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 14px; }
.legal-toc a { display: block; font-size: 14px; font-weight: 600; color: var(--slate-600); padding: 7px 0; border-bottom: 1px solid var(--slate-100); transition: color .2s var(--ease); }
.legal-toc a:last-child { border-bottom: none; }
.legal-toc a:hover { color: var(--brand); }

.legal-body { max-width: 760px; }
.legal-section { scroll-margin-top: calc(var(--nav-h) + 20px); margin-bottom: 44px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section > h2 {
  font-size: clamp(22px, 2.8vw, 28px); display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.legal-section > h2 .legal-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand-darker); font-size: 16px; font-weight: 800;
}
.legal-section h3 { font-size: 18px; color: var(--slate-900); margin: 22px 0 10px; }
.legal-section p { color: var(--slate-600); margin-bottom: 14px; line-height: 1.75; }
.legal-section ul, .legal-section ol { margin: 0 0 16px 4px; padding: 0; }
.legal-section li { position: relative; color: var(--slate-600); line-height: 1.7; padding: 0 0 9px 28px; }
.legal-section ul li::before {
  content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-light);
}
.legal-section ol { counter-reset: li; }
.legal-section ol li { padding-left: 34px; }
.legal-section ol li::before {
  counter-increment: li; content: counter(li); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 7px; background: var(--brand-light); color: var(--brand-darker);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.legal-section strong { color: var(--slate-800); font-weight: 700; }
.legal-section a:not(.btn) { color: var(--brand-darker); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.legal-card {
  background: var(--brand-50); border: 1px solid var(--brand-light); border-left: 4px solid var(--brand);
  border-radius: var(--radius); padding: 20px 24px; margin: 18px 0;
}
.legal-card.warn { background: #fffbeb; border-color: #fde68a; border-left-color: var(--amber); }
.legal-card.ok { background: var(--green-light); border-color: #bbf7d0; border-left-color: var(--green); }
.legal-card h4 { font-size: 15px; color: var(--slate-900); margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.legal-card h4 .icon { width: 19px; height: 19px; }
.legal-card.warn h4 .icon { color: var(--amber); }
.legal-card.ok h4 .icon { color: var(--green); }
.legal-card p:last-child, .legal-card li:last-child { margin-bottom: 0; }

/* Tabla de reembolsos */
.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 4px; font-size: 15px; border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; }
.legal-table th { background: var(--slate-900); color: #fff; text-align: left; font-weight: 700; font-size: 13px; letter-spacing: .03em; padding: 13px 18px; }
.legal-table td { padding: 13px 18px; border-top: 1px solid var(--slate-200); color: var(--slate-700); }
.legal-table tr td:first-child { font-weight: 700; color: var(--slate-900); }
.legal-table tr:nth-child(even) td { background: var(--slate-50); }
.legal-table .pct { font-weight: 800; color: var(--brand-darker); }

.legal-cta {
  background: linear-gradient(155deg, var(--ink), var(--ink-3)); color: #fff;
  border-radius: var(--radius-lg); padding: 38px 40px; text-align: center; margin-top: 8px;
}
.legal-cta h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.legal-cta p { color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto 22px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; display: none; }
  .legal-body { max-width: none; }
}

/* ============================================================
   Compartir · Captación · Sugerencias · Herramienta APA
   ============================================================ */

/* ---- Barra de compartir ---- */
.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 4px; padding: 18px 0; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.share-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--slate-700); margin-right: 4px; }
.share-label .icon { width: 18px; height: 18px; color: var(--brand); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--slate-700); background: var(--white); border: 1px solid var(--slate-200); border-radius: 100px; padding: 8px 15px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s, color .2s; }
.share-btn .icon { width: 17px; height: 17px; }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.share-btn.wa:hover { border-color: var(--whatsapp); color: var(--whatsapp); }
.share-btn.fb:hover { border-color: #1877f2; color: #1877f2; }
.share-btn.mail:hover, .share-btn.copy:hover { border-color: var(--brand); color: var(--brand); }
.share-btn.copied { border-color: var(--green); color: var(--green); background: var(--green-light); }

/* ---- Banda de captación (suscripción correo / WhatsApp) ---- */
.lead-capture { background: linear-gradient(150deg, var(--ink), var(--ink-3)); border-radius: var(--radius-lg); padding: 46px 48px; color: #fff; position: relative; overflow: hidden; }
.lead-capture::before { content: ''; position: absolute; top: -45%; right: -8%; width: 440px; height: 440px; border-radius: 50%; background: var(--brand); filter: blur(140px); opacity: .22; }
.lead-capture-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.lc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7dd3fc; background: rgba(28,165,235,.16); padding: 7px 14px; border-radius: 100px; margin-bottom: 16px; }
.lc-eyebrow .icon { width: 15px; height: 15px; }
.lead-capture h2 { color: #fff; font-size: 27px; line-height: 1.2; margin-bottom: 12px; }
.lead-capture > .lead-capture-inner > div > p { color: rgba(255,255,255,.78); font-size: 15.5px; line-height: 1.65; }
.lc-form { display: flex; flex-direction: column; gap: 12px; }
.lc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lc-input { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 13px 15px; color: #fff; font-size: 14.5px; transition: border-color .2s, background .2s; }
.lc-input::placeholder { color: rgba(255,255,255,.5); }
.lc-input:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.13); }
.lc-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: rgba(255,255,255,.68); line-height: 1.5; }
.lc-consent input { margin-top: 2px; accent-color: var(--brand); width: 15px; height: 15px; flex-shrink: 0; }
.lc-consent a { color: #fff; text-decoration: underline; }

/* ---- Caja "Sugiere un tema" ---- */
.suggest-box { background: var(--brand-50); border: 1px solid var(--brand-light); border-radius: var(--radius-lg); padding: 38px 42px; }
.sb-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.sb-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sb-ic .icon { width: 27px; height: 27px; }
.sb-head h3 { font-size: 21px; color: var(--slate-900); }
.suggest-box > p { color: var(--slate-600); margin-bottom: 20px; font-size: 15px; }
.suggest-form { display: grid; gap: 14px; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---- Generador de citas APA ---- */
.apatool { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: start; }
.apatool-form { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.apa-types { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.apa-type { font-size: 13.5px; font-weight: 600; color: var(--slate-600); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 100px; padding: 8px 15px; transition: all .2s; }
.apa-type:hover { border-color: var(--brand); color: var(--brand); }
.apa-type.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow-brand); }
.apa-fields { display: none; }
.apa-fields.active { display: block; }
.apatool-out { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.apa-result { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 22px 24px; }
.apa-result h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-darker); margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apa-ref { font-size: 15.5px; line-height: 1.72; color: var(--slate-800); padding-left: 30px; text-indent: -30px; word-break: break-word; min-height: 24px; }
.apa-ref em { font-style: italic; }
.apa-ref .ph { color: var(--slate-400); font-style: normal; }
.apa-copy { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-light); border-radius: 8px; padding: 6px 11px; flex-shrink: 0; }
.apa-copy .icon { width: 14px; height: 14px; }
.apa-copy.copied { color: var(--green); border-color: #bbf7d0; background: var(--green-light); }
.apa-intext { display: flex; flex-direction: column; gap: 12px; }
.apa-chip-row { display: flex; align-items: center; gap: 12px; }
.apa-chip { font-size: 14.5px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 10px; padding: 10px 14px; color: var(--slate-700); flex: 1; }
.apa-chip b { color: var(--slate-900); }
.apa-chip span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--slate-400); margin-bottom: 3px; font-weight: 700; }
.apa-note { font-size: 12.5px; color: var(--slate-500); line-height: 1.55; }
.apa-hint { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--slate-500); margin-top: 4px; }
.apa-hint .icon { width: 15px; height: 15px; color: var(--brand); margin-top: 1px; flex-shrink: 0; }

@media (max-width: 860px) {
  .lead-capture { padding: 36px 26px; }
  .lead-capture-inner { grid-template-columns: 1fr; gap: 26px; }
  .lc-row { grid-template-columns: 1fr; }
  .suggest-box { padding: 30px 24px; }
  .sf-row { grid-template-columns: 1fr; }
  .apatool { grid-template-columns: 1fr; gap: 24px; }
  .apatool-form { padding: 26px 22px; }
  .apatool-out { position: static; }
}

/* ============================================================
   MÓVIL — HOME (acordeones, marquee de normas, carruseles, compactado)
   Solo afecta el teléfono ≤720px. El desktop se conserva idéntico
   mediante display:contents y reglas .macc específicas.
   ============================================================ */

/* ---- Avatares de testimonio con iniciales (en vez de fotos stock) ---- */
.t-avatar.mono { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 800; font-size: 15.5px; letter-spacing: .02em; }

/* ---- Botón base de acordeón (reset; en desktop no cambia nada) ---- */
.macc-head { display: block; width: 100%; text-align: left; background: none; border: 0; margin: 0; padding: 0; font: inherit; color: inherit; cursor: default; -webkit-tap-highlight-color: transparent; }
.macc-chevron { display: none; }
.macc-body { overflow: hidden; }

/* Desktop: la tarjeta de servicio se ve igual (el botón fluye en bloque) */
.service-card.macc .macc-head { display: block; }

/* Desktop: la garantía conserva su fila (icono | título sobre texto)
   recreando el flex original con un grid de 2 columnas */
.guarantee-card.macc { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.guarantee-card.macc .macc-head { display: contents; }
.guarantee-card.macc .guarantee-ic { grid-column: 1; grid-row: 1 / span 2; }
.guarantee-card.macc h4 { grid-column: 2; grid-row: 1; }
.guarantee-card.macc .macc-body { grid-column: 2; grid-row: 2; }

/* Desktop: los badges de normas vuelven a su fila centrada y se ocultan los duplicados */
.norma-viewport, .norma-track { display: contents; }
.norma-dup { display: none; }

@keyframes norma-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes maccGlow {
  0%, 100% { transform: translateY(0); opacity: .85; filter: drop-shadow(0 0 0 rgba(28,165,235,0)); }
  50%      { transform: translateY(3px); opacity: 1; filter: drop-shadow(0 0 7px rgba(28,165,235,.75)); }
}

@media (max-width: 720px) {
  /* Menos altura general para evitar scroll largo */
  .section { padding: 42px 0; }
  .section-head { margin-bottom: 22px; }

  /* --- Hero: los dos botones en una sola línea recta --- */
  .hero .hero-ctas { flex-wrap: nowrap; gap: 10px; }
  .hero .hero-ctas .btn { flex: 1 1 0; min-width: 0; padding: 13px 10px; font-size: 13.5px; gap: 7px; justify-content: center; white-space: nowrap; }
  .hero .hero-ctas .btn .icon { width: 16px; height: 16px; flex-shrink: 0; }

  /* --- Franja de normas con movimiento (marquee) --- */
  .trust-strip { padding: 18px 0; }
  .trust-strip-inner { flex-direction: column; gap: 10px; }
  .trust-strip-label { font-size: 12px; letter-spacing: .02em; }
  .norma-viewport { display: block; width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .norma-track { display: flex; width: max-content; animation: norma-marquee 20s linear infinite; }
  .norma-dup { display: inline-flex; }
  .norma-badge { padding: 0 20px; white-space: nowrap; color: var(--brand); font-size: 15px; }

  /* --- Servicios y Garantías como acordeones con flecha brillante --- */
  .service-card.macc, .guarantee-card.macc { padding: 15px 18px; display: block; }
  .service-card.macc .macc-head, .guarantee-card.macc .macc-head { display: flex; align-items: center; gap: 13px; cursor: pointer; }
  .service-card.macc .macc-head h3, .guarantee-card.macc .macc-head h4 { flex: 1; margin: 0; font-size: 16px; }
  .service-card.macc .service-ic, .guarantee-card.macc .guarantee-ic { width: 40px; height: 40px; border-radius: 11px; }
  .service-card.macc .service-ic .icon, .guarantee-card.macc .guarantee-ic .icon { width: 21px; height: 21px; }
  .macc-chevron { display: block; width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); animation: maccGlow 1.8s ease-in-out infinite; transition: transform .3s var(--ease); }
  .macc.open .macc-chevron { transform: rotate(180deg); animation: none; opacity: 1; }
  .macc-body { max-height: 0; opacity: 0; transition: max-height .38s var(--ease), opacity .3s; }
  .macc.open .macc-body { opacity: 1; }
  .service-card.macc.open .macc-body { padding-top: 14px; }
  .guarantee-card.macc.open .macc-body { padding-top: 10px; }
  .cards-4 { gap: 12px; }

  /* --- Stats aplanadas --- */
  .stats { padding: 26px 0; }
  .stats-grid { gap: 18px 12px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 11.5px; }

  /* --- Proceso compacto (2×2) --- */
  .steps { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .steps::before { display: none; }
  .step-num { width: 44px; height: 44px; font-size: 18px; margin-bottom: 10px; }
  .step h4 { font-size: 15px; }
  .step p { font-size: 12.5px; }

  /* --- Testimonios y Blog: carrusel deslizable (scoped a home) --- */
  .home-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 2px 20px 14px; scrollbar-width: none; }
  .home-scroll::-webkit-scrollbar { display: none; }
  .home-scroll > * { scroll-snap-align: start; flex: 0 0 84%; }

  /* --- CTA final más compacto --- */
  .cta-dark { padding: 34px 0; }
}

@media (max-width: 480px) {
  .hero .hero-ctas .btn { font-size: 12.5px; padding: 12px 8px; gap: 5px; }
  .stat-num { font-size: 24px; }
  .home-scroll > * { flex-basis: 86%; }
  .service-card.macc .macc-head h3, .guarantee-card.macc .macc-head h4 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .norma-track { animation: none; }
  .hero-trust-track { animation: none; }
  .shine-text { animation: none; }
  .macc-chevron { animation: none; }
}

/* ============================================================
   MÓVIL — PÁGINAS INTERNAS (servicios · cotizador · nosotros ·
   recursos · blog · contacto). Hero compacto, ilustraciones y
   formularios aplanados. Solo ≤720px; el escritorio queda igual.
   ============================================================ */
@media (max-width: 720px) {
  /* --- Page hero: ilustración mediana arriba; el encabezado se ve de inmediato --- */
  .page-hero { padding: calc(var(--nav-h) + 18px) 0 28px; }
  .page-hero-grid { gap: 12px; }
  .page-hero .hero-blob.b1 { width: 240px; height: 240px; top: -90px; right: -70px; }
  .page-hero-art { max-width: 210px; margin: 0 auto; padding: 0; border: 0; background: none; box-shadow: none; }
  .page-hero-art img { max-width: 200px; }
  .breadcrumb { margin-bottom: 12px; font-size: 12.5px; }

  /* --- Ilustraciones de secciones: tamaño medio (sin tapar la pantalla) --- */
  .split-media .illustration { max-width: 300px; }

  /* --- Blog: artículo destacado más plano --- */
  .blog-feature-img { min-height: 168px; }
  .blog-feature-body { padding: 22px; }
  .blog-feature-body h2 { font-size: 21px; margin-bottom: 10px; }
  .blog-feature-body p { font-size: 14.5px; margin-bottom: 16px; }
  .blog-filters { gap: 8px; margin-bottom: 26px; }

  /* --- Cotizador: formulario, opciones y resumen bien compactos --- */
  .section .quote-wrap { gap: 20px; }
  .quote-form { padding: 16px; }
  .form-group { margin-bottom: 15px; }
  .form-label { margin-bottom: 8px; font-size: 13.5px; }
  .option-grid { gap: 8px; }
  .option label { padding: 11px 12px; font-size: 13.5px; gap: 2px; }
  .option label small { font-size: 11px; }
  .range-wrap { gap: 12px; }
  .range-value { min-width: 82px; font-size: 16px; padding: 7px; }
  .quote-summary { position: static; padding: 20px; }
  .quote-summary h3 { margin-bottom: 14px; }
  .quote-row { padding: 9px 0; }
  .quote-total { margin: 16px 0; }
  .quote-disclaimer { padding: 12px 13px; margin: 16px 0 14px; }
  /* tarjetas de confianza bajo el cotizador (no acordeón) más planas */
  .guarantee-card { padding: 18px; gap: 14px; }
  /* reducir los grandes márgenes superiores en línea (p.ej. cotizador) */
  .cards-3[style*="margin-top"], .cards-4[style*="margin-top"] { margin-top: 30px !important; }

  /* --- Contacto: métodos de contacto más planos --- */
  .contact-method { padding: 16px; gap: 13px; }
}

@media (max-width: 480px) {
  .page-hero-art { max-width: 185px; }
  .page-hero-art img { max-width: 175px; }
  .split-media .illustration { max-width: 250px; }
  .option label { padding: 10px 11px; font-size: 13px; }
}

/* ============================================================
   REFERIDOS — botón de registro atenuado hasta que se ingrese
   el WhatsApp del amigo (se reactiva con JS).
   ============================================================ */
.btn.is-disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ============================================================
   VERIFICADORES DE ORIGINALIDAD (Turnitin / Compilatio)
   Franja con los logos de las herramientas con las que
   comprobamos plagio e IA. Uso nominativo: marcas de sus
   titulares; sin afiliación ni patrocinio.
   ============================================================ */
.verifier-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
}
.verifier-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 26px 44px;
  min-width: 240px;
  min-height: 100px;
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.verifier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.verifier-logo { display: block; width: auto; }
.verifier-logo.is-turnitin { height: 42px; }
.verifier-logo.is-compilatio { height: 26px; }
.verifier-note {
  margin: 30px auto 0;
  max-width: 700px;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate-500);
}
@media (max-width: 540px) {
  .verifier-logos { gap: 16px; }
  .verifier-card { width: 100%; min-width: 0; padding: 22px 24px; min-height: 88px; }
  .verifier-logo.is-turnitin { height: 36px; }
  .verifier-logo.is-compilatio { height: 22px; }
}
