/* =========================================================================
   DEPILUAR — styles.css
   Paleta: verde, marrón claro y blanco. Estética natural y elegante.
   ========================================================================= */

/* ---------- Variables ---------- */
:root {
  --verde-900: #2c3b2e;
  --verde-700: #455a42;
  --verde-600: #566d52;
  --verde-400: #8a9e82;
  --verde-100: #e8ede3;
  --verde-50:  #f2f5ef;

  --marron-600: #9c7752;
  --marron-500: #b8936c;
  --marron-300: #d8c1a4;
  --marron-100: #f1e7db;

  --blanco: #ffffff;
  --crema:  #faf7f2;
  --texto:  #2b2d27;
  --texto-suave: #63665d;
  --linea: rgba(69, 90, 66, 0.14);

  --wa: #25a35a;

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

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(44, 59, 46, 0.06);
  --shadow:    0 14px 40px -18px rgba(44, 59, 46, 0.28);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--texto);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 500; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--marron-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--verde-700);
  color: var(--blanco);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Tipografía de secciones ---------- */
.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--marron-600);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: var(--marron-300); }

.section { padding: clamp(80px, 11vw, 130px) 0; }

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.section__head .eyebrow { justify-content: center; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  color: var(--verde-900);
  letter-spacing: -.01em;
}
.section__title em, .hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--verde-600);
}
.section__title--light { color: var(--blanco); }
.section__title--light em { color: var(--marron-300); }

.section__lead {
  margin: 18px auto 0;
  color: var(--texto-suave);
  max-width: 560px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

.btn--wa { background: var(--verde-700); color: var(--blanco); }
.btn--wa .icon { color: #bfe6c9; }

.btn--ghost {
  background: transparent;
  color: var(--verde-700);
  border-color: rgba(69, 90, 66, .35);
}

.btn--light { background: var(--blanco); color: var(--verde-900); }
.btn--light .icon { color: var(--wa); }
.btn--outline-light { color: var(--blanco); border-color: rgba(255,255,255,.45); }

@media (hover: hover) {
  .btn--wa:hover { background: var(--verde-900); box-shadow: var(--shadow); transform: translateY(-2px); }
  .btn--ghost:hover { background: var(--verde-700); color: var(--blanco); border-color: var(--verde-700); }
  .btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
  .btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--blanco); }
}

/* ---------- Encabezado ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(250, 247, 242, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--linea); box-shadow: var(--shadow-sm); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo: si existe assets/logo.png se muestra la imagen; si no, el nombre en texto */
.brand { display: inline-flex; align-items: center; text-decoration: none; position: relative; z-index: 2; }
.brand__logo { height: 54px; width: auto; max-width: 180px; object-fit: contain; }
.brand__text {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--verde-900);
  letter-spacing: .02em;
}
.brand:not(.has-img) .brand__logo,
.footer__brand:not(.has-img) .brand__logo { display: none; }
.brand.has-img .brand__text,
.footer__brand.has-img .brand__text { display: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__link {
  position: relative;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 400;
  color: var(--texto);
  padding: 6px 0;
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--marron-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--verde-700); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
  border-radius: 12px;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--verde-900);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__list { gap: 18px; }
  .nav { gap: 20px; }
}

@media (max-width: 959px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--crema);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding: calc(var(--header-h) + 20px) 32px calc(40px + env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: center; gap: 6px; }
  .nav__link {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 500;
    color: var(--verde-900);
  }
  .nav__cta { padding: 16px 32px; font-size: 1rem; }
}

/* ---------- Portada ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 70px)) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(1200px 600px at 85% 10%, var(--verde-50), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, var(--marron-100), transparent 60%),
    var(--crema);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.4vw, 5.2rem);
  color: var(--verde-900);
  letter-spacing: -.015em;
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero__title em { display: inline-block; margin-top: .08em; }
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--texto-suave);
  max-width: 500px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: .9rem;
  color: var(--texto-suave);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--marron-500);
}

.hero__media { position: relative; justify-self: center; width: 100%; max-width: 470px; }

/* Marco en arco: imagen de portada */
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, var(--verde-100) 0%, var(--marron-100) 100%);
  box-shadow: var(--shadow);
}
.arch::after {
  /* filete interior decorativo */
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.55);
  pointer-events: none;
  z-index: 2;
}
.arch__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.arch.has-img .arch__img { opacity: 1; }
.arch__placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  color: var(--verde-600);
}
.arch.has-img .arch__placeholder { display: none; }
.botanical { width: 46%; height: auto; opacity: .55; }

.hero__badge {
  position: absolute;
  left: -28px; bottom: 44px;
  background: var(--blanco);
  border-radius: 999px;
  padding: 14px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  z-index: 3;
}
.hero__badge span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--marron-600); }
.hero__badge strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--verde-900); font-weight: 600; }

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__facts { justify-content: center; }
  .hero__media { max-width: 380px; order: 0; }
  .hero__badge { left: -10px; bottom: 28px; padding: 12px 20px; }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .hero__media { max-width: 300px; }
}

/* ---------- Nosotros ---------- */
.about { background: var(--blanco); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px clamp(40px, 7vw, 100px);
  align-items: end;
}
.about__body p { color: var(--texto-suave); font-size: 1.08rem; }
.about__body p:last-child { margin-bottom: 0; }

.pillars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(30px, 5vw, 56px);
}
.pillar {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--crema);
  border: 1px solid var(--linea);
}
.pillar__icon { width: 34px; height: 34px; color: var(--marron-500); margin-bottom: 20px; }
.pillar h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--verde-900); margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--texto-suave); font-size: .98rem; }

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .pillar { padding: 26px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .pillar__icon { grid-row: span 2; margin: 2px 0 0; width: 30px; height: 30px; }
}

/* ---------- Tratamientos ---------- */
.treatments { background: var(--crema); }

.notices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--verde-100);
  color: var(--verde-900);
  font-size: .95rem;
  line-height: 1.55;
}
.notice p { margin: 0; }
.notice .icon { margin-top: 2px; color: var(--verde-700); }
.notice--soft { background: var(--marron-100); }
.notice--soft .icon { color: var(--marron-600); }

@media (max-width: 720px) { .notices { grid-template-columns: 1fr; } }

/* Índice de categorías: fijo debajo del encabezado */
.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  margin: 0 calc(-1 * clamp(20px, 5vw, 40px)) 20px;
  padding: 12px clamp(20px, 5vw, 40px);
  background: rgba(250, 247, 242, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.cat-nav__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: safe center;
  scroll-snap-type: x proximity;
}
.cat-nav__list::-webkit-scrollbar { display: none; }
.cat-nav__list li { scroll-snap-align: start; flex-shrink: 0; }
@media (min-width: 960px) {
  .cat-nav__list { flex-wrap: wrap; justify-content: center; overflow: visible; }
}
.chip {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--linea);
  background: var(--blanco);
  font-size: .86rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--verde-700);
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
@media (hover: hover) {
  .chip:hover { background: var(--verde-700); color: var(--blanco); border-color: var(--verde-700); }
}

.treatments__list { display: grid; gap: clamp(48px, 7vw, 80px); padding-top: 20px; }

/* Al saltar a una categoría, el título queda debajo del encabezado y del índice fijo.
   --catnav-h lo calcula script.js según la altura real del índice.
   (El encabezado ya lo descuenta "scroll-padding-top" en html.) */
.t-cat { scroll-margin-top: calc(var(--catnav-h, 64px) + 8px); }
.t-cat__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--linea);
}
.t-cat__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  color: var(--verde-900);
}
.t-cat__note { margin: 0; font-size: .92rem; color: var(--marron-600); font-style: italic; }

.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 18px;
}
.t-grid--single { grid-template-columns: minmax(0, 720px); justify-content: center; }

.t-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 26px 22px;
  background: var(--blanco);
  border-radius: var(--radius);
  border: 1px solid var(--linea);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
@media (hover: hover) {
  .t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
}
.t-card__name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--verde-900);
  line-height: 1.2;
}
.t-card__detail { margin: 6px 0 0; color: var(--texto-suave); font-size: .96rem; line-height: 1.55; }

.t-card__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px dashed var(--linea);
}
.t-card__prices { display: flex; gap: 28px; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price__label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 4px;
}
.price__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--verde-700);
  font-variant-numeric: lining-nums tabular-nums;
}
.price--alt .price__value { color: var(--marron-600); }
.t-card__btn { width: 100%; padding: 12px 18px; }

/* Tarjeta destacada: tratamiento integral */
.t-card--featured {
  background: linear-gradient(150deg, var(--verde-700), var(--verde-900));
  color: var(--blanco);
  border: 0;
  padding: clamp(30px, 4vw, 44px);
}
.t-card--featured .t-card__name { color: var(--blanco); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.t-card--featured .t-card__detail { color: var(--marron-300); }
.t-card--featured .t-card__foot { border-top-color: rgba(255,255,255,.2); }
.t-card--featured .price__label { color: rgba(255,255,255,.7); }
.t-card--featured .price__value { color: var(--blanco); font-size: 2.1rem; }
.t-card--featured .btn--wa { background: var(--blanco); color: var(--verde-900); }
.t-card--featured .btn--wa .icon { color: var(--wa); }
.t-card__benefits { margin-top: 20px; display: grid; gap: 10px; }
.t-card__benefits li { position: relative; padding-left: 28px; color: rgba(255,255,255,.92); }
.t-card__benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 14px; height: 1px;
  background: var(--marron-300);
}
.t-card__fine { margin: 16px 0 0; font-size: .82rem; color: rgba(255,255,255,.6); }

@media (max-width: 420px) {
  .t-card { padding: 22px 20px 20px; }
}

.noscript { text-align: center; padding: 20px; background: var(--marron-100); border-radius: var(--radius); }

/* ---------- Galería ---------- */
.gallery { background: var(--blanco); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 20vw, 270px);
  grid-auto-flow: dense; /* rellena huecos: 6 fotos sin espacios vacíos */
  gap: 16px;
}
.g-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(69,90,66,.035) 14px 15px),
    linear-gradient(160deg, var(--verde-50), var(--marron-100));
  border: 1px dashed rgba(69, 90, 66, .22);
}
.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }
.g-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.g-item.has-img { border: 0; cursor: zoom-in; }
.g-item.has-img img { opacity: 1; }
.g-item.has-img .g-item__ph { display: none; }
@media (hover: hover) { .g-item.has-img:hover img { transform: scale(1.04); } }

.g-item__ph {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--verde-600);
  opacity: .75;
}
.g-item__ph .icon { width: 30px; height: 30px; }

.gallery__more { text-align: center; margin: 36px 0 0; color: var(--texto-suave); }
.gallery__more a, .reviews__cta a { color: var(--verde-700); font-weight: 400; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 10px; }
  .g-item--wide { grid-column: span 2; }
}

/* Visor */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 90vh;
}
.lightbox::backdrop { background: rgba(28, 36, 29, .86); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 14px; }
.lightbox__close {
  position: fixed;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--blanco);
  color: var(--verde-900);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Opiniones ---------- */
.reviews { background: var(--verde-50); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  margin: 0;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--blanco);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review__quote { width: 34px; height: 34px; color: var(--marron-300); margin-bottom: 18px; }
.review__text {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--verde-900);
  flex: 1;
}
.review__author { margin: 0; font-weight: 400; color: var(--verde-700); }
.review__service { margin: 2px 0 0; font-size: .88rem; color: var(--texto-suave); }

/* Marcador temporal (se nota que no es una opinión real) */
.review--placeholder {
  background: transparent;
  box-shadow: none;
  border: 1px dashed rgba(69, 90, 66, .3);
}
.review--placeholder .review__text { color: var(--texto-suave); opacity: .8; }
.review--placeholder .review__author { color: var(--texto-suave); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }

.reviews__cta { text-align: center; margin: 36px 0 0; color: var(--texto-suave); }

@media (max-width: 860px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- Ubicación ---------- */
.location { background: var(--blanco); }
.location__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.location__address {
  display: flex;
  gap: 14px;
  margin: 28px 0 26px;
  font-size: 1.08rem;
  color: var(--texto);
}
.location__address .icon { margin-top: 5px; color: var(--marron-500); width: 22px; height: 22px; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.hours th, .hours td { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 1rem; }
.hours th { text-align: left; font-weight: 300; color: var(--texto-suave); }
.hours td { text-align: right; font-weight: 400; color: var(--verde-900); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--verde-700); font-weight: 500; }
.hours tr.is-today th::after {
  content: "Hoy";
  margin-left: 10px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--verde-100);
  vertical-align: 2px;
}

.location__note {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .95rem;
  color: var(--marron-600);
  margin-bottom: 28px;
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--verde-50);
  box-shadow: var(--shadow);
}
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }

@media (max-width: 860px) {
  .location__inner { grid-template-columns: 1fr; }
  .location__map { aspect-ratio: 4 / 3.4; }
}

/* ---------- Contacto ---------- */
.contact {
  position: relative;
  background: var(--verde-900);
  color: var(--blanco);
  overflow: hidden;
}
.contact__inner { position: relative; text-align: center; max-width: 760px; }
.contact__inner .eyebrow { justify-content: center; }
.contact__deco {
  position: absolute;
  width: 240px;
  right: -140px; top: 50%;
  transform: translateY(-50%) rotate(14deg);
  color: var(--marron-300);
  opacity: .16;
  pointer-events: none;
}
.contact__lead { margin: 22px auto 38px; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

@media (max-width: 480px) {
  .contact__actions .btn { width: 100%; }
  .contact__deco { right: -120px; width: 200px; }
}

/* ---------- Pie ---------- */
.footer {
  background: #243126;
  color: rgba(255,255,255,.72);
  padding: 64px 0 calc(28px + env(safe-area-inset-bottom));
  font-size: .95rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .brand__text { color: var(--blanco); display: block; margin-bottom: 8px; }
.footer__brand .brand__logo { height: 90px; max-width: 200px; margin-bottom: 14px; }
.footer h3 {
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--marron-300);
  margin-bottom: 16px;
}
.footer p { margin: 0 0 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--blanco); }
.footer__legal { padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer__legal p { margin: 0 0 6px; }

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__legal { text-align: center; }
  .footer__brand .brand__logo { margin-inline: auto; }
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: var(--blanco);
  box-shadow: 0 12px 28px -8px rgba(23, 110, 58, .55);
  z-index: 90;
  transition: transform .35s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
@media (hover: hover) { .wa-float:hover { transform: scale(1.07); } }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Animaciones de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
.pillars .reveal:nth-child(2), .reviews__grid .reveal:nth-child(2) { transition-delay: .1s; }
.pillars .reveal:nth-child(3), .reviews__grid .reveal:nth-child(3) { transition-delay: .2s; }

/* Sin JavaScript, todo visible */
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Accesos rápidos al catálogo ---------- */
.quick { margin-bottom: clamp(70px, 10vw, 110px); }
.quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.q-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px 20px;
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--verde-900);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background-color .3s, opacity .9s var(--ease);
}
.q-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--verde-100);
  color: var(--verde-700);
  transition: background-color .3s, color .3s;
}
.q-card__icon svg { width: 28px; height: 28px; }
.q-card__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.2;
  flex: 1;
}
.q-card__more {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--linea);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--marron-600);
}
.q-card__more svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .35s var(--ease); }
.q-card:active { transform: scale(.98); }
@media (hover: hover) {
  .q-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .q-card:hover .q-card__icon { background: var(--verde-700); color: var(--blanco); }
  .q-card:hover .q-card__more svg { transform: translateX(4px); }
}
.quick__grid li:nth-child(4n+2) .q-card { transition-delay: .05s; }
.quick__grid li:nth-child(4n+3) .q-card { transition-delay: .1s; }
.quick__grid li:nth-child(4n+4) .q-card { transition-delay: .15s; }
.q-card.is-visible { transition-delay: 0s; }

.section__head--catalog { padding-top: clamp(56px, 8vw, 90px); border-top: 1px solid var(--linea); }

@media (max-width: 900px) {
  .quick__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 600px) {
  .q-card { padding: 18px 16px 14px; gap: 10px; }
  .q-card__icon { width: 44px; height: 44px; }
  .q-card__icon svg { width: 24px; height: 24px; }
  .q-card__title { font-size: 1.12rem; }
  .q-card__more { font-size: .68rem; letter-spacing: .08em; padding-top: 10px; }
}
@media (max-width: 330px) {
  .quick__grid { grid-template-columns: 1fr; }
}

/* Tarjeta destacada: precio y botón en línea en pantallas medianas y grandes */
@media (min-width: 560px) {
  .t-card--featured .t-card__foot { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .t-card--featured .t-card__btn { width: auto; padding: 14px 28px; }
}

/* Las categorías del catálogo aparecen solo con fundido (sin desplazamiento),
   para que los accesos rápidos lleguen siempre a la misma posición. */
.t-cat.reveal { transform: none; }

/* Ajuste de galería en celular (aporte de ChatGPT): sin filas dobles,
   la foto horizontal y la última ocupan todo el ancho. */
@media (max-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
  }
  .gallery__grid .g-item--tall { grid-row: auto; }
  .gallery__grid .g-item--wide,
  .gallery__grid .g-item:last-child { grid-column: 1 / -1; }
}
