/* ==========================================================================
   Carol Sánchez · Osteopatía & PNI — hoja de estilos
   Paleta corporativa:
   Crema suave #F6F1E7 · Verde musgo #5A7F54 · Ocre sabio #C89B3C · Grafito #2C2C2C
   ========================================================================== */
:root {
  --cream: #F6F1E7;
  --cream-2: #EDE5D3;          /* crema oscurecida: líneas y bordes */
  --cream-3: #E3D9C2;
  --white: #ffffff;
  --moss: #5A7F54;             /* botones principales */
  --moss-d: #476541;
  --moss-soft: #A9BEA4;        /* verde musgo suave */
  --moss-tint: #E8EEE3;
  --ocre: #C89B3C;             /* títulos destacados / hover */
  --ocre-d: #8F6A1B;           /* ocre oscuro para textos pequeños (contraste AA) */
  --ocre-l: #E4C581;
  --ink: #2C2C2C;              /* grafito: texto corriente */
  --ink-2: #5b5b57;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(44, 44, 44, .18);
  --shadow-lg: 0 30px 60px -25px rgba(44, 44, 44, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font-h: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-b: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 82px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss-d); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s; }
a:hover { color: var(--ocre-d); }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--moss); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
.icon { flex: none; vertical-align: -.2em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); margin-inline: auto; }

/* Titulares destacados en ocre sabio */
.h-display { font-size: clamp(2.7rem, 6.4vw, 5.2rem); color: var(--ocre); font-weight: 700; line-height: 1.04; }
.h-section { font-size: clamp(2.1rem, 4.2vw, 3.3rem); color: var(--ocre); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ocre-d); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 34px; height: 1.5px; background: var(--ocre); transform-origin: left; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--white { background: var(--white); }
.section--moss { background: var(--moss); color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.divider { height: 1px; background: var(--cream-2); border: 0; margin: 0; }

/* ---------- Botones ---------- */
.btn { --bg: var(--moss); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.7em; font: 500 1rem/1 var(--font-b); letter-spacing: .02em; color: var(--fg); background: var(--bg); border: 1.5px solid var(--bg); border-radius: 999px; cursor: pointer; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); z-index: -1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(90,127,84,.7); }
.btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn:active { transform: translateY(0); }
.btn--primary { color: #fff; }
.btn--primary:hover { --bg: var(--ocre); color: #fff; border-color: var(--ocre); box-shadow: 0 14px 26px -12px rgba(200,155,60,.8); }
.btn--secondary { --bg: var(--ocre); }
.btn--secondary:hover { --bg: var(--moss); }
.btn--outline { background: transparent; color: var(--moss-d); border-color: var(--moss); }
.btn--outline:hover { background: var(--ocre); border-color: var(--ocre); color: #fff; }
.btn--light { --bg: #fff; --fg: var(--moss-d); border-color: #fff; }
.btn--light:hover { --bg: var(--ocre); --fg: #fff; border-color: var(--ocre); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: #fff; color: var(--moss-d); border-color: #fff; }
.btn--sm { padding: .75em 1.25em; font-size: .93rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 500; text-decoration: none; color: var(--moss-d); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Barra de progreso, header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--moss), var(--ocre)); z-index: 200; }
.nav { position: sticky; top: 0; z-index: 100; background: rgba(246, 241, 231, .88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s, background .35s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .94); border-color: var(--cream-2); box-shadow: 0 8px 24px -16px rgba(44,44,44,.25); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; transition: height .35s var(--ease); }
.nav.is-scrolled .nav__in { height: 68px; }
.nav__logo img { height: 54px; width: auto; transition: height .35s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 46px; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding: 6px 0; }
.nav__links > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ocre); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links > a:not(.btn):hover::after, .nav__links > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links > a:not(.btn):hover { color: var(--ocre-d); }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-open { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; }
.blob--a { width: 460px; height: 460px; background: #e3ecd9; top: -120px; left: -120px; }
.blob--b { width: 380px; height: 380px; background: #f0dfb4; bottom: -100px; right: 8%; animation-delay: -5s; }
.leaf { position: absolute; color: var(--moss); opacity: .13; animation: sway 9s ease-in-out infinite; transform-origin: 50% 100%; }
.leaf--1 { width: 120px; top: 14%; left: 46%; animation-delay: -2s; }
.leaf--2 { width: 80px; top: 62%; left: 4%; animation-delay: -6s; color: var(--ocre); opacity: .2; }
.leaf--3 { width: 150px; bottom: 6%; right: 2%; animation-delay: -4s; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__text .lead { margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--cream-3); font-size: .95rem; color: var(--ink-2); }
.hero__trust span { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust .icon { color: var(--moss); }
.hero__media { position: relative; justify-self: center; width: min(520px, 100%); }
.hero__arch { position: relative; border-radius: 280px 280px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--cream-2); border: 8px solid #fff; }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); animation: kenburns 18s ease-in-out infinite alternate; }
.hero__ring { position: absolute; inset: -22px; border: 1.5px solid var(--ocre-l); border-radius: 300px 300px 40px 40px; z-index: -1; animation: ring 7s ease-in-out infinite; }
.chip-float { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.chip-float b { display: block; font-size: 1.05rem; }
.chip-float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--moss-tint); color: var(--moss); }
.chip-float--1 { left: -34px; bottom: 16%; }
.chip-float--2 { right: -22px; top: 10%; animation-delay: -3s; }
.chip-float--2 .ic { background: #f6ecd0; color: var(--ocre-d); }

/* ---------- Marquee ---------- */
.marquee { background: var(--moss); color: #fff; overflow: hidden; padding: 18px 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--font-h); font-size: 1.45rem; font-weight: 600; white-space: nowrap; }
.marquee__item i { color: var(--ocre-l); font-style: normal; font-size: 1rem; }

/* ---------- Enfoque (cards) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--white); border: 1px solid var(--cream-2); border-radius: var(--radius-lg); padding: 34px 30px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.pillar::before { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--moss), var(--ocre)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__ic { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--moss-tint); color: var(--moss); margin-bottom: 22px; transition: transform .5s var(--ease), background .3s, color .3s; }
.pillar:hover .pillar__ic { transform: rotate(-8deg) scale(1.08); background: var(--moss); color: #fff; }
.pillar h3 { font-size: 1.7rem; color: var(--moss-d); }
.pillar p { color: var(--ink-2); margin: 0; }

/* ---------- Servicios ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--cream-2); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .55s var(--ease), box-shadow .55s var(--ease); height: 100%; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: inherit; }
.card__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__img img { transform: scale(1.09); }
.card__tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--moss-d); font-size: .76rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.card__price { position: absolute; right: 14px; bottom: -1px; background: var(--moss); color: #fff; padding: 8px 18px; border-radius: 16px 16px 0 0; font-family: var(--font-h); font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.6rem; color: var(--ink); margin-bottom: .4em; transition: color .3s; }
.card:hover .card__body h3 { color: var(--ocre-d); }
.card__body p { color: var(--ink-2); font-size: .98rem; margin-bottom: 1.2rem; }
.card__more { margin-top: auto; color: var(--moss-d); font-weight: 500; display: inline-flex; gap: .45em; align-items: center; }
.card__more .icon { transition: transform .3s var(--ease); }
.card:hover .card__more .icon { transform: translateX(6px); }
.card__meta { font-size: .85rem; color: var(--ink-2); margin-bottom: .5rem; display: flex; gap: 14px; }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about__img--small { position: absolute; width: 46%; right: -8%; bottom: -8%; aspect-ratio: 1; border: 7px solid var(--cream); border-radius: 24px; }
.about__img--small img { object-position: 50% 50%; }
.about__text .h-section { margin-bottom: .6em; }
.about__text blockquote { margin: 1.6rem 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ocre); font-family: var(--font-h); font-size: 1.55rem; font-style: italic; color: var(--moss-d); line-height: 1.3; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2rem 0 2.2rem; }
.stat { text-align: center; padding: 18px 10px; border: 1px solid var(--cream-3); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.stat b { display: block; font-family: var(--font-h); font-size: 2.6rem; color: var(--ocre); line-height: 1; }
.stat span { font-size: .85rem; color: var(--ink-2); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--moss-soft) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step__n { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: var(--cream); border: 2px solid var(--moss); display: grid; place-items: center; font-family: var(--font-h); font-size: 2rem; font-weight: 700; color: var(--moss-d); transition: transform .5s var(--ease), background .3s, color .3s; }
.step:hover .step__n { background: var(--moss); color: #fff; transform: scale(1.12) rotate(8deg); }
.step h3 { font-size: 1.45rem; }
.step p { font-size: .97rem; color: var(--ink-2); margin: 0; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px; }
.gallery--page { grid-auto-rows: 240px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: var(--cream-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after { content: attr(data-title); position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(44,44,44,.7)); color: #fff; font-size: .9rem; text-align: left; opacity: 0; transform: translateY(10px); transition: .4s var(--ease); }
.gallery__item:hover::after { opacity: 1; transform: none; }
.gallery__item:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.lightbox { position: fixed; inset: 0; background: rgba(30,30,28,.92); z-index: 500; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; animation: fade .3s; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.lightbox button:hover { background: var(--ocre); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Opiniones ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--cream-2); border-radius: var(--radius-lg); padding: 30px; position: relative; transition: transform .5s var(--ease), box-shadow .5s; }
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi::before { content: '“'; position: absolute; top: 4px; right: 22px; font: 700 6rem/1 var(--font-h); color: var(--ocre-l); opacity: .5; }
.stars { color: var(--ocre); display: flex; gap: 2px; margin-bottom: 14px; }
.stars .icon { fill: currentColor; }
.testi p { color: var(--ink-2); font-size: 1.02rem; }
.testi b { font-family: var(--font-h); font-size: 1.25rem; }

/* ---------- Blog ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--cream-3); background: #fff; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; transition: .3s var(--ease); }
.chip:hover { border-color: var(--ocre); color: var(--ocre-d); transform: translateY(-2px); }
.chip.is-active { background: var(--moss); border-color: var(--moss); color: #fff; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 54px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--cream-3); background: #fff; text-decoration: none; color: var(--ink); font-weight: 500; padding: 0 12px; transition: .3s; }
.pagination a:hover { border-color: var(--ocre); color: var(--ocre-d); }
.pagination .is-current { background: var(--moss); border-color: var(--moss); color: #fff; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-head { padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); background: linear-gradient(180deg, #fff, var(--cream)); border-bottom: 1px solid var(--cream-2); position: relative; overflow: hidden; }
.page-head .leaf { opacity: .1; }
.page-head h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); color: var(--ocre); max-width: 18ch; margin-bottom: .3em; }
.page-head--wide h1 { max-width: 26ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-head p { max-width: 60ch; color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ocre-d); }

/* ---------- Detalle servicio / artículo ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.detail__cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--cream-2); }
.detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.8em 0 .5em; color: var(--ocre-d); }
.prose h3 { font-size: 1.55rem; margin: 1.6em 0 .4em; color: var(--moss-d); }
.prose h4 { font-size: 1.25rem; margin: 1.4em 0 .3em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose ol { counter-reset: li; }
.prose li { position: relative; padding-left: 34px; margin-bottom: .6em; }
.prose ul li::before { content: ''; position: absolute; left: 6px; top: .62em; width: 10px; height: 10px; border-radius: 0 70% 0 70%; background: var(--moss); transform: rotate(-20deg); }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 50%; background: var(--moss-tint); color: var(--moss-d); font-size: .8rem; font-weight: 600; display: grid; place-items: center; }
.prose a { color: var(--moss-d); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--moss-tint); border-left: 4px solid var(--moss); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-h); font-size: 1.4rem; font-style: italic; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.5em auto; box-shadow: var(--shadow); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .97rem; }
.prose th, .prose td { border: 1px solid var(--cream-3); padding: 10px 14px; text-align: left; }
.prose th { background: var(--moss-tint); }
.side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 20px; }
.box { background: #fff; border: 1px solid var(--cream-2); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.box--moss { background: var(--moss); color: #fff; border-color: var(--moss); }
.box--moss h3 { color: #fff; }
.box h3 { font-size: 1.5rem; }
.price-big { font-family: var(--font-h); font-size: 3.4rem; font-weight: 700; color: var(--ocre); line-height: 1; }
.price-big small { font-size: 1rem; color: var(--ink-2); font-family: var(--font-b); font-weight: 400; margin-left: 6px; }
.checks { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.checks .icon { color: var(--moss); margin-top: .2em; }
.box--moss .checks .icon { color: var(--ocre-l); }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .92rem; margin-top: 1.2rem; }
.meta-line span { display: inline-flex; gap: .45em; align-items: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--cream-2); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--moss-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 500; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(45deg); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -4px; }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink-2); animation: fadeDown .45s var(--ease); }

/* ---------- Formulario ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--cream-3); border-radius: 14px; padding: 14px 16px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(90,127,84,.15); }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--moss); flex: none; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-weight: 500; }
.alert--ok { background: var(--moss-tint); color: var(--moss-d); border: 1px solid var(--moss-soft); }
.alert--err { background: #f8e4e0; color: #8a2a1c; border: 1px solid #e5b8b0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--moss-tint); color: var(--moss); display: grid; place-items: center; }
.info-list b { display: block; font-family: var(--font-h); font-size: 1.25rem; line-height: 1.2; }
.info-list a { color: var(--ink); text-decoration: none; }
.info-list a:hover { color: var(--ocre-d); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--cream-2); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--moss); color: #fff; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-band::before { width: 380px; height: 380px; left: -100px; top: -160px; }
.cta-band::after { width: 300px; height: 300px; right: -60px; bottom: -150px; background: rgba(200,155,60,.18); }
.cta-band__in { position: relative; z-index: 1; padding: clamp(46px, 6vw, 76px) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: .3em; max-width: 22ch; }
.cta-band p { margin: 0; opacity: .92; max-width: 52ch; font-size: 1.1rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.footer { background: #fff; border-top: 1px solid var(--cream-2); padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; }
.footer__brand img { width: 220px; margin-bottom: 18px; }
.footer__brand p { color: var(--ink-2); font-size: .97rem; max-width: 34ch; }
.footer h3 { font-size: 1.35rem; color: var(--moss-d); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .97rem; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--ocre-d); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--moss); margin-top: .25em; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--cream-3); display: grid; place-items: center; color: var(--moss-d); transition: .35s var(--ease); }
.social a:hover { background: var(--ocre); border-color: var(--ocre); color: #fff; transform: translateY(-4px); }
.footer__bottom { margin-top: 54px; padding: 22px 0; border-top: 1px solid var(--cream-2); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: .88rem; color: var(--ink-2); }
.footer__legal { display: flex; gap: 22px; }

/* ---------- Flotantes ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; width: 62px; height: 62px; border-radius: 50%; background: #25a55a; color: #fff; display: grid; place-items: center; z-index: 90; box-shadow: 0 12px 28px -8px rgba(37,165,90,.7); transition: transform .35s var(--ease); }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25a55a; animation: pulse 2.4s ease-out infinite; }
.fab-wa:hover { transform: scale(1.1) rotate(-6deg); color: #fff; }
.to-top { position: fixed; right: 30px; bottom: 98px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ocre); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 90; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .4s var(--ease); box-shadow: var(--shadow); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--moss); }
.cookie { position: fixed; left: 20px; bottom: 20px; max-width: 420px; background: #fff; border: 1px solid var(--cream-3); border-radius: 18px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; z-index: 120; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.45; animation: rise .6s var(--ease); }
.cookie p { margin: 0; }
.cookie[hidden] { display: none; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(.94); }
.reveal.is-in { opacity: 1; transform: none; }
.eyebrow.reveal::before { transform: scaleX(0); transition: transform .9s var(--ease) .3s; }
.eyebrow.reveal.is-in::before { transform: scaleX(1); }
.hero-in > * { opacity: 0; transform: translateY(28px); animation: heroIn .95s var(--ease) forwards; }
.hero-in > *:nth-child(1) { animation-delay: .1s; } .hero-in > *:nth-child(2) { animation-delay: .22s; }
.hero-in > *:nth-child(3) { animation-delay: .36s; } .hero-in > *:nth-child(4) { animation-delay: .5s; } .hero-in > *:nth-child(5) { animation-delay: .64s; }
.hero__media { animation: heroMedia 1.2s var(--ease) .2s both; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 24px) scale(1.08); } }
@keyframes sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(9deg) translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.035); opacity: .45; } }
@keyframes kenburns { to { transform: scale(1.18) translate(-1.5%, -1%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .detail { grid-template-columns: 1fr; }
  .side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-cards, .testis { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .steps::before { display: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 26px; border-bottom: 1px solid var(--cream-2); box-shadow: 0 30px 40px -20px rgba(44,44,44,.3); transform: translateY(-16px); opacity: 0; visibility: hidden; transition: .4s var(--ease); max-height: calc(100vh - var(--nav-h)); overflow: auto; }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links > a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--cream-2); font-size: 1.1rem; }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; padding: 1em; }
  .hero__grid, .about, .contact, .pillars { grid-template-columns: 1fr; }
  .hero__media { order: -1; width: min(380px, 86%); }
  .chip-float--1 { left: -12px; } .chip-float--2 { right: -8px; }
  .about__img--small { right: 4%; }
  .pillars { gap: 18px; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .grid-cards, .testis, .form__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__item:nth-child(1) { grid-column: span 2; } .gallery__item:nth-child(4) { grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .stats { gap: 10px; } .stat b { font-size: 2rem; }
  .cookie { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; }
  .fab-wa { right: 14px; bottom: 14px; width: 56px; height: 56px; } .to-top { right: 22px; bottom: 82px; }
  .chip-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in > *, .hero__media { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* Números modernos (lining) en la tipografía serif */
.step__n, .stat b, .card__price, .price-big, .h-display, .h-section, .bars b { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
