/* =========================================================
   B·Beauty Los Molinos — Landing
   ========================================================= */

/* ---------- Fuentes (self-hosted, OFL) ---------- */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('../assets/fonts/bodoni-moda-latin-opsz-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url('../assets/fonts/bodoni-moda-latin-opsz-italic.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/jost-latin-wght-normal.woff2') format('woff2-variations');
}

/* ---------- Tokens ---------- */
:root {
  --cream: #F6F1E7;
  --cream-2: #FBF8F2;
  --sand: #EFE8DC;
  --sand-2: #E9E1D3;
  --taupe: #B9AE9E;
  --taupe-dark: #806F5A;
  --ink: #211D1B;
  --ink-2: #5C5248;
  --line: rgba(33, 29, 27, .16);

  --serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 10vw, 150px);
  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --header-h: 68px;
  --banner-h: 34px;
  --header-total: calc(var(--header-h) + var(--banner-h));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-total) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--taupe-dark); outline-offset: 3px; }
address { font-style: normal; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 18px; border-radius: 999px; text-decoration: none;
  transition: top .3s;
}
.skip:focus { top: 12px; color: var(--cream); }

.container { max-width: 1320px; margin-inline: auto; padding-inline: var(--pad-x); }

.display { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.02em; }
.display em, em.display { font-style: italic; color: var(--taupe-dark); }
.muted { color: var(--ink-2); }
.lead { font-size: clamp(16px, 1.3vw, 18px); max-width: 520px; }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 20px;
}
.eyebrow--line { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.eyebrow--line::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: #D9CFBF; }

.h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; }
.h2--xl { font-size: clamp(46px, 7vw, 104px); line-height: 1; }
.h2--sm { font-size: clamp(36px, 4.4vw, 64px); }
.h2--md { font-size: clamp(38px, 4.8vw, 68px); }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 52px; padding: 16px 30px; border-radius: 999px; border: 1px solid var(--ink);
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: color .45s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .i { transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--sm { min-height: 48px; padding: 12px 24px; font-size: 12px; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark::before { background: var(--ink-2); }
.btn--dark:hover { color: var(--cream); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light::before { background: #D9CFBF; }
.btn--light:hover { color: var(--ink); }
.btn--line-light { background: transparent; color: var(--cream); border-color: rgba(246, 241, 231, .45); }
.btn--line-light::before { background: var(--cream); }
.btn--line-light:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link {
  position: relative; display: inline-block; padding: 12px 0;
  font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-io);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link--light { color: var(--cream); }
.link--light:hover { color: #D9CFBF; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(33, 29, 27, .08);
  transition: box-shadow .4s;
}
.header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(33, 29, 27, .45); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: auto; }
.brand span { font-size: 15px; letter-spacing: .42em; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(33, 29, 27, .25); background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.4px; background: var(--ink); border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.demo-banner {
  display: flex; align-items: center; justify-content: center; min-height: var(--banner-h); padding: 6px var(--pad-x);
  background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 400; line-height: 1.35; letter-spacing: .04em; text-align: center;
}

.mobile-menu {
  display: flex; flex-direction: column; padding: 8px var(--pad-x) 32px;
  border-top: 1px solid rgba(33, 29, 27, .08);
  max-height: calc(100vh - var(--header-total)); max-height: calc(100dvh - var(--header-total));
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: 34px; line-height: 1.2; padding: 12px 0; text-decoration: none;
  border-bottom: 1px solid rgba(33, 29, 27, .1);
  animation: fadeUp .6s var(--ease) both;
}
.mobile-menu a:nth-child(2) { animation-delay: .04s; }
.mobile-menu a:nth-child(3) { animation-delay: .08s; }
.mobile-menu a:nth-child(4) { animation-delay: .12s; }
.mobile-menu a:nth-child(5) { animation-delay: .16s; }
.mobile-menu a:nth-child(6) { animation-delay: .2s; }
.mobile-menu__cta { font-style: italic; border-bottom: 0 !important; color: var(--taupe-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 110px) 0 clamp(64px, 8vw, 120px); }
.hero__ring { position: absolute; pointer-events: none; fill: none; }
.hero__ring--a { right: -14%; top: -18%; width: min(62vw, 900px); opacity: .55; }
.hero__ring--a circle:first-child { stroke: var(--taupe); stroke-width: 1.2; }
.hero__ring--a circle:last-child { stroke: #D3C9BA; stroke-width: 1; }
.hero__ring--b { left: -90px; bottom: -110px; width: 300px; opacity: .6; stroke: var(--taupe); stroke-width: 1.2; }
.hero__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 6vw, 96px); }
.hero__copy { flex: 1 1 520px; min-width: 0; }
.hero__title { font-size: clamp(50px, 8vw, 118px); line-height: .98; }
.hero__title .ln { white-space: nowrap; }
.hero__title em { color: var(--taupe-dark); }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; animation: rise 1.2s var(--ease) var(--d, 0s) both; }
.hero__lead { margin-top: 36px; max-width: 500px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.hero .btn-row { margin-top: 40px; }
.hero__brands {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 56px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); font-weight: 400;
}
.hero__brands li { display: flex; align-items: center; gap: 28px; }
.hero__brands li + li::before { content: ""; width: 6px; height: 6px; background: var(--taupe); transform: rotate(45deg); }

.hero__visual { flex: 1 1 400px; min-width: 0; position: relative; max-width: 540px; margin-inline: auto; padding: 0 0 40px 40px; }
.hero__arch { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5.3; background: var(--sand-2); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__bubble {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--cream); box-shadow: 0 30px 60px -30px rgba(33, 29, 27, .4);
}
.hero__bubble img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; right: -16px; top: 12%; width: 148px; height: 148px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 20px 50px -25px rgba(33, 29, 27, .35);
  display: flex; align-items: center; justify-content: center;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge text { font-family: var(--sans); font-size: 12.5px; font-weight: 400; letter-spacing: 4.4px; fill: var(--ink); }
.badge img { position: relative; width: 52px; height: auto; }

/* ---------- Cinta ---------- */
.marquee { border-block: 1px solid rgba(33, 29, 27, .12); background: var(--sand); padding: 26px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1;
}
.marquee span::after { content: ""; width: 9px; height: 9px; background: var(--taupe-dark); transform: rotate(45deg); }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--flush-top { padding-top: 0; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head__aside { max-width: 380px; }
.section-head--center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center p:last-child { max-width: 520px; margin: 24px auto 0; }
.section-head--rule { padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); margin-bottom: 48px; }

/* ---------- Servicios ---------- */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: repeat(5, auto) 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.svc__item { display: contents; }
.svc__heading { grid-column: 1; font: inherit; }
.svc__item:first-child .svc__row { border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px);
  width: 100%; padding: 30px 0; border: 0; border-bottom: 1px solid var(--line); background: none;
  color: var(--ink); text-align: left; cursor: pointer;
}
.svc__row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.svc__row:hover::after, .svc__row.is-active::after { transform: scaleX(1); }
.svc__num { width: 28px; flex: none; font-size: 13px; letter-spacing: .2em; color: var(--ink-2); font-weight: 400; }
.svc__label { flex: 1; min-width: 0; }
.svc__name { display: inline-block; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; transition: transform .6s var(--ease); }
.svc__row:hover .svc__name, .svc__row.is-active .svc__name { transform: translateX(12px); }
.svc__row.is-active .svc__name { font-style: italic; }
.svc__short { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }
.svc__arrow {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(33, 29, 27, .2);
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.svc__row:hover .svc__arrow { transform: rotate(-45deg); }
.svc__row.is-active .svc__arrow { background: var(--ink); color: var(--cream); transform: rotate(-45deg); }

.svc__detail { grid-column: 2; grid-row: 1 / -1; position: sticky; top: calc(var(--header-total) + 32px); }
.svc__detail[hidden] { display: none; }
/* Evita ver todos los servicios abiertos mientras carga main.js */
.js .svc:not(.is-ready) .svc__item:not(:first-child) .svc__detail { display: none; }
/* Sin JS: todos los servicios visibles, uno debajo de otro */
html:not(.js) .svc, html:not(.js) .svc__item { display: block; }
html:not(.js) .svc__detail { position: static; padding: 24px 0 36px; }
html:not(.js) .svc__media { max-width: 420px; }
.svc__detail:not([hidden]) .svc__body { animation: fadeUp .8s var(--ease) both; }
.svc__detail:not([hidden]) .svc__media { animation: unveil 1s var(--ease-io) both; }
.svc__media { position: relative; border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--sand-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media--mono { display: flex; align-items: center; justify-content: center; }
.svc__media--mono img { width: 46%; height: auto; object-fit: contain; opacity: .9; }
.svc__bignum {
  position: absolute; left: 24px; bottom: 18px; font-family: var(--serif); font-style: italic;
  font-size: 96px; line-height: 1; color: var(--cream); text-shadow: 0 2px 30px rgba(33, 29, 27, .35);
}
.svc__body { padding-top: 28px; }
.svc__body > p { font-size: 18px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tags li { padding: 7px 16px; border: 1px solid rgba(33, 29, 27, .2); border-radius: 999px; font-size: 13px; }

/* ---------- El centro ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(56px, 8vw, 120px); }
.split__copy { flex: 1 1 440px; min-width: 0; }
.split__copy .lead { margin-top: 28px; }
.collage { flex: 1 1 460px; min-width: 0; position: relative; padding: 0 clamp(40px, 8vw, 110px) clamp(60px, 7vw, 100px) 0; }
.collage__main { position: relative; border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 4.6; background: #E0D6C6; }
.collage__main img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; will-change: transform; }
.collage__small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden;
  border: 8px solid var(--sand); box-shadow: 0 30px 60px -30px rgba(33, 29, 27, .4);
}
.collage__small img { width: 100%; height: 100%; object-fit: cover; }
.features { margin-top: 44px; }
.features li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features__n { width: 36px; flex: none; font-family: var(--serif); font-style: italic; font-size: 22px; color: #6F604D; }
.features h3 { font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.features p { margin-top: 6px; color: var(--ink-2); }

/* ---------- Bonos ---------- */
.bonos { overflow: hidden; }
.bonos__ring { position: absolute; right: -120px; top: 40px; width: 420px; opacity: .5; fill: none; stroke: var(--taupe); stroke-width: 1.2; pointer-events: none; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; position: relative; }
.pack {
  display: flex; flex-direction: column; text-align: center;
  background: var(--cream-2); border: 1px solid rgba(33, 29, 27, .08); border-radius: 200px 200px 18px 18px;
  padding: 64px 32px 32px;
  transition: transform .6s var(--ease), box-shadow .6s, background .6s;
}
.pack:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -40px rgba(33, 29, 27, .45); background: #fff; }
.pack__tag { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.pack h3 { margin: 18px 0 10px; font-size: 30px; line-height: 1.12; letter-spacing: -.01em; }
.pack__desc { font-size: 15px; color: var(--ink-2); flex: 1; }
.pack__price { margin: 28px auto 24px; font-size: 56px; line-height: 1; font-style: italic; font-optical-sizing: none; transition: transform .6s var(--ease); }
.pack:hover .pack__price { transform: scale(1.08) rotate(-3deg); }
.pack .btn { align-self: center; }
.pack--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pack--dark:hover { background: #2B2522; }
.pack--dark .pack__tag, .pack--dark .pack__desc { color: #D9CFBF; }

/* ---------- Reseñas ---------- */
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.rating { display: flex; align-items: center; gap: 20px; }
.rating__score { font-size: 72px; line-height: 1; font-style: italic; font-optical-sizing: none; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--ink); }
.rating__meta { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review figure {
  height: 100%; display: flex; flex-direction: column; gap: 24px; padding: 36px;
  background: var(--cream-2); border: 1px solid rgba(33, 29, 27, .08); border-radius: 18px;
  transition: transform .6s var(--ease), box-shadow .6s;
}
.review figure:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(33, 29, 27, .4); }
.review__mark { width: 40px; height: 30px; fill: var(--taupe); }
.review blockquote { flex: 1; font-size: 22px; line-height: 1.4; letter-spacing: -.01em; }
.review blockquote { font-size: 20px; }
.review figcaption { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.review figcaption small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; letter-spacing: .14em; color: var(--ink-2); }
.review__avatar {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: var(--sand-2); font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none;
}
.reviews { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Cosmética ---------- */
.promo {
  display: flex; flex-wrap: wrap-reverse; align-items: center; gap: clamp(48px, 7vw, 110px);
  background: var(--sand-2); border-radius: 24px; padding: clamp(32px, 5vw, 72px);
}
.promo__copy { flex: 1 1 420px; min-width: 0; }
.promo__copy .eyebrow, .promo__copy .lead { color: #4F463D; }
.promo__copy em { color: #6F604D; }
.promo__copy .lead { margin: 24px 0 36px; }
.promo__media { flex: 1 1 380px; min-width: 0; border-radius: 18px; aspect-ratio: 4 / 4.2; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galería ---------- */
.zoom { overflow: hidden; }
.zoom img { transition: transform 1.4s var(--ease); }
.zoom:hover img { transform: scale(1.07); }
.gallery {
  display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--pad-x) 16px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--taupe) transparent;
  cursor: grab;
}
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery.is-dragging img { pointer-events: none; }
.gallery figure { flex: 0 0 auto; height: clamp(320px, 34vw, 480px); border-radius: 18px; scroll-snap-align: start; }
.gallery img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.g-wide { width: clamp(280px, 32vw, 460px); }
.g-mid { width: clamp(240px, 26vw, 360px); }
.g-arch { width: clamp(240px, 24vw, 340px); border-radius: 999px 999px 18px 18px !important; }
@media (min-width: 1320px) { .gallery { padding-inline: calc((100vw - 1320px) / 2 + var(--pad-x)); } }

/* ---------- Visítanos ---------- */
.visit { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.visit__info { flex: 1 1 400px; min-width: 0; }
.visit__addr { margin-top: 24px; font-size: 18px; }
.visit__tel { margin-top: 10px; }
.visit__tel a { font-family: var(--serif); font-style: italic; font-size: 28px; font-optical-sizing: none; text-decoration: none; }
.open-now { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.open-now:empty { display: none; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9A8F82; }
.open-now.is-open::before { background: #4E7A52; box-shadow: 0 0 0 0 rgba(78, 122, 82, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(78, 122, 82, .5); } 100% { box-shadow: 0 0 0 10px rgba(78, 122, 82, 0); } }
.hours { margin-top: 32px; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid rgba(33, 29, 27, .1); }
.hours dt { font-weight: 400; }
.hours dd { color: var(--ink-2); text-align: right; }
.hours div.is-today dt, .hours div.is-today dd { color: var(--ink); font-weight: 500; }
.hours div.is-today dt::after { content: " · hoy"; font-weight: 300; color: var(--ink-2); }

.map { flex: 1 1 520px; min-width: 0; min-height: 440px; position: relative; border-radius: 24px; overflow: hidden; background: var(--sand-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- Pie ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: var(--section-y) 0 40px; }
.footer__ring { position: absolute; left: 50%; top: -260px; width: 760px; transform: translateX(-50%); fill: none; stroke: var(--taupe); stroke-width: 1; opacity: .25; pointer-events: none; }
.footer .container { position: relative; }
.footer__cta { text-align: center; }
.footer__cta .eyebrow { margin-bottom: 24px; }
.footer__title { font-size: clamp(54px, 9vw, 140px); line-height: .98; }
.footer__title em { color: #D9CFBF; }
.footer__cta .btn-row { margin-top: 48px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: clamp(72px, 9vw, 120px); padding-top: 28px; border-top: 1px solid rgba(246, 241, 231, .18);
}
.footer__logo { width: 120px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__copy { font-size: 13px; color: #D9CFBF; }

/* ---------- Animaciones ---------- */
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zoomOut { from { transform: scale(1.3); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }

.anim-fade { animation: fadeUp 1.1s var(--ease) var(--d, 0s) both; }
.unveil { animation: unveil 1.6s var(--ease-io) .25s both; }
.kenburns { animation: zoomOut 2.4s var(--ease) .25s both; }
.pop { animation: pop 1.2s var(--ease) var(--d, 1s) both; }
.spin { animation: spin 24s linear infinite; }
.floaty { animation: floaty 7s ease-in-out infinite; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3s var(--ease-io) .3s forwards; }
.draw--late { animation-delay: .6s; }
.draw--later { animation-delay: .9s; }

/* Aparición al hacer scroll (solo con JS activo) */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.js [data-reveal="unveil"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="unveil"].is-in { clip-path: inset(0 0 0 0); }
/* Las tarjetas mantienen su hover después de aparecer */
.js .pack[data-reveal].is-in:hover { transform: translateY(-10px); transition: transform .6s var(--ease), box-shadow .6s, background .6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 900px) {
  .svc { display: block; }
  .svc__item { display: block; }
  .svc__detail { position: static; padding: 24px 0 36px; }
  .svc__media { aspect-ratio: 16 / 10; border-radius: 300px 300px 14px 14px; }
  .svc__bignum { font-size: 72px; }
  .svc__body { padding-top: 24px; }
  .hero__visual { max-width: 460px; }
  .map { min-height: 380px; }
}
@media (max-width: 560px) {
  :root { --banner-h: 48px; }
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .brand span { font-size: 13px; letter-spacing: .36em; }
  .btn-row .btn, .promo .btn { width: 100%; }
  .svc__media { aspect-ratio: 4 / 3.4; border-radius: 200px 200px 14px 14px; }
  .hero__brands { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__brands li::before, .hero__brands li + li::before { content: ""; width: 6px; height: 6px; background: var(--taupe); transform: rotate(45deg); }
  .hero__brands li { gap: 14px; }
  .hero__visual { padding: 0 0 28px 24px; }
  .badge { width: 112px; height: 112px; right: -6px; }
  .badge img { width: 40px; }
  .hero__brands { gap: 10px 18px; margin-top: 40px; }
  .hero__brands li { gap: 18px; }
  .svc__row { padding: 22px 0; }
  .svc__arrow { width: 40px; height: 40px; }
  .pack { padding: 56px 24px 28px; }
  .review figure { padding: 28px; }
  .rating__score { font-size: 56px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .draw { stroke-dashoffset: 0; }
}
