/* ==========================================================================
   RAMA cuerpo y piel — Sistema de diseño
   Sitio estático. Sin dependencias externas en tiempo de ejecución.
   ========================================================================== */

/* ---------- Fuentes autoalojadas ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-300-normal.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #241f1a;
  --ink-soft: #3d342c;
  --muted: #6f6256;
  --cream: #f7f2ea;
  --cream-2: #efe5d7;
  --sand: #e2d2bf;
  --white: #fffdf9;
  --gold: #a67c43;
  --gold-deep: #8a6533;
  --gold-soft: #cdb08a;
  --sage: #6e7a63;
  --line: rgba(36, 31, 26, .14);
  --line-soft: rgba(36, 31, 26, .08);
  --shadow: 0 24px 60px -30px rgba(36, 31, 26, .45);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --header-h: 88px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.06; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-soft); color: #1b1713; }

/* ---------- Grano de papel ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------- Utilidades ---------- */
.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  transform: translateY(-160%);
  background: var(--ink); color: var(--cream);
  padding: .8rem 1.4rem; border-radius: 999px;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.gold { color: var(--gold); }

.section { padding: clamp(4rem, 7.5vw, 7rem) 0; position: relative; }
section[id], article[id] { scroll-margin-top: 100px; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--ink); color: rgba(247, 242, 234, .78); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--sand { background: var(--cream-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; margin-bottom: 1.3rem; }
.section-head p { font-size: 1.02rem; color: var(--muted); max-width: 38rem; }
.section-head--center p { margin-inline: auto; }
.section--dark .section-head p, .section--dark .lead { color: rgba(247, 242, 234, .62); }
.section--dark .eyebrow { color: var(--gold-soft); }

.lead { font-size: 1.06rem; color: var(--muted); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: 0 1.9rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg); border-radius: 999px;
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #fff; }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(36, 31, 26, .3); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); border-color: rgba(247, 242, 234, .5); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold-deep); border-color: var(--gold-soft); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(247, 242, 234, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  height: 72px;
  box-shadow: 0 10px 30px -24px rgba(36, 31, 26, .5);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .18em; color: var(--ink); padding-left: .12em; }
.brand__sub { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; padding-left: .16em; }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  position: relative; font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft);
  padding: .4rem 0; transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: .8rem; }
.header .btn { min-height: 44px; padding: 0 1.4rem; font-size: .7rem; }
.header__phone { font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .5rem; }
.header__phone svg { width: 14px; height: 14px; color: var(--gold); }

.burger {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--ink);
}
.burger span { display: block; width: 18px; height: 1px; background: currentColor; position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor; transition: .3s var(--ease);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Drawer móvil ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 950;
  background: var(--cream); color: var(--ink);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  transform: translateY(-102%); transition: transform .5s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.drawer__close { width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: 50%; display: grid; place-items: center; }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__nav { display: flex; flex-direction: column; gap: .2rem; }
.drawer__nav a {
  font-family: var(--serif); font-size: 2rem; padding: .55rem 0; color: var(--ink);
  border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: baseline;
}
.drawer__nav a span { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; color: var(--gold); }
.drawer__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.drawer__foot .btn { width: 100%; }
.drawer__meta { font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 82% 20%, rgba(226, 210, 191, .85), transparent 70%),
    radial-gradient(45% 50% at 8% 90%, rgba(205, 176, 138, .22), transparent 70%),
    var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__eyebrow { margin-bottom: 1.8rem; }
.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: 1.9rem;
}
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero__text { max-width: 31rem; font-size: 1.06rem; line-height: 1.8; color: var(--muted); margin-bottom: 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

.hero__art { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36, 31, 26, .02) 40%, rgba(36, 31, 26, .22) 100%);
}
.hero__outline {
  position: absolute; inset: -14px; z-index: -1;
  border: 1px solid rgba(166, 124, 67, .4);
  border-radius: 999px 999px 4px 4px;
}
.hero__badge {
  position: absolute; left: -1.6rem; bottom: 3rem;
  background: var(--cream); border: 1px solid var(--line);
  padding: 1.05rem 1.35rem; max-width: 12.5rem;
  box-shadow: 0 18px 40px -28px rgba(36, 31, 26, .6);
}
.hero__badge strong { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--gold-deep); }
.hero__badge span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .45rem; line-height: 1.5; }
.hero__leaf {
  position: absolute; right: -3.5rem; top: -3rem; width: 14rem; color: var(--gold); opacity: .28; z-index: -1;
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line-soft); background: rgba(255, 253, 249, .45); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.55rem 1.6rem; border-left: 1px solid var(--line-soft);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.trust__item span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Manifiesto ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split__art { position: relative; }
.split__art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; filter: saturate(.92) brightness(.99); }

.split__art--arch img { aspect-ratio: 4 / 5; border-radius: 999px 999px 2px 2px; }
.split__art::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid rgba(166, 124, 67, .35);
}
.split__caption {
  position: absolute; right: -1.2rem; bottom: -1.2rem;
  background: var(--ink); color: var(--cream);
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .8rem 1.1rem;
}
.split h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 1.6rem; }
.split p + p { margin-top: 1rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; color: var(--gold-deep); font-weight: 500; }
.stat span { display: block; margin-top: .5rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Tratamientos ---------- */
.treat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.treat {
  position: relative;
  background: var(--cream);
  padding: clamp(1.8rem, 3.2vw, 2.9rem);
  display: flex; flex-direction: column; gap: .9rem;
  transition: background .45s var(--ease);
  min-height: 17rem;
}
.treat:hover { background: var(--white); }
.treat__num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.treat h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.treat p { font-size: .95rem; color: var(--muted); max-width: 26rem; }
.treat__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: 1.2rem; }
.tag {
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem;
}
.treat__link { position: absolute; inset: 0; }
.treat__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.treat:hover .treat__arrow { transform: translate(3px, -3px); color: var(--gold-deep); }
.treat__arrow { position: absolute; top: 2rem; right: 2rem; width: 20px; height: 20px; color: var(--muted); transition: .35s var(--ease); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3.6rem); counter-reset: step; }
.step { position: relative; padding-top: 1.8rem; border-top: 1px solid rgba(247, 242, 234, .22); }
.step__num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--gold-soft); line-height: 1; display: block; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.step p { font-size: .93rem; color: rgba(247, 242, 234, .64); }

/* ---------- Precios ---------- */
.price-card {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(1.8rem, 3.4vw, 3rem);
}
.price-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.price-card__head h3 { font-size: 1.55rem; }
.price-card__head span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.price-list { display: flex; flex-direction: column; }
.price-row {
  display: flex; align-items: baseline; gap: .8rem;
  padding: 1.05rem 0; border-bottom: 1px dotted rgba(36, 31, 26, .2);
}
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-size: .98rem; color: var(--ink); }
.price-row__dots { flex: 1; border-bottom: 1px dotted rgba(36, 31, 26, .22); margin: 0 .2rem .3rem; }
.price-row__val { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); white-space: nowrap; }
.price-row__val small { font-family: var(--sans); font-size: .62rem; letter-spacing: .1em; color: var(--muted); display: block; text-align: right; text-transform: uppercase; }
.price-note { margin-top: 1.4rem; font-size: .78rem; color: var(--muted); line-height: 1.6; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.plan {
  border: 1px solid var(--line); background: var(--white); padding: 2rem 1.8rem;
  display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.plan--featured { background: var(--ink); color: rgba(247, 242, 234, .74); border-color: var(--ink); }
.plan--featured h3, .plan--featured .plan__price { color: var(--cream); }
.plan__flag {
  position: absolute; top: -1px; right: 1.6rem; transform: translateY(-50%);
  background: var(--gold); color: #fff; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; padding: .35rem .7rem;
}
.plan h3 { font-size: 1.5rem; }
.plan__price { font-family: var(--serif); font-size: 2.3rem; color: var(--ink); line-height: 1; }
.plan__price small { font-size: .8rem; font-family: var(--sans); letter-spacing: .06em; color: var(--muted); }
.plan ul { display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li svg { width: 13px; height: 13px; margin-top: .35rem; color: var(--gold); flex: none; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  background: var(--white); border: 1px solid var(--line-soft);
  padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: 1.2rem;
}
.quote__stars { display: flex; gap: .2rem; color: var(--gold); }
.quote__stars svg { width: 13px; height: 13px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; color: var(--ink); }
.quote figcaption { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: auto; }
.quote figcaption span { color: var(--gold-deep); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--serif); font-size: 1.32rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: currentColor; transition: transform .3s var(--ease);
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 1px; }
.faq__icon::after { left: 8px; top: 0; width: 1px; height: 18px; }
.faq details[open] .faq__icon::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--gold-deep); }
.faq__answer { padding: 0 3rem 1.6rem 0; color: var(--muted); font-size: .96rem; max-width: 48rem; }
.faq__answer p + p { margin-top: .8rem; }

/* ---------- CTA band ---------- */
.band {
  position: relative; overflow: hidden; color: var(--cream);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  isolation: isolate;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(28, 24, 20, .78); z-index: -1; }
.band__inner { text-align: center; max-width: 46rem; margin-inline: auto; }
.band h2 { font-size: clamp(2.3rem, 5vw, 4rem); color: var(--cream); margin-bottom: 1.2rem; }
.band p { color: rgba(247, 242, 234, .72); max-width: 34rem; margin-inline: auto; margin-bottom: 2.2rem; }
.band__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; }

/* ---------- Contacto rápido / mapa ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.info-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.info-row { display: flex; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-row svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: .25rem; }
.info-row strong { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; font-weight: 500; }
.info-row span, .info-row a { font-size: 1rem; color: var(--ink); }
.info-row a { display: block; margin-top: .3rem; }
.info-row a:hover { color: var(--gold-deep); }
.map-frame {
  position: relative; min-height: 24rem; border: 1px solid var(--line);
  background-color: #e9ddcb;
  background-image:
    radial-gradient(circle at 50% 42%, rgba(166, 124, 67, .16), transparent 62%),
    repeating-linear-gradient(0deg, rgba(36, 31, 26, .055) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(36, 31, 26, .055) 0 1px, transparent 1px 48px);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; filter: sepia(.18) saturate(.8); }
.map-fallback { position: absolute; inset: auto 1rem 1rem 1rem; background: var(--cream); border: 1px solid var(--line); padding: .8rem 1rem; font-size: .8rem; }

/* ---------- Formulario ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 1px solid var(--line);
  padding: .95rem 1rem; font-size: .95rem; color: var(--ink); border-radius: 0;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-deep); background: rgba(255, 253, 249, .8);
  box-shadow: 0 0 0 3px rgba(166, 124, 67, .15);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a33a2b; }
.field__error { font-size: .75rem; color: #8f2f22; min-height: 1em; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: .5rem; }
.form__note { font-size: .75rem; color: var(--muted); max-width: 22rem; line-height: 1.6; }
.form__status { grid-column: 1 / -1; font-size: .88rem; color: var(--sage); min-height: 1.2em; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; color: var(--muted); text-transform: none; letter-spacing: 0; line-height: 1.5; }
.field .check { text-transform: none; letter-spacing: 0; font-size: .84rem; font-weight: 400; }
.field .check input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin-top: .2rem; flex: none; accent-color: var(--gold-deep); padding: 0; }

/* ---------- Footer ---------- */
.footer { background: #1d1915; color: rgba(247, 242, 234, .62); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer .brand__name { color: var(--cream); }
.footer .brand__sub { color: rgba(247, 242, 234, .5); }
.footer__about { max-width: 19rem; font-size: .88rem; line-height: 1.75; margin-top: 1.4rem; color: rgba(247, 242, 234, .56); }
.footer h3 { font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; font-weight: 500; }
.footer__links { display: flex; flex-direction: column; gap: .65rem; font-size: .9rem; }
.footer__links a:hover { color: var(--cream); }
.footer__bottom {
  border-top: 1px solid rgba(247, 242, 234, .14); padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .74rem; letter-spacing: .02em; color: rgba(247, 242, 234, .4);
}
.footer__bottom nav { display: flex; gap: 1.4rem; }
.footer__bottom a:hover { color: var(--cream); }
.footer__word {
  position: absolute; right: -2rem; bottom: -4.5rem; font-family: var(--serif);
  font-size: clamp(10rem, 26vw, 22rem); line-height: .8; color: rgba(247, 242, 234, .04);
  pointer-events: none; user-select: none;
}

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 800;
  display: inline-flex; align-items: center; gap: .65rem;
  background: var(--ink); color: var(--cream);
  border: 1px solid rgba(247, 242, 234, .18);
  border-radius: 999px; min-height: 54px; padding: 0 1.3rem 0 .85rem;
  box-shadow: 0 18px 40px -18px rgba(28, 24, 20, .65);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.wa-fab:hover { background: var(--gold-deep); transform: translateY(-2px); }
.wa-fab svg { width: 24px; height: 24px; flex: none; }
.wa-fab span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: none; grid-template-columns: 1fr 1fr;
  background: rgba(247, 242, 234, .97); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 58px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar svg { width: 16px; height: 16px; }

/* ---------- Páginas internas ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3.5rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(55% 80% at 80% 0%, rgba(226, 210, 191, .8), transparent 70%),
    var(--cream);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); max-width: 20ch; margin-bottom: 1.3rem; }
.page-hero p { max-width: 40rem; color: var(--muted); font-size: 1.04rem; }
.breadcrumb { display: flex; gap: .6rem; align-items: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.chip {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem;
  color: var(--ink-soft); transition: .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(255, 253, 249, .6); }

.category { padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.category:last-of-type { border-bottom: 0; }
.category__head { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); margin-bottom: 2.6rem; align-items: start; }
.category__head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.category__intro { color: var(--muted); }
.treat-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.treat-row {
  display: grid; grid-template-columns: 1.4fr .9fr .7fr auto;
  gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.treat-row h3 { font-size: 1.35rem; }
.treat-row p { font-size: .88rem; color: var(--muted); max-width: 24rem; }
.treat-row .meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.treat-row .price { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); white-space: nowrap; }

.note {
  background: var(--cream-2); border-left: 2px solid var(--gold);
  padding: 1.4rem 1.6rem; font-size: .88rem; color: var(--ink-soft);
  display: flex; gap: .9rem; align-items: flex-start;
}
.note svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; margin-top: .15rem; }

.gallery { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery > div:first-child { grid-row: span 2; }
.gallery img { aspect-ratio: 4 / 3; }
.gallery > div:first-child img { aspect-ratio: auto; height: 100%; min-height: 100%; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table th, .hours-table td { text-align: left; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 500; color: var(--ink); }
.hours-table td { color: var(--muted); text-align: right; }

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

/* ---------- Panel de accesibilidad ---------- */
.a11y-fab {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -18px rgba(36, 31, 26, .6);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.a11y-fab:hover { background: var(--ink); color: var(--cream); }
.a11y-fab svg { width: 24px; height: 24px; }
.a11y-panel {
  position: fixed; left: 1.4rem; bottom: 5.4rem; z-index: 940;
  width: min(22rem, calc(100vw - 2rem));
  background: var(--cream); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(28, 24, 20, .55);
  padding: 1.3rem; display: none;
  max-height: min(80vh, 40rem); overflow-y: auto;
}
.a11y-panel.is-open { display: block; }
.a11y-panel__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.a11y-panel__head h2 { font-size: 1.25rem; flex: 1; }
.a11y-panel__head button {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft);
}
.a11y-panel__head button:hover { background: var(--ink); color: var(--cream); }
.a11y-panel__head svg { width: 15px; height: 15px; }
.a11y-group { border-top: 1px solid var(--line-soft); padding-top: .9rem; margin-top: .9rem; }
.a11y-group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.a11y-group h3 { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; font-weight: 500; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.a11y-btn {
  display: flex; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--line);
  padding: .6rem .55rem; font-size: .74rem; text-align: left; color: var(--ink-soft);
  min-height: 44px; border-radius: 2px;
}
.a11y-btn:hover { border-color: var(--gold); }
.a11y-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.a11y-btn svg { width: 16px; height: 16px; flex: none; }
.a11y-fs { display: flex; align-items: center; gap: .5rem; }
.a11y-fs button { flex: 1; }

.a11y-guide-line {
  position: fixed; left: 0; right: 0; height: 42px; z-index: 980;
  pointer-events: none; display: none;
  background: linear-gradient(180deg, rgba(166, 124, 67, 0), rgba(166, 124, 67, .22), rgba(166, 124, 67, 0));
  border-top: 1px solid rgba(166, 124, 67, .5); border-bottom: 1px solid rgba(166, 124, 67, .5);
}
html.a11y-guide .a11y-guide-line { display: block; }

html.a11y-contrast {
  --cream: #fff; --cream-2: #fff; --sand: #e8e8e8; --white: #fff;
  --ink: #000; --ink-soft: #111; --muted: #222; --line: #000; --line-soft: #555;
  --gold: #6b4200; --gold-deep: #4a2d00; --gold-soft: #6b4200;
}
html.a11y-contrast .hero::before, html.a11y-contrast .page-hero {
  background: #fff;
}
html.a11y-contrast .band::before { background: #000; }
html.a11y-contrast .footer { background: #000; }
html.a11y-contrast .btn--ghost { border-color: #000; }
html.a11y-gray #page { filter: grayscale(1); }
html.a11y-no-anim *, html.a11y-no-anim *::before, html.a11y-no-anim *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html.a11y-no-anim .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-legible body, html.a11y-legible button, html.a11y-legible input, html.a11y-legible select, html.a11y-legible textarea {
  font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}
html.a11y-legible h1, html.a11y-legible h2, html.a11y-legible h3, html.a11y-legible h4, html.a11y-legible .brand__name {
  font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important; letter-spacing: -.01em !important;
}
html.a11y-links #page a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links #page a:hover { background: rgba(166, 124, 67, .16); }
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-fs-3 { font-size: 137.5%; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.4rem; }
  .header__phone { display: none; }
  .hero__badge { left: -0.8rem; bottom: 1.6rem; padding: .9rem 1rem; }
  .hero__badge strong { font-size: 1.7rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero__art { max-width: 27rem; margin-inline: auto; width: 100%; }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 4rem); }
  .hero__text { max-width: none; }
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .split { grid-template-columns: 1fr; gap: 2.6rem; }
  .split__art { max-width: 32rem; }
  .treat-grid, .steps, .plans, .quotes, .contact-grid, .form { grid-template-columns: 1fr; }
  .treat { min-height: 0; }
  .step { padding-top: 1.4rem; }
  .category__head { grid-template-columns: 1fr; gap: 1rem; }
  .treat-row { grid-template-columns: 1fr auto; row-gap: .5rem; }
  .treat-row p { grid-column: 1 / -1; }
  .treat-row .meta { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr; }
  .gallery > div:first-child { grid-row: auto; }
  .gallery img, .gallery > div:first-child img { aspect-ratio: 4 / 3; height: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__word { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 58px; }
  .wa-fab { display: none; }
  .a11y-fab { bottom: 4.8rem; }
  .a11y-panel { bottom: 9rem; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 2.2rem); }
  .section { padding: 3.6rem 0; }
  .hero { padding-top: calc(var(--header-h) + 1.4rem); }
  .hero__badge { left: 0; bottom: 1rem; max-width: 10rem; }
  .trust__item { padding: 1.1rem 1rem; }
  .trust__item strong { font-size: 1.05rem; }
  .stat-row { gap: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .band__cta, .hero__cta { flex-direction: column; align-items: stretch; }
  .band__cta .btn, .hero__cta .btn { width: 100%; }
  .price-card__head { flex-direction: column; gap: .35rem; }
  .price-row { align-items: flex-end; }
  .price-row__dots { display: none; }
  .price-row__name { flex: 1; }
  .price-row__val { text-align: right; font-size: 1.1rem; }
}

/* ---------- Tema alto contraste: ajustes finos ---------- */
html.a11y-contrast .section--dark { background: #000; color: #fff; }
html.a11y-contrast .eyebrow, html.a11y-contrast .price-card__head span { color: #4a2d00; }
html.a11y-contrast .btn { border-width: 2px; }
html.a11y-contrast .tag { border-color: #000; }

/* ---------- Impresión ---------- */
@media print {
  .header, .wa-fab, .a11y-fab, .a11y-panel, .mobile-bar, .footer__word, .hero__leaf { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero { padding-top: 0; }
  a { text-decoration: underline; }
  .section { padding: 1.5rem 0; }
}




