/* ==========================================================================
   ZOÉ SPA BEAUTY — Sistema de diseño 2026
   Paleta de marca: Turquesa #029f97 · Dorado #c99b32
   ========================================================================== */

:root {
  --teal: #029f97;
  --teal-600: #017a74;
  --teal-800: #014f4b;
  --ink: #0c2f2d;
  --gold: #c99b32;
  --gold-600: #a67c1e;
  --gold-soft: #e6cf96;
  --ivory: #fbf8f2;
  --sand: #f3ede2;
  --mist: #eaf4f2;
  --white: #ffffff;
  --text: #3b4948;
  --muted: #76827f;
  --line: rgba(1, 79, 75, 0.12);
  --line-strong: rgba(1, 79, 75, 0.22);

  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --arch: 999px 999px 24px 24px;

  --shadow-soft: 0 1px 2px rgba(12, 47, 45, 0.04), 0 12px 32px -12px rgba(12, 47, 45, 0.14);
  --shadow-lift: 0 2px 4px rgba(12, 47, 45, 0.05), 0 28px 60px -20px rgba(12, 47, 45, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 8.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageIn .8s var(--ease) both;
  transition: opacity .35s var(--ease);
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body.is-leaving { opacity: 0; }
html { overflow-x: clip; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--teal); color: #fff; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal); font-weight: 500; }
p + p { margin-top: 1.1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 3000; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow.on-dark { color: var(--gold-soft); }

.display { font-size: clamp(2.6rem, 4.6vw, 4.3rem); }
.h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head h2 { margin-bottom: 1.1rem; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: 1rem 1.6rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn .ico { width: 1.15rem; height: 1.15rem; transition: transform .4s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(2, 159, 151, .6); }
.btn-primary:hover { background: var(--teal-800); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -10px rgba(201, 155, 50, .6); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .7rem 1.15rem; font-size: .7rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-800);
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--teal); }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translate(3px, -3px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: .72rem; letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 40px; }
.topbar-group { display: flex; align-items: center; gap: 1.75rem; }
.topbar-item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar-item .ico { color: var(--gold-soft); width: 14px; height: 14px; }
.topbar a.topbar-item:hover { color: #fff; }
.topbar-badge { border: 1px solid rgba(230,207,150,.4); color: var(--gold-soft); padding: .15rem .6rem; border-radius: 999px; font-weight: 600; letter-spacing: .14em; font-size: .62rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s, background .4s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(12,47,45,.25); background: rgba(251, 248, 242, 0.94); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 84px; transition: height .4s var(--ease); }
.header.is-scrolled .container { height: 70px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; list-style: none; gap: 1.6rem; }
.nav-link {
  position: relative; font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  padding: .4rem 0; transition: color .3s; white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.nav-link:hover { color: var(--teal); }
.nav-link.is-active { color: var(--teal); }
.nav-link.is-active::after, .nav-link:hover::after { transform: translateX(-50%) scale(1); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); align-items: center; justify-content: center; }
.menu-toggle .ico { width: 20px; height: 20px; }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1500; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: 1.25rem var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-menu-top img { height: 40px; filter: brightness(0) invert(1); }
.mobile-menu-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 0;
  font-family: var(--f-display); font-size: 2rem; line-height: 1.1;
  transform: translateY(100%); transition: transform .7s var(--ease), color .3s;
}
.mobile-menu li a .ico { width: 20px; height: 20px; color: var(--gold-soft); }
.mobile-menu li a.is-active { color: var(--gold-soft); font-style: italic; }
.mobile-menu.is-open li a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: .3s; }
.mobile-menu-foot { margin-top: auto; padding-top: 2rem; font-size: .85rem; color: rgba(255,255,255,.65); display: grid; gap: .6rem; }
.mobile-menu-foot .btn { margin-top: .75rem; }

/* ---------- Anillos (motivo del logotipo) ---------- */
.rings { position: absolute; pointer-events: none; color: var(--gold); opacity: .55; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.rings circle { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; transform-origin: center; transform-box: fill-box; }
.rings circle:nth-child(odd) { animation: breathe 9s var(--ease) infinite; }
.rings circle:nth-child(even) { animation: breathe 9s var(--ease) infinite reverse; }
.rings circle:nth-child(2) { animation-delay: -1.5s; }
.rings circle:nth-child(3) { animation-delay: -3s; }
.rings circle:nth-child(4) { animation-delay: -4.5s; }
.rings circle:nth-child(5) { animation-delay: -6s; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.035); opacity: .55; } }
.rings.on-dark { color: var(--gold-soft); opacity: .18; }

/* ---------- Hero (Inicio) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero .rings { width: 1100px; height: 1100px; right: -380px; top: -260px; opacity: .35; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: .72rem; font-weight: 500; color: var(--teal-800); letter-spacing: .02em;
}
.pill .ico { color: var(--gold); width: 15px; height: 15px; }
.hero h1 { margin-bottom: 1.75rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1.2s var(--ease) .15s both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .27s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .39s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero .lead { margin-bottom: 2.5rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.25rem; border-top: 1px solid var(--line); }
.hero-stat { padding: 1.5rem 1.25rem 0 0; }
.hero-stat + .hero-stat { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.hero-stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3.2vw, 2.8rem); color: var(--teal-800); line-height: 1; margin-bottom: .5rem; }
.hero-stat span { font-size: .78rem; color: var(--muted); line-height: 1.5; display: block; }

.hero-visual { position: relative; }
.arch { position: relative; border-radius: var(--arch); overflow: hidden; background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .arch { aspect-ratio: 4 / 5.1; box-shadow: var(--shadow-lift); }
.hero-visual .arch img { animation: settle 2.4s var(--ease) both; object-position: 35% center; }
.hero-visual::before {
  content: ''; position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--gold); border-radius: var(--arch); z-index: -1; opacity: .6;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: .9rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px; padding: .85rem 1.1rem .85rem .85rem;
  box-shadow: var(--shadow-lift); animation: float 7s ease-in-out infinite;
}
.float-card img { width: 46px; height: 58px; object-fit: cover; border-radius: 8px; }
.float-card strong { display: block; font-size: .82rem; color: var(--ink); line-height: 1.3; }
.float-card span { display: block; font-size: .7rem; color: var(--muted); line-height: 1.4; }
.float-card .icon-circle { width: 46px; height: 46px; }
.hero-visual .fc-1 { left: -2.5rem; bottom: 12%; }
.hero-visual .fc-2 { right: -1.5rem; top: 10%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.icon-circle {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mist); color: var(--teal-800); border: 1px solid var(--line);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.icon-circle .ico { width: 22px; height: 22px; }
.icon-circle.gold { background: #faf3e2; color: var(--gold-600); border-color: rgba(201,155,50,.25); }

/* ---------- Marquee ---------- */
.marquee { background: var(--teal-800); color: #fff; overflow: hidden; padding: 1.35rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.8rem); white-space: nowrap; color: rgba(255,255,255,.92); }
.marquee-item i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--gold-soft); box-shadow: 0 0 0 4px var(--teal-800), 0 0 0 5px rgba(230,207,150,.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: var(--section) 0; }
.section.tight { padding: calc(var(--section) * .6) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--mist); }
.bg-ink { overflow: hidden; background: var(--ink); color: rgba(255,255,255,.75); }
.bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink strong { color: #fff; }
.bg-ink h2 em { color: var(--gold-soft); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split.wide-text { grid-template-columns: .9fr 1.1fr; }
.split.reverse > :first-child { order: 2; }
.split-text h2 { margin: 1.25rem 0 1.5rem; }
.split-text .btn-row { margin-top: 2.25rem; }

.frame { position: relative; }
.frame .media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); box-shadow: var(--shadow-soft); }
.frame .media img, .frame .media video { width: 100%; height: 100%; object-fit: cover; }
.frame.arch-frame .media { border-radius: var(--arch); }
.frame::after {
  content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--r-lg); z-index: -1; opacity: .5;
}
.frame.arch-frame::after { border-radius: var(--arch); }
.frame.no-line::after { display: none; }
.stamp {
  position: absolute; left: -1.75rem; bottom: 2rem; z-index: 2;
  background: var(--ink); color: #fff; border-radius: 20px; padding: 1.25rem 1.5rem; min-width: 170px;
  box-shadow: var(--shadow-lift);
}
.stamp b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--gold-soft); }
.stamp span { display: block; font-size: .72rem; letter-spacing: .06em; margin-top: .4rem; color: rgba(255,255,255,.75); max-width: 16ch; line-height: 1.45; }
.stamp.right { left: auto; right: -1.75rem; }

/* Check list */
.checks { list-style: none; display: grid; gap: .85rem; margin: 1.75rem 0; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; }
.checks li .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mist); color: var(--teal); margin-top: .15rem; }

/* Callout */
.callout {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; margin-top: 2rem; box-shadow: var(--shadow-soft);
}
.callout h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: 0; }
.callout p { font-size: .9rem; margin-bottom: 1rem; }

/* ---------- Tarjetas de servicio ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-800);
}
.card-tag.gold { background: var(--gold); color: #fff; }
.card-tag.dark { background: var(--ink); color: var(--gold-soft); }
.card-tag .ico { width: 13px; height: 13px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem 1.75rem 1.6rem; }
.card-cat { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .7rem; }
.card-title { font-size: 1.75rem; margin-bottom: .85rem; }
.card-desc { font-size: .9rem; color: var(--text); margin-bottom: 1.25rem; }
.card-meta { font-size: .82rem; padding: .9rem 1rem; border-radius: 12px; background: var(--ivory); border: 1px dashed var(--line-strong); margin-bottom: 1.25rem; line-height: 1.6; }
.card-meta strong { color: var(--teal-800); }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.card-num { position: absolute; top: 1rem; right: 1.1rem; z-index: 2; font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.25); }

/* Tarjeta compacta (servicio con ícono) */
.mini {
  position: relative; padding: 2rem 1.75rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.mini:hover .icon-circle { background: var(--teal); color: #fff; transform: rotate(-8deg); }
.mini .icon-circle { margin-bottom: 1.4rem; }
.mini h4 { font-size: 1.45rem; margin-bottom: .6rem; }
.mini p { font-size: .88rem; }
.mini .link-arrow { margin-top: 1.1rem; }
.mini-num { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--gold); opacity: .45; font-style: italic; }

/* ---------- Certificaciones ---------- */
.cert {
  display: grid; grid-template-columns: 84px 1fr; gap: 1.25rem; align-items: start;
  padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.cert-thumb { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--mist); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; gap: .4rem; color: var(--teal-800); cursor: zoom-in; }
.cert-thumb.static { cursor: default; }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cert:hover .cert-thumb img { transform: scale(1.05); }
.cert-thumb .ico { width: 34px; height: 34px; color: var(--teal); }
.cert-thumb small { font-size: .62rem; font-weight: 600; letter-spacing: .14em; }
.cert h4 { font-family: var(--f-body); font-size: .98rem; font-weight: 600; letter-spacing: 0; margin-bottom: .5rem; line-height: 1.35; }
.cert p { font-size: .84rem; line-height: 1.65; margin-bottom: .85rem; }
.folio { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-600); background: #faf3e2; padding: .35rem .7rem; border-radius: 999px; }
.folio .ico { width: 13px; height: 13px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: #fff; padding: 2.25rem 2rem; transition: background .5s var(--ease); }
.step:hover { background: var(--ivory); }
.step-num { font-family: var(--f-display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 1.25rem; display: block; }
.step h4 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; letter-spacing: 0; margin-bottom: .6rem; line-height: 1.4; }
.step p { font-size: .87rem; }
.step .link-arrow { margin-top: 1rem; }
.bg-ink .steps { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.08); }
.bg-ink .step { background: var(--ink); }
.bg-ink .step:hover { background: #10393a; }
.bg-ink .step p { color: rgba(255,255,255,.65); }

/* ---------- Casos (antes / después) ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); }
.cases.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cases.cols-2 { grid-template-columns: repeat(2, 1fr); }
.case { cursor: zoom-in; }
.case-media { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.case-media.tall { aspect-ratio: 4 / 5; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.case-media::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,47,45,.55));
  opacity: 0; transition: opacity .6s var(--ease);
}
.case-zoom {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--ink); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px) scale(.9); transition: all .5s var(--ease);
}
.case:hover .case-media img { transform: scale(1.05); }
.case:hover .case-media::after { opacity: 1; }
.case:hover .case-zoom { opacity: 1; transform: none; }
.case-body { padding: 1.15rem .25rem 0; }
.case-title { font-size: 1.35rem; margin-bottom: .35rem; }
.case-desc { font-size: .86rem; color: var(--muted); }

/* ---------- Diagnóstico ---------- */
.diag { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.diag-list { display: grid; gap: .85rem; }
.diag-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.35rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: all .5s var(--ease);
}
.diag-item:hover { border-color: var(--teal); transform: translateX(6px); box-shadow: var(--shadow-soft); }
.diag-item:hover .icon-circle { background: var(--teal); color: #fff; }
.diag-q { font-size: .95rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.diag-a { display: block; font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.diag-a strong { color: var(--teal-800); }
.diag-item > .ico { color: var(--gold); width: 20px; height: 20px; transition: transform .4s var(--ease); }
.diag-item:hover > .ico { transform: translateX(4px); }

/* ---------- Video ---------- */
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 5; }
.video.landscape { aspect-ratio: 16 / 10; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video-cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem;
  background: linear-gradient(180deg, rgba(12,47,45,.05) 30%, rgba(12,47,45,.82)); color: #fff; cursor: pointer;
  transition: opacity .6s var(--ease);
}
.video.is-playing .video-cover { opacity: 0; pointer-events: none; }
.video-play {
  position: absolute; top: 50%; left: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.45);
  transition: transform .5s var(--ease), background .5s;
}
.video-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(230,207,150,.6); animation: pulse 2.6s var(--ease) infinite; }
.video-play .ico { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.video-cover:hover .video-play { transform: scale(1.08); background: var(--teal); }
.video-cover h4 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.video-cover p { font-size: .82rem; color: rgba(255,255,255,.75); }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left;
  padding: 1.6rem 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink); line-height: 1.25; transition: color .3s;
}
.faq-q:hover { color: var(--teal); }
.faq-icon { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: all .5s var(--ease); }
.faq-icon .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.faq-item.is-open .faq-icon { background: var(--teal); border-color: var(--teal); color: #fff; }
.faq-item.is-open .faq-icon .ico { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4rem 1.75rem 0; color: var(--text); opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- Page hero (internas) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem); }
.page-hero .rings { width: 900px; height: 900px; left: -420px; top: -300px; opacity: .3; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.crumbs { display: flex; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.crumbs a:hover { color: var(--teal); }
.crumbs .ico { width: 12px; height: 12px; }
.page-hero h1 { margin: 1.25rem 0 1.5rem; }
.page-hero .arch { aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lift); }
.page-hero .arch img { animation: settle 2.2s var(--ease) both; }
.page-hero-visual { position: relative; }
.page-hero-visual::before { content: ''; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid var(--gold); border-radius: var(--arch); opacity: .55; }
.page-hero-visual .float-card { left: -2rem; bottom: 10%; }

/* Subnav (servicios) */
.subnav { position: sticky; top: 70px; z-index: 900; background: rgba(251,248,242,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: .5rem; overflow-x: auto; padding-top: .75rem; padding-bottom: .75rem; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; gap: .5rem; flex: none; padding: .6rem 1.1rem; border-radius: 999px; font-size: .74rem; font-weight: 500; letter-spacing: .06em; color: var(--ink);
  border: 1px solid transparent; transition: all .4s var(--ease);
}
.subnav a .ico { width: 16px; height: 16px; color: var(--gold-600); transition: color .4s; }
.subnav a:hover { border-color: var(--line-strong); }
.subnav a.is-active { background: var(--ink); color: #fff; }
.subnav a.is-active .ico { color: var(--gold-soft); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-soft); }
.panel > .eyebrow { margin-bottom: 1rem; }
.panel > h2, .panel > h3 { margin-bottom: 1rem; }
.info-list { display: grid; gap: 1.75rem; margin-top: 2rem; }
.info { display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; align-items: start; }
.info h4 { font-family: var(--f-body); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .45rem; }
.info p { font-size: .93rem; color: var(--ink); }
.info .big { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; color: var(--teal-800); display: inline-block; transition: color .3s; }
.info .big:hover { color: var(--teal); }
.info .btn-row { margin-top: .9rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .88rem; }
.hours td { padding: .55rem 0; border-bottom: 1px dashed var(--line-strong); color: var(--ink); }
.hours td:last-child { text-align: right; color: var(--text); }
.hours tr:last-child td { border-bottom: 0; }
.note { font-size: .78rem; color: var(--muted); margin-top: .7rem; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; height: 100%; box-shadow: var(--shadow-soft); border: 1px solid var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.75) contrast(1.02); }
.cofepris {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; margin-top: 1.5rem;
  border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line);
}
.cofepris strong { display: block; font-size: .88rem; }
.cofepris span { font-size: .78rem; color: var(--muted); }

/* Form */
.form { display: grid; gap: 1.15rem; margin-top: 1.75rem; }
.field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: .55rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line-strong); border-radius: 14px; padding: .95rem 1.1rem; transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23014f4b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 3rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(2,159,151,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px);
  background: var(--ink); color: rgba(255,255,255,.75); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem); text-align: center;
}
.cta .rings { width: 900px; height: 900px; left: 50%; top: 50%; margin: -450px 0 0 -450px; }
.cta-bg { position: absolute; inset: 0; opacity: .16; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta > *:not(.rings):not(.cta-bg) { position: relative; }
.cta h2 { color: #fff; margin: 1.25rem auto 1.25rem; max-width: 18ch; }
.cta h2 em { color: var(--gold-soft); }
.cta p { max-width: 56ch; margin: 0 auto 2.5rem; }
.cta .btn-row { justify-content: center; }
.cta-note { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; font-size: .76rem; color: var(--gold-soft); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.62); padding: clamp(4rem, 8vw, 6.5rem) 0 2rem; font-size: .88rem; }
.footer .rings { width: 760px; height: 760px; right: -260px; bottom: -340px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer-brand img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1.5rem; }
.footer-brand p { max-width: 36ch; }
.footer h4 { font-family: var(--f-body); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.4rem; }
.footer ul { list-style: none; display: grid; gap: .65rem; }
.footer ul a { transition: color .3s, padding .4s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: .9rem; }
.footer-contact div { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact .ico { color: var(--gold-soft); margin-top: .25rem; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; transition: all .4s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px); }
.socials .ico { width: 18px; height: 18px; }
.badge-cofepris { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid rgba(230,207,150,.3); color: var(--gold-soft); font-size: .72rem; letter-spacing: .04em; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .74rem; color: rgba(255,255,255,.45); }

/* ---------- Flotantes ---------- */
.fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1200;
  display: inline-flex; align-items: center; gap: .7rem; height: 58px; padding: 0 1.4rem 0 1.15rem; border-radius: 999px;
  background: var(--teal); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 18px 40px -12px rgba(2,159,151,.7);
  transform: translateY(120px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease), background .4s;
}
.fab.is-visible { transform: none; opacity: 1; }
.fab:hover { background: var(--teal-800); }
.fab .ico { width: 24px; height: 24px; }
.fab::before { content: ''; position: absolute; inset: -6px; border-radius: 999px; border: 1px solid rgba(2,159,151,.45); animation: pulse 2.8s var(--ease) infinite; }

.to-top {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 1200; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .5s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top .ico { transform: rotate(-90deg); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 4rem 1.5rem;
  background: rgba(8, 30, 29, .92); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; transform: scale(.96); transition: transform .6s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: calc(100vh - 10rem); width: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 1.25rem; text-align: center; font-family: var(--f-display); font-size: 1.4rem; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; display: flex; align-items: center; justify-content: center; transition: all .4s var(--ease); }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; margin-top: -26px; }
.lb-prev .ico { transform: rotate(180deg); }
.lb-next { right: 1.25rem; top: 50%; margin-top: -26px; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.from-left { transform: translateX(-34px); }
.reveal.from-right { transform: translateX(34px); }
.reveal.zoom { transform: scale(.96); }
.reveal.is-in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .56s; }
.stagger.is-in > *:nth-child(9) { transition-delay: .64s; }
.stagger.is-in > *:nth-child(n+10) { transition-delay: .7s; }
.stagger.is-in > .card:hover, .stagger.is-in > .mini:hover, .stagger.is-in > .cert:hover { transition-delay: 0s; }

.parallax img { will-change: transform; }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: clamp(3rem, 6vw, 5rem); }
.center { text-align: center; }
.sub-title { text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 2rem; }
.divider-orn { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); margin: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.divider-orn::before, .divider-orn::after { content: ''; height: 1px; width: min(120px, 20vw); background: currentColor; opacity: .5; }
.divider-orn span { width: 10px; height: 10px; border-radius: 50%; border: 1px solid currentColor; box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px currentColor; }
.bg-white .divider-orn span { box-shadow: 0 0 0 4px #fff, 0 0 0 5px currentColor; }
.bg-mist .divider-orn span { box-shadow: 0 0 0 4px var(--mist), 0 0 0 5px currentColor; }

.quote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: var(--teal-800); padding-left: 1.5rem; border-left: 2px solid var(--gold); margin-bottom: 1.75rem; }

.tag-new { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: var(--ink); color: var(--gold-soft); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.25rem; }
.tag-new .ico { width: 13px; height: 13px; }

.question-list { display: grid; gap: .85rem; margin: 1.75rem 0 2rem; counter-reset: q; }
.question { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem 1.25rem; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); }
.question .icon-circle { width: 44px; height: 44px; }
.question .icon-circle .ico { width: 20px; height: 20px; }
.question b { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; line-height: 1.45; }
.question span { display: block; font-size: .83rem; color: var(--muted); margin-top: .2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav-list { gap: 1.25rem; }
  .nav-link { font-size: .7rem; letter-spacing: .08em; }
  .topbar .hide-md { display: none; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .page-hero-grid, .split, .split.wide-text, .diag, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual, .page-hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-3, .cases, .cases.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .frame { max-width: 560px; margin: 0 auto; width: 100%; }
  .subnav { top: 70px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .topbar .container { justify-content: center; }
  .topbar-group.left { display: none; }
  .topbar-group { gap: 1rem; }
  .header .container { height: 70px; }
  .brand img { height: 38px; }
  .grid-2, .grid-3, .grid-4, .cases, .cases.cols-4, .cases.cols-2, .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat, .hero-stat + .hero-stat { padding: 1.1rem 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 1rem; }
  .hero-stat b { margin: 0; min-width: 6.5rem; }
  .hero-visual .fc-1 { left: -.5rem; }
  .hero-visual .fc-2 { right: -.5rem; }
  .page-hero-visual .float-card { left: -.5rem; }
  .stamp { left: -.5rem; }
  .stamp.right { right: -.5rem; }
  .frame::after { inset: 14px -10px -14px 14px; }
  .hero-visual::before { inset: -10px -10px 10px 10px; }
  .page-hero-visual::before { inset: -10px 10px 10px -10px; }
  .cert { grid-template-columns: 90px 1fr; gap: 1.1rem; padding: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq-a p { padding-right: 0; }
  .fab { right: 1rem; bottom: 1rem; height: 56px; width: 56px; padding: 0; justify-content: center; }
  .fab span { display: none; }
  .to-top { left: 1rem; bottom: 1rem; }
  .diag-item { grid-template-columns: auto 1fr; }
  .diag-item > .ico { display: none; }
  .btn { white-space: normal; text-align: center; }
  .card-body { padding: 1.5rem 1.35rem 1.35rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1.25rem; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  body { animation: none; }
}

/* Tarjetas sobre fondo oscuro */
.bg-ink .card h3, .bg-ink .card strong { color: var(--ink); }
.bg-ink > .rings { width: 1000px; height: 1000px; left: -420px; top: -380px; }

.grid-4 .card-body { padding: 1.5rem 1.4rem 1.4rem; }
.grid-4 .card-title { font-size: 1.55rem; }
.grid-4 .card-foot { gap: .9rem; }
.grid-4 .card-foot .btn { width: 100%; }
@media (max-width: 1040px) { [style*="position:sticky"] { position: static !important; } }
.hours td:first-child { white-space: nowrap; padding-right: 1rem; }
@media (max-width: 720px) { .hours td:last-child { font-size: .8rem; } }
