/* =============== PAGE =============== */
.page{ background:#eef1f1; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* =============== NAVBAR =============== */
.nav{
  background: #fff;
  border-bottom: 1px solid rgba(15,30,35,.06);
  position: sticky; top:0; z-index: 30;
}
.nav__inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.nav__logo{ display:inline-flex; }
.nav__logo img{ height: 44px; width:auto; display:block; }

.nav__menu{
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav__link{
  position: relative;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  white-space: nowrap;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  font-family: 'Raleway', system-ui, sans-serif;
  color: #1a3338;
  cursor: pointer;
  border-radius: 99px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav__link:hover{
  color: var(--teal);
  background: rgba(46,168,154,.07);
}
.nav__underline{
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.4,.2,.2,1);
}
.nav__link:hover .nav__underline{ transform: scaleX(.6); }
.nav__link.is-active{ color: var(--teal); font-weight: 600; }
.nav__link.is-active .nav__underline{ transform: scaleX(1); }
.nav__link.is-disabled{
  color: #c6cfd1;
  cursor: not-allowed;
  pointer-events: none;
}
.nav__link.is-disabled::after{
  content: 'Próximamente';
  position: absolute;
  left: 50%; top: calc(100% + 6px);
  transform: translateX(-50%);
  background: #1a3338;
  color: #fff;
  font-size: 10px;
  letter-spacing: .04em;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s ease;
}
.nav__link.is-disabled:hover::after{ opacity: 1; }

.nav__cta{ justify-self: end; }

/* =============== PRIMARY BUTTON (subtle 3D) — two variants =============== */
.btn-3d{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .005em;
  border-radius: 99px;
  padding: 0 22px;
  height: 48px;
  font-size: 15px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  overflow: hidden;
}
.btn-3d__hl{
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 55%;
  border-radius: 99px 99px 100% 100% / 99px 99px 60% 60%;
  pointer-events: none;
}
.btn-3d__lbl{ position: relative; z-index: 1; }
.btn-3d--sm{ padding: 0 18px; height: 40px; font-size: 13.5px; }
.btn-3d--md{ padding: 0 22px; height: 48px; font-size: 15px; width: 250px; flex: 0 0 auto; }

/* ---- Dark variant (#0E2A33) — flat solid color with subtle 3D ---- */
.btn-3d--dark{
  color: #ffffff;
  background: #0e2a33;
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 -1px 0 rgba(0,0,0,.20) inset,
    0 1px 2px rgba(14,42,51,.18),
    0 6px 14px -6px rgba(14,42,51,.35);
}
.btn-3d--dark .btn-3d__hl{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
}
.btn-3d--dark:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,.12) inset,
    0 -1px 0 rgba(0,0,0,.22) inset,
    0 2px 4px rgba(14,42,51,.20),
    0 10px 20px -6px rgba(14,42,51,.40);
}
.btn-3d--dark:active{
  transform: translateY(0px);
  filter: brightness(.96);
  background: #0a2128;
  box-shadow:
    0 1px 2px rgba(0,0,0,.20) inset,
    0 1px 2px rgba(14,42,51,.18);
}
.btn-3d--dark.is-disabled, .btn-3d--dark:disabled{
  background: #243339;
  color: rgba(255,255,255,.45);
  cursor: not-allowed; transform: none; filter: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.10);
}

/* ---- White variant — used in hero (Figma spec) ---- */
/* Solid white fill, drop shadow: 0 6px 16px rgba(0,0,0,.18) */
.btn-3d--white{
  color: #0e2a33;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.btn-3d--white .btn-3d__hl{ display: none; }
.btn-3d--white:hover{
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.btn-3d--white:active{
  transform: translateY(0px);
  background: #f4f6f6;
  box-shadow: 0 3px 8px rgba(0,0,0,.16);
}
.btn-3d--white.is-disabled, .btn-3d--white:disabled{
  background: #eef1f1;
  color: rgba(14,42,51,.40);
  cursor: not-allowed; transform: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* =============== SECONDARY (glass, Figma spec) =============== */
/* Fill: rgba(255,255,255,.1), border 1.5px rgba(255,255,255,.4), 250×48, radius 10 */
.glass-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1.5px solid rgba(255,255,255,.4);
  cursor: pointer;
  font: inherit;
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  border-radius: 99px;
  padding: 0 22px;
  height: 48px;
  width: 250px;
  flex: 0 0 auto;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(1.5px) saturate(1.7) brightness(1.05);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.7) brightness(1.05);
  /* Borde de vidrio: luz arriba, refracción abajo */
  box-shadow:
    0 10px 28px -16px rgba(0,0,0,.6),
    0 1px 0 rgba(255,255,255,.45) inset,
    0 -1px 0 rgba(255,255,255,.12) inset,
    0 0 0 .5px rgba(255,255,255,.16);
  transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .24s ease, background .24s ease, border-color .24s ease, backdrop-filter .24s ease;
  overflow: hidden;
  isolation: isolate;
}
/* Soft inner tint that shifts with hover */
.glass-btn__tint{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 50% -20%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0) 60%, rgba(255,255,255,.02));
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
/* Specular highlight band that slides across on hover */
.glass-btn__spec{
  position: absolute;
  top: 0; bottom: 0;
  left: -40%;
  width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18) 50%, transparent);
  filter: blur(8px);
  transform: skewX(-18deg);
  transition: left .7s cubic-bezier(.3,.2,.2,1);
  pointer-events: none;
  z-index: 1;
}
.glass-btn__inner-border{
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 -1px 0 rgba(255,255,255,.05) inset;
  z-index: 1;
}
/* Lente: el brillo sigue al puntero */
.glass-btn__lens{
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(70% 120% at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.30), rgba(255,255,255,.06) 45%, transparent 70%);
  opacity: .55; transition: opacity .25s ease;
}
.glass-btn:hover .glass-btn__lens{ opacity: 1; }
.glass-btn__label{ position: relative; z-index: 2; letter-spacing: .005em; text-shadow: 0 1px 2px rgba(6,20,24,.28); }

.glass-btn:hover{
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.62);
  transform: translateY(-1.5px);
  backdrop-filter: blur(1px) saturate(1.9) brightness(1.09);
  -webkit-backdrop-filter: blur(1px) saturate(1.9) brightness(1.09);
  box-shadow:
    0 18px 38px -18px rgba(0,0,0,.62),
    0 1px 0 rgba(255,255,255,.6) inset,
    0 -1px 0 rgba(255,255,255,.16) inset,
    0 0 0 .5px rgba(255,255,255,.24);
}
.glass-btn:hover .glass-btn__spec{ left: 110%; }
/* Al presionar el vidrio "cede" un poco */
.glass-btn:active{
  transform: translateY(0) scale(.978);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 2px 6px rgba(0,0,0,.22) inset, 0 1px 0 rgba(255,255,255,.28) inset;
  transition-duration: .09s;
}
@media (prefers-reduced-motion: reduce){
  .glass-btn, .glass-btn__spec, .glass-btn__lens{ transition: none; }
}
.glass-btn.is-disabled, .glass-btn:disabled{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.4);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =============== HERO =============== */
.hero{
  position: relative;
  min-height: 700px;
  height: clamp(700px, 56.25vw, 900px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero__bgs{ position:absolute; inset:0; }
.hero__bg{
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.hero__bg.is-active{ opacity: 1; }
.hero__photo{
  position: absolute; inset:0;
  background-size: cover; background-position: center;
  filter: saturate(1.02);
}
.hero__photo image-slot::part(image){ object-position: var(--focus, center 50%); }
.hero__photo img{ object-position: var(--focus, center 50%); }
.hero__video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
  opacity: 0; transition: opacity .45s ease;
}
.hero__video.is-ready{ opacity: 1; }
.hero__photo-veil{
  position:absolute; inset:0;
  /* Velo muy tenue: sólo oscurece la columna del texto, la foto/video se ve casi limpio */
  background:
    linear-gradient(90deg, rgba(10,26,30,.58) 0%, rgba(10,26,30,.34) 34%, rgba(10,26,30,.10) 60%, rgba(10,26,30,.04) 100%),
    linear-gradient(180deg, rgba(10,26,30,.15) 0%, rgba(10,26,30,.02) 45%, rgba(10,26,30,.10) 78%, rgba(10,26,30,.26) 100%);
}
.hero__panel h1, .hero__panel p, .hero__eyebrow, .hero__tagline{ text-shadow: 0 2px 18px rgba(6,20,24,.55); }
.hero__vignette{
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 50%, rgba(0,0,0,.25)),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
  pointer-events: none;
}

.hero__content{
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 110px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero__stack{
  display: grid;
  width: min(620px, 52%);
  max-width: 620px;
}
.hero__panel{
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .55s ease .05s, transform .55s ease .05s;
}
.hero__panel.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero__eyebrow{
  display: inline-flex;
  align-items: center;
  min-height: 82px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 22px;
}
.hero__title{
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
  min-height: calc(2 * 1.08em); /* lock 2 lines so buttons don't jump */
}
.hero__title-line{ display: block; }
.hero__body{
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  text-wrap: pretty;
  min-height: calc(2 * 1.55em); /* lock 2 lines so buttons don't jump */
}
.hero__cta-row{
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 48px;
}
.hero__cta-row--placeholder{
  display: none;
  height: 48px;
}
/* Sits in the hero (outside animated panels) so it never fades/translates with slides */
.hero__cta-row--fixed{
  position: relative;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 4px 0 0;
  z-index: 4;
}
.hero__tagline{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
  font-style: italic;
  margin-bottom: 22px;
}

/* dots */
.hero__dots{
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 3;
}
.dot{
  position: relative;
  width: 28px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: width .35s ease, background .25s ease;
}
.dot:hover{ background: rgba(255,255,255,.34); }
.dot.is-active{
  width: 44px;
  background: rgba(255,255,255,.22);
}
.dot__fill{
  position: absolute; inset: 0;
  background: #fff;
  width: 0%;
  border-radius: inherit;
}
.dot.is-active .dot__fill{
  animation: dot-fill 6.5s linear forwards;
}
@keyframes dot-fill{
  from{ width: 0%; }
  to  { width: 100%; }
}

/* arrows */
.hero__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.06);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 1px 0 rgba(255,255,255,.35) inset,
    0 10px 20px -6px rgba(0,0,0,.4);
  transition: background .2s ease, transform .2s ease;
  z-index: 3;
}
.hero__arrow:hover{ background: rgba(255,255,255,.14); transform: translateY(-50%) scale(1.05); }
.hero__arrow:active{ transform: translateY(-50%) scale(.97); }
.hero__arrow{ top: auto; bottom: 104px; transform: none; }
.hero__arrow:hover{ transform: scale(1.05); }
.hero__arrow:active{ transform: scale(.97); }
.hero__arrow--prev{ left: auto; right: 92px; }
.hero__arrow--next{ right: 32px; }

/* =============== FOOTNOTE =============== */
.footnote{
  background:#fff;
  border-top: 1px solid rgba(15,30,35,.06);
  padding: 14px 40px;
  text-align: center;
  font-size: 12.5px;
  color: #5a6b6e;
}

/* =============== RESPONSIVE =============== */
/* Tramo intermedio: comprime el navbar antes de pasar a hamburguesa */
@media (max-width: 1180px) and (min-width: 1081px){
  .nav__menu{ gap: 18px; }
  .nav__link{ font-size: 13.5px; }
}
/* Bajo 1080px el navbar de escritorio ya no cabe: hamburguesa */
@media (max-width: 1080px){
  .nav__inner{ grid-template-columns: auto auto; padding: 12px 18px; }
  .nav__menu{ display: none; }
}
@media (max-width: 880px){
  .hero__content{ padding: 60px 20px 100px; }
  .hero__arrow{ display:none; }
}


/* =================================================================
   SHARED — section primitives & utilities
   ================================================================= */
.sec{
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}
.sec__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.sec__head{ margin-bottom: 48px; text-align: center; }
.sec__head--center{ text-align: center; }
.sec__head--light{ color: #fff; }
.eyebrow{
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: #4d6166;
  margin-bottom: 14px;
}
.eyebrow--light{ color: rgba(255,255,255,.7); }
.sec__title{
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #0e2a33;
  text-wrap: balance;
  line-height: 1.15;
}
.sec__title--light{ color: #fff; }
.sec__sub{
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.55;
  color: #5a6b6e;
  text-wrap: pretty;
}
.sec__sub--light{ color: rgba(255,255,255,.7); }
.sec__foot{
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Pill ghost buttons */
.pill-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .005em;
  padding: 0 18px;
  height: 38px;
  border-radius: 999px;
  background: transparent;
  color: #0e2a33;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.pill-btn--ghost{
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14,42,51,.10), 0 1px 2px rgba(14,42,51,.05);
}
.pill-btn--ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(14,42,51,.18), 0 6px 14px -6px rgba(14,42,51,.20);
}
.pill-btn--ghost:active{
  transform: translateY(0);
  background: #f4f6f6;
}
.pill-btn--lg{ height: 44px; padding: 0 22px; font-size: 14px; }
.pill-btn__plus{
  width: 18px; height: 18px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: #0e2a33;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}
.pill-btn--white{
  background: #fff;
  color: #0e2a33;
  height: 44px; padding: 0 22px; font-size: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 18px -8px rgba(0,0,0,.20);
}
.pill-btn--white:hover{ transform: translateY(-1px); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 22px -8px rgba(0,0,0,.24); }
.pill-btn--outline-light{
  background: transparent;
  color: #fff;
  height: 44px; padding: 0 22px; font-size: 14px;
  border: 1.5px solid rgba(255,255,255,.4);
}
.pill-btn--outline-light .pill-btn__plus{ background: #fff; color: #0e2a33; }
.pill-btn--outline-light:hover{ background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.6); transform: translateY(-1px); }

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in{ opacity: 1; transform: none; }

/* =================================================================
   SERVICIOS — pink section
   ================================================================= */
.sec--servicios{ background: #fce8ec; padding: 70px 0 80px; }
.sec--servicios__bf{
  position: absolute;
  top: 30px;
  right: -40px;
  width: 360px;
  height: auto;
  opacity: .9;
  pointer-events: none;
  z-index: 1;
  filter: hue-rotate(-15deg) saturate(.85) brightness(1.05);
}

.cards-grid{
  display: grid;
  gap: 18px;
}
.cards-grid--4{ grid-template-columns: repeat(4, 1fr); }
.cards-grid--3{ grid-template-columns: repeat(3, 1fr); max-width: 1140px; margin-left: auto; margin-right: auto; }

@media (max-width: 980px){
  .cards-grid--4{ grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3{ grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 600px){
  .cards-grid--4{ grid-template-columns: 1fr; }
}

.svc-card{
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 0 rgba(14,42,51,.04), 0 2px 6px rgba(14,42,51,.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(14,42,51,.04), 0 12px 28px -10px rgba(14,42,51,.18);
}
.svc-card__icon{
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.svc-card__icon svg{ width: 24px; height: 24px; }
.svc-card__name{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #0e2a33;
  letter-spacing: -.005em;
}
.svc-card__desc{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #5a6b6e;
  flex: 1;
  text-wrap: pretty;
}
.sec--servicios .sec__head{ text-align: center; }
.svc-card .pill-btn{ align-self: flex-start; margin-top: 6px; text-decoration: none; }

/* =================================================================
   RESULTADOS — dark section
   ================================================================= */
.sec--resultados{ background: #0e2a33; padding: 80px 0 70px; color: #fff; }
.steps-card{
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 24px -12px rgba(0,0,0,.30);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step{
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 12px;
  border-radius: 10px;
  transition: background .2s ease;
}
.step:hover{ background: #f6f8f8; }
.step__num{
  width: 28px; height: 28px;
  border-radius: 999px;
  background: #f3f5f5;
  color: #0e2a33;
  display: grid; place-items: center;
  font-weight: 600; font-size: 13.5px;
}
.step--cta .step__num{ background: #0e2a33; color: #fff; }
.step__title{ font-weight: 600; font-size: 14.5px; color: #0e2a33; margin-bottom: 2px; }
.step__desc{ font-size: 13px; color: #5a6b6e; line-height: 1.45; }
.step__btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e2a33;
  color: #fff;
  border: 0;
  height: 36px;
  padding: 0 14px;
  border-radius: 99px;
  font: inherit; font-family: 'Raleway'; font-weight: 600; font-size: 13.5px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 4px 10px -4px rgba(14,42,51,.4);
}
.step__btn svg{ width: 14px; height: 14px; }
.step__btn:hover{ transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 8px 16px -6px rgba(14,42,51,.5); }
.sec--resultados__note{
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.sec--resultados__note .note-dot{ color: #38c4b4; font-size: 8px; vertical-align: middle; margin-right: 6px; }

/* =================================================================
   DIRECTORIO — white section
   ================================================================= */
.sec--directorio{ background: #fff; padding: 80px 0 70px; }
.docs-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px){
  .docs-grid{ grid-template-columns: 1fr; }
}
.doc-card{
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(14,42,51,.04), 0 2px 6px rgba(14,42,51,.04);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, outline-color .25s ease;
  outline: 0 solid transparent;
}
.doc-card.is-active, .doc-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 4px 0 rgba(14,42,51,.04), 0 18px 36px -14px rgba(14,42,51,.22);
}
.doc-card__photo{
  aspect-ratio: 4/3;
  width: 100%;
  position: relative;
  display: grid; place-items: end start;
  padding: 14px;
}
.doc-card__photo-tag{
  font-size: 10.5px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  background: rgba(0,0,0,.18);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.doc-card__meta{ padding: 16px 18px 8px; }
.doc-card__name{ font-size: 17px; font-weight: 600; color: #0e2a33; }
.doc-card__spec{ font-size: 13px; color: #5a6b6e; margin-top: 2px; }
.doc-card__cta{
  margin: 0 18px 18px;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 0;
  background: #0e2a33;
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
  box-shadow: 0 4px 10px -4px rgba(14,42,51,.4);
}
.doc-card__cta svg{ width: 16px; height: 16px; }
.doc-card__cta:hover{ transform: translateY(-1px) translateX(2px); filter: brightness(1.08); }

.docs-dots{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dot--lg{
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  background: #d3dadc;
  cursor: pointer;
  padding: 0;
  transition: width .25s ease, background .25s ease;
}
.dot--lg:hover{ background: #b6c1c4; }
.dot--lg.is-active{ width: 22px; background: #0e2a33; }

/* =================================================================
   CERTIFICACIONES
   ================================================================= */
.sec--certs{ background: #fff; padding: 80px 0 80px; }
.sec--certs__bf{
  position: absolute;
  top: 60px;
  left: -40px;
  width: 280px;
  height: auto;
  opacity: .35;
  pointer-events: none;
  z-index: 1;
  transform: scaleX(-1);
  filter: hue-rotate(-10deg) saturate(.6) brightness(1.1);
}

.cert-card{
  position: relative;
  border-radius: 16px;
  padding: 22px 22px 80px;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(14,42,51,.18); }
.cert-card__name{
  font-size: 17px; font-weight: 600; color: #0e2a33;
  margin-bottom: 8px;
}
.cert-card__desc{
  font-size: 13px; line-height: 1.5; color: #4a5b5f;
  text-wrap: pretty;
}
.cert-card__orb{
  position: absolute;
  inset: auto -30% 10% -30%;
  height: 160px;
  z-index: -1;
  filter: blur(8px);
  opacity: .9;
  pointer-events: none;
  animation: orbDrift 9s ease-in-out infinite;
}
.cert-card:nth-child(2) .cert-card__orb{ animation-duration: 11s; animation-delay: -2s; }
.cert-card:nth-child(3) .cert-card__orb{ animation-duration: 13s; animation-delay: -4s; }
.cert-card:nth-child(4) .cert-card__orb{ animation-duration: 10s; animation-delay: -6s; }
.cert-card:hover .cert-card__orb{ filter: blur(6px); opacity: 1; }
@keyframes orbDrift {
  0%   { transform: translate(0,0)        scale(1);   filter: blur(8px); }
  25%  { transform: translate(8%, -6%)    scale(1.08); filter: blur(10px); }
  50%  { transform: translate(-4%, 4%)    scale(.94);  filter: blur(7px); }
  75%  { transform: translate(-8%, -2%)   scale(1.05); filter: blur(11px); }
  100% { transform: translate(0,0)        scale(1);   filter: blur(8px); }
}
.cert-card__btn{
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: #fff;
  color: #0e2a33;
  border: 0;
  height: 38px;
  border-radius: 99px;
  font: inherit; font-family: 'Raleway'; font-weight: 600; font-size: 13px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 16px -8px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cert-card__btn:hover{ transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 10px 22px -8px rgba(0,0,0,.22); }

.sec--certs__note{
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: #b78a2a;
}
.sec--certs__note .note-flag{ margin-right: 6px; }

/* =================================================================
   FOOTER
   ================================================================= */
.ftr{ background: #0e2a33; color: #c9d6d8; }
.ftr__cta{
  background: #0e2a33;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.ftr__cta-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
}
@media (max-width: 760px){ .ftr__cta-inner{ grid-template-columns: 1fr; } .ftr__cta-media{ display: none; } }
.ftr__cta-sub{ margin: 8px 0 18px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.66); max-width: 46ch; }
.ftr__cta-media{ height: 150px; border-radius: 18px; background-size: cover; background-position: center; box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.ftr__cta-title{
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
}
.ftr__cta-actions{ display: flex; gap: 10px; flex-wrap: wrap; }

/* Page hero with full-width photo (Sedes "Cercanos a ti") */
.phero--photo{ overflow: hidden; min-height: 575px; display: flex; align-items: center; padding-top: 150px; padding-bottom: 135px; }
.phero--photo .phero__inner{ position: relative; z-index: 3; max-width: 1400px; width: 100%; padding: 0 8px; align-items: flex-start; text-align: left; }
.phero--photo .phero__inner > *{ max-width: min(620px, 56%); }
.phero--photo .phero__sub{ max-width: min(560px, 52%); }
.phero--photo .phero__actions{ justify-content: flex-start; margin-top: 30px; }
.phero--photo .phero__glowA, .phero--photo .phero__glowB{ display: none; }
.phero__media{ position: absolute; inset: 0; width: 100%; z-index: 1;
  background-size: cover; background-position: 75% 28%;
  opacity: 1; }
.phero__media--slot image-slot::part(image){ object-position: 75% 30%; }
/* Encuadre por página: subir el foco para no cortar las cabezas de las personas */
image-slot#equipo-hero::part(image){ object-position: 50% 25%; }
image-slot#sedes-hero::part(image){ object-position: 50% 12%; }
image-slot#contacto-hero::part(image){ object-position: 50% 12%; }
/* Tarjetas de líderes y especialistas: foto vertical en recuadro horizontal —
   subir el foco para que no se corte la cara (antes quedaba centrada al 50%) */
.leader-card__photo image-slot::part(image),
.dcard__photo image-slot::part(image){ object-position: 50% 0%; }
.phero__media::after{ content:""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,42,51,.86) 0%, rgba(14,42,51,.70) 36%, rgba(14,42,51,.30) 64%, rgba(14,42,51,.14) 100%),
    linear-gradient(180deg, rgba(14,42,51,.30) 0%, rgba(14,42,51,.08) 45%, rgba(14,42,51,.34) 100%); }
@media (max-width: 900px){
  .phero--photo .phero__inner > *,
  .phero--photo .phero__sub{ max-width: 100%; }
}
@media (max-width: 760px){ .phero--photo{ min-height: 475px; } .phero__media{ background-position: 68% 30%; } }
/* editable photo slots */
.pslot{ position: absolute; inset: 0; overflow: hidden; border-radius: inherit; z-index: 0; pointer-events: auto; }
.pslot image-slot{ width: 100%; height: 100%; display: block; }
/* editable photo slot in hero */
.phero__media--slot{ background: #0e2a33; }
.phero__media--slot::after{ pointer-events: none; }
.phero__inner--overslot{ pointer-events: none; }
.phero__inner--overslot a, .phero__inner--overslot button, .phero__inner--overslot input, .phero__inner--overslot select{ pointer-events: auto; }

.ftr__main{
  position: relative;
  padding: 50px 0 30px;
  overflow: hidden;
}
.ftr__bf{
  position: absolute;
  left: -120px;
  bottom: -100px;
  width: 380px;
  opacity: .12;
  pointer-events: none;
}
.ftr__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 2.9fr;
  gap: 52px;
  position: relative;
  z-index: 2;
}
@media (max-width: 880px){
  .ftr__inner{ grid-template-columns: 1fr; }
}
.ftr__brand{ display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ftr__logo{ height: 46px; width: auto; align-self: flex-start; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }
.ftr__brand-copy{ margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.7); max-width: 320px; }
.ftr__news{ display: flex; gap: 8px; margin-top: 6px; max-width: 360px; }
.ftr__news-input{
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  font: inherit; font-family: 'Raleway', system-ui, sans-serif; font-size: 13.5px;
  border-radius: 99px;
  padding: 0 16px;
  height: 44px;
  outline: 0;
  transition: border-color .18s ease;
}
.ftr__news-input::placeholder{ color: rgba(255,255,255,.4); }
.ftr__news-input:focus{ border-color: rgba(255,255,255,.45); }
.ftr__news-btn{
  background: #ffffff;
  color: #0e2a33;
  border: 1px solid #ffffff;
  height: 44px; padding: 0 18px;
  border-radius: 99px;
  font: inherit; font-family: 'Raleway'; font-weight: 600; font-size: 13.5px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.3);
}
.ftr__news-btn:hover{ background: #f4f6f6; transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }

.ftr__cols{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 900px){
  .ftr__cols{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .ftr__cols{ grid-template-columns: 1fr; }
}
.ftr__col-title{ font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.ftr__col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ftr__col li{ font-size: 13px; }
.ftr__col li a{ color: rgba(255,255,255,.62); text-decoration: none; transition: color .18s ease; }
.ftr__col li a:hover{ color: #fff; }

.ftr__bottom{
  margin-top: 30px;
  padding: 18px 32px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ftr__cr{ font-size: 11.5px; color: rgba(255,255,255,.45); }
.ftr__social{ display: flex; gap: 10px; }
.ftr__social a{
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.ftr__social a:hover{ background: rgba(255,255,255,.14); color: #fff; transform: translateY(-1px); }


/* ============================================================
   CLEAN REFRESH — HOME (lighter, airier, softer shadows)
   ============================================================ */
.page{ background:#fbfcfc; }

/* softer cards across home */
.svc-card, .doc-card, .cert-card, .steps-card{
  border-radius: 22px;
}
.svc-card{ box-shadow: 0 1px 1px rgba(14,42,51,.03), 0 14px 36px -22px rgba(14,42,51,.14); }
.svc-card:hover{ box-shadow: 0 2px 4px rgba(14,42,51,.04), 0 26px 52px -26px rgba(14,42,51,.20); }
.doc-card{ box-shadow: 0 1px 1px rgba(14,42,51,.03), 0 16px 38px -24px rgba(14,42,51,.16); }
.steps-card{ box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 18px 44px -26px rgba(0,0,0,.30); padding: 16px; }

/* more air + faint accent in home sections */
.sec{ padding: 100px 0; }
.sec--servicios{ background: #fbeef1; }
.sec--directorio, .sec--certs{ position: relative; }
.sec--directorio::before, .sec--certs::before{
  content:""; position:absolute; inset:auto auto -200px -180px; z-index:0;
  width: 480px; height: 480px; border-radius:50%;
  background: radial-gradient(circle, rgba(56,196,180,.08), transparent 68%);
  filter: blur(16px); pointer-events:none;
}

/* refined section heads */
.sec__head{ margin-bottom: 52px; }
.eyebrow{ color: #1f8e80; letter-spacing: .2em; }
.sec__title{ letter-spacing: -.02em; }


/* ============================================================
   ¿POR QUÉ CESAC? — BENTO + STATS
   ============================================================ */
.sec--porque{ background:#fbfcfc; }

.bento{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
}
@media (max-width: 860px){ .bento{ grid-template-columns: repeat(2,1fr); grid-auto-rows: minmax(180px, auto); } }
@media (max-width: 520px){ .bento{ grid-template-columns: 1fr; } }

.bento__card{
  position: relative;
  border-radius: 24px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(14,42,51,.06);
  background: #fff;
  box-shadow: 0 1px 1px rgba(14,42,51,.03), 0 16px 40px -26px rgba(14,42,51,.18);
  transition: transform .3s cubic-bezier(.22,.7,.2,1), box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.bento__card:hover{ transform: translateY(-4px); box-shadow: 0 2px 4px rgba(14,42,51,.05), 0 30px 60px -30px rgba(14,42,51,.28); }
.bento__card h3{ margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #0e2a33; letter-spacing: -.01em; line-height: 1.22; }
.bento__card p{ margin: 0; font-size: 13.5px; line-height: 1.5; color: #5a6b6e; }

.bento__icon{
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; margin-bottom: 16px;
  background: linear-gradient(150deg,#38c4b4,#1f8e80);
  box-shadow: 0 10px 20px -8px rgba(31,142,128,.55);
}
.bento__icon svg{ width: 23px; height: 23px; }
.bento__icon--soft{ background: linear-gradient(160deg,#eaf5f3,#dcefe9); color: #1f8e80; box-shadow: 0 8px 16px -8px rgba(31,142,128,.30); }

/* A — big dark */
.bento__a{
  grid-column: span 2; grid-row: span 2;
  background: linear-gradient(155deg,#11323b 0%, #0e2a33 60%, #0b232b 100%);
  border-color: rgba(255,255,255,.06);
  justify-content: flex-end;
}
.bento__a-photo{
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/svc-rosado.jpg');
  background-size: cover; background-position: center 22%;
  transition: transform .6s ease;
}
.bento__a:hover .bento__a-photo{ transform: scale(1.04); }
.bento__a::after{ content:""; position:absolute; inset:0; z-index:0; background: linear-gradient(0deg, rgba(8,22,28,.90) 8%, rgba(8,22,28,.55) 46%, rgba(8,22,28,.42) 100%); }
.bento__a .bento__chip, .bento__a .bento__a-body{ position: relative; z-index: 1; }
.bento__a h3{ color: #fff; font-size: 26px; max-width: 16ch; }
.bento__a p{ color: rgba(255,255,255,.72); font-size: 15px; max-width: 40ch; }
.bento__a .bento__icon{ background: rgba(255,255,255,.10); color: #6fe3d2; box-shadow: none; border: 1px solid rgba(255,255,255,.14); }
.bento__a-glow{
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(56,196,180,.40), transparent 68%);
  filter: blur(50px); animation: glowFloatA 14s ease-in-out infinite; pointer-events: none;
}
.bento__chip{
  position: absolute; top: 22px; left: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 13px 7px 11px; border-radius: 99px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bento__pulse{ width: 8px; height: 8px; border-radius: 50%; background: #46e0c8; box-shadow: 0 0 0 0 rgba(70,224,200,.6); animation: pulse 2s infinite; }
@keyframes pulse{ 0%{ box-shadow: 0 0 0 0 rgba(70,224,200,.55);} 70%{ box-shadow: 0 0 0 9px rgba(70,224,200,0);} 100%{ box-shadow: 0 0 0 0 rgba(70,224,200,0);} }
.bento__a-body{ position: relative; z-index: 1; }

/* B — wide photo */
.bento__b{ grid-column: span 2; justify-content: flex-end; color: #fff; border-color: rgba(255,255,255,.06); }
.bento__b-photo{
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/svc-mamografia.jpg');
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.bento__b:hover .bento__b-photo{ transform: scale(1.05); }
.bento__b::after{ content:""; position:absolute; inset:0; z-index:0; background: linear-gradient(0deg, rgba(8,18,28,.78), rgba(8,18,28,.10) 70%); }
.bento__b .bento__b-text{ position: relative; z-index: 1; }
.bento__b h3{ color: #fff; font-size: 20px; }
.bento__b p{ color: rgba(255,255,255,.82); }
.bento__label{
  position: absolute; top: 22px; left: 26px; z-index: 1;
  font-size: 11.5px; font-weight: 600; color: #0e2a33;
  background: rgba(255,255,255,.92); padding: 7px 14px; border-radius: 99px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* C & D small */
.bento__c, .bento__d{ justify-content: flex-start; }

/* STATS STRIP */
.stats-strip{
  margin-top: 20px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
  background: linear-gradient(150deg,#11323b,#0e2a33);
  border-radius: 24px; padding: 38px 26px;
  box-shadow: 0 26px 60px -34px rgba(14,42,51,.45);
}
@media (max-width: 620px){ .stats-strip{ grid-template-columns: repeat(2,1fr); gap: 28px 18px; } }
.stat{ text-align: center; position: relative; }
.stat::after{ content:""; position:absolute; right:-9px; top:14%; height:72%; width:1px; background: rgba(255,255,255,.12); }
.stat:last-child::after{ display:none; }
@media (max-width: 620px){ .stat:nth-child(2n)::after{ display:none; } }
.stat__num{ font-size: clamp(34px, 4vw, 46px); font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stat__label{ margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,.66); font-weight: 500; }

.sec--porque__note{ margin-top: 16px; text-align: center; font-size: 12px; color: #9aa9ab; }
.sec--porque__note .note-dot{ color: #38c4b4; font-size: 8px; vertical-align: middle; margin-right: 6px; }


/* ============================================================
   DIRECTORIO — smooth continuous marquee carousel
   ============================================================ */
.sec--directorio{ overflow: hidden; }
.docs-marquee{
  position: relative;
  margin-top: 8px;
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.docs-track{
  display: flex;
  gap: 24px;
  width: max-content;
  animation: docScroll 42s linear infinite;
  will-change: transform;
}
.docs-marquee:hover .docs-track{ animation-play-state: paused; }
@keyframes docScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-33.3333%); }
}
@media (prefers-reduced-motion: reduce){
  .docs-track{ animation: none; }
}

.doc2{
  flex: 0 0 300px;
  width: 300px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(14,42,51,.06);
  box-shadow: 0 1px 1px rgba(14,42,51,.03), 0 16px 40px -26px rgba(14,42,51,.18);
  text-decoration: none;
  transition: transform .32s cubic-bezier(.22,.7,.2,1), box-shadow .32s ease;
}
.doc2:hover{
  transform: translateY(-8px);
  box-shadow: 0 2px 4px rgba(14,42,51,.05), 0 34px 64px -30px rgba(14,42,51,.30);
}
.doc2__photo{
  position: relative;
  aspect-ratio: 4/3.6;
  background-size: cover;
  background-position: center top;
  background-color: #e8edee;
}
.doc2__photo::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(8,20,26,.36), transparent 42%);
}
.doc2__pill{
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  font-size: 11px; font-weight: 600; color: #0e2a33;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 99px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.3);
}
.doc2__meta{
  position: relative;
  padding: 18px 20px 22px;
}
.doc2__name{ font-size: 17px; font-weight: 600; color: #0e2a33; }
.doc2__spec{ font-size: 13px; color: #1f8e80; margin-top: 3px; font-weight: 600; }
.doc2__cta{
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 99px;
  background: #0e2a33; color: #fff;
  display: grid; place-items: center;
  transition: transform .25s ease, filter .25s ease, background .25s ease;
  box-shadow: 0 8px 18px -8px rgba(14,42,51,.5);
}
.doc2__cta svg{ width: 17px; height: 17px; }
.doc2:hover .doc2__cta{ background: #1f8e80; transform: translateY(-50%) translateX(3px); }

.docs-foot{ text-align: center; margin-top: 34px; }


/* ============================================================
   STATS — colored icon cards (replaces flat strip)
   ============================================================ */
.stats-cards{
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
}
@media (max-width: 720px){ .stats-cards{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px){ .stats-cards{ grid-template-columns: 1fr; } }
.stat-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(14,42,51,.06);
  border-radius: 22px;
  padding: 22px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(14,42,51,.03), 0 16px 40px -26px rgba(14,42,51,.16);
  transition: transform .3s cubic-bezier(.22,.7,.2,1), box-shadow .3s ease;
}
.stat-card:hover{ transform: translateY(-5px); box-shadow: 0 2px 4px rgba(14,42,51,.05), 0 28px 56px -28px rgba(14,42,51,.24); }
.stat-card__glow{ position:absolute; width:160px; height:160px; border-radius:50%; top:-70px; left:-50px; filter: blur(14px); pointer-events:none; }
.stat-card__icon{
  position: relative;
  flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  animation: statFloat 5s ease-in-out infinite;
}
.stat-card:nth-child(2) .stat-card__icon{ animation-delay: -1.2s; }
.stat-card:nth-child(3) .stat-card__icon{ animation-delay: -2.4s; }
.stat-card:nth-child(4) .stat-card__icon{ animation-delay: -3.6s; }
.stat-card__icon svg{ width: 26px; height: 26px; }
@keyframes statFloat{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px); } }
.stat-card__num{
  position: relative;
  font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; color: #0e2a33; letter-spacing: -.02em; line-height: 1;
}
.stat-card__label{ position: relative; margin-top: 6px; font-size: 12.5px; color: #5a6b6e; font-weight: 600; line-height: 1.3; }
.stat-card__body{ position: relative; min-width: 0; }

/* ============================================================
   RESULTADOS — 2-column redesign (stepper + floating doc)
   ============================================================ */
.sec--resultados{ position: relative; overflow: hidden; }
.res-glowA{
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  top: -200px; right: -160px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(56,196,180,.16), transparent 68%);
  filter: blur(50px); animation: glowFloatB 18s ease-in-out infinite;
}
.res-grid{
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
@media (max-width: 920px){ .res-grid{ grid-template-columns: 1fr; gap: 40px; } }

.res-title{ text-align: left; }
.res-sub{ text-align: left; margin-left: 0; }
.res-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.res-actions .pill-btn svg{ width: 15px; height: 15px; }

/* floating doc mock */
.res-doc{
  margin-top: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 16px;
  max-width: 380px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  animation: docBob 6s ease-in-out infinite;
}
@keyframes docBob{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }
.res-doc__top{ margin-bottom: 12px; }
.res-doc__badge{ display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: #bfeee6; background: rgba(56,196,180,.14); border: 1px solid rgba(56,196,180,.28); padding: 6px 12px; border-radius: 99px; }
.res-doc__pulse{ width: 7px; height: 7px; border-radius: 50%; background: #46e0c8; animation: pulse 2s infinite; }
.res-doc__file{ display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; }
.res-doc__file-ic{ flex: 0 0 auto; width: 44px; height: 52px; border-radius: 8px; background: linear-gradient(160deg,#ff6b8a,#d4568a); color:#fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(212,86,138,.7); }
.res-doc__file-meta{ flex: 1; min-width: 0; }
.res-doc__file-name{ font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-doc__file-sub{ font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.res-doc__dl{ flex: 0 0 auto; width: 40px; height: 40px; border-radius: 99px; background: #fff; color: #0e2a33; display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); }
.res-doc__dl svg{ width: 19px; height: 19px; }
.res-doc__lines{ display: flex; flex-direction: column; gap: 8px; padding: 16px 6px 6px; }
.res-doc__lines span{ height: 7px; border-radius: 99px; background: rgba(255,255,255,.12); display: block; }

/* vertical stepper */
.res-steps{
  background: #fff; border-radius: 24px; padding: 30px 30px 12px;
  box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 26px 60px -34px rgba(0,0,0,.45);
}
.res-step{ display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.res-step__rail{ position: relative; display: flex; justify-content: center; }
.res-step__rail::before{ content:""; position: absolute; top: 48px; bottom: -6px; width: 2px; background: linear-gradient(#dbe6e4, #eef3f2); }
.res-step.is-last .res-step__rail::before{ display: none; }
.res-step__node{
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(150deg,#eaf5f3,#dcefe9); color: #1f8e80;
  display: grid; place-items: center;
  box-shadow: 0 8px 16px -8px rgba(31,142,128,.3);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.res-step__node svg{ width: 23px; height: 23px; }
.res-step:hover .res-step__node{ transform: translateY(-2px) scale(1.05); background: linear-gradient(150deg,#38c4b4,#1f8e80); color:#fff; }
.res-step__body{ padding-bottom: 22px; }
.res-step__n{ font-size: 11px; font-weight: 600; letter-spacing: .12em; color: #1f8e80; text-transform: uppercase; }
.res-step__title{ font-size: 16px; font-weight: 600; color: #0e2a33; margin: 3px 0 4px; }
.res-step__desc{ font-size: 13.5px; line-height: 1.5; color: #5a6b6e; }


/* ============================================================
   DOCTOR CARD (shared) — photo + name + spec + 4 action dots
   ============================================================ */
.dcard{
  background: #fff;
  border: 1px solid rgba(14,42,51,.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(14,42,51,.03), 0 18px 44px -26px rgba(14,42,51,.18);
  transition: transform .32s cubic-bezier(.22,.7,.2,1), box-shadow .32s ease;
}
.dcard:hover{ transform: translateY(-6px); box-shadow: 0 2px 4px rgba(14,42,51,.05), 0 34px 64px -30px rgba(14,42,51,.28); }
.dcard__photo{
  position: relative;
  aspect-ratio: 4/5;
  margin: 12px 12px 0;
  border-radius: 16px;
  background-size: cover; background-position: center top;
  background-color: #e8edee;
  display: grid; place-items: center;
}
.dcard__photo .photo-pend{ font-size: 11px; }
.dcard__body{ padding: 18px 22px 22px; }
.dcard__name{ font-size: 20px; font-weight: 600; color: #0e2a33; letter-spacing: -.01em; }
.dcard__spec{ font-size: 14px; color: #7a8b8e; margin-top: 3px; min-height: 2.8em; }
.dcard__actions{ display: flex; gap: 12px; margin-top: 16px; }
.dcard__dot{
  width: 44px; height: 44px; border-radius: 99px;
  display: grid; place-items: center;
  border: 1.6px solid #e2e9e8; color: #b9c5c6; background: #fff;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.dcard__dot svg{ width: 18px; height: 18px; }
.dcard__dot:hover{ transform: translateY(-2px); border-color: #0e2a33; color: #0e2a33; }
.dcard__dot--primary{ background: #0e2a33; border-color: #0e2a33; color: #fff; }
.dcard__dot--primary:hover{ background: #1f8e80; border-color: #1f8e80; color: #fff; }

/* carousel sizing for dcard */
.docs-track .dcard{ flex: 0 0 320px; width: 320px; }
.docs-track .dcard__photo{ aspect-ratio: 4/5; }


/* ============================================================
   AJUSTES — lazo, iconos cuadrados, dcard tags, cert ver más
   ============================================================ */

/* Lazo (ribbon) translúcido animado de fondo */
.sec-ribbon{
  position: absolute; pointer-events: none; z-index: 1;
  width: 230px; height: auto; opacity: .07;
  filter: saturate(.9);
}
.sec--servicios .sec-ribbon{ left: -34px; bottom: -46px; animation: ribbonFloat 14s ease-in-out infinite; }
.sec--certs .sec-ribbon{ right: -30px; bottom: -54px; opacity: .06; animation: ribbonFloat 17s ease-in-out infinite; animation-delay: -3s; }
@keyframes ribbonFloat{
  0%,100%{ transform: translateY(0) rotate(-4deg); }
  50%{ transform: translateY(-18px) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce){ .sec-ribbon{ animation: none; } }

/* Bento — iconos más cuadrados y con aire */
.bento__icon{ width: 54px; height: 54px; min-height: 54px; flex: 0 0 auto; border-radius: 16px; }
.bento__icon svg{ width: 25px; height: 25px; }
.bento__icon--soft{ box-shadow: 0 10px 20px -8px rgba(31,142,128,.22); }

/* Doctor card — 3 iconos de especialidad (reemplaza los dots) */
.dcard{ text-decoration: none; display: block; }
.dcard__tags{ display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }
.dcard__tag{ display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.dcard__tag-ic{
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: #f1f6f5; color: #1f8e80;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.dcard__tag-ic svg{ width: 22px; height: 22px; }
.dcard__tag-lbl{ font-size: 10.5px; font-weight: 600; color: #5a6b6e; line-height: 1.2; }
.dcard:hover .dcard__tag-ic{ background: #e1f3ee; transform: translateY(-2px); }

/* Certificaciones — tarjeta con ícono, título y descripción (alturas iguales) */
.certs-grid{ align-items: stretch; }
.cert-card{ padding: 36px 32px; min-height: 0; display: flex; flex-direction: column; height: 100%; }
.cert-card__badge{
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 8px 18px -10px rgba(14,42,51,.35);
  margin-bottom: 14px; position: relative; z-index: 1;
}
.cert-card__badge svg{ width: 28px; height: 28px; }
.cert-card__tag{ font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 11px; }
.cert-card__bold{ font-size: 20px; font-weight: 600; color: #0e2a33; line-height: 1.3; margin-bottom: 12px; text-wrap: balance; }
.cert-card__desc{ font-size: 15px; line-height: 1.62; color: #41555a; text-wrap: pretty; margin: 0; }
.cert-card__btn{
  position: static; left: auto; right: auto; bottom: auto;
  align-self: flex-start; width: auto; padding: 0 20px; height: 36px;
  margin-top: 8px;
}


/* ============================================================
   NAVBAR — dropdown mega-menu (Servicios)
   ============================================================ */
.nav__drop{ position: relative; display: inline-flex; }
.nav__link--drop{ display: inline-flex; align-items: center; gap: 5px; }
.nav__caret{ display: inline-grid; place-items: center; transition: transform .25s ease; }
.nav__caret svg{ width: 14px; height: 14px; }
.nav__drop.is-open .nav__caret{ transform: rotate(180deg); }
.nav__panel{
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 560px; max-width: 88vw; background: #fff; border: 1px solid rgba(14,42,51,.08);
  border-radius: 20px; padding: 14px; z-index: 40;
  box-shadow: 0 30px 70px -30px rgba(14,42,51,.45), 0 8px 24px -12px rgba(14,42,51,.2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav__drop.is-open .nav__panel{ opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__panel::before{ content:""; position: absolute; top: -8px; left: 0; right: 0; height: 10px; }
.nav__panel-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nav__mega{ display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 14px; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.nav__mega:hover{ background: #f3f7f7; }
.nav__mega-ic{ flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #1f8e80; background: #e1f3ee; }
.nav__mega-ic svg{ width: 21px; height: 21px; }
.nav__mega-tx{ display: flex; flex-direction: column; min-width: 0; }
.nav__mega-t{ font-size: 14px; font-weight: 600; color: #0e2a33; line-height: 1.2; }
.nav__mega-d{ font-size: 12px; color: #7a8b8e; margin-top: 2px; }
.nav__panel-foot{ display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 14px; background: #0e2a33; color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: filter .18s ease; }
.nav__panel-foot svg{ width: 16px; height: 16px; }
.nav__panel-foot:hover{ filter: brightness(1.1); }
@media (max-width: 980px){ .nav__panel{ display: none; } }


/* ============================================================
   FLOATING WHATSAPP BUTTON (todas las páginas)
   ============================================================ */
.wa-fab{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0; width: 58px;
  border-radius: 99px; background: #25D366; color: #fff;
  text-decoration: none; overflow: hidden;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.18);
  transition: width .35s cubic-bezier(.22,.7,.2,1), padding .35s ease, transform .2s ease, box-shadow .2s ease;
}
.wa-fab__ic{ flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; }
.wa-fab__ic svg{ width: 28px; height: 28px; }
.wa-fab__label{ white-space: nowrap; font-family: 'Raleway', system-ui, sans-serif; font-weight: 600; font-size: 14.5px; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .3s ease; padding-right: 0; }
.wa-fab__pulse{ position: absolute; inset: 0; border-radius: 99px; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: waPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes waPulse{ 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-fab:hover{ width: 218px; padding-right: 22px; transform: translateY(-2px); box-shadow: 0 18px 38px -8px rgba(37,211,102,.7), 0 6px 14px rgba(0,0,0,.22); }
.wa-fab:hover .wa-fab__label{ opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce){ .wa-fab__pulse{ animation: none; } }
@media (max-width: 600px){ .wa-fab{ right: 16px; bottom: 16px; } .wa-fab:hover{ width: 58px; padding-right: 0; } .wa-fab:hover .wa-fab__label{ opacity: 0; } }


/* ====== AJUSTES REUNIÓN ====== */
/* Equipo: 3 líderes centrados + menos espacio en blanco */
.leaders-grid--3{ display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; max-width: 920px; margin: 0 auto; }
@media (max-width: 820px){ .leaders-grid--3{ grid-template-columns: 1fr; max-width: 420px; } }
.lsec--tight{ padding-bottom: 56px; }

/* Sedes: etiqueta Consultorio Rosado */
.sede-rosado{ position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #c63a72; font-size: 12px; font-weight: 600; letter-spacing: .01em;
  padding: 8px 14px 8px 11px; border-radius: 99px; box-shadow: 0 8px 18px -8px rgba(198,58,114,.5); }
.sede-rosado__ic{ display: grid; place-items: center; }
.sede-rosado__ic svg{ width: 16px; height: 16px; }

/* Footer: horario debajo de Contacto, tipografía estandarizada */
.ftr__hours{ margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.ftr__hours-label{ font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.ftr__hours-val{ font-size: 13px; font-weight: 400; color: rgba(255,255,255,.82); line-height: 1.5; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }

/* Footer: logo blanco corregido (sin recorte) */
.ftr__logo{ height: auto; width: auto; max-width: 200px; max-height: 56px; object-fit: contain; opacity: 1; }


/* ====== Directorio (home) — menos margen arriba/abajo, más compacto ====== */
.sec--directorio{ padding-top: 56px; padding-bottom: 52px; }
.docs-foot{ margin-top: 24px; }
.sec--certs{ padding-top: 60px; }


/* ====== Resultados: cajas por tipo de examen ====== */
.res-boxes{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
@media (max-width: 520px){ .res-boxes{ grid-template-columns: 1fr; } }
.res-box{ display: flex; align-items: center; gap: 13px; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 15px;
  padding: 15px 16px; color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.res-box:hover{ background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.34); transform: translateY(-2px); }
.res-box__ic{ flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(56,196,180,.18); color: #6fe3d2; }
.res-box__ic svg{ width: 22px; height: 22px; }
.res-box__label{ flex: 1; font-weight: 600; font-size: 15px; }
.res-box__go{ flex: 0 0 auto; color: rgba(255,255,255,.7); display: grid; place-items: center; }
.res-box__go svg{ width: 18px; height: 18px; }
.res-note{ display: flex; align-items: flex-start; gap: 10px; margin-top: 20px;
  font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.62); max-width: 440px; }
.res-note__ic{ flex: 0 0 auto; color: #6fe3d2; margin-top: 1px; }
.res-note__ic svg{ width: 17px; height: 17px; }

/* ====== Resultados: layout apilado + instructivo dinámico ====== */
.res-top{ position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 920px){ .res-top{ grid-template-columns: 1fr; gap: 32px; } }
.res-intro .res-note{ margin-top: 22px; }
.res-boxes{ margin-top: 0; }
.res-instr-wrap{ position: relative; z-index: 2; margin-top: 56px; }

/* ====== Instructivo dinámico (cards que se expanden) ====== */
.instr{ --ink:#0e2a33; }
.instr__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:22px; }
.instr__eyebrow{ font-size:11.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:#38c4b4; margin-bottom:8px; }
.instr__title{ margin:0; font-size:clamp(22px,2.4vw,30px); font-weight:700; letter-spacing:-.01em; font-family:'Raleway', system-ui, sans-serif; }
.instr--dark .instr__title{ color:#fff; }
.instr--light .instr__title{ color:var(--ink); }
.instr__cta{ display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; text-decoration:none; padding:11px 22px; border-radius:99px; background:#38c4b4; color:#08333a; transition:transform .2s ease, box-shadow .2s ease; }
.instr__cta:hover{ transform:translateY(-2px); box-shadow:0 12px 26px -12px rgba(56,196,180,.7); }
.instr__track{ display:flex; gap:14px; align-items:stretch; }
@media (max-width: 860px){ .instr__track{ flex-direction:column; } }
.instr__card{ position:relative; flex:1 1 0; min-width:0; text-align:left; cursor:pointer; border:0;
  background:#fff; border:1px solid rgba(14,42,51,.08); border-radius:20px; padding:22px 20px;
  color:var(--ink); font-family:'Raleway', system-ui, sans-serif; overflow:hidden;
  box-shadow:0 1px 2px rgba(14,42,51,.04), 0 18px 40px -30px rgba(14,42,51,.25);
  transition:flex-grow .55s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.instr__card:hover{ border-color:var(--step-accent, #38c4b4); }
.instr__card.is-active{ flex-grow:2.6; border-color:rgba(14,42,51,.06); box-shadow:0 2px 4px rgba(14,42,51,.05), 0 26px 54px -30px rgba(14,42,51,.3); }
@media (max-width: 860px){ .instr__card.is-active{ flex-grow:1; } }
/* fondo de ondas: aparece al expandir */
.instr__bg{ position:absolute; inset:0; z-index:0; background-size:cover; background-position:center; opacity:0; transform:scale(1.06); transition:opacity .55s ease, transform .9s cubic-bezier(.22,1,.36,1); pointer-events:none; }
.instr__card.is-active .instr__bg{ opacity:1; transform:scale(1); }
.instr__card > *:not(.instr__bg){ position:relative; z-index:1; }
.instr__card-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.instr__num{ font-size:34px; font-weight:800; line-height:1; letter-spacing:-.02em; color:rgba(14,42,51,.14); transition:color .3s ease; }
.instr__card.is-active .instr__num{ color:var(--step-accent, #38c4b4); }
.instr__ic{ width:40px; height:40px; flex:0 0 auto; border-radius:12px; display:grid; place-items:center;
  background:rgba(14,42,51,.05); color:var(--step-accent, #1f8e80); transition:background .3s ease; }
.instr__card.is-active .instr__ic{ background:rgba(255,255,255,.75); box-shadow:0 4px 12px -6px rgba(14,42,51,.2); }
.instr__ic svg{ width:20px; height:20px; }
.instr__card-title{ font-size:15.5px; font-weight:700; line-height:1.3; letter-spacing:-.01em; color:var(--ink); }
.instr__reveal{ display:grid; grid-template-rows:0fr; opacity:0; transform:translateY(10px); transition:grid-template-rows .55s cubic-bezier(.22,1,.36,1), opacity .45s ease .08s, transform .55s cubic-bezier(.22,1,.36,1) .05s; }
.instr__card.is-active .instr__reveal{ grid-template-rows:1fr; opacity:1; transform:translateY(0); margin-top:14px; }
.instr__reveal > *{ min-height:0; }
.instr__desc{ margin:0; font-size:13.5px; line-height:1.65; overflow:hidden; color:#22363b; }
.instr__step-btn{ display:inline-flex; align-items:center; gap:8px; margin-top:14px; font-size:13px; font-weight:600;
  text-decoration:none; padding:9px 16px; border-radius:99px; background:#0e2a33; color:#fff; transition:transform .2s ease; }
.instr__step-btn:hover{ transform:translateY(-1px); }
.instr__pdf-chip{ display:inline-flex; align-items:center; gap:7px; margin-top:14px; font-size:12px; font-weight:600;
  padding:7px 13px; border-radius:99px; background:rgba(14,42,51,.08); color:#0e2a33; }
.instr__dots{ display:flex; gap:8px; justify-content:center; margin-top:22px; }
.instr__dot{ width:8px; height:8px; border-radius:99px; border:0; cursor:pointer; padding:0;
  background:rgba(14,42,51,.16); transition:width .3s ease, background .3s ease; }
.instr--dark .instr__dot{ background:rgba(255,255,255,.24); }
.instr__dot.is-active{ width:26px; background:#38c4b4; }

/* ====== Logos oficiales de programas / certificación ====== */
.cert-card__logo{ width:74px; height:74px; margin-bottom:14px; display:grid; place-items:center; }
.cert-card__logo img{ width:100%; height:100%; object-fit:contain; border-radius:14px; }
.bento__label-badge{ width:22px; height:22px; object-fit:contain; vertical-align:middle; margin-right:6px; }
.sede-rosado__badge{ width:20px; height:20px; object-fit:contain; }
.hero__proglogo{ display:inline-flex; align-items:center; margin-bottom:22px; padding:14px 24px; border-radius:18px;
  background:rgba(255,255,255,.96); box-shadow:0 18px 44px -18px rgba(0,0,0,.6); }
.hero__proglogo img{ height:54px; width:auto; display:block; }
@media (max-width: 700px){ .hero__proglogo{ padding:11px 18px; } .hero__proglogo img{ height:40px; } }
.res-steps__title{ font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #93a3a4; margin-bottom: 16px; }


/* ====== Resultados: modal con QR por tipo de examen ====== */
.rmodal{ position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(8,20,26,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: modalFade .25s ease; }
.rmodal__card{ position: relative; width: min(680px, 100%); max-height: 90vh; overflow-y: auto; background: #fff;
  border-radius: 24px; padding: 32px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.55); animation: modalPop .32s cubic-bezier(.2,.8,.2,1.05); }
.rmodal__close{ position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 99px; border: 0;
  background: #f1f6f5; color: #0e2a33; cursor: pointer; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.rmodal__close svg{ width: 18px; height: 18px; }
.rmodal__close:hover{ transform: rotate(90deg); background: #e6efed; }
.rmodal__head{ display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rmodal__ic{ flex: 0 0 auto; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #1f8e80; background: #e1f3ee; }
.rmodal__ic svg{ width: 26px; height: 26px; }
.rmodal__eyebrow{ font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #1f8e80; }
.rmodal__title{ margin: 3px 0 0; font-size: 20px; font-weight: 700; color: #0e2a33; letter-spacing: -.01em; line-height: 1.2; }
.rmodal__lead{ margin: 0 0 20px; font-size: 14px; line-height: 1.5; color: #51635f; }
.rmodal__grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rmodal__grid.is-single{ grid-template-columns: 1fr; max-width: 340px; }
@media (max-width: 560px){ .rmodal__grid{ grid-template-columns: 1fr; } }
.rport{ border: 1px solid #e2eae9; border-radius: 18px; padding: 18px; text-align: center; display: flex; flex-direction: column; }
.rport__date{ font-size: 13px; font-weight: 700; color: #c63a72; margin-bottom: 12px; }
.rport__qr{ background: #fff; border-radius: 12px; padding: 8px; }
.rport__qr img{ width: 100%; max-width: 190px; margin: 0 auto; display: block; border-radius: 8px; }
.rport__creds{ margin: 14px 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.rport__cred{ background: #f6f9f9; border-radius: 10px; padding: 8px 12px; }
.rport__cred span{ display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #93a3a4; }
.rport__cred b{ font-size: 13px; color: #0e2a33; font-weight: 600; }
.rport__btn{ margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  background: #0e2a33; color: #fff; border-radius: 99px; height: 44px; font-weight: 600; font-size: 14px;
  transition: filter .18s ease, transform .18s ease; }
.rport__btn svg{ width: 16px; height: 16px; }
.rport__btn:hover{ filter: brightness(1.1); transform: translateY(-1px); }
.rmodal__note{ display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px;
  background: #f3f7f7; border-radius: 14px; font-size: 12.5px; line-height: 1.5; color: #4a5b5f; }
.rport__ic{ flex: 0 0 auto; color: #1f8e80; margin-top: 1px; }
.rport__ic svg{ width: 17px; height: 17px; }

/* footer: enlaces legales + aviso del boletín */
.ftr__legal-links{ display:flex; gap:22px; flex-wrap:wrap; }
.ftr__legal-links a{ font-size:12.5px; color:rgba(255,255,255,.62); text-decoration:none; transition:color .2s ease; }
.ftr__legal-links a:hover{ color:#fff; }
.ftr__news-note{ margin:12px 0 0; font-size:11.5px; line-height:1.6; color:rgba(255,255,255,.5); max-width:320px; }
.ftr__news-note a{ color:rgba(255,255,255,.82); text-decoration:underline; text-underline-offset:2px; }
.ftr__news-note a:hover{ color:#fff; }

/* footer compacto: CTA dentro de la columna de marca, columnas alineadas arriba */
.ftr__main{ padding-top: 64px; border-top: 1px solid rgba(255,255,255,.06); }
.ftr__inner{ align-items: start; }
.ftr__brand{ gap: 0; }
.ftr__brand .ftr__cta-text{ margin-bottom: 12px; }
.ftr__brand .ftr__cta-sub{ margin-bottom: 22px; }
.ftr__brand .ftr__logo{ margin-top: 40px; }
.ftr__hours{ margin-top: 22px; }
/* boletín: fila horizontal al ancho del footer */
.ftr__news-row{ max-width: 1180px; margin: 40px auto 0; padding: 28px 32px 0; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ftr__news-row-text{ max-width: 420px; }
.ftr__news-row-text .ftr__brand-copy{ margin: 8px 0 0; max-width: 420px; }
.ftr__news-row .ftr__news{ margin: 0; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; max-width: none; }
.ftr__news-row .ftr__news-input{ width: 280px; }
.ftr__news-row .ftr__news-note{ margin: 8px 0 0; flex-basis: 100%; max-width: 380px; }
.ftr__news-err{ margin: 6px 0 0; flex-basis: 100%; font-size: 12px; color: #ff9db5; }
.ftr__news.has-error .ftr__news-input{ box-shadow: 0 0 0 2px rgba(255,120,150,.55); }
/* confirmación de suscripción */
.ftr__news-done{ display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 16px; background: rgba(56,196,180,.12); border: 1px solid rgba(56,196,180,.3); animation: newsPop .45s cubic-bezier(.22,1,.36,1); }
.ftr__news-check{ flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #0e2a33; background: #38c4b4; animation: newsCheck .5s .1s both cubic-bezier(.22,1,.36,1); }
.ftr__news-done-text{ display: flex; flex-direction: column; gap: 2px; }
.ftr__news-done-text strong{ color: #fff; font-size: 15px; font-weight: 700; }
.ftr__news-done-text span{ color: rgba(255,255,255,.7); font-size: 13px; }
@keyframes newsPop{ from{ opacity: 0; transform: translateY(8px) scale(.98); } to{ opacity: 1; transform: none; } }
@keyframes newsCheck{ from{ transform: scale(0) rotate(-30deg); } to{ transform: scale(1) rotate(0); } }

/* Hero: en móvil el panel ocupa todo el ancho */
@media (max-width: 900px){
  .hero__content{ padding: 80px 24px 110px; }
  .hero__photo-veil{ background:
    linear-gradient(180deg, rgba(10,26,30,.48) 0%, rgba(10,26,30,.26) 40%, rgba(10,26,30,.38) 74%, rgba(10,26,30,.62) 100%); }
}

@media (max-width: 900px){
  .hero__stack{ width: 100%; max-width: none; }
}

/* =============== NAVBAR MÓVIL =============== */
.nav__burger{ display:none; width:44px; height:44px; align-items:center; justify-content:center; flex-direction:column; gap:5px; background:transparent; border:0; cursor:pointer; padding:0; }
.nav__burger span{ display:block; width:22px; height:2px; border-radius:2px; background:#0e2a33; transition:transform .25s ease, opacity .2s ease; }
.nav__burger.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity:0; }
.nav__burger.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.nav__mobile{ display:none; }
@media (max-width: 1080px){
  .nav__inner{ grid-template-columns: 1fr auto auto; align-items:center; }
  .nav__burger{ display:flex; }
  .nav__mobile{ display:block; overflow:hidden; max-height:0; opacity:0; transition:max-height .32s cubic-bezier(.16,1,.3,1), opacity .22s ease; background:rgba(255,255,255,.97); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-top:1px solid rgba(14,42,51,.07); }
  .nav__mobile.is-open{ max-height:70vh; opacity:1; overflow-y:auto; }
  .nav__mobile-list{ display:flex; flex-direction:column; padding:10px 22px 4px; }
  .nav__mobile-link{ padding:15px 0; font-size:16px; font-weight:600; color:#0e2a33; text-decoration:none; border-bottom:1px solid rgba(14,42,51,.06); }
  .nav__mobile-link.is-active{ color:#1f8e80; }
  .nav__mobile-cta{ padding:20px 22px 26px; }
  .nav__mobile-cta .btn-3d{ width:100%; justify-content:center; }
}
@media (max-width: 620px){
  .nav__cta{ display:none; }
}

/* En móvil el video horizontal se recorta al centro: se prioriza a la persona */
@media (max-width: 760px){
  .hero__video{ object-fit: cover; }
}

/* ============ VIDRIO CON REFRACCIÓN REAL ============
   El fondo se distorsiona (no se difumina): filtro SVG en backdrop-filter. */
.glass-defs{ position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
@supports (backdrop-filter: url(#cesac-refract)){
  .glass-btn{
    backdrop-filter: url(#cesac-refract) saturate(1.7) brightness(1.05);
    -webkit-backdrop-filter: url(#cesac-refract) saturate(1.7) brightness(1.05);
  }
  .glass-btn:hover{
    backdrop-filter: url(#cesac-refract) saturate(1.95) brightness(1.09);
    -webkit-backdrop-filter: url(#cesac-refract) saturate(1.95) brightness(1.09);
  }
}
/* ============ FOOTER: homogéneo ============ */
.ftr__brand .ftr__logo{ margin-top: 0; margin-bottom: 22px; }
.ftr__brand .ftr__cta-title{ margin-top: 0; }
.ftr__hours{ margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); }
.ftr__hours .ftr__col-title{ font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.ftr__hours ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ftr__hours li{ font-size: 13px; }
.ftr__hours li span{ color: rgba(255,255,255,.62); font-weight: 400; letter-spacing: 0; }

/* Instructivo: todas las tarjetas alinean número, icono, título y cuerpo en el mismo eje */
.instr__card{ display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; }
.instr__card-top{ min-height:44px; align-items:center; margin-bottom:14px; }
.instr__num{ display:block; }
.instr__card-title{ min-height:2.6em; display:flex; align-items:flex-start; }
.instr__reveal{ margin-top:0; }
.instr__card.is-active .instr__reveal{ margin-top:10px; }

/* ================= PASO A PASO — bento animado ================= */
.instr__bento{ display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.bstep--wide{ grid-column:span 7; }
.bstep--narrow{ grid-column:span 5; }
@media (max-width:900px){ .bstep--wide,.bstep--narrow{ grid-column:span 12; } }
.bstep{ position:relative; display:grid; grid-template-rows:auto auto; gap:18px; padding:22px; border-radius:22px;
  background:#fff; border:1px solid rgba(14,42,51,.07); box-shadow:0 1px 2px rgba(14,42,51,.04),0 22px 48px -34px rgba(14,42,51,.4);
  opacity:0; transform:translateY(18px); transition:opacity .6s ease,transform .6s cubic-bezier(.16,1,.3,1),box-shadow .25s ease; transition-delay:calc(var(--d) * .12s); }
.instr.is-seen .bstep{ opacity:1; transform:translateY(0); }
.bstep:hover{ box-shadow:0 2px 4px rgba(14,42,51,.05),0 30px 60px -32px rgba(14,42,51,.45); }
.instr--dark .bstep{ background:rgba(255,255,255,.97); }
.bstep__mock{ position:relative; overflow:hidden; border-radius:14px; background:linear-gradient(160deg,#f6f9f9,#eef4f4); border:1px solid rgba(14,42,51,.06); min-height:172px; }
.bstep--narrow .bstep__mock{ min-height:196px; }
.bstep__n{ display:inline-block; font-size:12px; font-weight:800; letter-spacing:.14em; color:var(--step-accent,#38c4b4); margin-bottom:8px; }
.bstep__title{ margin:0 0 8px; font-size:17px; font-weight:700; letter-spacing:-.01em; color:#0e2a33; text-wrap:pretty; }
.bstep__desc{ margin:0; font-size:13.5px; line-height:1.62; color:#5a6b6e; text-wrap:pretty; }
.bstep__btn{ display:inline-flex; align-items:center; gap:8px; margin-top:14px; padding:10px 18px; border-radius:99px; font-size:13px; font-weight:600; background:#0e2a33; color:#fff; text-decoration:none; transition:transform .18s ease; }
.bstep__btn:hover{ transform:translateX(2px); }

/* --- maquetas --- */
.mk{ position:absolute; inset:0; padding:14px; display:flex; flex-direction:column; gap:10px; font-family:'Raleway',system-ui,sans-serif; }
.mk__line{ display:block; height:7px; border-radius:99px; background:rgba(14,42,51,.13); }
.mk__line--w35{ width:35%; } .mk__line--w40{ width:40%; } .mk__line--w45{ width:45%; }
.mk__line--w50{ width:50%; } .mk__line--w60{ width:60%; } .mk__line--w70{ width:70%; }
.mk__cursor{ position:absolute; width:16px; height:16px; border-radius:50% 50% 50% 2px; background:#0e2a33; box-shadow:0 3px 8px rgba(0,0,0,.28); opacity:0; }
.instr.is-seen .mk__cursor{ animation:mkCursor 5.2s cubic-bezier(.6,0,.3,1) infinite; }

/* 01 navegador */
.mk__bar{ display:flex; align-items:center; gap:6px; padding:8px 10px; border-radius:10px; background:#fff; border:1px solid rgba(14,42,51,.08); }
.mk__dot{ width:7px; height:7px; border-radius:50%; background:rgba(14,42,51,.16); }
.mk__url{ position:relative; display:flex; align-items:center; gap:6px; flex:1; margin-left:6px; padding:5px 10px; border-radius:99px; background:#f2f6f6; font-size:10.5px; color:#3d5257; overflow:hidden; white-space:nowrap; }
.mk__url-lock svg{ width:11px; height:11px; color:#3aa98c; }
.mk__type{ display:inline-block; overflow:hidden; white-space:nowrap; max-width:0; }
.instr.is-seen .mk__type{ animation:mkType 5.2s steps(30) infinite; }
.mk__caret{ width:1.5px; height:11px; background:#0e2a33; }
.instr.is-seen .mk__caret{ animation:mkBlink .8s steps(1) infinite; }
.mk__body{ flex:1; display:flex; flex-direction:column; gap:9px; padding:14px; border-radius:12px; background:#fff; border:1px solid rgba(14,42,51,.06); }
.mk__logo-dot{ width:26px; height:26px; border-radius:8px; background:linear-gradient(140deg,#38c4b4,#1f8e80); }
.mk__spin{ width:18px; height:18px; margin-top:auto; align-self:flex-end; border-radius:50%; border:2px solid rgba(14,42,51,.12); border-top-color:var(--step-accent,#38c4b4); }
.instr.is-seen .mk__spin{ animation:mkSpin 1s linear infinite; }
.mk__cursor--go{ left:78%; top:26%; }
.instr.is-seen .mk__cursor--go{ animation:mkGo 5.2s cubic-bezier(.6,0,.3,1) infinite; }

/* 02 barra de navegación */
.mk__topnav{ display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:10px; background:#fff; border:1px solid rgba(14,42,51,.08); font-size:9.5px; color:#5a6b6e; }
.mk__brand{ width:22px; height:22px; border-radius:7px; background:linear-gradient(140deg,#38c4b4,#1f8e80); flex:0 0 auto; }
.mk__tab{ white-space:nowrap; }
.mk__tab--target{ position:relative; padding:5px 9px; border-radius:99px; color:#0e2a33; font-weight:700; }
.instr.is-seen .mk__tab--target{ animation:mkTarget 5.2s ease-in-out infinite; }
.mk__cursor--tab{ left:52%; top:64%; }
.instr.is-seen .mk__cursor--tab{ animation:mkToTab 5.2s cubic-bezier(.6,0,.3,1) infinite; }

/* 03 login */
.mk__form{ flex:1; display:flex; flex-direction:column; gap:7px; padding:14px; border-radius:12px; background:#fff; border:1px solid rgba(14,42,51,.06); }
.mk__label{ font-size:9.5px; font-weight:600; color:#5f93bd; }
.mk__input{ position:relative; height:20px; border-radius:6px; background:#f4f8f9; border:1px solid rgba(14,42,51,.1); overflow:hidden; }
.mk__fill{ position:absolute; left:6px; top:50%; transform:translateY(-50%); height:6px; border-radius:99px; background:rgba(14,42,51,.28); width:0; }
.instr.is-seen .mk__fill--1{ animation:mkFill 5.2s ease-in-out infinite; }
.instr.is-seen .mk__fill--2{ animation:mkFill 5.2s ease-in-out infinite; animation-delay:.7s; }
.mk__check{ display:flex; align-items:center; gap:7px; margin-top:2px; }
.mk__box{ width:12px; height:12px; flex:0 0 auto; border-radius:3px; border:1.5px solid rgba(14,42,51,.25); position:relative; }
.instr.is-seen .mk__box{ animation:mkCheck 5.2s ease-in-out infinite; }
.mk__btn{ margin-top:auto; align-self:flex-start; padding:6px 16px; border-radius:99px; font-size:10.5px; font-weight:700; color:#fff; background:var(--step-accent,#5f93bd); opacity:.45; }
.instr.is-seen .mk__btn{ animation:mkEnable 5.2s ease-in-out infinite; }
.mk__cursor--btn{ left:26%; top:82%; }
.instr.is-seen .mk__cursor--btn{ animation:mkToBtn 5.2s cubic-bezier(.6,0,.3,1) infinite; }

/* 04 descarga */
.mk__rows{ display:flex; flex-direction:column; gap:7px; }
.mk__row{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 11px; border-radius:9px; background:#fff; border:1px solid rgba(14,42,51,.07); }
.mk__row--hit{ border-color:rgba(58,169,140,.45); }
.instr.is-seen .mk__row--hit{ animation:mkHit 5.2s ease-in-out infinite; }
.mk__pill{ width:32px; height:14px; border-radius:99px; background:rgba(14,42,51,.1); }
.mk__pill--on{ display:grid; place-items:center; width:auto; padding:0 9px; font-size:8.5px; font-weight:800; color:#fff; background:var(--step-accent,#3aa98c); }
.mk__file{ margin-top:auto; display:flex; align-items:center; gap:10px; padding:11px; border-radius:11px; background:#fff; border:1px solid rgba(14,42,51,.07); }
.mk__file-ic{ width:30px; height:30px; flex:0 0 auto; display:grid; place-items:center; border-radius:9px; background:rgba(58,169,140,.14); color:var(--step-accent,#3aa98c); }
.mk__file-ic svg{ width:16px; height:16px; }
.mk__file-tx{ flex:1; display:flex; flex-direction:column; gap:6px; }
.mk__bar-track{ height:5px; border-radius:99px; background:rgba(14,42,51,.09); overflow:hidden; }
.mk__bar-fill{ display:block; height:100%; width:0; border-radius:99px; background:var(--step-accent,#3aa98c); }
.instr.is-seen .mk__bar-fill{ animation:mkProgress 5.2s ease-in-out infinite; }

@keyframes mkType{ 0%,8%{ max-width:0; } 42%,100%{ max-width:200px; } }
@keyframes mkBlink{ 0%,49%{ opacity:1; } 50%,100%{ opacity:0; } }
@keyframes mkSpin{ to{ transform:rotate(360deg); } }
@keyframes mkGo{ 0%,45%{ opacity:0; transform:translate(0,0); } 52%{ opacity:1; } 68%{ opacity:1; transform:translate(-6px,8px) scale(.86); } 80%,100%{ opacity:0; transform:translate(-6px,8px); } }
@keyframes mkCursor{ 0%,100%{ opacity:0; } }
@keyframes mkTarget{ 0%,30%{ background:transparent; } 45%,78%{ background:rgba(179,154,46,.18); } 92%,100%{ background:transparent; } }
@keyframes mkToTab{ 0%{ opacity:0; transform:translate(30px,20px); } 20%{ opacity:1; } 45%{ opacity:1; transform:translate(0,-24px); } 55%{ transform:translate(0,-24px) scale(.85); } 80%,100%{ opacity:0; transform:translate(0,-24px); } }
@keyframes mkFill{ 0%,10%{ width:0; } 34%,100%{ width:52%; } }
@keyframes mkCheck{ 0%,55%{ background:transparent; border-color:rgba(14,42,51,.25); } 65%,100%{ background:var(--step-accent,#5f93bd); border-color:var(--step-accent,#5f93bd); } }
@keyframes mkEnable{ 0%,62%{ opacity:.45; } 72%,100%{ opacity:1; } }
@keyframes mkToBtn{ 0%{ opacity:0; transform:translate(24px,10px); } 30%{ opacity:1; } 70%{ opacity:1; transform:translate(0,0); } 78%{ transform:translate(0,0) scale(.85); } 92%,100%{ opacity:0; } }
@keyframes mkHit{ 0%,25%{ background:#fff; } 40%,85%{ background:rgba(58,169,140,.09); } 96%,100%{ background:#fff; } }
@keyframes mkProgress{ 0%,42%{ width:0; } 82%,100%{ width:100%; } }
@media (prefers-reduced-motion: reduce){
  .mk *,.mk{ animation:none !important; }
  .bstep{ opacity:1; transform:none; }
}

/* Móvil: el hero no necesita 700px de alto */
@media (max-width: 620px){
  .hero{ min-height: 560px; height: 78vh; max-height: 640px; }
}

/* Maquetas: textos de ejemplo en vez de barras grises */
.mk__tx{ display:block; font-size:9.5px; line-height:1.45; color:#5a6b6e; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mk__tx--lg{ font-size:11.5px; font-weight:700; color:#0e2a33; }
.mk__tx--md{ font-size:10px; font-weight:600; color:#0e2a33; }
.mk__tx--xs{ font-size:8.5px; }
.mk__ok{ color:var(--step-accent,#3aa98c); font-weight:700; }
.mk__foot{ display:flex; align-items:center; gap:7px; margin-top:auto; font-size:9px; color:#7a8b8e; }
.mk__foot .mk__spin{ margin:0; align-self:auto; width:13px; height:13px; }
.mk__fill{ display:flex; align-items:center; padding-left:0; font-size:9.5px; font-weight:600; color:#3d5257; letter-spacing:.02em; white-space:nowrap; overflow:hidden; background:transparent; height:auto; border-radius:0; }
.instr.is-seen .mk__fill--1, .instr.is-seen .mk__fill--2{ animation:mkReveal 5.2s ease-in-out infinite; }
.instr.is-seen .mk__fill--2{ animation-delay:.7s; }
@keyframes mkReveal{ 0%,10%{ max-width:0; opacity:0; } 34%,100%{ max-width:140px; opacity:1; } }
.mk__check .mk__tx{ white-space:normal; }
