/* ==========================================================================
   Clínica Áurea — demo Landing Page Express
   CSS propio, sin frameworks ni fuentes externas.
   Orden: 1) base y tokens  2) utilidades  3) componentes  4) secciones
          5) responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --crema: #FBF7F2;
  --salvia: #7C8F6B;
  --verde: #2F3A2C;
  --terracota: #C4704F;
  --tinta: #22251F;
  --arena: #EFE7DB;

  --crema-2: #FFFDFA;
  --texto-suave: #5C6157;
  --salvia-osc: #5A6C4C;
  --terracota-osc: #A9573A;
  --linea: rgba(34, 37, 31, .12);
  --linea-fuerte: rgba(34, 37, 31, .24);

  --sombra-sutil: 0 1px 2px rgba(34, 37, 31, .05), 0 10px 30px -24px rgba(34, 37, 31, .45);
  --sombra-card: 0 1px 2px rgba(34, 37, 31, .04), 0 22px 50px -34px rgba(34, 37, 31, .45);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;

  --font-display: Georgia, 'Times New Roman', Times, serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1160px;
  --pad: clamp(18px, 4vw, 40px);
  --header-h: 74px;
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
svg { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--terracota-osc);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(196, 112, 79, .22); }

[hidden] { display: none !important; }

/* 3. Utilidades ----------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--salvia-osc);
}
.kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracota);
  flex: 0 0 auto;
}

.lead {
  max-width: 62ch;
  margin-top: 16px;
  font-size: clamp(1rem, .95rem + .25vw, 1.08rem);
  line-height: 1.65;
  color: var(--texto-suave);
}

.muted {
  color: var(--texto-suave);
  font-size: .9rem;
}

/* 4. Botones y enlaces ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .78rem 1.45rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--verde);
  color: var(--crema);
  box-shadow: 0 8px 20px -12px rgba(47, 58, 44, .8);
}
.btn--primary:hover { background: #3B4837; }

.btn--terracota {
  background: var(--terracota);
  color: #FFF8F3;
  box-shadow: 0 8px 20px -12px rgba(196, 112, 79, .9);
}
.btn--terracota:hover { background: #B3623F; }

.btn--outline {
  background: transparent;
  border-color: rgba(47, 58, 44, .32);
  color: var(--verde);
}
.btn--outline:hover {
  background: rgba(47, 58, 44, .06);
  border-color: rgba(47, 58, 44, .5);
}

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--terracota-osc);
  text-decoration: none;
  cursor: pointer;
}
.link-arrow .ico { width: 17px; height: 17px; transition: transform .18s ease; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* 5. Cinta DEMO ----------------------------------------------------------- */
.ribbon {
  background: var(--verde);
  color: var(--crema);
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.ribbon span { display: inline-block; }

/* 6. Skip link ------------------------------------------------------------ */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 120;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--verde);
  color: var(--crema);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* 7. Header / navegación -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 242, .9);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid var(--linea);
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -26px rgba(34, 37, 31, .9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--verde);
  text-decoration: none;
}
.logo-mark {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--terracota);
  flex: 0 0 auto;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--verde);
}
.logo-sub {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--salvia-osc);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 20px);
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  font-size: .9rem;
  font-weight: 500;
  color: #3E453B;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav-list a:hover {
  color: var(--verde);
  border-bottom-color: var(--terracota);
}
.nav-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 4px 6px 10px;
  border: 1px solid var(--linea-fuerte);
  border-radius: 999px;
  background: transparent;
  color: var(--verde);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 20px;
  padding: 4px 0;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 8. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(34px, 5.5vw, 68px) clamp(44px, 6vw, 82px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.blob--1 {
  width: 560px; height: 560px;
  top: -220px; left: -180px;
  background: radial-gradient(circle at 50% 50%, rgba(124, 143, 107, .26), rgba(124, 143, 107, 0) 66%);
}
.blob--2 {
  width: 620px; height: 620px;
  top: -60px; right: -260px;
  background: radial-gradient(circle at 50% 50%, rgba(196, 112, 79, .16), rgba(196, 112, 79, 0) 68%);
}
.blob--3 {
  width: 720px; height: 420px;
  bottom: -260px; left: 28%;
  background: radial-gradient(circle at 50% 50%, rgba(239, 231, 219, .95), rgba(239, 231, 219, 0) 70%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .62;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.15rem, 1.05rem + 3.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--terracota);
}
.hero-lead {
  max-width: 56ch;
  margin-top: 20px;
  font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem);
  line-height: 1.6;
  color: var(--texto-suave);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-fine {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--texto-suave);
  max-width: 44ch;
}

.seals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: clamp(28px, 4vw, 40px);
  max-width: 520px;
}
.seals li {
  padding-top: 12px;
  border-top: 1px solid var(--linea-fuerte);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.seal-num {
  font-family: var(--font-display);
  font-size: clamp(.98rem, .78rem + .85vw, 1.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--verde);
  font-variant-numeric: tabular-nums;
}
.seal-lbl {
  font-size: .72rem;
  line-height: 1.35;
  color: var(--texto-suave);
}

.hero-art {
  position: relative;
  aspect-ratio: 520 / 460;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--arena);
  box-shadow: var(--sombra-card);
  isolation: isolate;
}
.hero-art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 82%;
}
/* Velo suave: asienta la foto dentro del marco y da contraste al sello de horarios. */
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(34, 37, 31, .38) 0%,
    rgba(34, 37, 31, .12) 24%,
    rgba(34, 37, 31, 0) 52%
  );
  pointer-events: none;
}
.hero-chip {
  position: absolute;
  left: clamp(12px, 3vw, 22px);
  bottom: clamp(12px, 3vw, 22px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 12px;
  border-radius: 14px;
  background: rgba(255, 253, 250, .94);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 14px 30px -20px rgba(34, 37, 31, .8);
  backdrop-filter: blur(6px);
  font-size: .78rem;
  line-height: 1.4;
  color: var(--texto-suave);
}
.hero-chip strong { display: block; color: var(--tinta); font-size: .82rem; }
.hero-chip-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--arena);
  color: var(--verde);
  flex: 0 0 auto;
}

/* 9. Secciones ------------------------------------------------------------ */
.section {
  padding-block: clamp(56px, 7.5vw, 104px);
}
.section--arena {
  background: var(--arena);
  background-image: radial-gradient(820px 380px at 100% 0, rgba(196, 112, 79, .07), transparent 70%);
}
.section-head {
  max-width: 820px;
  margin-bottom: clamp(28px, 3.5vw, 46px);
}
.section-head h2 {
  max-width: 28ch;
  font-size: clamp(1.72rem, 1.16rem + 1.55vw, 2.55rem);
}
.section-note {
  max-width: 74ch;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px dashed var(--linea-fuerte);
  font-size: .84rem;
  line-height: 1.6;
  color: var(--texto-suave);
}
.section-note strong {
  color: var(--tinta);
  font-weight: 600;
}

/* 10. Servicios ----------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.service-card {
  --card-pad: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--card-pad);
  overflow: hidden;
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  background: var(--crema-2);
  box-shadow: var(--sombra-sutil);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 143, 107, .45);
  box-shadow: var(--sombra-card);
}
/* Foto a sangre en la parte alta de la tarjeta: ocupa el padding y se recorta
   con el radio del propio card (overflow: hidden). */
.service-photo {
  display: block;
  width: calc(100% + var(--card-pad) + var(--card-pad));
  height: auto;               /* anula el height de atributo y deja mandar aspect-ratio */
  aspect-ratio: 16 / 10;
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 18px;
  object-fit: cover;
  object-position: 50% 45%;
  background: linear-gradient(140deg, #F5EFE5, #E9DFCF);
}
.service-photo--corporal { object-position: 50% 22%; }
.service-photo--dental { object-position: 50% 95%; }
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: linear-gradient(140deg, #F5EFE5, #E9DFCF);
  color: var(--verde);
}
.service-icon .ico { width: 26px; height: 26px; stroke-width: 2.3; }
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.service-desc {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--texto-suave);
}
.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: auto;
  padding-top: 18px;
  margin-bottom: 6px;
  border-top: 1px dashed var(--linea);
}
.service-meta div { display: flex; flex-direction: column; gap: 1px; }
.service-meta dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8A8F84;
}
.service-meta dd {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--verde);
  font-variant-numeric: tabular-nums;
}
.service-meta dd span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--texto-suave);
}

/* 11. Promociones --------------------------------------------------------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
  align-items: stretch;
}
.promo {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(34, 37, 31, .1);
  border-radius: var(--r-lg);
  background: var(--crema-2);
  box-shadow: var(--sombra-sutil);
}
.promo--feature {
  background: var(--verde);
  color: var(--crema);
  border-color: transparent;
  box-shadow: 0 24px 50px -34px rgba(47, 58, 44, .9);
}
.promo-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--terracota);
  color: #FFF8F3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.promo-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--salvia-osc);
  margin-bottom: 10px;
}
.promo--feature .promo-tag { color: #C4D0B6; }
.promo h3 {
  font-size: 1.42rem;
  min-height: 2.28em;
  margin-bottom: 8px;
}
.promo-desc {
  min-height: 3.1em;
  font-size: .93rem;
  line-height: 1.55;
  color: var(--texto-suave);
  margin-bottom: 18px;
}
.promo--feature .promo-desc { color: rgba(251, 247, 242, .75); }

.promo-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 4px;
}
.price-old {
  font-size: .98rem;
  color: #8A8F84;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.promo--feature .price-old { color: rgba(251, 247, 242, .55); }
.price-now {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 1.6rem + 1.1vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.price-cur {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--texto-suave);
  vertical-align: middle;
}
.promo--feature .price-cur { color: rgba(251, 247, 242, .6); }

.promo-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  font-size: .92rem;
  line-height: 1.5;
}
.promo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.promo-list .ico {
  width: 17px; height: 17px;
  margin-top: 3px;
  color: var(--salvia-osc);
  stroke-width: 2.2;
}
.promo--feature .promo-list .ico { color: #B7C7A6; }
.promo-valid {
  margin-top: auto;
  padding-bottom: 16px;
  font-size: .8rem;
  color: var(--texto-suave);
}
.promo--feature .promo-valid { color: rgba(251, 247, 242, .62); }
.promo--feature .btn--outline {
  border-color: rgba(251, 247, 242, .45);
  color: var(--crema);
}
.promo--feature .btn--outline:hover {
  background: rgba(251, 247, 242, .1);
  border-color: rgba(251, 247, 242, .7);
}

/* 12. Galería ------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
}
.tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--arena);
  isolation: isolate;
}
.tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform .5s ease;
}
.tile:hover .tile-photo { transform: scale(1.03); }
.tile-photo--recepcion { object-position: 50% 54%; }
.tile-photo--facial { object-position: 50% 85%; }
.tile-photo--instrumental { object-position: 50% 56%; }
.tile-photo--masaje { object-position: 50% 44%; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 18, .22) 0%, rgba(20, 24, 18, 0) 26%);
  pointer-events: none;
}
.tile-label {
  position: absolute;
  left: clamp(10px, 1.2vw, 14px);
  bottom: clamp(10px, 1.2vw, 14px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  max-width: calc(100% - 26px);
  padding: 8px 12px 9px;
  border: 1px solid rgba(251, 247, 242, .16);
  border-radius: 11px;
  background: rgba(24, 29, 22, .58);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
}
.tile-chip {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: none;
  color: rgba(251, 247, 242, .66);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tile-chip--alt {
  background: none;
  color: #F2B79A;
}
.tile-name {
  color: #FFFDFA;
  font-size: clamp(12.5px, 1.05vw, 14px);
  font-weight: 600;
  line-height: 1.3;
}

/* 13. Reseñas ------------------------------------------------------------- */
.rating-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
  margin-bottom: clamp(20px, 3vw, 30px);
  padding: 22px clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(34, 37, 31, .1);
  border-radius: var(--r-lg);
  background: var(--crema-2);
  box-shadow: var(--sombra-sutil);
}
.rating-score {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rating-num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.9rem + 1.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}
.rating-meta p {
  font-size: .84rem;
  color: var(--texto-suave);
}
.rating-meta strong { color: var(--tinta); }
.rating-note {
  flex-basis: 100%;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--linea);
  font-size: .8rem;
  color: var(--texto-suave);
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #D9A441;
  line-height: 1;
}
.stars .ico { width: 17px; height: 17px; }
.stars--sm .ico { width: 15px; height: 15px; }
.ico--muted { color: #D8D1C4 !important; }
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px 11px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: #fff;
  font-size: .78rem;
  font-weight: 600;
  color: #5F6368;
  white-space: nowrap;
}
.g-letter {
  font-weight: 700;
  color: #4285F4;
}
.g-badge--sm {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: .72rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
.review {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid rgba(34, 37, 31, .1);
  border-radius: var(--r-lg);
  background: var(--crema-2);
  box-shadow: var(--sombra-sutil);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  flex: 0 0 auto;
}
.avatar--terracota { background: var(--terracota); }
.avatar--salvia { background: var(--salvia); }
.avatar--verde { background: var(--verde); }
.avatar--arena { background: #DCCDBA; color: #6B5946; }
.review-who { min-width: 0; }
.review-name {
  font-size: .93rem;
  font-weight: 650;
  line-height: 1.3;
}
.review-date {
  font-size: .78rem;
  color: var(--texto-suave);
}
.review-text {
  margin-top: 10px;
  font-size: .93rem;
  line-height: 1.62;
  color: #454A42;
}

/* 14. Preguntas frecuentes ------------------------------------------------ */
.faq {
  max-width: 880px;
  border-top: 1px solid var(--linea-fuerte);
}
.faq-item { border-bottom: 1px solid var(--linea-fuerte); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tinta);
  transition: color .16s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terracota-osc); }
.faq-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--linea-fuerte);
  border-radius: 50%;
  color: var(--verde);
  transition: background-color .2s ease, color .2s ease;
}
.faq-icon span {
  position: absolute;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s ease;
}
.faq-icon span:nth-child(2) { transform: rotate(90deg); }
.faq-item[open] .faq-icon {
  background: var(--verde);
  color: var(--crema);
  border-color: var(--verde);
}
.faq-item[open] .faq-icon span:nth-child(2) { transform: rotate(0deg); }
.faq-body {
  max-width: 70ch;
  padding: 0 4px 22px;
}
.faq-body p {
  font-size: .96rem;
  line-height: 1.68;
  color: #4A5047;
}
.faq-item[open] .faq-body { animation: faq-in .22s ease-out; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* 15. Ubicación ----------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(24px, 3.6vw, 44px);
  align-items: start;
}
.map-card {
  padding: 10px;
  border: 1px solid rgba(34, 37, 31, .1);
  border-radius: var(--r-lg);
  background: var(--crema-2);
  box-shadow: var(--sombra-sutil);
}
.map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.map-card figcaption {
  padding: 10px 6px 2px;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--texto-suave);
}
.map .mp-name { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: var(--tinta); }
.map .mp-sub { font-family: var(--font-body); font-size: 9.5px; fill: #6E7364; }
.map .mp-street {
  font-family: var(--font-body);
  font-size: 10.5px;
  fill: #8A8F84;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.map .mp-park {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  fill: #5E7150;
  letter-spacing: .02em;
}
.map .compass text {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  fill: #8A8F84;
}
.map-pulse { animation: map-pulse 4s ease-in-out infinite; }
@keyframes map-pulse {
  0%, 100% { opacity: .12; }
  50% { opacity: .3; }
}

.info-block + .info-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--linea);
}
.info-block h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--salvia-osc);
}
.info-block h3 .ico { width: 17px; height: 17px; color: var(--terracota); }
.info-block p { margin-top: 8px; }
.phone-big {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--verde);
  font-variant-numeric: tabular-nums;
}
.hours {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: .93rem;
}
.hours th {
  padding: 10px 0;
  text-align: left;
  font-weight: 500;
  color: #4A5047;
  border-bottom: 1px solid var(--linea);
}
.hours td {
  padding: 10px 0;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--linea);
}
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }
.closed { color: var(--terracota-osc); }
.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* 16. Formulario ---------------------------------------------------------- */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr);
  gap: clamp(22px, 3.2vw, 36px);
  align-items: start;
}
.form-card {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  background: var(--crema-2);
  box-shadow: var(--sombra-sutil);
}
.form { width: 100%; }

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field label {
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
  color: #3C4239;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #DCD2C2;
  border-radius: 12px;
  background: #fff;
  color: var(--tinta);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #9A9E93; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--salvia-osc);
  box-shadow: 0 0 0 3px rgba(124, 143, 107, .22);
  outline: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #6B705F 50%),
    linear-gradient(135deg, #6B705F 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% + 1px),
    calc(100% - 14px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.55;
}
.field input[type="date"] { min-height: 48px; }

[aria-invalid="true"] {
  border-color: #B4552F !important;
  background: #FDF4EF;
}
.field-error {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  color: #A24A2A;
}
.field-error:empty { display: none; }
.field-hint {
  margin: 0;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--texto-suave);
}
.req { color: var(--terracota); }
.opt { font-weight: 400; color: var(--texto-suave); }

.field--check {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  margin-top: 22px;
  margin-bottom: 22px;
}
.field--check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 10px 0 0;
  padding: 0;
  accent-color: var(--verde);
  cursor: pointer;
}
.field--check label {
  display: block;
  min-height: 44px;
  padding: 9px 0;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4A5047;
  cursor: pointer;
}
.field--check label a {
  color: var(--terracota-osc);
  font-weight: 600;
  text-underline-offset: 2px;
}
.field--check .field-error { grid-column: 1 / -1; }

.form-fine {
  margin-top: 14px;
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
  color: var(--texto-suave);
}
.form-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #E4B49E;
  border-radius: 10px;
  background: #FBEAE2;
  font-size: .87rem;
  font-weight: 600;
  color: #8C3E22;
}

.confirm { text-align: left; }
.confirm:focus,
.confirm:focus-visible { outline: none; }
.confirm-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--crema);
}
.confirm-icon .ico { width: 24px; height: 24px; stroke-width: 2.2; }
.confirm h3 {
  font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  margin-bottom: 8px;
}
.confirm-lead {
  margin-bottom: 18px;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--texto-suave);
}
.confirm-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0 0 16px;
  padding: 16px 0;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  font-size: .92rem;
}
.confirm-list dt {
  padding-top: 2px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.confirm-list dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.confirm-note {
  margin-bottom: 18px;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--texto-suave);
}

.booking-aside {
  position: sticky;
  top: 96px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  background: var(--arena);
}
.booking-aside h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.aside-list {
  display: grid;
  gap: 12px;
  font-size: .92rem;
  line-height: 1.5;
  color: #3E453B;
}
.aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.aside-list .ico {
  width: 17px; height: 17px;
  margin-top: 3px;
  color: var(--salvia-osc);
  stroke-width: 2.2;
}
.aside-box {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 58, 44, .08);
  border-radius: 14px;
  background: var(--crema-2);
}
.aside-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.aside-value {
  margin: 4px 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
}
.aside-value span {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--texto-suave);
}
.aside-small {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--texto-suave);
}
.aside-phone {
  margin-top: 20px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--texto-suave);
}
.aside-phone strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--tinta);
}

/* 17. Footer -------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(46px, 6vw, 70px) 24px;
  background: var(--verde);
  color: rgba(251, 247, 242, .82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr .9fr 1fr;
  gap: clamp(24px, 3vw, 44px);
}
.logo--footer {
  margin-bottom: 14px;
  color: var(--crema);
}
.logo--footer .logo-name { color: var(--crema); }
.logo--footer .logo-sub { color: rgba(251, 247, 242, .6); }
.footer-desc {
  max-width: 34ch;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(251, 247, 242, .7);
}
.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251, 247, 242, .58);
}
.footer-list {
  display: grid;
  gap: 6px;
  font-size: .9rem;
  line-height: 1.6;
}
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(251, 247, 242, .85);
  text-decoration: none;
  text-underline-offset: 3px;
}
.footer-list a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer .muted { color: rgba(251, 247, 242, .55); }
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 10px;
}
.social-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .82rem;
  color: rgba(251, 247, 242, .62);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.social-list a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 247, 242, .16);
  font-size: .78rem;
  line-height: 1.55;
  color: rgba(251, 247, 242, .55);
}
.footer-demo { max-width: 66ch; }
.footer-stock {
  flex-basis: 100%;
  margin-top: 2px;
  font-size: .72rem;
  letter-spacing: .01em;
  color: rgba(251, 247, 242, .42);
}

/* 18. Botón flotante de WhatsApp ----------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(14px, 3vw, 24px);
  bottom: clamp(14px, 3vw, 24px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1E7A46;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(30, 122, 70, .7), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .18s ease, background-color .18s ease;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { background: #1A6B3D; transform: translateY(-2px) scale(1.03); }
.wa-float-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* 19. Página de aviso de privacidad --------------------------------------- */
.legal-page { padding-block: clamp(32px, 5vw, 56px) clamp(48px, 6vw, 80px); }
.legal-wrap { max-width: 820px; }
.legal-head { margin-bottom: clamp(24px, 3vw, 36px); }
.legal-head h1 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  max-width: 22ch;
  margin-bottom: 14px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--texto-suave);
}
.legal-intro {
  padding: 18px 20px;
  border-left: 3px solid var(--terracota);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--arena);
  font-size: .92rem;
  line-height: 1.65;
  color: #454A42;
}
.legal-body { margin-top: clamp(24px, 3vw, 36px); }
.legal-body section {
  padding-block: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--linea);
}
.legal-body section:first-child { border-top: 0; padding-top: 0; }
.legal-body h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.legal-body h3 {
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 700;
  margin: 16px 0 6px;
}
.legal-body p,
.legal-body li {
  font-size: .94rem;
  line-height: 1.7;
  color: #454A42;
}
.legal-body p + p { margin-top: 10px; }
.legal-body ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.legal-body ul li::marker { color: var(--salvia); }
.legal-body a {
  color: var(--terracota-osc);
  font-weight: 600;
  text-underline-offset: 2px;
}
.legal-note {
  margin-top: clamp(24px, 3vw, 32px);
  padding: 16px 18px;
  border: 1px dashed var(--linea-fuerte);
  border-radius: var(--r-md);
  font-size: .84rem;
  line-height: 1.6;
  color: var(--texto-suave);
}
.legal-back { margin-top: 28px; }

/* 20. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h) - 40px);
    padding: 6px var(--pad) 20px;
    overflow-y: auto;
    border-bottom: 1px solid var(--linea);
    background: var(--crema);
    box-shadow: 0 30px 44px -34px rgba(34, 37, 31, .8);
  }
  .nav-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    min-height: 52px;
    padding: 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--linea);
    border-radius: 0;
  }
  .nav-list a:hover { border-bottom-color: var(--linea); color: var(--terracota-osc); }
  .nav-cta { width: 100%; margin-top: 16px; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-copy { max-width: 640px; }
  .hero-art { max-width: 560px; margin-inline: auto; }
  .hero h1 { max-width: 18ch; }

  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .location-grid { grid-template-columns: minmax(0, 1fr); }
  .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .booking-aside { position: static; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid .tile { aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: minmax(0, 1fr); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rating-panel { gap: 14px 20px; }
  .g-badge { margin-left: 0; }
  .hours { font-size: .9rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  html { scroll-padding-top: 84px; }

  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tile-name { font-size: 14px; }
  .tile-chip { font-size: 9.5px; padding: 4px 9px; }
  .tile-label { gap: 7px; }
  .btn { padding-inline: 1.2rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .seals { gap: 8px 12px; }
  .seal-num { letter-spacing: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer { padding-bottom: 96px; }
  .footer-list a { min-height: 44px; }
  .map-card { padding: 8px; }
  .form-card { padding: 20px 18px; }
  .legal-intro { padding: 16px; }
}

@media (max-width: 460px) {
  .logo-sub { display: none; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 1.08rem; }
  .hero h1 { max-width: 16ch; }
  .section-head h2 { max-width: 22ch; }
  .rating-score { gap: 10px; }
}

@media (max-width: 430px) {
  .legal-back-label { display: none; }
  .header-inner .btn { min-width: 44px; padding-inline: .85rem; }
}

@media (max-width: 360px) {
  .nav-toggle-text { display: none; }
  .hero-actions { flex-direction: column; }
  .seals { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .site-header, .wa-float, .ribbon, .skip-link { display: none; }
}

@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;
  }
}
