/* Javiera Miranda · Kinesióloga. Celular primero: una columna, bandas a todo el ancho que alternan crema / verde; en escritorio se abren a dos o tres columnas. */
:root {
  --verde: #4A5745;        /* salvia del logo: títulos, botones */
  --arena: #C2A483;        /* arco del logo: acentos, líneas */
  --crema: #F8F4EC;        /* fondo principal */
  --profundo: #2F382D;     /* texto fuerte, bandas oscuras */
  --bg: var(--crema);
  --surface: #FFFDF8;
  --surface-2: #EFE8DA;
  --ink: #2F382D;
  --ink-soft: #5E6659;
  --title: #4A5745;
  --accent: #A88663;       /* arena más oscura para texto sobre crema */
  --line: #E2D8C6;
  --band: #4A5745;
  --band-ink: #F8F4EC;
  --band-soft: #D9CBB4;
  --btn: #4A5745;
  --btn-ink: #F8F4EC;
  --header: rgba(248, 244, 236, .92);
  --shadow: 0 10px 30px -18px rgba(47, 56, 45, .45);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --r: 18px;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #232A22; --surface: #2B3329; --surface-2: #323B30;
    --ink: #EFE9DD; --ink-soft: #BDB8AA; --title: #D9E0D0; --accent: #D2B595;
    --line: #3D473A; --band: #2F382D; --band-ink: #F8F4EC; --band-soft: #C9B79B;
    --btn: #C2A483; --btn-ink: #232A22; --header: rgba(35, 42, 34, .92);
    --shadow: 0 10px 30px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #232A22; --surface: #2B3329; --surface-2: #323B30;
  --ink: #EFE9DD; --ink-soft: #BDB8AA; --title: #D9E0D0; --accent: #D2B595;
  --line: #3D473A; --band: #2F382D; --band-ink: #F8F4EC; --band-soft: #C9B79B;
  --btn: #C2A483; --btn-ink: #232A22; --header: rgba(35, 42, 34, .92);
  --shadow: 0 10px 30px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
:focus-visible { outline: 2px solid var(--arena); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; color: var(--title); margin: 0; text-wrap: balance; line-height: 1.1; }
h2 { font-size: clamp(2rem, 7vw, 2.8rem); letter-spacing: -.01em; }
h2 em, h1 em, h3 em {
  display: block; font-style: italic; font-weight: 300;
  font-size: .62em; color: var(--accent); letter-spacing: 0; margin-bottom: .15em;
}
p { margin: 0; }
strong, b { font-weight: 600; color: var(--title); }
section { padding-block: 64px; }
.sec-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 34rem; }
.sec-head p { color: var(--ink-soft); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--header); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--title); }
.brand .iso { width: 40px; height: 42px; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--title); letter-spacing: -.01em; }
.brand-text b.wordmark { font-size: 1.85rem; letter-spacing: -.02em; line-height: .9; }
.brand-foot .brand-text b.wordmark { font-size: 2.2rem; }
.brand-text small { font-size: 0.74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.brand-foot { color: #F8F4EC; }
.brand-foot .iso { width: 52px; height: 55px; }
.brand-foot .brand-text b { color: #F8F4EC; font-size: 1.6rem; }
.brand-foot .brand-text small { color: #C2A483; }
.menu-btn {
  width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; place-content: center; gap: 7px; color: var(--title);
}
.menu-btn span:not(.sr) { width: 24px; height: 1.5px; background: currentColor; transition: transform .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
.menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  display: grid; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
}
.menu:not(.open) { display: none; }
.menu a { text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.menu a.menu-cta { border: 0; margin-top: 12px; text-align: center; background: var(--btn); color: var(--btn-ink); border-radius: 999px; font-weight: 500; }

/* ---------- Franja en movimiento ---------- */
.ticker { display: block; overflow: hidden; background: var(--arena); color: #2F382D; text-decoration: none; border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-visible .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 22px; padding: 9px 11px; white-space: nowrap; font-size: 0.98rem; font-weight: 500; letter-spacing: .02em; }
.ticker-group i { font-style: normal; font-size: 0.68rem; opacity: .7; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { overflow-x: auto; } }

/* ---------- Botones ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 500; letter-spacing: .01em;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--btn); color: var(--btn-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--title); }
.btn-light { background: var(--crema); color: var(--profundo); }
.btn-outline { border: 1px solid var(--band-soft); color: var(--band-ink); }
.link { color: var(--title); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--arena); padding-bottom: 2px; align-self: start; justify-self: start; }
.link::after { content: " →"; }

/* ---------- Ramita decorativa ---------- */
.sprig { position: absolute; width: 110px; fill: none; stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.sprig-hero { right: -14px; top: 18px; stroke: var(--arena); opacity: .55; }
.sprig-band { left: -20px; bottom: -10px; transform: rotate(200deg) scaleX(-1); stroke: var(--band-soft); opacity: .45; width: 140px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 36px 48px; }
.hero-in { display: grid; gap: 28px; justify-items: center; text-align: center; }
.portrait {
  margin: 0; width: min(68vw, 300px); aspect-ratio: 1; max-width: 100%;
  border-radius: 50%; padding: 8px; border: 4px solid var(--verde); background: var(--bg);
  position: relative;
}
.portrait::after {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 2px solid var(--arena); clip-path: polygon(0 40%, 60% 100%, 0 100%); opacity: .9;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-text { display: grid; gap: 14px; justify-items: center; }
.hero .actions { justify-content: center; }
.eyebrow, .role, .card-tag, .mode-label {
  font-size: 0.86rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--accent);
}
.hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); color: var(--ink); }
.hero h1 em { font-size: .7em; color: var(--title); }
.role { color: var(--title); letter-spacing: .3em; margin-top: -4px; }
.lead { font-size: 1.15rem; max-width: 26ch; color: var(--ink-soft); }
.pillars { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pillars li { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); color: var(--title); font-size: 0.98rem; }
.facts {
  margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts div { padding: 16px 6px; text-align: center; min-width: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 0.78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.facts dd { margin: 4px 0 0; font-family: var(--f-display); color: var(--title); font-size: 1rem; line-height: 1.25; }


/* Logo principal en la portada */
.hero-in { grid-template-columns: 1fr !important; justify-items: center !important; text-align: center !important; }
.hero-text { justify-items: center !important; max-width: 640px; }
.hero .actions, .pillars { justify-content: center !important; }
.hero-logo { margin: 0; display: grid; justify-items: center; gap: 6px; color: var(--title); font-weight: inherit; }
.hl-top { display: flex; align-items: center; gap: 14px; font: 500 .8rem/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; }
.hl-top::before, .hl-top::after { content: ""; width: 34px; height: 1.5px; background: var(--arena); }
.iso-hero { width: min(52vw, 230px); height: auto; margin: 10px 0 -6px; }
.hl-word { font-family: var(--f-display); font-weight: 500; font-size: clamp(4rem, 21vw, 7.5rem); line-height: .95; letter-spacing: -.01em; }
.hl-sub { font: 400 clamp(1rem, 4.4vw, 1.3rem)/1.3 var(--f-body); letter-spacing: .06em; color: var(--ink-soft); }
.hero .lead { max-width: 34ch; margin-top: 10px; }

/* ---------- Equipo ---------- */
.about { background: var(--surface); }
.about-in { display: grid; gap: 36px; }
.photo-frame {
  margin: 0 auto; width: min(86%, 380px); border: 6px solid var(--verde); border-radius: 22px;
  overflow: hidden; transform: rotate(-1.5deg); box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; aspect-ratio: 3 / 4; object-position: 50% 30%; object-fit: cover; }
.about-text { display: grid; gap: 16px; min-width: 0; }
.about-text > p { color: var(--ink-soft); }
.sub { font-size: 1.9rem; margin-top: 24px; }
.studies { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.studies li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--bg); border-radius: var(--r); border: 1px solid var(--line);
}
.studies div { min-width: 0; }
.studies small { display: block; color: var(--accent); font-size: 0.98rem; }
.ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--title); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sign { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.3rem; color: var(--accent); }


/* Equipo */
.team { display: grid; gap: 28px; margin-top: 8px; }
.member { display: grid; gap: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 28px 20px; }
.member .studies li { background: var(--surface); }
.member-name { font-size: clamp(2rem, 8vw, 2.6rem); color: var(--title); margin: 0; }
.member-role { margin: -10px 0 0; font-size: 0.9rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.member-quote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.2rem; line-height: 1.45; color: var(--ink-soft); border-left: 3px solid var(--arena); padding-left: 16px; }
.team-soon { text-align: center; padding: 22px 16px; border: 1.5px dashed var(--line); border-radius: 22px; }
.team-soon .sign { margin: 0; }
@media (min-width: 760px) {
  .member { grid-template-columns: .85fr 1.15fr; gap: 56px; padding: 44px; align-items: start; }
  .member .photo-frame { position: static; }
}

/* ---------- Banda bienestar ---------- */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; padding-block: 80px; }
.band-in { display: grid; gap: 24px; text-align: center; justify-items: center; }
.band h2 { color: var(--band-ink); }
.band h2 em { color: var(--band-soft); }
.band blockquote {
  margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 5.6vw, 2.1rem); line-height: 1.3; max-width: 22ch;
  padding-bottom: 24px; border-bottom: 1px solid var(--arena);
}
.band p { max-width: 36ch; color: var(--band-soft); }
.band strong { color: var(--band-ink); }

/* ---------- Servicios ---------- */
.cards { display: grid; gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 22px;
  background: var(--surface); border-radius: var(--r); border: 1px solid var(--line);
}
.card h3 { font-size: 1.6rem; }
.card > p:not(.card-tag) { color: var(--ink-soft); }
.card ul { margin: 0 0 6px; padding: 0; list-style: none; display: grid; gap: 6px; }
.card li { padding-left: 20px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: var(--arena); }
.card .link { margin-top: auto; }
.soon { font-size: 1rem; color: var(--ink-soft); padding: 10px 14px; border-radius: 12px; background: var(--surface-2); }


/* ---------- Valores ---------- */
.prices { padding-top: 0; }
.price-grid { display: grid; gap: 16px; }
.price-card { display: grid; gap: 16px; align-content: start; padding: 26px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.price-card-alt { background: var(--band); color: var(--band-ink); border-color: transparent; }
.price-card-alt .card-tag { color: var(--band-soft); }
.price-card-alt b { color: var(--band-ink); }
.group-note { color: var(--band-soft); font-size: 1rem; margin-top: -8px; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.price-card-alt .price-list li { border-top-color: rgba(194, 164, 131, .35); }
.price-list li div { min-width: 0; }
.price-list small { display: block; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.45; margin-top: 2px; }
.price { font-family: var(--f-display); font-size: 1.35rem; color: var(--title); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.price-card-alt .price { color: var(--band-ink); }
.price-card .btn { justify-self: start; margin-top: 4px; }
.massages { padding-top: 32px; }
.terms { margin-top: 16px; padding: 22px; border-radius: var(--r); background: var(--surface-2); display: grid; gap: 10px; }
.terms h3 { font-size: 1.3rem; }
.terms ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-soft); }
.terms li { padding-left: 20px; position: relative; }
.terms li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: var(--arena); }
.fonasa { margin-top: 16px; padding: 18px 22px; border-radius: var(--r); border: 1px dashed var(--arena); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.fonasa p { color: var(--ink-soft); min-width: 0; }

/* ---------- Gift card ---------- */
.gift { background: var(--profundo); color: #F8F4EC; }
.gift-in { display: grid; gap: 32px; align-items: center; }
.gift-img { margin: 0; border-radius: 18px; overflow: hidden; }
.gift-img img { width: 100%; }
.gift-text { display: grid; gap: 16px; min-width: 0; }
.gift h2 { color: #F8F4EC; }
.gift h2 em { color: #C2A483; }
.gift p { color: #D9CBB4; max-width: 40ch; }
.gift ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: #D9CBB4; }
.gift li { padding-left: 20px; position: relative; }
.gift li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: #C2A483; }
.gift .btn { justify-self: start; margin-top: 6px; }
.terms-note { font-size: 0.98rem; color: var(--accent); margin-top: -6px; }

/* ---------- Forma de trabajar ---------- */
.method { background: var(--surface-2); }
.method-in { display: grid; gap: 28px; text-align: center; justify-items: center; }
.method-card { background: var(--bg); border-radius: 24px; padding: 34px 24px; max-width: 40rem; display: grid; gap: 20px; }
.method-quote { font-family: var(--f-display); font-size: clamp(1.45rem, 5.4vw, 2rem); line-height: 1.3; color: var(--title); }
.method-mix { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; color: var(--ink-soft); }
.method-mix li[aria-hidden] { color: var(--arena); }

/* ---------- Testimonios ---------- */
.testimonials { background: var(--surface); }
.t-list { display: grid; gap: 16px; margin-bottom: 24px; }
.t-card { margin: 0; padding: 24px 22px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.t-card blockquote { margin: 0; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.45; color: var(--title); overflow-wrap: anywhere; }
.t-card figcaption { font-size: 0.98rem; color: var(--ink-soft); }
.t-card figcaption b { color: var(--ink); }
.t-empty { color: var(--ink-soft); padding: 22px; border: 1px dashed var(--line); border-radius: var(--r); }
.t-form-wrap > summary { list-style: none; cursor: pointer; display: inline-flex; }
.t-form-wrap > summary::-webkit-details-marker { display: none; }
.t-form-wrap[open] > summary { display: none; }
.t-form { display: grid; gap: 8px; max-width: 34rem; padding: 24px 22px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.t-form label { font-weight: 500; color: var(--title); margin-top: 8px; }
.t-form input, .t-form select, .t-form textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.t-form textarea { resize: vertical; }
.t-form button { justify-self: start; margin-top: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.t-form button[disabled] { opacity: .6; cursor: wait; }
.t-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.t-msg { font-weight: 500; color: var(--title); min-height: 1.4em; }
.t-msg.err { color: #A2463A; }
.t-note { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Atención ---------- */
.care-grid { display: grid; gap: 16px; }
.mode, .hours { padding: 26px 22px; border-radius: var(--r); display: grid; gap: 12px; align-content: start; min-width: 0; }
.mode { background: var(--surface); border: 1px solid var(--line); }
.mode h3 { font-size: 1.45rem; }
.mode > p:not(.mode-label) { color: var(--ink-soft); }
.hours { background: var(--band); color: var(--band-ink); }
.hours h3 { color: var(--band-ink); font-size: 1.45rem; }
.hours table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 400; color: var(--band-soft); padding: 8px 0; }
.hours td { text-align: right; padding: 8px 0; font-weight: 500; }
.hours tr:not(:nth-child(1)) th, .hours tr:not(:nth-child(1)) td { border-top: 1px solid rgba(194, 164, 131, .3); }
.hours tr:nth-child(2) th, .hours tr:nth-child(2) td { border-top: 0; padding-top: 0; }
.hours .off td { color: var(--band-soft); font-weight: 400; }
.today { font-size: 0.98rem; color: var(--band-soft); display: flex; align-items: center; gap: 8px; }
.today::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--arena); }
.today.open::before { background: #9CC08A; }

/* ---------- Preguntas ---------- */
.faq { background: var(--surface); }
.faq-in { max-width: 760px; }
.faq-list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--f-display); font-size: 1.2rem; color: var(--title);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 300 1.6rem var(--f-body); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Contacto ---------- */
.contact { background: var(--band); color: var(--band-ink); padding-block: 80px; }
.contact-in { display: grid; gap: 20px; text-align: center; justify-items: center; }
.contact h2 { color: var(--band-ink); }
.contact h2 em { color: var(--band-soft); }
.contact p { color: var(--band-soft); max-width: 34ch; }
.contact-data { font-size: 1rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; user-select: all; }

/* ---------- Footer ---------- */
.foot { background: #2F382D; color: #D9CBB4; padding-block: 44px 96px; }
.foot-in { display: grid; gap: 28px; }
.foot-brand { display: grid; gap: 6px; }
.foot-col { display: grid; gap: 6px; align-content: start; font-size: 1rem; }
.foot-col h3 { font-family: var(--f-body); font-size: 0.83rem; letter-spacing: .2em; text-transform: uppercase; color: #C2A483; font-weight: 500; margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: #F8F4EC; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: #C2A483; }
.copy { font-size: 0.88rem; opacity: .7; grid-column: 1 / -1; border-top: 1px solid rgba(194, 164, 131, .25); padding-top: 18px; }

/* ---------- Barra superior ---------- */
.infobar { display: none; background: #2F382D; color: #D9CBB4; font-size: 0.93rem; }
.infobar-in { display: flex; justify-content: flex-end; gap: 28px; padding-block: 8px; }
.infobar a { color: #F8F4EC; text-decoration: none; }

/* ---------- Cuándo consultar ---------- */
.when-in { display: grid; gap: 4px; }
.when-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.when-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.when-list li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .5em; border-radius: 50%; border: 2px solid var(--arena); }
.when .btn { justify-self: start; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--btn); color: var(--btn-ink); display: grid; place-items: center; box-shadow: var(--shadow);
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.ig-float {
  position: fixed; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  background: var(--arena); color: #2F382D; display: grid; place-items: center; box-shadow: var(--shadow);
}
.ig-float svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig-float .dot { fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Tablet / escritorio ---------- */
@media (min-width: 760px) {
  section { padding-block: 96px; }
  .menu-btn { display: none; }
  .menu, .menu:not(.open) { position: static; display: flex; align-items: center; gap: 22px; padding: 0; border: 0; background: none; }
  .menu a { border: 0; padding: 6px 0; font-size: 1rem; white-space: nowrap; }
  .brand-text b { white-space: nowrap; }
  .menu a.menu-cta { margin: 0; padding: 10px 20px; }
  .hero { padding-block: 64px 72px; }
  .hero-in { grid-template-columns: 1fr 1.1fr; text-align: left; justify-items: start; align-items: center; gap: 56px; }
  .hero-text { justify-items: start; }
  .hero .actions { justify-content: start; }
  .portrait { width: min(100%, 380px); justify-self: center; }
  .pillars { justify-content: start; }
  .sprig-hero { width: 150px; right: 4%; }
  .about-in { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .photo-frame { position: sticky; top: 110px; width: 100%; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .care-grid { grid-template-columns: repeat(3, 1fr); }
  .t-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .price-grid { grid-template-columns: 1.3fr 1fr; }
  .price-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .gift-in { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .terms ul { grid-template-columns: 1fr 1fr; gap: 6px 32px; }
  .prices { padding-top: 0; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .foot { padding-block: 56px 40px; }
  .infobar { display: block; }
  .when-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 759px) { .sprig-hero { display: none; } }

/* ---------- Páginas de servicios ---------- */
.page-hero { padding-block: 40px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero-in { display: grid; gap: 12px; }
.page-hero h1 { font-size: clamp(2.4rem, 10vw, 3.8rem); color: var(--title); margin: 0; line-height: 1.05; }
.page-hero h1 em { display: block; font-size: .55em; color: var(--accent); }
.page-hero .lead { max-width: 40ch; }
.crumbs { display: flex; gap: 8px; font-size: 0.96rem; color: var(--ink-soft); }
.crumbs a { color: var(--accent); text-decoration: none; }
.prices.first { padding-top: 48px; }
.terms-sec { padding-top: 0; }
.terms-sec .terms { margin-top: 0; }
.others { padding-block: 24px 56px; }
.others-t { font-size: 1.8rem; margin-bottom: 18px; }
.others-grid { display: grid; gap: 12px; }
.other { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.other b { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--title); }
.other small { color: var(--ink-soft); }
.other::after { content: "Ver servicio →"; margin-top: 6px; font-size: 0.98rem; color: var(--accent); font-weight: 500; }
.menu a[aria-current="page"] { color: var(--accent); }
@media (min-width: 760px) {
  .page-hero { padding-block: 72px 48px; }
  .others-grid { grid-template-columns: 1fr 1fr; }
}
.price-card-alt .price-list small { color: var(--band-soft); }

/* ---------- Explicación de servicios ---------- */
.explain { padding-block: 48px 8px; }
.xp-grid { display: grid; gap: 14px; }
.xp { display: grid; gap: 10px; align-content: start; padding: 22px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.xp h3 { font-size: 1.35rem; color: var(--title); margin: 4px 0 0; }
.xp p { margin: 0; color: var(--ink-soft); }
.xp-for b { color: var(--ink); font-weight: 600; }
.xp-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.xp-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--title); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xp-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xp-tags li { padding: 4px 12px; border-radius: 999px; font-size: 0.92rem; background: var(--bg); border: 1px solid var(--line); color: var(--title); }
.xp-note { margin: 18px 0 0; font-size: 1rem; color: var(--ink-soft); font-style: italic; }
.hero-jump { margin-top: 8px; }
@media (min-width: 760px) {
  .xp-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
  .explain { padding-block: 72px 8px; }
}

/* ---------- Estilo spa: intro, planes y contacto ---------- */
.intro { padding-block: 56px 24px; text-align: center; }
.intro-in { display: grid; gap: 14px; justify-items: center; }
.intro-script { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 6vw, 2.2rem); color: var(--accent); }
.intro-h { margin: 0; font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.08; color: var(--title); }
.intro-h em { color: var(--ink); font-style: italic; font-weight: 300; }
.intro-lead { margin: 6px 0 0; max-width: 46ch; font-size: 1.1rem; color: var(--ink-soft); }
.intro-lead strong { color: var(--title); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.plans { padding-top: 32px; }
.plan-grid { display: grid; gap: 18px; }
.plan { display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: 0 0 26px; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan-top { padding: 26px 24px 22px; background: var(--surface-2); display: grid; gap: 6px; text-align: center; }
.plan-tag { margin: 0; font-size: 0.82rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--accent); }
.plan-top h3 { margin: 0; font-size: 2.2rem; color: var(--title); }
.plan-price { margin: 4px 0 0; font-family: var(--f-display); font-size: 1.9rem; color: var(--ink); font-variant-numeric: lining-nums; }
.plan-price small { font-family: var(--f-body); font-size: 0.93rem; color: var(--ink-soft); }
.plan-list { list-style: none; margin: 0; padding: 0 24px; display: grid; gap: 10px; align-content: start; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.plan-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { justify-self: center; margin-top: 4px; }
.plan-alt { background: var(--band); border-color: transparent; }
.plan-alt .plan-top { background: rgba(0,0,0,.14); }
.plan-alt .plan-tag, .plan-alt .plan-price small { color: var(--band-soft); }
.plan-alt h3, .plan-alt .plan-price, .plan-alt .plan-list li { color: var(--band-ink); }
.plan-alt .plan-list svg { stroke: var(--arena); }
.contact-cols { display: grid; gap: 22px; width: 100%; margin: 10px 0; padding: 26px 0; border-top: 1px solid rgba(194,164,131,.35); border-bottom: 1px solid rgba(194,164,131,.35); }
.contact-cols span { display: block; font-size: 0.82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--band-soft); margin-bottom: 6px; }
.contact-cols .big { font-family: var(--f-display); font-size: clamp(1.25rem, 5vw, 1.7rem); color: var(--band-ink); text-decoration: none; overflow-wrap: anywhere; }
.contact .contact-cols .big-sm { margin: 0 auto; color: var(--band-ink); font-size: 1.02rem; }
@media (min-width: 760px) {
  .intro { padding-block: 88px 24px; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan-alt { transform: translateY(-12px); }
  .contact-cols { grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; }
}
.contact-cols .big[href^="mailto"] { font-size: clamp(1.05rem, 4.2vw, 1.3rem); }
.contact .contact-cols .big-sm b { display: block; color: var(--band-ink); font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 5vw, 1.7rem); }
.intro-h em { display: block; font-size: .78em; margin-top: 6px; }

/* ---------- Carrito y buscador ---------- */
.tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.tool-btn { position: relative; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--title); cursor: pointer; }
.tool-btn:hover { background: var(--surface-2); }
.tool-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool-badge { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--arena); color: #2F382D; font-size: 0.8rem; font-weight: 600; display: grid; place-items: center; }
.tool-badge[hidden] { display: none; }
.sheet-open, .sheet-open body { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet-back { position: absolute; inset: 0; background: rgba(32, 38, 30, .5); }
.sheet-box { position: absolute; right: 0; top: 0; bottom: 0; width: min(100%, 440px); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; gap: 14px; padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) 16px; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.18); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { font-size: 1.7rem; color: var(--title); margin: 0; }
.search-input { font: inherit; font-size: 1.05rem; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.search-input:focus { outline: 2px solid var(--arena); outline-offset: 1px; }
.search-results, .cart-list { display: grid; gap: 8px; }
.search-hint { margin: 4px 0; color: var(--ink-soft); }
.search-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.search-cat { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--title); text-decoration: none; font-weight: 500; }
.result, .cart-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.result-info { display: grid; min-width: 0; text-decoration: none; color: var(--ink); }
.result-info b { color: var(--title); font-weight: 600; }
.result-info small { color: var(--ink-soft); font-size: 0.93rem; }
.result-price { font-family: var(--f-display); font-size: 1.15rem; color: var(--title); white-space: nowrap; }
.result .add-btn { grid-column: 1 / -1; justify-self: start; }
.cart-row .qty { grid-row: 2; }
.cart-row .result-price { grid-row: 2; justify-self: end; }
.add-btn { font: inherit; font-size: 0.96rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--accent); background: none; color: var(--title); cursor: pointer; white-space: nowrap; }
.add-btn:hover { background: var(--surface-2); }
.price-card-alt .add-btn { border-color: var(--band-soft); color: var(--band-ink); }
.price-card-alt .add-btn:hover { background: rgba(255,255,255,.08); }
.price-list li[data-id] { flex-wrap: wrap; }
.price-list li[data-id] .add-btn { margin-left: auto; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--title); font-size: 1.1rem; cursor: pointer; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.cart-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.cart-total b { font-family: var(--f-display); font-size: 1.8rem; color: var(--title); font-weight: 500; }
.cart-note { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.cart-send { text-align: center; justify-self: stretch; }
.link-btn { font: inherit; background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; justify-self: center; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); z-index: 70; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 16px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); transition: transform .3s; }
.toast.show { transform: translate(-50%, 0); }
.toast button { font: inherit; font-weight: 600; background: var(--arena); color: #2F382D; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
@media (min-width: 760px) {
  .tools { order: 3; margin-left: 4px; }
}
.brand-text small { white-space: nowrap; }
.price-list li[data-id] { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 8px; align-items: baseline; }
.price-list li[data-id] .add-btn { grid-column: 2; justify-self: end; margin: 0; }
.cart-row .qty { justify-self: start; }
.toast { top: calc(84px + env(safe-area-inset-top, 0px)); bottom: auto; transform: translate(-50%, -200%); }
@media (max-width: 400px) { .brand-text small { letter-spacing: .16em; font-size: 0.68rem; } .tool-btn { width: 40px; } }
@media (min-width: 760px) and (max-width: 1279px) {
  .infobar-in { gap: 16px; }
  .menu, .menu:not(.open) { gap: 14px; }
  .menu a { font-size: 0.98rem; }
  .menu a.menu-cta { padding: 9px 14px; }
  .brand-text small { display: none; }
  .brand .iso { width: 34px; height: 36px; }
}
@media (min-width: 760px) and (max-width: 979px) {
  .menu a[href="/#testimonios"], .menu a[href="/#preguntas"], .menu a[href="/#equipo"] { display: none; }
}
.toast { opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s; }
.toast.show { opacity: 1; visibility: visible; }
@media (max-width: 420px) { .top .brand-text small { display: none; } }
button.btn { font: inherit; font-weight: 500; border: 0; cursor: pointer; }
nav.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 10px; }
nav.pillars a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--title); font-size: 1.05rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
nav.pillars a::after { content: "→"; color: var(--accent); }
nav.pillars a:hover { background: var(--btn); color: var(--btn-ink); transform: translateY(-1px); }
nav.pillars a:hover::after { color: inherit; }
.pay-box { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.pay-title { margin: 0; font-weight: 600; color: var(--title); }
.pay-box .btn { justify-self: stretch; text-align: center; }
.pay-box .btn[disabled] { opacity: .6; cursor: wait; }
.pay-msg { margin: 0; font-size: 0.98rem; color: var(--ink-soft); min-height: 1em; }
.pay-msg:empty { display: none; }
.wa-bubble { position: fixed; z-index: 29; right: calc(84px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-start; gap: 4px; padding: 10px 8px 10px 16px; border-radius: 14px; background: #fff; color: #2F382D; box-shadow: 0 8px 24px rgba(0,0,0,.16); opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .3s; pointer-events: none; }
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble::after { content: ""; position: absolute; right: -6px; bottom: 18px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.wa-bubble a { display: grid; text-decoration: none; color: inherit; line-height: 1.3; }
.wa-bubble span { font-size: .95rem; color: #5E6659; }
.wa-bubble b { font-size: 1.02rem; font-weight: 600; color: #2F382D; }
.wa-bubble button { border: 0; background: none; color: #8A8F84; font-size: 1.1rem; line-height: 1; width: 24px; height: 24px; cursor: pointer; border-radius: 50%; }
.wa-bubble button:hover { background: #F1ECE2; }
@media (prefers-reduced-motion: reduce) { .wa-bubble { transition: none; } }
.page-hero h1 { font-size: clamp(2.1rem, 9.5vw, 3.8rem); overflow-wrap: anywhere; }
