/* ==========================================================================
   KS Estética & Wellness — Sistema de diseño
   Estilo: minimalismo editorial premium · femenino · cálido
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Superficies */
  --c-ivory:        #FBF7F3;
  --c-cream:        #F4EDE5;
  --c-sand:         #EBE0D3;
  --c-surface:      #FFFFFF;

  /* Líneas */
  --c-line:         #E3D7C8;
  --c-line-soft:    #EFE7DC;

  /* Marca */
  --c-gold:         #B08D4F;   /* solo decorativo / textos grandes */
  --c-gold-text:    #7E6129;   /* dorado accesible para texto pequeño (AA sobre ivory, cream y blanco) */
  --c-gold-soft:    #D9C49B;
  --c-terracotta:   #8B3A2B;

  /* Texto */
  --c-ink:          #24201D;
  --c-ink-2:        #554C45;
  --c-ink-3:        #6E645B;
  --c-on-dark:      #FBF7F3;

  /* Oscuro */
  --c-espresso:     #2E2723;
  --c-taupe:        #9C8B7B;

  /* Semánticos */
  --c-wa:           #108040;   /* verde accesible: 5.02:1 con texto blanco */
  --c-wa-dark:      #0B6631;

  /* Tipografía */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --t-xs:   0.75rem;    /* 12 */
  --t-sm:   0.875rem;   /* 14 */
  --t-base: 1rem;       /* 16 */
  --t-md:   1.125rem;   /* 18 */
  --t-lg:   1.375rem;   /* 22 */
  --t-xl:   clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  --t-2xl:  clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --t-3xl:  clamp(2.4rem, 1.5rem + 3.9vw, 4.3rem);

  /* Espaciado (escala 4/8) */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;

  --section-y: clamp(3.5rem, 2rem + 7vw, 7rem);
  --gutter:    clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --maxw:      1200px;
  --maxw-text: 68ch;

  /* Radios */
  --r-sm: 6px; --r-md: 14px; --r-lg: 24px; --r-xl: 36px; --r-full: 999px;

  /* Sombras cálidas */
  --sh-1: 0 1px 2px rgba(60, 44, 28, .05);
  --sh-2: 0 4px 16px rgba(60, 44, 28, .07);
  --sh-3: 0 14px 40px rgba(60, 44, 28, .10);
  --sh-4: 0 24px 64px rgba(60, 44, 28, .14);

  /* Movimiento */
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --d-fast: 160ms; --d-base: 240ms; --d-slow: 380ms;

  /* Capas */
  --z-base: 1; --z-sticky: 40; --z-float: 60; --z-nav: 80; --z-modal: 100;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--c-ink-2);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--c-gold-text);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------- 3. Tipografía ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--c-ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); font-family: var(--f-body); font-weight: 500; letter-spacing: 0; }

p { text-wrap: pretty; }
p + p { margin-top: var(--s-4); }

strong, b { font-weight: 600; color: var(--c-ink); }

.eyebrow {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: var(--s-4);
}
.eyebrow--center { display: block; text-align: center; }

.lead {
  font-size: var(--t-md);
  line-height: 1.7;
  color: var(--c-ink-2);
  max-width: var(--maxw-text);
}

.rule {
  width: 64px; height: 1px;
  background: var(--c-gold);
  border: 0; margin: var(--s-5) 0;
}
.rule--center { margin-inline: auto; }

/* ---------- 4. Layout ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--c-cream); }
.section--sand  { background: var(--c-sand); }

.section__head { max-width: 58ch; margin-bottom: var(--s-7); }
.section__head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--s-5); }
.grid > * { min-width: 0; }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); }
                             .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px;
  background: var(--c-ink); color: var(--c-on-dark);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  z-index: var(--z-modal); transition: top var(--d-fast) var(--e-out);
}
.skip-link:focus { top: var(--s-4); }

/* ---------- 5. Botones --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--d-base) var(--e-out),
              color var(--d-base) var(--e-out),
              border-color var(--d-base) var(--e-out),
              transform var(--d-fast) var(--e-out),
              box-shadow var(--d-base) var(--e-out);
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--c-espresso);
  color: var(--c-on-dark);
  box-shadow: var(--sh-2);
}
.btn--primary:hover { background: #1D1815; box-shadow: var(--sh-3); }

.btn--gold { background: var(--c-gold); color: #1F1A15; }
.btn--gold:hover { background: #9E7C41; color: #fff; }

.btn--ghost {
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--c-surface); border-color: var(--c-gold); }

.btn--wa { background: var(--c-wa); color: #fff; }
.btn--wa:hover { background: var(--c-wa-dark); }
.btn--wa svg { width: 18px; height: 18px; flex: none; }

.btn--lg { min-height: 56px; padding-inline: var(--s-7); font-size: var(--t-base); }
.btn--block { width: 100%; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-top: var(--s-6);
}
.btn-row--center { justify-content: center; }

/* Enlace con flecha */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-sm); font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-gold-text);
  min-height: 44px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--d-base) var(--e-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header ---------------------------------------------------- */
.header {
  position: sticky; top: 0;
  z-index: var(--z-nav);
  background: rgba(251, 247, 243, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-base) var(--e-out),
              background-color var(--d-base) var(--e-out);
  padding-top: env(safe-area-inset-top);
}
.header.is-scrolled {
  border-bottom-color: var(--c-line-soft);
  background: rgba(251, 247, 243, .95);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--f-display); font-size: 1.2rem;
  letter-spacing: .12em; color: var(--c-ink); text-transform: uppercase;
}
.brand__tag {
  font-size: 9px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-gold-text);
}

/* Navegación de escritorio */
.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: var(--s-1); }
}
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  padding: var(--s-3) var(--s-4);
  min-height: 44px;
  font-size: var(--t-sm); font-weight: 400;
  letter-spacing: .04em;
  color: var(--c-ink-2);
  transition: color var(--d-fast) var(--e-out);
}
.nav__link:hover { color: var(--c-ink); }
.nav__link::after {
  content: ""; position: absolute; left: var(--s-4); right: var(--s-4); bottom: 14px;
  height: 1px; background: var(--c-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--d-base) var(--e-out);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-ink); font-weight: 500; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link svg { width: 13px; height: 13px; transition: transform var(--d-base) var(--e-out); }

/* Dropdown servicios */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translate(-50%, 8px);
  width: min(560px, 80vw);
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-4);
  padding: var(--s-4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--d-base) var(--e-out),
              transform var(--d-base) var(--e-out),
              visibility var(--d-base);
}
.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.has-drop:hover > .nav__link svg { transform: rotate(180deg); }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop__group-title {
  grid-column: 1 / -1;
  font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-gold-text); padding: var(--s-3) var(--s-3) var(--s-2);
}
.drop__group-title + .drop__group-title { margin-top: var(--s-3); }
.drop__item {
  display: block; padding: var(--s-3);
  border-radius: var(--r-sm);
  font-size: var(--t-sm); color: var(--c-ink-2);
  transition: background-color var(--d-fast) var(--e-out), color var(--d-fast) var(--e-out);
}
.drop__item:hover { background: var(--c-cream); color: var(--c-ink); }
.drop__all {
  grid-column: 1 / -1; margin-top: var(--s-3);
  border-top: 1px solid var(--c-line-soft); padding-top: var(--s-3);
}

.header__cta { display: none; }
@media (min-width: 1000px) { .header__cta { display: inline-flex; } }

/* Botón hamburguesa */
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  color: var(--c-ink);
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  position: relative;
  transition: transform var(--d-base) var(--e-out), opacity var(--d-fast) var(--e-out);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform var(--d-base) var(--e-out);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.mnav {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  background: var(--c-ivory);
  display: flex; flex-direction: column;
  padding: calc(var(--s-6) + env(safe-area-inset-top)) var(--gutter)
           calc(var(--s-6) + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--d-base) var(--e-out),
              transform var(--d-base) var(--e-out),
              visibility var(--d-base);
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1000px) { .mnav { display: none; } }

.mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-6); }
.mnav__list { display: flex; flex-direction: column; }
.mnav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) 0;
  min-height: 56px;
  border-bottom: 1px solid var(--c-line-soft);
  font-family: var(--f-display); font-size: 1.5rem; color: var(--c-ink);
}
.mnav__link svg { width: 20px; height: 20px; flex: none; color: var(--c-gold-text);
  transition: transform var(--d-base) var(--e-out); }
.mnav__toggle { width: 100%; text-align: left; }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { padding: var(--s-2) 0 var(--s-4); }
.mnav__sub-title {
  font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-gold-text); padding: var(--s-4) 0 var(--s-2);
}
.mnav__sub a {
  display: block; padding: var(--s-3) 0; min-height: 44px;
  font-size: var(--t-base); color: var(--c-ink-2);
  border-bottom: 1px solid var(--c-line-soft);
}
.mnav__foot { margin-top: var(--s-7); }

body.is-locked { overflow: hidden; }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--c-ivory); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(217,196,155,.30), transparent 70%),
    radial-gradient(45% 45% at 95% 85%, rgba(235,224,211,.55), transparent 70%);
  pointer-events: none;
}
.hero__inner > * { min-width: 0; }
.hero__inner {
  position: relative;
  display: grid; gap: var(--s-7);
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) var(--section-y);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: var(--s-8); }
}
.hero__title { margin-bottom: var(--s-5); }
.hero__title em {
  font-style: italic;
  color: var(--c-gold-text);
}
.hero__text { font-size: var(--t-md); line-height: 1.7; max-width: 52ch; }

.hero__media { position: relative; }
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 120px;
  box-shadow: var(--sh-4);
}
@media (min-width: 900px) { .hero__img { aspect-ratio: 3 / 4; } }
.hero__badge {
  position: absolute; left: -10px; bottom: 28px;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: var(--s-4) var(--s-5);
  max-width: 220px;
}
.hero__badge b {
  display: block; font-family: var(--f-display);
  font-size: 2rem; line-height: 1; color: var(--c-gold-text); font-weight: 500;
}
.hero__badge span { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-3); }

.trustbar {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
  margin-top: var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}
.trustbar li {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-sm); color: var(--c-ink-3);
}
.trustbar svg { width: 17px; height: 17px; color: var(--c-gold); flex: none; }

/* ---------- 8. Tarjetas de servicio -------------------------------------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--d-base) var(--e-out),
              box-shadow var(--d-base) var(--e-out),
              border-color var(--d-base) var(--e-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--c-gold-soft); }
.card--feature { background: linear-gradient(170deg, #C9A868, #BC9A55); border-color: transparent; }
.card--feature .card__title,
.card--feature .card__price { color: #24201D; }
.card--feature .card__sub,
.card--feature .card__list li,
.card--feature .link-arrow { color: #332815; }
.card--feature .card__list svg { color: #40331E; }

.card__tag {
  align-self: flex-start;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-gold-text); background: var(--c-cream);
  padding: 5px 11px; border-radius: var(--r-full);
  margin-bottom: var(--s-4);
}
.card--feature .card__tag { background: rgba(255,255,255,.72); color: #3A2D14; }
.card__title { font-size: 1.6rem; margin-bottom: var(--s-2); }
.card__sub { font-size: var(--t-sm); color: var(--c-ink-3); margin-bottom: var(--s-4); }
.card__list { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-5); }
.card__list li {
  display: flex; align-items: flex-start; gap: var(--s-2);
  font-size: var(--t-sm); color: var(--c-ink-2); line-height: 1.55;
}
.card__list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--c-gold); flex: none; }
.card__foot {
  margin-top: auto; padding-top: var(--s-4);
  border-top: 1px solid var(--c-line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  flex-wrap: wrap;
}
.card--feature .card__foot { border-top-color: rgba(45,34,12,.26); }
.card__price {
  font-family: var(--f-display); font-size: 2rem; line-height: 1;
  color: var(--c-ink); font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.card__price small { font-family: var(--f-body); font-size: var(--t-xs); letter-spacing: .1em; color: var(--c-ink-3); display: block; margin-top: 3px; text-transform: uppercase; }
.card--feature .card__price small { color: #3A2D14; }

/* Enlace que cubre toda la tarjeta */
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- 9. Perfil / Acerca ------------------------------------------- */
.profile { display: grid; gap: var(--s-7); align-items: center; }
.profile > * { min-width: 0; }
@media (min-width: 900px) { .profile { grid-template-columns: .85fr 1.15fr; gap: var(--s-8); } }
.profile__media { position: relative; }
.profile__img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-3);
}
.profile__frame {
  position: absolute; inset: 12px 0 -12px 0;
  border: 1px solid var(--c-gold-soft);
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
  z-index: -1;
}
@media (min-width: 900px) { .profile__frame { inset: 14px -14px -14px 14px; } }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.stat { min-width: 0; border-left: 1px solid var(--c-line); padding-left: var(--s-4); }
.stat span { display: block; overflow-wrap: break-word; }
.stat b {
  display: block; font-family: var(--f-display); font-size: 2.2rem;
  line-height: 1; color: var(--c-gold-text); font-weight: 500;
}
.stat span { font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-3); }

/* ---------- 10. Testimonios ---------------------------------------------- */
.quote {
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-1);
}
.quote__stars { display: flex; gap: 3px; margin-bottom: var(--s-4); }
.quote__stars svg { width: 17px; height: 17px; color: #E0A93C; }
.quote__text { font-size: var(--t-base); color: var(--c-ink-2); line-height: 1.7; margin-bottom: var(--s-5); }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: var(--s-3); }
.quote__avatar {
  width: 42px; height: 42px; border-radius: var(--r-full);
  background: var(--c-cream); color: var(--c-gold-text);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.15rem; flex: none;
}
.quote__name { font-size: var(--t-sm); font-weight: 500; color: var(--c-ink); }
.quote__meta { display: flex; align-items: center; gap: 5px; font-size: var(--t-xs); color: var(--c-ink-3); }
.quote__meta svg { width: 13px; height: 13px; }

.placeholder-note {
  display: flex; align-items: flex-start; gap: var(--s-3);
  max-width: var(--maxw-text); margin: var(--s-6) auto 0;
  padding: var(--s-4) var(--s-5);
  background: var(--c-cream);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
  font-size: var(--t-sm); color: var(--c-ink-3);
}
.placeholder-note svg { width: 18px; height: 18px; color: var(--c-gold-text); flex: none; margin-top: 2px; }

/* ---------- 11. Página de servicio --------------------------------------- */
.crumbs { padding-top: var(--s-5); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--t-xs); color: var(--c-ink-3); }
.crumbs a:hover { color: var(--c-gold-text); text-decoration: underline; }
.crumbs svg { width: 12px; height: 12px; opacity: .55; }

.svc-hero > * { min-width: 0; }
.svc-hero { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-7); }
@media (min-width: 900px) { .svc-hero { grid-template-columns: 1.15fr .85fr; gap: var(--s-8); align-items: start; } }

.price-box {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: var(--s-6);
}
@media (min-width: 900px) { .price-box { position: sticky; top: 100px; } }
.price-box__label { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--c-ink-3); }
.price-box__amount {
  font-family: var(--f-display); font-size: 3.2rem; line-height: 1.05;
  color: var(--c-ink); font-weight: 500; font-variant-numeric: tabular-nums;
  margin: var(--s-2) 0 var(--s-1);
}
.price-box__note { font-size: var(--t-sm); color: var(--c-ink-3); }
.price-box__split { display: flex; flex-direction: column; gap: var(--s-4); }
.price-box__tier { padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-line-soft); }
.price-box__tier:last-of-type { border-bottom: 0; padding-bottom: 0; }
.price-box__tier .price-box__amount { font-size: 2.4rem; }
.price-box hr { border: 0; border-top: 1px solid var(--c-line-soft); margin: var(--s-5) 0; }
.price-box__meta { display: flex; flex-direction: column; gap: var(--s-3); }
.price-box__meta div { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--t-sm); }
.price-box__meta svg { width: 17px; height: 17px; color: var(--c-gold); flex: none; margin-top: 3px; }
.price-box__meta dt { font-weight: 500; color: var(--c-ink); }

.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.panel + .panel { margin-top: var(--s-5); }
.panel__title { font-size: 1.5rem; margin-bottom: var(--s-4); }

.ticks { display: flex; flex-direction: column; gap: var(--s-3); }
.ticks li { display: flex; align-items: flex-start; gap: var(--s-3); line-height: 1.6; }
.ticks svg { width: 19px; height: 19px; color: var(--c-gold); flex: none; margin-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  padding: 7px 15px; border-radius: var(--r-full);
  background: var(--c-cream); border: 1px solid var(--c-line-soft);
  font-size: var(--t-sm); color: var(--c-ink-2);
}

.steps { counter-reset: st; display: grid; gap: var(--s-5); }
.steps > * { min-width: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: var(--s-6); }
.step::before {
  counter-increment: st; content: "0" counter(st);
  position: absolute; top: 0; left: 0;
  font-family: var(--f-display); font-size: 1.7rem;
  color: var(--c-gold-soft);
}
.step h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.step p { font-size: var(--t-sm); }

.notice {
  display: flex; gap: var(--s-4);
  background: var(--c-cream);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s-5);
  font-size: var(--t-sm);
  color: var(--c-ink-2);
}
.notice svg { width: 20px; height: 20px; color: var(--c-gold-text); flex: none; margin-top: 2px; }
.notice strong { display: block; margin-bottom: var(--s-1); }

/* Acordeón FAQ */
.faq { display: flex; flex-direction: column; max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--c-line-soft);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; min-height: 56px;
  cursor: pointer; list-style: none;
  font-size: var(--t-md); font-weight: 500; color: var(--c-ink);
  transition: color var(--d-fast) var(--e-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-gold-text); }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform var(--d-base) var(--e-out); color: var(--c-gold-text); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__body { padding-bottom: var(--s-5); max-width: var(--maxw-text); font-size: var(--t-sm); }

/* ---------- 12. Bloque CTA ----------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--c-espresso);
  color: var(--c-on-dark);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--gutter);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 70% at 50% 0%, rgba(176,141,79,.30), transparent 72%);
}
.cta > * { position: relative; }
.cta h2 { color: #FDFAF6; }
.cta p { color: #D6CCC2; max-width: 52ch; margin-inline: auto; margin-top: var(--s-4); }
.cta .eyebrow { color: var(--c-gold-soft); }
.cta .rule { background: var(--c-gold-soft); }

/* ---------- 13. Contacto ------------------------------------------------- */
.contact-grid { display: grid; gap: var(--s-6); }
.contact-grid > * { min-width: 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.info-list { display: flex; flex-direction: column; gap: var(--s-2); }
.info-item {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-4);
  border-radius: var(--r-md);
  min-height: 56px;
  transition: background-color var(--d-fast) var(--e-out);
}
a.info-item:hover { background: var(--c-cream); }
.info-item__icon {
  width: 42px; height: 42px; border-radius: var(--r-full);
  background: var(--c-cream); color: var(--c-gold-text);
  display: grid; place-items: center; flex: none;
}
.info-item__icon svg { width: 19px; height: 19px; }
.info-item dt { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-3); }
.info-item dd { font-size: var(--t-md); color: var(--c-ink); margin: 2px 0 0; }
.info-item dd small { display: block; font-size: var(--t-sm); color: var(--c-ink-3); }

.form { display: flex; flex-direction: column; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label { font-size: var(--t-sm); font-weight: 500; color: var(--c-ink); }
.field label .req { color: var(--c-terracotta); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--s-3) var(--s-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: var(--t-base);
  color: var(--c-ink);
  transition: border-color var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E645B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(176,141,79,.16);
}
.field__help { font-size: var(--t-xs); color: var(--c-ink-3); }

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-cream);
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  text-align: center;
  padding: var(--s-6);
  color: var(--c-ink-3);
  font-size: var(--t-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 14. Footer --------------------------------------------------- */
.footer {
  background: var(--c-cream);
  border-top: 1px solid var(--c-line);
  padding-top: var(--section-y);
  padding-bottom: calc(var(--s-6) + env(safe-area-inset-bottom));
}
.footer__grid { display: grid; gap: var(--s-7); }
.footer__grid > * { min-width: 0; }
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.footer__brand { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.footer__brand img { width: 54px; height: 54px; object-fit: contain; }
.footer h2 {
  font-family: var(--f-body); font-size: var(--t-xs);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-ink); margin-bottom: var(--s-4);
}
.footer__links { display: flex; flex-direction: column; }
.footer__links a {
  display: inline-flex; align-items: center;
  padding: 7px 0; min-height: 40px;
  font-size: var(--t-sm); color: var(--c-ink-2);
  transition: color var(--d-fast) var(--e-out);
}
.footer__links a:hover { color: var(--c-gold-text); }

.socials { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.socials a {
  width: 44px; height: 44px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--c-surface); border: 1px solid var(--c-line-soft);
  color: var(--c-ink-2);
  transition: background-color var(--d-base) var(--e-out),
              color var(--d-base) var(--e-out),
              border-color var(--d-base) var(--e-out);
}
.socials a:hover { background: var(--c-espresso); color: var(--c-on-dark); border-color: transparent; }
.socials svg { width: 19px; height: 19px; }

.footer__bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  justify-content: space-between; align-items: center;
  font-size: var(--t-xs); color: var(--c-ink-3);
}

/* ---------- 15. WhatsApp flotante ---------------------------------------- */
.wa-float {
  position: fixed;
  right: max(var(--s-5), env(safe-area-inset-right));
  bottom: calc(var(--s-5) + env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: flex; align-items: center; gap: var(--s-3);
  height: 58px; padding: 0 var(--s-5) 0 var(--s-4);
  border-radius: var(--r-full);
  background: var(--c-wa); color: #fff;
  box-shadow: 0 10px 30px rgba(16,128,64,.34);
  transition: transform var(--d-base) var(--e-out), box-shadow var(--d-base) var(--e-out);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,128,64,.42); }
.wa-float:active { transform: scale(.96); }
.wa-float svg { width: 27px; height: 27px; flex: none; }
.wa-float span { font-size: var(--t-sm); font-weight: 500; letter-spacing: .03em; white-space: nowrap; }
@media (max-width: 560px) {
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}

/* ---------- 16. Animaciones ---------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--e-out), transform 620ms var(--e-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 70ms; }
.reveal[data-delay="2"] { transition-delay: 140ms; }
.reveal[data-delay="3"] { transition-delay: 210ms; }
.reveal[data-delay="4"] { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 17. Utilidades ----------------------------------------------- */
.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;
}
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.text-center { text-align: center; }

@media print {
  .header, .wa-float, .mnav, .cta, .footer__links { display: none !important; }
  body { background: #fff; color: #000; }
}
