/* =====================================================================
   DELVAG PHARMA — Sistema de diseño corporativo
   Farmacia homeopática nivel II · Identidad: azul navy + azul cielo
   Tipografía: Poppins (Arial / sistema como alternativa)
   Claro, luminoso, institucional. Sin modo oscuro.
   ===================================================================== */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* Marca — extraídos del logotipo */
  --navy-900: #0E2566;
  --navy-800: #122C77;
  --navy:     #16327F;   /* azul oscuro principal */
  --navy-600: #1E47A8;
  --blue:     #2A6FC4;
  --sky:      #2BA8E2;   /* azul claro secundario */
  --sky-400:  #4FBCEC;
  --sky-300:  #86D0F2;
  --sky-100:  #DCEFFB;
  --sky-50:   #EEF7FE;

  /* Neutros */
  --white:    #ffffff;
  --bg:       #ffffff;
  --bg-soft:  #F4F8FD;
  --bg-soft-2:#EAF2FB;
  --ink:      #11223F;   /* texto titular */
  --body:     #3A4862;   /* texto cuerpo */
  --muted:    #6A7790;   /* texto secundario */
  --line:     #E2EAF4;   /* bordes suaves */
  --line-2:   #D2DEEE;

  /* Acento de soporte */
  --gold:     #C9A24B;

  /* Tipografía */
  --font: "Poppins", Arial, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Manrope", "Poppins", Arial, "Segoe UI", system-ui, sans-serif;

  /* Medidas — más aire (estilo laboratorio premium) */
  --maxw: 1240px;
  --maxw-wide: 1400px;
  --gut: clamp(22px, 6vw, 88px);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 30px;

  /* Sombras — más suaves y difusas */
  --shadow-sm: 0 4px 18px rgba(16, 45, 110, .05);
  --shadow:    0 22px 50px -26px rgba(16, 45, 110, .22);
  --shadow-lg: 0 50px 90px -34px rgba(14, 37, 102, .30);

  /* Transiciones */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------- Reset ------------------------------ */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.72;
  font-weight: 400;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* --------------------------- Tipografía --------------------------- */
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { color: var(--body); }
strong { color: var(--ink); font-weight: 600; }

/* Kicker tipográfico puro — sin barras ni adornos (identidad = tipografía) */
.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky); margin-bottom: .2rem;
}
.eyebrow.center { text-align: center; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--body); }
.text-sky { color: var(--sky); }
.text-navy { color: var(--navy); }

/* --------------------------- Estructura --------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.container.wide { max-width: var(--maxw-wide); }
.section { padding-block: clamp(84px, 11vw, 160px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #D8E4F7; }
.section--navy h1,.section--navy h2,.section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 76px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 1rem 0 1.1rem; }
.section-head p { font-size: 1.12rem; line-height: 1.75; }

.grid { display: grid; gap: clamp(24px, 2.6vw, 36px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px){ .cols-3,.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

/* ---------------------------- Botones ----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .92rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  color: #fff; box-shadow: 0 12px 26px -12px rgba(22, 50, 127, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(22, 50, 127, .8); }
.btn-sky {
  background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(43, 168, 226, .75);
}
.btn-sky:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(43, 168, 226, .85); }
.btn-ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--sky), var(--shadow-sm); }
.btn-outline-white { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 12px 26px -12px rgba(37,211,102,.7); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(37,211,102,.8); }

/* ----------------------------- Header ----------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 1rem; transition: height .3s var(--ease); }
.header.scrolled .nav { height: 74px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; transition: height .3s var(--ease); }
.header.scrolled .brand img { height: 48px; }
@media (max-width: 560px){ .brand img { height: 44px; } .header.scrolled .brand img { height: 40px; } }
.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-links a {
  position: relative; padding: .5rem .72rem; border-radius: 10px;
  font-weight: 500; font-size: .92rem; letter-spacing: .005em; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .3rem; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--navy)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px){
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 88px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: #fff; padding: 1.2rem var(--gut) 1.8rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .95rem 1rem; border-radius: 12px; font-size: 1.08rem; }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--sky-50); }
  .nav-cta .btn-desktop { display: none; }
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--sky-100), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, var(--sky-50), transparent 55%),
    var(--white);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 110px);
}
.hero-tagline {
  font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--body); font-style: italic;
  border-left: 3px solid var(--sky); padding-left: 1rem; margin: 1.4rem 0 2rem; max-width: 36ch;
}
.hero h1 span { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-trust div { line-height: 1.2; }
.hero-trust b { display: block; font-size: 1.7rem; color: var(--navy); font-weight: 700; }
.hero-trust span { font-size: .85rem; color: var(--muted); }

/* Hero visual: emblema de marca con motivo de arco/círculo */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-emblem {
  position: relative; width: min(440px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, var(--sky-50) 55%, var(--sky-100));
  box-shadow: var(--shadow-lg), inset 0 0 0 1px #fff;
  display: grid; place-items: center;
  animation: floaty 7s ease-in-out infinite;
}
.hero-emblem::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  border: 1.5px dashed var(--sky-300); opacity: .55;
  animation: spin 60s linear infinite;
}
.hero-emblem img { width: 64%; filter: drop-shadow(0 20px 30px rgba(16,45,110,.18)); }
.hero-badge {
  position: absolute; background: #fff; border-radius: 16px; padding: .75rem 1rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
}
.hero-badge .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--sky), var(--navy)); }
.hero-badge .dot svg { width: 18px; height: 18px; }
.hero-badge.b1 { top: 6%; left: -4%; animation-delay: .4s; }
.hero-badge.b2 { bottom: 10%; right: -6%; animation-delay: 1.1s; }
.hero-badge.b3 { bottom: 38%; left: -10%; animation-delay: .8s; }

@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 920px){
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .hero-badge.b3 { display: none; }
}

/* ------------------------------ Cards ----------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-300); }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky-50), var(--sky-100)); color: var(--navy);
  margin-bottom: 1.1rem;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .97rem; }

.feature-num {
  font-size: .82rem; font-weight: 700; color: var(--sky); letter-spacing: .1em;
}

/* Diferenciales con icono lineal */
.icon-tile { color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }

/* --------------------------- Línea histórica ---------------------- */
.timeline { position: relative; display: grid; gap: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--sky), var(--navy)); opacity: .35;
}
.tl-item { position: relative; padding-left: 76px; }
.tl-year {
  position: absolute; left: 0; top: -4px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .92rem; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: var(--shadow-sm);
}
.tl-item h3 { margin-bottom: .35rem; }
.tl-item.future .tl-year { background: linear-gradient(135deg, var(--sky), var(--sky-400)); }

/* Timeline horizontal (hitos del eje narrativo) */
.milestones { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,3vw,34px); }
@media (max-width: 760px){ .milestones { grid-template-columns: 1fr; } }
.milestone { position: relative; padding-top: 2.4rem; }
.milestone .yr { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.milestone .yr.sky { color: var(--sky); }
.milestone h3 { margin: .6rem 0 .5rem; font-size: 1.15rem; }
.milestone::before { content:""; position:absolute; top: .4rem; left: 0; width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg,var(--sky),var(--navy)); }

/* ----------------------------- Valores ---------------------------- */
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.3rem 1.3rem 1.4rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  display: flex; gap: 1rem; align-items: flex-start;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-300); }
.value .vn {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); font-size: .95rem;
}
.value h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.value p { font-size: .9rem; line-height: 1.55; }

/* -------------------------- Líneas (productos) -------------------- */
.line-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.line-card .line-top {
  position: relative; padding: 2rem 1.6rem 1.5rem;
  background: radial-gradient(120% 120% at 80% 0%, var(--sky-100), var(--sky-50));
  display: flex; justify-content: center;
}
.line-card .line-ico {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-sm);
}
.line-card .line-ico svg { width: 44px; height: 44px; }
.line-card .line-body { padding: 1.4rem 1.6rem 1.8rem; }
.line-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.line-card p { font-size: .94rem; }

.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, var(--sky-50), #fff); border: 1px solid var(--sky-100);
  border-left: 4px solid var(--sky); border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem; color: var(--body); font-size: .98rem;
}
.notice svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--sky); margin-top: 2px; }

/* --------------------------- Bloque dúo --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy), var(--blue));
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.split-media img { width: 70%; }
.split-media .ph-note {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  font-size: .72rem; color: rgba(255,255,255,.7); text-align: center;
}

/* lista de chequeo */
.checklist { display: grid; gap: 1rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .ck {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--navy)); color: #fff; margin-top: 2px;
}
.checklist .ck svg { width: 15px; height: 15px; }
.checklist b { display: block; color: var(--ink); }
.checklist span { font-size: .94rem; }

/* --------------------------- Estadísticas ------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,3vw,28px); }
@media (max-width: 760px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.section--navy .stat b { color: #fff; }
.stat span { font-size: .92rem; color: var(--muted); }
.section--navy .stat span { color: #AFC4E6; }

/* --------------------------- CTA banner --------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(125deg, var(--navy-900), var(--navy) 55%, var(--blue));
  color: #fff; padding: clamp(2.4rem, 5vw, 4rem); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-band::before { width: 360px; height: 360px; right: -90px; top: -120px; background: radial-gradient(circle, rgba(43,168,226,.5), transparent 65%); }
.cta-band::after { width: 320px; height: 320px; left: -80px; bottom: -120px; border: 1px dashed rgba(255,255,255,.25); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #CBDAF3; max-width: 56ch; margin: 1rem auto 1.8rem; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; position: relative; }

/* ---------------------------- Cobertura --------------------------- */
.coverage { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,56px); align-items: center; }
@media (max-width: 860px){ .coverage { grid-template-columns: 1fr; } }
.dept-grid { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.dept {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); font-weight: 500; font-size: .94rem; color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.dept:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: var(--shadow-sm); }
.dept svg { width: 16px; height: 16px; color: var(--sky); }
.coverage-art {
  position: relative; border-radius: var(--radius-lg); aspect-ratio: 4/5; overflow: hidden;
  background: linear-gradient(160deg, var(--sky-50), var(--sky-100));
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.coverage-art .pin-map { width: 78%; opacity: .96; }

/* ----------------------------- Contacto --------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; }
@media (max-width: 680px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-300); }
.contact-card .ci {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.contact-card .ci svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.contact-card a, .contact-card p { color: var(--body); font-size: .98rem; word-break: break-word; }
.contact-card a:hover { color: var(--navy); }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ------------------------------ Blog ------------------------------ */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), var(--blue)); position: relative; display: grid; place-items: center; }
.post-thumb img { width: 46%; opacity: .92; }
.post-thumb .tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .72rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-body .meta { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.post-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.post-body p { font-size: .94rem; flex: 1; }
.post-body .more { margin-top: 1rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.post-card:hover .more { gap: .7rem; }

.cat-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .5rem 1rem; border-radius: 999px; background: var(--sky-50); color: var(--navy); font-size: .88rem; font-weight: 500; border: 1px solid var(--sky-100); }

/* Artículo */
.article { max-width: 760px; margin: 0 auto; }
.article p { margin-bottom: 1.2rem; font-size: 1.06rem; }
.article h2 { margin: 2.2rem 0 1rem; }
.article h3 { margin: 1.6rem 0 .8rem; }
.article ul.bullets { margin: 0 0 1.4rem 1.1rem; list-style: disc; }
.article ul.bullets li { margin-bottom: .5rem; }
.article blockquote {
  border-left: 4px solid var(--sky); background: var(--sky-50); padding: 1.2rem 1.5rem;
  border-radius: 0 12px 12px 0; font-style: italic; color: var(--ink); margin: 1.6rem 0;
}

/* ----------------------------- Page hero -------------------------- */
.page-hero {
  position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 92px);
  background:
    radial-gradient(800px 380px at 90% -20%, var(--sky-100), transparent 60%),
    linear-gradient(180deg, var(--sky-50), #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .crumbs a:hover { color: var(--navy); }
.page-hero h1 { max-width: 18ch; }
.page-hero p { max-width: 60ch; margin-top: 1rem; font-size: 1.1rem; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px dashed var(--sky-300); opacity: .5;
}

/* ------------------------------ Footer ---------------------------- */
.footer { background: var(--navy-900); color: #B9CBEC; padding-top: clamp(56px, 8vw, 84px); position: relative; overflow: hidden; }
.footer::before { content:""; position:absolute; top:-120px; right:-80px; width:340px; height:340px; border-radius:50%; background: radial-gradient(circle, rgba(43,168,226,.18), transparent 65%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,48px); position: relative; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 1.1rem; text-transform: uppercase; }
.footer-brand img { height: 54px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; color: #9DB3DA; max-width: 34ch; }
.footer ul { display: grid; gap: .7rem; }
.footer ul a, .footer ul li { font-size: .94rem; color: #B9CBEC; transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer .fcontact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer .fcontact svg { width: 17px; height: 17px; color: var(--sky); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: .65rem; margin-top: 1.3rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.08); transition: transform .25s var(--ease), background .25s;
}
.socials a:hover { transform: translateY(-3px); background: linear-gradient(135deg, var(--sky), var(--navy-600)); }
.socials a svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: clamp(40px,5vw,64px); border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: #8AA1CC;
}
.footer-bottom .reg { max-width: 60ch; }

/* --------------------------- WhatsApp FAB ------------------------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease); animation: pulse 2.6s infinite;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 32px; height: 32px; }
@keyframes pulse { 0%{ box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.45);} 70%{ box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,0);} }

/* --------------------------- Reveal anim -------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-emblem, .hero-emblem::before, .hero-badge, .wa-fab { animation: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------- Utils ------------------------------ */
.center { text-align: center; }
.mt-1{ margin-top:.5rem;} .mt-2{ margin-top:1rem;} .mt-3{ margin-top:1.6rem;} .mt-4{ margin-top:2.4rem;}
.mb-0{ margin-bottom:0;}
.maxw-prose { max-width: 64ch; }

/* =====================================================================
   FASE 2 · Refinamiento: tipografía display, fotografía real, video,
   líneas con imagen, microinteracciones, parallax y texto justificado
   ===================================================================== */

/* Números/displays con autoridad institucional (Montserrat) */
.hero-trust b, .stat b, .milestone .yr, .tl-year, .feature-num, .eyebrow,
.btn, .nav-links a, .footer h4 { font-family: var(--font-head); }

/* --- Texto alineado a la izquierda, interlineado cómodo (sin justificar) --- */
p, li { text-align: left; hyphens: manual; }
.split-copy > p, .article p, .lead, .card p, .line-card p,
.post-body p, .value p, .section-head p { line-height: 1.75; }
.split-copy > p { max-width: 56ch; }
.article p { max-width: 68ch; }

/* --- Media con fotografía real (reemplaza placeholders) --- */
.split-media.photo, .coverage-art.photo { background: var(--navy-900); }
.split-media.photo img, .coverage-art.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.split-media { position: relative; }
.split-media.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(14,37,102,.28));
  mix-blend-mode: multiply;
}
.split-media .corner-accent {
  position: absolute; z-index: 2; width: 64px; height: 64px; pointer-events: none;
}
.split-media .corner-accent.tl { top: 14px; left: 14px; border-top: 3px solid var(--sky); border-left: 3px solid var(--sky); border-radius: 6px 0 0 0; opacity: .9; }
.split-media .corner-accent.br { bottom: 14px; right: 14px; border-bottom: 3px solid var(--sky); border-right: 3px solid var(--sky); border-radius: 0 0 6px 0; opacity: .9; }
/* Etiqueta flotante sobre fotos */
.media-badge {
  position: absolute; z-index: 3; bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 14px; padding: .85rem 1.1rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow); font-weight: 600; color: var(--ink); font-size: .9rem;
}
.media-badge .mb-ico { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--sky), var(--navy)); }
.media-badge .mb-ico svg { width: 20px; height: 20px; }

/* --- Hero con video del logo institucional --- */
.hero-media {
  position: relative; width: min(480px, 92%); aspect-ratio: 1; margin: 0 auto;
  border-radius: 32px; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff, var(--sky-50) 60%, var(--sky-100));
  box-shadow: var(--shadow-lg), inset 0 0 0 1px #fff;
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(43,168,226,.25); border-radius: 32px;
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-ring {
  position: absolute; inset: -6%; border-radius: 50%; border: 1.5px dashed var(--sky-300);
  opacity: .5; animation: spin 60s linear infinite; pointer-events: none;
}
@media (prefers-reduced-motion: reduce){ .hero-ring { animation: none; } }

/* --- Tarjetas de líneas con fotografía de producto --- */
.line-card .line-media {
  position: relative; aspect-ratio: 5/4; overflow: hidden;
  background: linear-gradient(135deg, var(--sky-50), var(--sky-100));
}
.line-card .line-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.line-card:hover .line-media img { transform: scale(1.05); }
.line-card .line-media .line-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--navy); font-weight: 600;
  font-size: .72rem; letter-spacing: .04em; padding: .35rem .8rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .4rem;
}
.line-card .line-media .line-chip svg { width: 14px; height: 14px; }

/* --- Microinteracciones extra --- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }
.contact-card .ci, .card .ico, .value .vn { transition: transform .3s var(--ease); }
.contact-card:hover .ci, .card:hover .ico { transform: translateY(-3px) rotate(-4deg); }

/* --- Variantes de aparición (dirección) --- */
.reveal.from-l { transform: translateX(-34px); }
.reveal.from-r { transform: translateX(34px); }
.reveal.zoom { transform: scale(.94); }
.reveal.from-l.is-visible, .reveal.from-r.is-visible, .reveal.zoom.is-visible { transform: none; }

/* --- Parallax ligero --- */
[data-parallax] { will-change: transform; }

/* --- Banda de confianza con logos/insignias --- */
.trust-bar { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; align-items: center; justify-content: center; }
.trust-bar .ti { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); font-weight: 600; font-size: .92rem; }
.trust-bar .ti svg { width: 22px; height: 22px; color: var(--sky); }

/* Imagen destacada a ancho completo (infografía nosotros) */
.feature-figure {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: #fff;
}
.feature-figure img { width: 100%; height: auto; display: block; }

/* Cobertura: imagen del mapa real */
.coverage-art.photo { aspect-ratio: auto; background: transparent; box-shadow: none; }
.coverage-art.photo img { position: static; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(16,45,110,.18)); }

/* Artículo: figura con leyenda */
.article figure { margin: 2rem 0; }
.article figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.article figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .7rem; font-style: italic; }
.article .sources { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.2rem; }
.article .sources b { color: var(--ink); }
.article .sources a { color: var(--blue); word-break: break-word; }
.article .sources a:hover { text-decoration: underline; }
.article .sources ul { list-style: disc; margin: .6rem 0 0 1.2rem; display: grid; gap: .4rem; }

/* =====================================================================
   FASE 3 · Rediseño premium estilo laboratorio (referencia: Biofahren)
   Más aire, fotografía amplia, video, timeline moderno, bloques modernos
   ===================================================================== */

/* --- Header translúcido sobre el hero --- */
.header { background: rgba(255,255,255,.7); }
.header.scrolled { background: rgba(255,255,255,.9); }

/* --- HERO rediseñado: copy + panel fotográfico amplio --- */
.hero { background: linear-gradient(180deg, var(--sky-50), #fff 70%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(900px 480px at 88% -8%, var(--sky-100), transparent 62%),
    radial-gradient(700px 420px at -8% 108%, var(--sky-50), transparent 60%);
}
.hero-inner { grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 90px); padding-block: clamp(64px, 8vw, 120px); position: relative; }
.hero h1 { font-size: clamp(1.95rem, 3.9vw, 3.15rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.hero h1 span { color: var(--navy); }
.hero-tagline { font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 42ch; }
.hero-copy .lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); max-width: 50ch; margin-top: 1.2rem; }

/* Panel fotográfico del hero */
.hero-photo {
  position: relative; width: 100%; aspect-ratio: 4/4.4; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900);
}
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, rgba(14,37,102,.22)); }
/* Variante con logo animado (fondo claro, sin overlay oscuro) */
.hero-photo.logo { background: radial-gradient(circle at 35% 30%, #fff, var(--sky-50) 58%, var(--sky-100)); }
.hero-photo.logo::after { display: none; }
.hero-photo.logo .frame { border-color: rgba(43,168,226,.25); }
.hero-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero-photo.logo video { object-fit: cover; padding: 0; }
.hero-photo .frame { position: absolute; inset: 14px; border: 1.5px solid rgba(255,255,255,.35); border-radius: calc(var(--radius-lg) - 12px); pointer-events: none; z-index: 3; }
/* Insignias institucionales refinadas */
.hero-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-radius: 999px; padding: .6rem 1rem; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--ink); white-space: nowrap;
}
.hero-chip svg { width: 17px; height: 17px; color: var(--sky); }
.hero-chip.c1 { top: 22px; left: -14px; animation: floaty 6s ease-in-out infinite; }
.hero-chip.c2 { top: 38%; right: -16px; animation: floaty 7s ease-in-out infinite .5s; }
.hero-chip.c3 { bottom: 16%; left: -18px; animation: floaty 6.5s ease-in-out infinite .9s; }
@media (max-width: 480px){ .hero-chip { font-size: .76rem; padding: .5rem .8rem; } .hero-chip.c1{left:4px} .hero-chip.c2{right:4px} .hero-chip.c3{left:4px} }
@media (prefers-reduced-motion: reduce){ .hero-chip { animation: none; } }
@media (max-width: 920px){
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16/12; order: -1; }
}

/* --- Banda multimedia con video de fondo --- */
.media-band {
  position: relative; overflow: hidden; min-height: clamp(420px, 56vw, 620px);
  display: grid; align-items: center; color: #fff;
  background: var(--navy-900);
}
.media-band__bg { position: absolute; inset: 0; z-index: 0; }
.media-band__bg video, .media-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.media-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,29,80,.92) 0%, rgba(16,50,127,.78) 45%, rgba(14,37,102,.45) 100%);
}
.media-band .container { position: relative; z-index: 2; }
.media-band h2, .media-band h3 { color: #fff; }
.media-band p { color: #D4E2F7; }
.media-band .eyebrow { color: var(--sky-300); }
.media-band .mb-copy { max-width: 620px; }
.mb-points { display: grid; gap: 1rem; margin-top: 1.8rem; }
.mb-points li { display: flex; gap: .8rem; align-items: flex-start; color: #E3EDFB; }
.mb-points .ck { flex-shrink:0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.16); color:#fff; margin-top: 2px; }
.mb-points .ck svg { width: 15px; height: 15px; }

/* --- Línea de tiempo moderna (corporativa) --- */
.tline { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.tline::before { content:""; position:absolute; top: 30px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--sky), var(--navy)); opacity:.3; }
@media (max-width: 760px){ .tline { grid-template-columns: 1fr; gap: 0; }
  .tline::before { left: 30px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
}
.tnode { position: relative; padding-top: 78px; }
@media (max-width: 760px){ .tnode { padding: 6px 0 36px 76px; } }
.tnode .tdot {
  position: absolute; top: 0; left: 0; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: .98rem;
  background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 12px 26px -10px rgba(22,50,127,.6); border: 4px solid #fff;
}
.tnode.future .tdot { background: linear-gradient(135deg, var(--sky), var(--sky-400)); }
.tnode h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.tnode p { font-size: .96rem; color: var(--body); }
.tnode .tyr { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.05rem; letter-spacing: .02em; margin-bottom: .15rem; display: block; }

/* --- Diferenciales: bloques modernos --- */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 26px); }
@media (max-width: 980px){ .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .diff-grid { grid-template-columns: 1fr; } }
.diff {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.diff::before { content:""; position:absolute; top:0; left:0; right:0; height: 4px; background: linear-gradient(90deg, var(--sky), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.diff:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.diff:hover::before { transform: scaleX(1); }
.diff .dnum { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--sky-100); line-height: 1; letter-spacing: -.03em; }
.diff .dico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin: -2.2rem 0 1.1rem auto; color:#fff; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: var(--shadow-sm); }
.diff .dico svg { width: 27px; height: 27px; }
.diff h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.diff p { font-size: .95rem; }

/* --- Tarjetas de líneas: imagen de producto limpia sobre blanco --- */
.line-card .line-media { aspect-ratio: 1/1; background: #fff; border-bottom: 1px solid var(--line); }
.line-card .line-media img { object-fit: contain; padding: 1.2rem; mix-blend-mode: normal; }
.line-card:hover .line-media img { transform: scale(1.04); }
.line-card { border-radius: var(--radius); }
.line-card .line-chip { background: var(--sky-50); color: var(--navy); border: 1px solid var(--sky-100); box-shadow: none; }

/* --- Tarjetas más aireadas --- */
.card { padding: clamp(1.6rem, 2.6vw, 2.2rem); border-radius: var(--radius); }
.section-head h2 { letter-spacing: -.025em; }

/* --- Franja de marca con animación de logo (antes del footer) --- */
.brandstrip { background: var(--navy-900); padding: clamp(48px, 7vw, 84px) 0; text-align: center; position: relative; overflow: hidden; }
.brandstrip::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 300px at 50% 0, rgba(43,168,226,.18), transparent 70%); }
.brandstrip .bs-inner { position: relative; display: grid; place-items: center; gap: 1.4rem; }
.brandstrip video { width: min(360px, 70%); border-radius: 20px; }
.brandstrip p { color: #BBD0F0; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; font-size: 1.05rem; }

/* --- Botones: sin brillo genérico; física de presión + lift --- */
.btn::after { display: none; }
.btn { transition: transform .28s cubic-bezier(.34,1.4,.4,1), box-shadow .28s var(--ease), background .25s var(--ease), color .2s; }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .1s; }
.btn-primary:hover { background: linear-gradient(135deg, var(--navy-800), var(--navy)); }

/* --- page-hero más amplio --- */
.page-hero { padding-block: clamp(72px, 9vw, 116px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }

/* =====================================================================
   FASE 4 · Logo 3D interactivo (pseudo-3D) — reemplaza el video del hero
   ===================================================================== */
.hero-photo.logo3d { perspective: 950px; cursor: grab; }
.hero-photo.logo3d:active { cursor: grabbing; }
.hero-photo.logo3d .hl-particles {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block;
}
.hero-photo.logo3d .hl-glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(260px 260px at var(--gx, 50%) var(--gy, 38%),
              rgba(255,255,255,.95), rgba(124,200,255,.20) 42%, transparent 72%);
  mix-blend-mode: screen; opacity: .85;
}
.hero-photo.logo3d .hl-stage {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform;
}
.hero-photo.logo3d .hl-logo {
  width: 70%; max-width: 350px; height: auto; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 26px 32px rgba(16,45,110,.30));
  transform: translateZ(46px);
  animation: hl-float 6s ease-in-out infinite;
}
.hero-photo.logo3d.enter .hl-stage { animation: hl-enter 1.1s cubic-bezier(.22,.61,.36,1) both; }
.hero-photo.logo3d .hl-shine {
  position: absolute; z-index: 4; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
}
.hero-photo.logo3d.shine .hl-shine { animation: hl-shine .7s ease-out; }
@keyframes hl-float { 0%,100%{ transform: translateZ(46px) translateY(0);} 50%{ transform: translateZ(46px) translateY(-11px);} }
@keyframes hl-enter { 0%{ opacity:0; transform: rotateY(-38deg) rotateX(10deg) scale(.82);} 100%{ opacity:1; transform: none;} }
@keyframes hl-shine { 0%{ opacity:0; transform: translateX(-30%);} 25%{ opacity:1;} 100%{ opacity:0; transform: translateX(30%);} }
@media (prefers-reduced-motion: reduce){
  .hero-photo.logo3d .hl-logo { animation: none; }
  .hero-photo.logo3d.enter .hl-stage { animation: none; }
}

/* =====================================================================
   FASE 5 · Rediseño premium — texturas, reveals, iconografía, flow-line
   ===================================================================== */

/* --- Textura científica sutil (retícula de puntos) en secciones suaves --- */
.section--soft {
  background-color: var(--bg-soft);
  background-image: radial-gradient(rgba(22,50,127,.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* --- Iconos de redes con los colores oficiales de cada app --- */
.socials a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%) !important;
}
.socials a[aria-label="Facebook"] { background: #1877F2 !important; }
.socials a[aria-label="TikTok"] { background: #010101 !important; }
.ci.brand-wa {
  background: #25D366 !important; color: #fff !important;
  border-color: transparent; box-shadow: 0 12px 26px -12px rgba(37,211,102,.65);
}

/* --- Sistema de iconos refinado: contorno fino, contenedor suave --- */
.ico, .dico, .ci, .line-ico {
  background: #fff !important;
  color: var(--navy) !important;
  border: 1px solid var(--sky-100);
  box-shadow: 0 6px 18px -8px rgba(22,50,127,.18), inset 0 0 0 4px var(--sky-50);
}
.card .ico { border-radius: 18px; }
.diff .dico { border-radius: 16px; }
.contact-card .ci { border-radius: 15px; }
.ico svg, .dico svg, .ci svg { stroke-width: 1.5 !important; }
.checklist .ck, .mb-points .ck {
  background: var(--sky-50); color: var(--navy);
  border: 1px solid var(--sky-100); border-radius: 50%;
}
.mb-points .ck { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.value .vn { background: #fff; color: var(--navy); border: 1px solid var(--sky-100); box-shadow: inset 0 0 0 3px var(--sky-50); }

/* --- Tarjetas: menos borde, elevación por sombra tintada --- */
.card { border-color: transparent; box-shadow: 0 1px 2px rgba(16,45,110,.05), 0 10px 32px -18px rgba(16,45,110,.14); }
.card:hover { border-color: transparent; box-shadow: 0 2px 4px rgba(16,45,110,.06), 0 26px 54px -22px rgba(16,45,110,.26); }
.diff { border-color: transparent; box-shadow: 0 1px 2px rgba(16,45,110,.05), 0 10px 32px -18px rgba(16,45,110,.14); }
.diff::before { height: 3px; }

/* --- Métricas del hero: línea editorial, no cajas --- */
.hero-trust { gap: 0; border-top: 1px solid var(--line); }
.hero-trust div { padding: 0 1.7rem; border-left: 1px solid var(--line); }
.hero-trust div:first-child { padding-left: 0; border-left: 0; }
.hero-trust b { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* --- Cabeceras de sección: aire y foco --- */
.section-head h2 { margin-top: .35rem; }
.section-head p { color: var(--muted); }

/* --- Flow-line: hilo vertical que "desprende" el logo y conecta secciones --- */
.flow-line {
  position: fixed; top: 0; bottom: 0; left: clamp(14px, 2.2vw, 34px); width: 22px;
  z-index: 5; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
}
.flow-line.on { opacity: 1; }
.flow-line svg { width: 100%; height: 100%; }
.flow-line .fl-track { stroke: var(--sky-100); stroke-width: 1.5; }
.flow-line .fl-progress { stroke: url(#flGrad); stroke-width: 2.5; stroke-linecap: round; }
.flow-line .fl-drop { filter: drop-shadow(0 3px 6px rgba(43,168,226,.5)); }
@media (max-width: 1180px){ .flow-line { display: none; } }
@media (prefers-reduced-motion: reduce){ .flow-line { display: none; } }

/* --- Footer: legales --- */
.footer-bottom a { color: #8AA1CC; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }
