/* =========================================================
   Wallace's Barber Club 1985 — página de muestra
   ========================================================= */

/* ---------- Tipografías (autoalojadas) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-italic-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variables ---------- */
:root {
  --ink:        #0b0907;
  --ink-2:      #110d0a;
  --panel:      #171109;
  --wood:       #231911;
  --brass:      #c8a44d;
  --brass-lite: #e4c988;
  --brass-dim:  #8d7236;
  --cream:      #f5eddf;
  --muted:      #b6a68e;
  --muted-2:    #8d8171;
  --line:       rgba(200, 164, 77, 0.22);
  --line-soft:  rgba(200, 164, 77, 0.12);
  --wa:         #25d366;

  --display: 'Cormorant Garamond', 'Hoefler Text', Garamond, Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 3rem);
  --bar-h: 70px;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 350;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brass); color: #140f08; }

:focus-visible {
  outline: 2px solid var(--brass-lite);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brass);
  color: #140f08;
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Utilidades ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

.eyebrow {
  font-size: clamp(0.66rem, 1.5vw, 0.72rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin: 0 0 1.1rem;
  line-height: 1.6;
}
.eyebrow--center { text-align: center; }
.eyebrow > span { display: inline-block; white-space: nowrap; }

.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.section--dark { background: var(--ink-2); }
.section__title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__title.center { margin-inline: auto; }

.note {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-2);
  font-style: italic;
  margin: 2.4rem auto 0;
  max-width: 46ch;
}
.note--left { margin: 0.6rem 0 0; max-width: none; }

.stars { color: var(--brass); letter-spacing: 0.14em; }
.stars--lg { font-size: 1.5rem; margin: 0.4rem 0 0.9rem; }

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Ornamento de latón */
.ornament {
  width: clamp(160px, 34vw, 220px);
  height: auto;
  margin: 1.6rem auto;
  stroke: var(--brass);
  stroke-width: 1;
  fill: none;
  opacity: 0.85;
}
.ornament__gem { fill: var(--brass); stroke: var(--brass); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--brass);
  border-radius: 1px;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
  cursor: pointer;
  text-align: center;
}
.btn--brass {
  background: linear-gradient(180deg, var(--brass-lite), var(--brass));
  color: #1a1206;
  border-color: var(--brass-lite);
  box-shadow: 0 8px 26px -14px rgba(200,164,77,.8);
}
.btn--brass:hover { background: var(--brass-lite); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brass-lite); }
.btn--ghost:hover { background: rgba(200,164,77,.1); color: var(--cream); transform: translateY(-2px); }
.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.68rem; letter-spacing: 0.14em; }

.link-brass {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brass-lite);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
  transition: border-color .3s ease, color .3s ease;
}
.link-brass:hover { color: var(--cream); border-color: var(--brass); }

.link-plain { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s ease; }
.link-plain:hover { border-color: var(--brass); }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--bar-h);
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-stuck,
.topbar.is-open {
  background: rgba(11, 9, 7, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.topbar__inner {
  height: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; }
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  flex: none;
  border: 1px solid var(--brass);
  color: var(--brass-lite);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name {
  font-family: var(--display);
  color: var(--cream);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand__year {
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  color: var(--brass);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav > a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: color .25s ease;
  white-space: nowrap;
}
.nav > a:not(.btn):hover { color: var(--brass-lite); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1px;
  background: var(--brass-lite);
  transition: transform .3s ease, opacity .3s ease;
}
.topbar.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topbar.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.topbar.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--bar-h) + 3rem) var(--gut) 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 58%; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 38%, rgba(11,9,7,.32) 0%, rgba(11,9,7,.78) 58%, rgba(11,9,7,.95) 100%),
    linear-gradient(180deg, rgba(11,9,7,.85) 0%, rgba(11,9,7,.25) 26%, rgba(11,9,7,.6) 70%, var(--ink) 100%);
}

.hero__content { max-width: 880px; }

.hero__title {
  font-size: clamp(2.9rem, 9.5vw, 6rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--cream);
  text-shadow: 0 2px 34px rgba(0,0,0,.6);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title-year {
  font-style: normal;
  color: var(--brass-lite);
  font-size: 0.47em;
  letter-spacing: 0.3em;
  line-height: 1.5;
  margin-top: 0.18em;
  text-indent: 0.3em; /* compensa el letter-spacing final */
  font-variant-numeric: lining-nums;
}

.hero__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.18rem, 3.4vw, 1.85rem);
  line-height: 1.45;
  color: var(--cream);
  opacity: .92;
  max-width: 30ch;
  text-wrap: balance;
  margin: 0 auto 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero__rating {
  margin: 2.3rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(11,9,7,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__rating strong { color: var(--cream); font-weight: 600; }

.hero__scroll {
  position: absolute;
  bottom: 1.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 2px; height: 7px;
  background: var(--brass);
  border-radius: 2px;
  animation: dropdown 2s ease-in-out infinite;
}
@keyframes dropdown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(13px); opacity: 0; }
}

/* ---------- La casa ---------- */
.section--casa {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(200,164,77,.05), transparent 70%),
    var(--ink);
}

.quote {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 3rem);
  border: 1px solid var(--line-soft);
  position: relative;
  background: linear-gradient(180deg, rgba(200,164,77,.035), transparent);
}
.quote::before, .quote::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--brass);
}
.quote::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.quote::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.quote__flourish {
  width: 120px;
  margin: 0 auto 1.4rem;
  stroke: var(--brass);
  stroke-width: 1;
  fill: none;
  opacity: .7;
}
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  line-height: 1.42;
  color: var(--cream);
  font-weight: 400;
}
.quote figcaption {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

.facts {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.fact {
  background: var(--ink);
  padding: 2.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.fact__ico { color: var(--brass); }
.fact__ico svg { width: 22px; height: 22px; fill: currentColor; }
.fact__label {
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-top: 0.4rem;
}
.fact__value {
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--cream);
}

/* ---------- Servicios ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.card {
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--panel), var(--ink));
  display: flex;
  flex-direction: column;
  transition: border-color .4s ease, transform .4s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-5px); }
.card__media { overflow: hidden; aspect-ratio: 4 / 5; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.9);
  transition: transform .9s cubic-bezier(.2,.7,.3,1), filter .5s ease;
}
.card:hover .card__media img { transform: scale(1.06); filter: saturate(.95) brightness(1); }
.card__body { padding: 1.9rem clamp(1.2rem, 2.5vw, 1.8rem) 2rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.card__body p { font-size: 0.96rem; flex: 1; }
.card__link {
  margin-top: 1.4rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brass-lite);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: gap .3s ease, color .3s ease;
}
.card__link:hover { gap: 0.75rem; color: var(--cream); }

/* ---------- El lugar ---------- */
.section--lugar {
  background:
    linear-gradient(180deg, var(--ink) 0%, var(--wood) 45%, var(--ink) 100%);
}
.lugar__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.8rem);
}
.lugar__head .section__title { margin-bottom: 0; }
.lugar__copy { max-width: 48ch; }
.lugar__copy p { font-size: 1.02rem; }
.lugar__copy .link-brass { margin-top: 0.6rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
}
.gallery__item { margin: 0; overflow: hidden; border: 1px solid var(--line-soft); }
.gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(.78) brightness(.88);
  transition: transform .9s cubic-bezier(.2,.7,.3,1), filter .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(.95) brightness(1); }
.gallery__item:nth-child(2) { transition-delay: .1s; }
.gallery__item:nth-child(3) { transition-delay: .2s; }

/* ---------- Reseñas ---------- */
.section--resenas { background: var(--ink); }
.score {
  text-align: center;
  padding: clamp(2.4rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 3rem) clamp(2.2rem, 4.5vw, 3rem);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(200,164,77,.05), transparent 70%);
  position: relative;
}
.score::before, .score::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--brass);
}
.score::before { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.score::after { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.score__number {
  font-family: var(--display);
  font-size: clamp(4rem, 14vw, 6.5rem);
  line-height: 0.9;
  color: var(--cream);
  margin: 0;
  font-weight: 500;
}
.score__meta {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ---------- Ubicación ---------- */
.ubi {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.ubi__info { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.ubi__block h3 {
  font-size: 0.7rem;
  font-family: var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.ubi__block p { font-size: 1.02rem; color: var(--cream); }
.ubi__block .link-brass { margin-top: 0.9rem; }
.ubi__open { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 3px rgba(37,211,102,.18);
  flex: none;
}
.ubi__map {
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--panel);
}
.ubi__map iframe {
  width: 100%;
  height: clamp(320px, 52vw, 480px);
  border: 0;
  filter: grayscale(.35) contrast(1.06) brightness(.82);
}

/* ---------- Pie ---------- */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(5.5rem, 9vw, 4rem);
  text-align: center;
}
.ornament--footer { margin-top: 0; }
.footer__name {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer__name em { font-style: normal; color: var(--brass-lite); }
.footer__line { font-size: 0.92rem; margin-bottom: 1.4rem; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-dim);
}
.footer__links a { color: var(--brass-lite); text-decoration: none; transition: color .25s ease; }
.footer__links a:hover { color: var(--cream); }
.footer__legal {
  margin: 2.4rem auto 0;
  max-width: 52ch;
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--muted-2);
}

/* ---------- Elementos fijos ---------- */
.demo-badge {
  position: fixed;
  left: 0.85rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-lite);
  background: rgba(11, 9, 7, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0.78;
}

.wa-fab {
  position: fixed;
  right: clamp(0.9rem, 2.5vw, 1.6rem);
  bottom: calc(clamp(0.9rem, 2.5vw, 1.6rem) + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.15rem;
  background: var(--wa);
  color: #06301a;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.75);
  transition: transform .3s ease, box-shadow .3s ease;
}
.wa-fab svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(0,0,0,.85); }

/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 860px) {
  .lugar__head { grid-template-columns: 1.05fr 1fr; }
  .ubi { grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
}

@media (max-width: 880px) {
  .nav {
    position: absolute;
    top: var(--bar-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 9, 7, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    padding: 0.5rem var(--gut) 1.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .topbar.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.78rem;
  }
  .nav__cta { margin-top: 1.1rem; }
  .nav-toggle { display: flex; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand__name { font-size: 0.92rem; }
  .hero { padding-top: calc(var(--bar-h) + 2rem); padding-bottom: 4.5rem; }
  .hero__title { font-size: clamp(2.9rem, 12.5vw, 4.2rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__rating { font-size: 0.76rem; gap: 0.4rem; padding: 0.5rem 0.9rem; }
  .hero__scroll { display: none; }
  .wa-fab__text { display: none; }
  .wa-fab { padding: 0.95rem; }
  .wa-fab svg { width: 25px; height: 25px; }
  .demo-badge {
    font-size: 0.55rem;
    letter-spacing: 0.16em;
    padding: 0.3rem 0.6rem;
    opacity: 0.6;
    left: 0.6rem;
    bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  }
  .fact { padding: 1.5rem 1.2rem; }
  .fact__value { font-size: 1.12rem; }
  .quote blockquote { font-size: 1.22rem; }
  .eyebrow > span { display: block; }
  .eyebrow > .eyebrow__sep { display: none; }
}

@media (max-width: 380px) {
  :root { --gut: 1.1rem; }
  .brand__text { max-width: 9.5rem; }
  .brand__name { white-space: normal; line-height: 1.15; }
}
