/* =========================================================
   ANCESTRAL Centro Estético — rediseño octubre 2026
   Paleta original: hueso, blanco, dorado, texto cálido, pie oscuro
   ========================================================= */
:root {
  --hueso: #FAF8F3;
  --crema: #F3EEE4;
  --blanco: #FFFFFF;
  --oro: #C9A227;
  --oro-2: #B8944F;
  --oro-claro: #E6D3A3;
  --texto: #2C2C2A;
  --texto-2: #6B6862;
  --oscuro: #211F1A;
  --linea: rgba(184, 148, 79, .28);
  --grad-oro: linear-gradient(135deg, #D9B74A 0%, #C9A227 45%, #B8944F 100%);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--hueso); color: var(--texto);
  font-family: var(--sans); font-weight: 300; font-size: 15.5px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
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; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--texto); margin: 0; line-height: 1.12; letter-spacing: -.005em; }
h1 em, h2 em, h3 em, .concerns-title em, .otro em { font-style: italic; color: var(--oro-2); }
p { margin: 0 0 1em; }
::selection { background: var(--oro-claro); color: var(--oscuro); }
:focus-visible { outline: 1.5px solid var(--oro); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--oscuro); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; color: var(--oro-2); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after, .eyebrow.center::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center { display: flex; justify-content: center; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 28px; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, box-shadow .35s, transform .35s var(--ease);
  white-space: nowrap;
}
.btn-gold { background: var(--grad-oro); color: var(--oscuro); box-shadow: 0 10px 28px -14px rgba(184, 148, 79, .9); }
.btn-gold:hover { background: var(--oscuro); color: var(--oro-claro); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--oro-2); color: var(--texto); }
.btn-line:hover { background: var(--oscuro); border-color: var(--oscuro); color: var(--oro-claro); }
.btn-ico { width: 18px; height: 18px; display: inline-flex; transition: transform .35s var(--ease); }
.btn-ico svg { width: 100%; height: 100%; }
.btn:hover .btn-ico, a:hover > .link-more .btn-ico, .link-more:hover .btn-ico { transform: translateX(4px); }
.link-under {
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--texto);
  padding: 6px 0; background: linear-gradient(var(--oro-2), var(--oro-2)) left bottom / 100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
.link-under:hover { background-size: 0 1px; background-position: right bottom; color: var(--oro-2); }
.link-more {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--oro-2);
}

/* ---------- barra superior y navegación ---------- */
.topbar { background: var(--oscuro); color: rgba(250, 248, 243, .78); font-size: 11.5px; letter-spacing: .06em; text-align: center; padding: 9px var(--pad); }
.topbar p { margin: 0; }
.topbar a { color: var(--oro-claro); }
.topbar .dot { color: var(--oro); margin: 0 6px; }

.nav {
  position: sticky; top: 0; z-index: 100; background: rgba(250, 248, 243, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s, background .4s;
}
.nav.is-scrolled { border-bottom-color: var(--linea); box-shadow: 0 10px 30px -24px rgba(33, 31, 26, .45); background: rgba(250, 248, 243, .94); }
.nav-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); height: 84px; display: flex; align-items: center; gap: 32px; transition: height .4s var(--ease); }
.nav.is-scrolled .nav-in { height: 70px; }
.nav-logo img { height: 58px; width: auto; transition: height .4s var(--ease); }
.nav.is-scrolled .nav-logo img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-a { position: relative; font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--texto); padding: 10px 0; }
.nav-a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--oro-2); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-a:hover::after, .nav-item:hover > .nav-a::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 44px; padding: 0 22px; font-size: 11px; }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--texto); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.nav-item { position: relative; }
.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 420px; transform: translate(-50%, 8px);
  background: var(--blanco); border: 1px solid var(--linea); box-shadow: 0 30px 60px -30px rgba(33, 31, 26, .35);
  padding: 10px; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover .drop, .nav-item:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-link { display: flex; gap: 16px; padding: 14px 16px; transition: background .3s; }
.drop-link:hover { background: var(--hueso); }
.drop-num { font-family: var(--serif); font-style: italic; color: var(--oro-2); font-size: 20px; line-height: 1.2; }
.drop-title { display: block; font-family: var(--serif); font-size: 20px; color: var(--texto); line-height: 1.2; }
.drop-desc { display: block; font-size: 12.5px; color: var(--texto-2); line-height: 1.5; margin-top: 2px; }

/* ---------- secciones ---------- */
.sec { padding: var(--sec) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 54px); }
.sec-head.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.sec-sub { color: var(--texto-2); font-size: 14px; margin: 14px auto 0; }
.resultados .sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.resultados .sec-head { margin-bottom: 32px; }
.sec-intro { color: var(--texto-2); margin: 0; max-width: 460px; justify-self: end; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; position: relative; }
.hero::before {
  content: ''; position: absolute; width: 760px; height: 760px; right: -260px; top: 20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .13), rgba(201, 162, 39, 0) 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; }
.hero h1, .hero-title { font-size: clamp(44px, 6.2vw, 82px); line-height: 1.02; margin-bottom: 26px; }
.hero-lead { font-size: 16.5px; color: var(--texto-2); max-width: 500px; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 26px 0 0; margin: 44px 0 0; border-top: 1px solid var(--linea); display: flex; gap: 12px 26px; flex-wrap: wrap; max-width: 560px; }
.hero-trust li { white-space: nowrap; }
.hero-trust li { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); display: flex; align-items: center; gap: 10px; }
.hero-trust li::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: var(--grad-oro); }

.hero-media { position: relative; justify-self: end; width: min(100%, 470px); }
.arch { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; position: relative; z-index: 1; box-shadow: 0 40px 80px -40px rgba(33, 31, 26, .55); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.arch-line { position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--oro-2); border-radius: 999px 999px 0 0; opacity: .7; }
.seal { position: absolute; z-index: 2; left: -58px; bottom: 54px; width: 132px; height: 132px; border-radius: 50%; background: var(--blanco); box-shadow: 0 20px 40px -20px rgba(33, 31, 26, .4); display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal text { font-family: var(--sans); font-size: 11px; font-weight: 500; fill: var(--oro-2); }
.seal img { width: 50px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- inicio: rostro que avanza con el scroll ---------- */
.scrolly { position: relative; height: 420vh; background: #2a1d17; }
.scrolly-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrolly-canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: #2a1d17 url(../assets/images/hero-seq/f001.jpg) center / cover no-repeat; }
.scrolly-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33, 31, 26, .62) 0%, rgba(33, 31, 26, .25) 45%, rgba(33, 31, 26, 0) 70%), linear-gradient(0deg, rgba(33, 31, 26, .45) 0%, rgba(33, 31, 26, 0) 40%); }
.scrolly-text { position: relative; height: 100%; display: grid; align-items: center; }
.sc { grid-area: 1 / 1; max-width: 560px; color: var(--hueso); opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); pointer-events: none; }
.sc.is-active { opacity: 1; transform: none; pointer-events: auto; }
.sc h1, .sc h2 { color: var(--hueso); font-size: clamp(42px, 6.4vw, 86px); line-height: 1.02; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); text-wrap: balance; }
.sc h1 em, .sc h2 em { color: var(--oro-claro); }
.sc p { font-size: 17px; color: rgba(250, 248, 243, .88); max-width: 440px; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.sc-eyebrow { font-size: 11px !important; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--oro-claro) !important; margin-bottom: 20px; }
.sc-final img { width: 210px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .3)); }
.sc-final h2 { font-size: clamp(38px, 5vw, 64px); }
.sc-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 10px; }
.link-light { color: var(--hueso); background-image: linear-gradient(var(--oro-claro), var(--oro-claro)); }
.link-light:hover { color: var(--oro-claro); }
.scrolly-ui { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(250, 248, 243, .8); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; }
.scrolly-bar { width: 120px; height: 1px; background: rgba(250, 248, 243, .3); overflow: hidden; }
.scrolly-bar span { display: block; height: 100%; width: 100%; background: var(--oro-claro); transform-origin: left; transform: scaleX(0); }
.scrolly.is-done .scrolly-hint { opacity: 0; }
.scrolly-hint { transition: opacity .4s; }

/* ---------- redes ---------- */
.redes { background: var(--blanco); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.redes-in { display: flex; align-items: center; gap: 36px; padding-top: 22px; padding-bottom: 22px; }
.redes-label { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--oro-2); margin: 0; flex-shrink: 0; }
.redes-links { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
.redes-links a { display: flex; align-items: center; gap: 14px; padding: 6px 22px; border-left: 1px solid var(--linea); font-size: 12.5px; color: var(--texto-2); line-height: 1.4; transition: color .3s; }
.redes-links b { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--texto); }
.r-ico { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--linea); border-radius: 50%; display: grid; place-items: center; color: var(--oro-2); transition: background .35s, color .35s, border-color .35s; }
.r-ico svg { width: 16px; height: 16px; }
.redes-links a:hover { color: var(--texto); }
.redes-links a:hover .r-ico { background: var(--oro); border-color: var(--oro); color: var(--blanco); }

/* ---------- novedades: cinta transportadora ---------- */
.novedades { padding-bottom: calc(var(--sec) - 20px); }
.cb { overflow: hidden; padding: 30px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cb-track { display: flex; gap: 22px; width: max-content; animation: belt var(--cb-dur, 60s) linear infinite; align-items: center; }
.cb:hover .cb-track, .cb.is-paused .cb-track { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(calc(-1 * var(--cb-shift, 50%))); } }
.cb-card { height: 320px; aspect-ratio: var(--ar); flex-shrink: 0; overflow: hidden; box-shadow: 0 18px 36px -24px rgba(33, 31, 26, .5); transition: transform .5s var(--ease), box-shadow .5s; position: relative; }
.cb-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.cb-card:hover, .cb-card:focus-visible { transform: scale(1.08); z-index: 2; box-shadow: 0 30px 60px -28px rgba(33, 31, 26, .65); }
.cb-hint { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); margin: 6px 0 0; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(33, 31, 26, .9); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lb-close { position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; color: var(--oro-claro); font-size: 34px; font-weight: 200; line-height: 1; }

/* ---------- tratamientos ---------- */
.tratamientos { background: var(--blanco); }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat { background: var(--hueso); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.cat:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(33, 31, 26, .5); }
.cat-img { margin: 0; aspect-ratio: 7 / 5; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.cat-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--oro-2); display: block; margin-bottom: 6px; }
.cat h3 { font-size: 27px; margin-bottom: 12px; }
.cat p { font-size: 13.5px; color: var(--texto-2); line-height: 1.7; flex: 1; }
.concerns { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 5vw, 52px); border-top: 1px solid var(--linea); display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.concerns-title { font-family: var(--serif); font-size: 32px; line-height: 1.15; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 20px; border: 1px solid var(--linea); border-radius: 999px; font-size: 13px; color: var(--texto); background: var(--hueso); transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--oscuro); color: var(--oro-claro); border-color: var(--oscuro); }

/* ---------- tratamientos por pestañas ---------- */
.tabs { display: flex; justify-content: center; gap: 6px; border-bottom: 1px solid var(--linea); margin-bottom: 34px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; padding: 14px 20px 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); white-space: nowrap; display: inline-flex; align-items: baseline; gap: 8px; transition: color .3s; }
.tab-num { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--oro-2); }
.tab::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--grad-oro); transform: scaleX(0); transition: transform .4s var(--ease); }
.tab:hover { color: var(--texto); }
.tab.is-active { color: var(--texto); }
.tab.is-active::after { transform: scaleX(1); }
.js .tpanel { display: none; }
.js .tpanel.is-active { display: block; animation: tfade .6s var(--ease); }
.tpanel + .tpanel { margin-top: 40px; }
.js .tpanel + .tpanel { margin-top: 0; }
@keyframes tfade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.tc { flex: 0 1 calc(25% - 17px); min-width: 0; background: var(--hueso); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.tc:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -32px rgba(33, 31, 26, .5); }
.tc-img { margin: 0; aspect-ratio: 1; overflow: hidden; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tc:hover .tc-img img { transform: scale(1.05); }
.tc-num { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff 0%, var(--crema) 75%); }
.tc-num span { font-family: var(--serif); font-style: italic; font-size: 46px; color: var(--oro-2); }
.tc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tc h3 { font-size: 23px; margin-bottom: 8px; }
.tc p { font-size: 13px; color: var(--texto-2); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.tc-links { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--linea); padding-top: 14px; }
.tc-more { font-size: 12px; color: var(--texto-2); text-decoration: underline; text-underline-offset: 3px; }
.tc-more:hover { color: var(--oro-2); }
.tc-book { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-2); }
.tc-book .btn-ico { width: 15px; height: 15px; }
.tc-book:hover .btn-ico { transform: translateX(4px); }
.tpanel-all { display: flex; width: max-content; margin: 30px auto 0; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--texto); padding-bottom: 4px; border-bottom: 1px solid var(--oro-2); }
.tpanel-all:hover { color: var(--oro-2); }
.tpanel-all:hover .btn-ico { transform: translateX(4px); }
@media (max-width: 960px) { .tc { flex-basis: calc(50% - 11px); } .tabs { justify-content: flex-start; } }
@media (max-width: 640px) { .tgrid { gap: 12px; } .tc { flex-basis: calc(50% - 6px); } .tc-body { padding: 14px 12px 16px; } .tc h3 { font-size: 19px; } .tc p { font-size: 12px; } .tc-links { flex-direction: column; align-items: flex-start; gap: 8px; } .tab { padding: 12px 12px 14px; font-size: 10.5px; } }

/* ---------- proceso ---------- */
.proceso { background: var(--blanco); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.pasos::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: var(--linea); }
.paso { text-align: center; padding: 0 22px; position: relative; }
.paso-num { width: 68px; height: 68px; margin: 0 auto 26px; border-radius: 50%; background: var(--hueso); border: 1px solid var(--oro-2); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--oro-2); position: relative; }
.paso h3 { font-size: 26px; margin-bottom: 10px; }
.paso p { font-size: 13.5px; color: var(--texto-2); }

/* ---------- resultados ---------- */
.resultados { background: var(--blanco); padding: 8px 0 clamp(56px, 6vw, 80px); }
.ba-grid { display: grid; grid-template-columns: 1.5fr .5625fr; gap: 16px; align-items: stretch; max-width: 820px; margin: 0 auto; }
.ba { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 2; user-select: none; background: var(--crema); }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(250, 248, 243, .9); transform: translateX(-.5px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(250, 248, 243, .9); border: 1px solid var(--oro-2); }
.ba-handle span::before, .ba-handle span::after { content: ''; position: absolute; top: 50%; width: 5px; height: 5px; border-top: 1px solid var(--oro-2); border-left: 1px solid var(--oro-2); }
.ba-handle span::before { left: 9px; transform: translateY(-50%) rotate(-45deg); }
.ba-handle span::after { right: 9px; transform: translateY(-50%) rotate(135deg); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 12px; background: rgba(250, 248, 243, .88); color: var(--texto); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 9px; pointer-events: none; }
.ba-tag-l { left: 12px; }
.ba-tag-r { right: 12px; }
.ba-video { position: relative; margin: 0; overflow: hidden; background: var(--oscuro); }
.ba-video video { width: 100%; height: 100%; object-fit: cover; }
.ba-video figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; background: linear-gradient(transparent, rgba(33, 31, 26, .7)); color: var(--hueso); font-family: var(--serif); font-style: italic; font-size: 17px; pointer-events: none; }
.ba-sound { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(250, 248, 243, .88); color: var(--texto); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; }
.caso-label { max-width: 820px; margin: 0 auto 14px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--texto); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.caso-label span { font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0; color: var(--oro-2); }
.caso-label em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--texto-2); font-size: 12px; font-weight: 300; }
.caso-label + .caso2, .nota + .caso-label { margin-top: 0; }
.resultados .nota + .caso-label { margin-top: 56px; }
.caso2 { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.caso2-video { aspect-ratio: 9 / 16; }
.caso2-text h3 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 14px; }
.caso2-text p { color: var(--texto-2); font-size: 14.5px; }
.caso2-text .nota { text-align: left; margin: 0 0 24px; }
.nota { font-size: 12px; color: var(--texto-2); max-width: 820px; margin: 18px auto 0; text-align: center; }

/* ---------- nuestro espacio ---------- */
.espacio { background: var(--crema); }
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(200px, 270px)); gap: 14px; }
.g-item { overflow: hidden; position: relative; display: block; width: 100%; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.g-b { grid-column: 3 / 5; }
.g-c { grid-column: 3; }
.g-d { grid-column: 4; }
.g-e { display: none; }

/* ---------- nosotros ---------- */
.nosotros { background: var(--hueso); overflow: hidden; }
.nosotros-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.nosotros-img { margin: 0; position: relative; aspect-ratio: 4 / 5; }
.nosotros-img::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--oro-2); opacity: .6; }
.nosotros-img img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.nosotros h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 34px; }
.pilares { list-style: none; padding: 0; margin: 0 0 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.pilar { display: flex; gap: 16px; }
.pilar-ico { width: 40px; height: 40px; flex-shrink: 0; color: var(--oro-2); }
.pilar-ico svg { width: 100%; height: 100%; }
.pilar h3 { font-size: 22px; margin-bottom: 6px; }
.pilar p { font-size: 13.5px; color: var(--texto-2); margin: 0; }

/* ---------- ubicación ---------- */
.ubicacion { background: var(--blanco); }
.ubic-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; border: 1px solid var(--linea); }
.ubic-info { padding: clamp(32px, 5vw, 60px); }
.ubic-info h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 28px; }
address { font-style: normal; display: flex; gap: 14px; color: var(--texto-2); margin-bottom: 26px; }
.u-ico { width: 24px; height: 24px; color: var(--oro-2); flex-shrink: 0; margin-top: 3px; }
.ubic-dl { margin: 0 0 32px; display: grid; gap: 14px; }
.ubic-dl div { display: grid; grid-template-columns: 90px 1fr; border-top: 1px solid var(--linea); padding-top: 14px; }
.ubic-dl dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-2); padding-top: 4px; }
.ubic-dl dd { margin: 0; color: var(--texto); }
.ubic-dl a:hover { color: var(--oro-2); }
.ubic-map { min-height: 420px; background: var(--crema); }
.map-alt { display: grid; place-items: center; height: 100%; min-height: 420px; background: linear-gradient(rgba(33, 31, 26, .38), rgba(33, 31, 26, .38)), url(../assets/images/espacio/entrada.jpg) center / cover; color: var(--hueso); text-align: center; padding: 24px; }
.map-alt span { display: block; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.ubic-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35) sepia(.15); }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; background: radial-gradient(ellipse at 30% 20%, #4a3b1d 0%, #2b251a 45%, var(--oscuro) 100%); color: var(--hueso); text-align: center; padding: clamp(80px, 10vw, 130px) 0; }
.liquid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.cta-in { position: relative; z-index: 1; max-width: 760px; }
.cta .eyebrow { color: var(--oro-claro); }
.cta .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.cta h2 { color: var(--hueso); font-size: clamp(36px, 5vw, 60px); margin-bottom: 18px; }
.cta h2 em { color: var(--oro-claro); }
.cta p { color: rgba(250, 248, 243, .78); margin-bottom: 34px; }

/* ---------- footer ---------- */
.footer { background: var(--oscuro); color: rgba(250, 248, 243, .7); font-size: 13.5px; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.footer-lema { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--oro-claro); }
.footer h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--oro); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--oro-claro); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(201, 162, 39, .4); border-radius: 50%; display: grid; place-items: center; color: var(--oro-claro); }
.footer-social a:hover { background: var(--oro); color: var(--oscuro); border-color: var(--oro); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(201, 162, 39, .2); padding-top: 22px; padding-bottom: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11.5px; color: rgba(250, 248, 243, .5); }
.footer-bottom p { margin: 0; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: var(--grad-oro); color: var(--oscuro); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(33, 31, 26, .55); transition: transform .35s var(--ease); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- páginas de servicio ---------- */
.s-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 90px); }
.s-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.crumb { font-size: 11.5px; letter-spacing: .1em; color: var(--texto-2); margin-bottom: 30px; }
.crumb a:hover { color: var(--oro-2); }
.crumb span { color: var(--oro-2); margin: 0 6px; }
.s-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; margin-bottom: 18px; }
.s-intro { color: var(--texto-2); max-width: 520px; margin-bottom: 30px; }
.s-hero-img { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(33, 31, 26, .5); max-width: 440px; justify-self: end; width: 100%; }
.s-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.tratlist { background: var(--blanco); }
.trat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--linea); scroll-margin-top: 100px; }
.trat:first-child { padding-top: 0; }
.trat:last-child { border-bottom: 0; padding-bottom: 0; }
.trat:nth-child(even) .t-img { order: 2; }
.t-img { margin: 0; position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--hueso); }
.t-img img { width: 100%; height: 100%; object-fit: cover; }
.t-img.t-photo { aspect-ratio: 1; }
.t-ref { position: absolute; left: 12px; bottom: 12px; background: rgba(250, 248, 243, .9); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; }
.t-num { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff 0%, var(--crema) 70%); border: 1px solid var(--linea); }
.t-num span { font-family: var(--serif); font-style: italic; font-size: clamp(110px, 14vw, 180px); line-height: 1; background: var(--grad-oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-body h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 18px; }
.t-body p:not(.eyebrow) { color: var(--texto-2); max-width: 480px; }
.s-cta { background: var(--crema); text-align: center; }
.s-cta-in { max-width: 720px; }
.s-cta h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.s-cta p { color: var(--texto-2); margin-bottom: 30px; }
.otros { background: var(--hueso); padding-top: 64px; padding-bottom: 64px; }
.otros .eyebrow.center { margin-bottom: 26px; }
.otros-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linea); }
.otro { display: flex; align-items: center; gap: 16px; padding: 26px 20px; border-bottom: 1px solid var(--linea); font-family: var(--serif); font-size: 24px; transition: background .3s; }
.otro + .otro { border-left: 1px solid var(--linea); }
.otro .cat-num { margin: 0; }
.otro .btn-ico { margin-left: auto; color: var(--oro-2); }
.otro:hover { background: var(--blanco); }
.otro:hover .btn-ico { transform: translateX(4px); }

/* ---------- panel lateral: agenda tu valoración ---------- */
.agenda { position: fixed; inset: 0; z-index: 400; }
.agenda[hidden] { display: none; }
.agenda-veil { position: absolute; inset: 0; background: rgba(33, 31, 26, .45); opacity: 0; transition: opacity .4s var(--ease); }
.agenda-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(460px, 100%); background: var(--hueso); box-shadow: 30px 0 80px -30px rgba(33, 31, 26, .5); padding: 22px clamp(20px, 4vw, 36px) 28px; overflow-y: auto; transform: translateX(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
.agenda.is-open .agenda-veil { opacity: 1; }
.agenda.is-open .agenda-panel { transform: none; }
.agenda-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--linea); }
.agenda-head img { height: 48px; width: auto; }
.agenda-close { width: 42px; height: 42px; font-size: 30px; font-weight: 200; line-height: 1; color: var(--texto); }
.agenda-close:hover { color: var(--oro-2); }
.agenda-panel .eyebrow { margin-bottom: 12px; }
.agenda-panel h2 { font-size: 34px; margin-bottom: 10px; }
.agenda-sub { font-size: 13.5px; color: var(--texto-2); margin-bottom: 22px; }
.agenda-list { border-top: 1px solid var(--linea); }
.ag-cat { border-bottom: 1px solid var(--linea); }
.ag-cat summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 4px; cursor: pointer; }
.ag-cat summary::-webkit-details-marker { display: none; }
.ag-num { font-family: var(--serif); font-style: italic; color: var(--oro-2); font-size: 17px; }
.ag-cat-name { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--texto); flex: 1; }
.ag-cat[open] .ag-cat-name { color: var(--oro-2); }
.ag-chev { width: 9px; height: 9px; border-right: 1.3px solid var(--oro-2); border-bottom: 1.3px solid var(--oro-2); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.ag-cat[open] .ag-chev { transform: rotate(-135deg) translateY(-2px); }
.ag-cat summary:hover .ag-cat-name { color: var(--oro-2); }
.ag-cat ul { list-style: none; margin: 0 0 14px; padding: 0; background: var(--blanco); border: 1px solid var(--linea); }
.ag-row { position: relative; border-top: 1px solid var(--linea); }
.ag-row:first-child { border-top: 0; }
.ag-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 26px; transition: background .3s; }
.ag-item:hover { background: var(--hueso); }
.ag-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--texto); }
.ag-go { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-2); white-space: nowrap; }
.ag-go .btn-ico { width: 15px; height: 15px; }
.ag-item:hover .btn-ico { transform: translateX(4px); }
.ag-info { position: absolute; left: 18px; bottom: 8px; font-size: 11.5px; color: var(--texto-2); text-decoration: underline; text-underline-offset: 3px; }
.ag-info:hover { color: var(--oro-2); }
.ag-general { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 18px 20px; background: var(--grad-oro); color: var(--oscuro); font-size: 12.5px; }
.ag-general b { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; margin-top: 2px; }
.ag-general:hover { background: var(--oscuro); color: var(--oro-claro); }
.agenda-foot { margin: auto 0 0; padding-top: 22px; font-size: 11.5px; color: var(--texto-2); text-align: center; }
body.agenda-open { overflow: hidden; }
/* panel derecho: menú de tratamientos y ubicación */
.agenda--right .agenda-panel { left: auto; right: 0; transform: translateX(100%); box-shadow: -30px 0 80px -30px rgba(33, 31, 26, .5); }
.agenda--right.is-open .agenda-panel { transform: none; }
.mn-sec h2 { font-size: 34px; margin-bottom: 18px; }
.mn-list { list-style: none; margin: 0 0 14px; padding: 6px 0; background: var(--blanco); border: 1px solid var(--linea); }
.mn-item { display: flex; align-items: center; gap: 14px; padding: 10px 14px; transition: background .3s; }
.mn-item:hover { background: var(--hueso); }
.mn-thumb { width: 56px; height: 56px; flex-shrink: 0; overflow: hidden; border-radius: 50%; border: 1px solid var(--linea); display: grid; place-items: center; background: var(--crema); }
.mn-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mn-ini { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--oro-2); }
.mn-txt { min-width: 0; }
.mn-name { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--texto); }
.mn-desc { display: block; font-size: 12px; color: var(--texto-2); line-height: 1.5; margin-top: 2px; }
.mn-item:hover .mn-name { color: var(--oro-2); }
.mn-all { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-2); border-top: 1px solid var(--linea); margin-top: 4px; }
.mn-all .btn-ico { width: 15px; height: 15px; }
.mn-all:hover .btn-ico { transform: translateX(4px); }
.mn-links { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; border-top: 1px solid var(--linea); }
.mn-links a { padding: 14px 4px; border-bottom: 1px solid var(--linea); font-family: var(--serif); font-size: 19px; color: var(--texto); transition: color .3s; }
.mn-links a:nth-child(odd) { border-right: 1px solid var(--linea); }
.mn-links a:nth-child(even) { padding-left: 16px; }
.mn-links a:hover { color: var(--oro-2); }
.mn-ubic { scroll-margin-top: 20px; }
.mn-photo { margin: 0 0 18px; aspect-ratio: 16 / 9; overflow: hidden; }
.mn-photo img { width: 100%; height: 100%; object-fit: cover; }
.mn-ubic address { margin-bottom: 16px; font-size: 14px; }
.mn-ubic .ubic-dl { margin-bottom: 20px; font-size: 14px; }
.mn-btn { width: 100%; }
.mn-foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--linea); display: grid; gap: 18px; justify-items: center; }
.mn-social { margin-top: 0; }
.mn-social a { color: var(--oro-2); border-color: var(--linea); }
.mn-social a:hover { background: var(--oro); color: var(--blanco); }

/* ---------- animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .scrolly { height: auto; }
  .scrolly-pin { position: relative; height: 92vh; }
  .sc { opacity: 0 !important; }
  .sc.sc-final { opacity: 1 !important; transform: none; pointer-events: auto; }
  .scrolly-ui { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =================== responsive =================== */
@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .redes-links { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-cta { display: none; }
  .nav, .nav.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--hueso); }
  .nav-toggle { display: block; }
  .nav-links { display: none !important; }
  .nav-links {
    position: fixed; inset: 0; top: var(--nav-h, 70px); background: var(--hueso); flex-direction: column; align-items: stretch;
    gap: 0; padding: 18px var(--pad) 40px; overflow-y: auto; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s, transform .35s var(--ease), visibility .35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-a { font-family: var(--serif); font-size: 30px; text-transform: none; letter-spacing: 0; padding: 14px 0; border-bottom: 1px solid var(--linea); display: block; }
  .nav-a::after { display: none; }
  .drop { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 4px 0 10px; }
  .drop::before { display: none; }
  .nav-item:hover .drop { transform: none; }
  .drop-link { padding: 10px 0 10px 4px; }
  .drop-desc { display: none; }
  .drop-title { font-size: 19px; }
  .nav-mobile-cta { display: inline-flex; margin-top: 28px; }
  body.menu-open { overflow: hidden; }

  .hero-grid, .s-hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; width: min(86%, 420px); margin-top: 18px; }
  .seal { left: -34px; width: 112px; height: 112px; }
  .s-hero-img { justify-self: center; max-width: 300px; }
  .sec-head.split { grid-template-columns: 1fr; gap: 16px; }
  .sec-intro { justify-self: start; }
  .concerns { grid-template-columns: 1fr; gap: 22px; }
  .pasos { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .pasos::before { display: none; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-video { aspect-ratio: 9 / 16; width: min(100%, 240px); justify-self: center; }
  .galeria { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .g-item { aspect-ratio: 1; height: auto; }
  .g-a { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 3 / 2; }
  .g-b, .g-c, .g-d, .g-e { grid-column: auto; display: block; }
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-img { max-width: 420px; aspect-ratio: 4 / 4.4; }
  .ubic-grid { grid-template-columns: 1fr; }
  .ubic-map, .ubic-map iframe, .map-alt { min-height: 300px; }
  .trat { grid-template-columns: 1fr; gap: 26px; }
  .trat:nth-child(even) .t-img { order: 0; }
  .otros-grid { grid-template-columns: 1fr; }
  .otro + .otro { border-left: 0; }
}

@media (max-width: 640px) {
  .scrolly { height: 360vh; }
  .scrolly-shade { background: linear-gradient(0deg, rgba(33, 31, 26, .78) 0%, rgba(33, 31, 26, .35) 50%, rgba(33, 31, 26, .1) 100%); }
  .scrolly-text { align-items: end; padding-bottom: 140px; }
  .sc p { font-size: 15.5px; }
  .sc-final img { width: 150px; }
  .sc-actions .btn { width: 100%; }
  .scrolly-ui { bottom: 22px; }
  body { font-size: 15px; }
  .topbar { font-size: 10.5px; }
  .topbar .t-hide { display: none; }
  .nav-in { height: 70px; gap: 16px; }
  .nav-logo img { height: 48px; }
  .hero h1 { font-size: 44px; }
  .hero-actions { gap: 22px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 14px 22px; margin-top: 34px; padding-top: 24px; }
  .redes-links a { border-left: 0; }
  .cb-card { height: 230px; }
  .cats { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .paso { padding: 0 4px; }
  .paso-num { width: 56px; height: 56px; font-size: 22px; margin-bottom: 18px; }
  .paso h3 { font-size: 22px; }
  .paso p { font-size: 13px; }
  .seal { left: -14px; bottom: 30px; width: 100px; height: 100px; }
  .seal img { width: 38px; }
  .redes-links { grid-template-columns: repeat(4, 1fr); }
  .redes-links a { flex-direction: column; text-align: center; gap: 8px; padding: 4px; }
  .redes-links a span:last-child { font-size: 0; }
  .redes-links b { font-size: 9.5px; letter-spacing: .14em; }
  .redes-in { flex-direction: row; align-items: center; }
  .redes-label { display: none; }
  .pilares { grid-template-columns: 1fr; gap: 24px; }
  .chip { font-size: 12.5px; padding: 9px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .ba-tag { font-size: 8px; padding: 4px 7px; top: 8px; }
  .ba-tag-l { left: 8px; } .ba-tag-r { right: 8px; }
}

@media (max-width: 760px) {
  .caso2 { grid-template-columns: 1fr; }
  .caso2-video { width: min(100%, 250px); justify-self: center; }
  .caso2-text { text-align: center; }
  .caso2-text .nota { text-align: center; }
}
