/* ==========================================================
   Automotores Alvarez — v1
   Paleta tomada del local: negro del logo, pizarra azulada
   del frente y luz fría de la marquesina.
   ========================================================== */
:root {
  --bg: #121416;
  --surface: #1b1f24;
  --surface-2: #242a31;
  --cream: #f2efe9;
  --text: #f2efe9;
  --muted: #9aa1a9;
  --line: rgba(242, 239, 233, 0.14);
  --accent: #8fb8e0;          /* luz fría de la marquesina */
  --wa: #25d366;

  --radius: 28px;
  --radius-sm: 18px;
  --gutter: clamp(16px, 3vw, 44px);
  --max: 1440px;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, blockquote, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--cream); color: var(--bg); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
.display {
  font-weight: 300;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display strong { font-weight: 500; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--text); opacity: .86; max-width: 34em; }

/* ---------- Flecha y botones ---------- */
.arrow {
  display: inline-block; position: relative; width: 34px; height: 1px;
  background: currentColor; vertical-align: middle; margin-left: 14px;
  transition: width .4s var(--ease);
}
.arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.arrow--left { transform: scaleX(-1); margin-left: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 0;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 17px; font-weight: 400;
  transition: background .3s, color .3s;
}
.pill:hover { background: var(--accent); color: var(--bg); }
.pill:hover .arrow { width: 44px; }
.pill--ghost { border-color: var(--line); color: var(--text); }
.pill--ghost:hover { background: var(--cream); color: var(--bg); }
.pill--solid { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.pill--solid:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Botones redondeados ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--cream); color: var(--bg); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.btn--primary:hover { background: #fff; }
.btn--ghost {
  border: 1px solid rgba(242,239,233,.55); color: var(--text);
  background: rgba(18,20,22,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(242,239,233,.14); border-color: var(--cream); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.btn--wa:hover { background: #1fbd5a; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.header.is-solid {
  background: rgba(18, 20, 22, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
}
.header__logo img { width: clamp(130px, 13vw, 190px); height: auto; }
.header__nav {
  display: flex; gap: 6px; padding: 6px;
  background: var(--cream); border-radius: 999px;
}
.header__nav a {
  color: var(--bg); font-size: 17px; font-weight: 400;
  padding: 10px 26px; border-radius: 999px; transition: background .25s;
}
.header__nav a:hover { background: rgba(18, 20, 22, .08); }
.header__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header__social { display: flex; gap: 2px; }
.header__social a, .icon-row a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  transition: background .25s, color .25s;
}
.header__social a:hover, .icon-row a:hover { background: rgba(255,255,255,.1); color: var(--accent); }
/* sobre el video del hero: fondo oscuro translúcido para que se distingan */
.header:not(.is-solid) .header__social a,
.header:not(.is-solid) .header__cta {
  background: rgba(18,20,22,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.header:not(.is-solid) .header__social { gap: 6px; }
.header:not(.is-solid) .header__social a:hover { background: rgba(18,20,22,.75); }
.header__social svg, .icon-row svg { width: 20px; height: 20px; }
.header__social .header__social-wa { display: none; }
.header__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 400; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); transition: background .25s, border-color .25s;
}
.header__cta svg { width: 20px; height: 20px; color: var(--wa); }
.header__cta:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.header__burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__poster, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
/* el salón queda a la derecha del cuadro: si se recorta, priorizamos ese lado */
.hero__poster, .hero__video { object-position: 58% 50%; }
.hero__video.is-ready { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,20,22,.7) 0%, rgba(18,20,22,0) 26%),
    linear-gradient(0deg, rgba(18,20,22,.85) 0%, rgba(18,20,22,.15) 55%, rgba(18,20,22,0) 100%);
}

.hero__content { max-width: 900px; }
.hero__title {
  font-weight: 300; font-size: clamp(40px, 7.4vw, 112px);
  line-height: .98; letter-spacing: -0.03em;
  text-shadow: 0 2px 6px rgba(0,0,0,.45), 0 8px 30px rgba(0,0,0,.45);
}
.hero__sub {
  margin-top: 18px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 4px 16px rgba(0,0,0,.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__card {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 80px);
  width: min(32vw, 470px);
}
.hero__card-img {
  display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__card:hover .hero__card-img img { transform: scale(1.05); }
.hero__card-link { display: block; margin-top: 16px; font-size: 20px; }
.hero__card-link .arrow { color: var(--accent); }
.hero__card:hover .arrow { width: 46px; }

/* ---------- Marcas ---------- */
.brands {
  color: var(--bg);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px;
  background: var(--cream); padding: 30px var(--gutter);
}
.brands__title { font-size: clamp(20px, 2vw, 28px); line-height: 1.1; }
.brands__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__row {
  display: flex; align-items: center; gap: clamp(36px, 5vw, 72px); width: max-content;
  animation: marquee 40s linear infinite;
}
.brands__row img {
  height: 40px; width: auto; max-width: 110px; object-fit: contain;
  opacity: .72; transition: opacity .3s;
}
.brands__row img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 7vw, 100px) var(--gutter); max-width: var(--max); margin: 0 auto; }
/* línea fina entre secciones oscuras que van una detrás de otra */
.section + .section, .about + .section { position: relative; }
.section + .section::before, .about + .section::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto;
  height: 1px; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}

.intro__head { text-align: center; display: grid; justify-items: center; gap: 24px; }
.cats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px;
}
.cat {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--surface); isolation: isolate; /* fotos verticales */
}
.cat__img, .cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cat__img img { object-fit: cover; transition: transform 1s var(--ease); }
.cat__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18,20,22,.92) 0%, rgba(18,20,22,.35) 45%, rgba(18,20,22,0) 70%);
}
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__body {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: grid; gap: 8px; padding: 26px 24px;
}
.cat__name { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; line-height: 1.05; }
.cat__desc { font-size: 16px; color: rgba(242,239,233,.75); }
.cat__cta { color: var(--accent); font-size: 16px; margin-top: 6px; }
.cat:hover .arrow { width: 44px; }
.intro__more { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Reseñas ---------- */
.reviews { padding-left: 0; padding-right: 0; max-width: none; }
.reviews__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 32px;
}
.reviews__nav { display: flex; gap: 8px; }
.arrow-btn {
  width: 64px; height: 44px; display: grid; place-items: center; border-radius: 999px;
  transition: background .25s;
}
.arrow-btn .arrow { margin: 0; width: 40px; }
.arrow-btn:hover { background: rgba(255,255,255,.07); }
.reviews__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 8px; scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__hint {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--max); margin: 22px auto 0; padding: 0 var(--gutter);
  font-size: 15px; color: rgba(242,239,233,.8);
}
.reviews__swipe {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); color: var(--accent);
}
.reviews__swipe svg { width: 18px; height: 18px; animation: swipe-nudge 1.8s var(--ease) infinite; }
@keyframes swipe-nudge { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(5px); } }
.reviews__hint-text { transition: opacity .4s; }
.reviews__hint.is-used .reviews__hint-text { opacity: .55; }
.reviews__dots { display: flex; gap: 6px; margin-left: auto; }
.reviews__dots i {
  width: 8px; height: 8px; border-radius: 999px; background: var(--line);
  transition: width .35s var(--ease), background .35s;
}
.reviews__dots i.is-active { width: 22px; background: var(--accent); }
.review {
  flex: 0 0 min(560px, 84vw); scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px);
}
.review blockquote { font-style: italic; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.35; }
.review footer { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--accent); font-size: 15px; font-weight: 500; letter-spacing: .04em;
}
.review footer div { display: grid; flex: 1; }
.review footer strong { font-weight: 500; font-size: 19px; }
.review footer span { font-size: 15px; color: var(--muted); }
.review footer a { font-size: 15px; color: var(--accent); border-bottom: 1px solid currentColor; }
.review--more {
  flex-basis: min(320px, 70vw); justify-content: flex-end; align-items: flex-start;
  background: transparent; border: 1px solid var(--line); font-size: 26px; line-height: 1.15;
  transition: border-color .3s, background .3s;
}
.review--more .arrow { margin: 0; color: var(--accent); }
.review--more:hover { background: var(--surface); }

/* ---------- Nosotros ---------- */
.about { padding-bottom: clamp(48px, 6vw, 88px); }
.about__wide {
  margin: 0 auto; max-width: var(--max);
  border-radius: var(--radius); overflow: hidden; height: clamp(320px, 52vw, 680px);
}
.about__wide img { width: 100%; height: 100%; object-fit: cover; }
.about__body {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
}
.about__portrait {
  margin-top: clamp(-260px, -18vw, -120px); margin-left: clamp(0px, 1vw, 12px);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__text { padding-top: clamp(40px, 6vw, 90px); display: grid; align-content: start; gap: 28px; }
.about__text p { font-size: clamp(18px, 1.5vw, 21px); opacity: .88; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.team li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.about__text .pill { justify-self: start; }

/* ---------- Servicios ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px;
}
.service {
  background: var(--surface); border-radius: var(--radius); padding: 32px 28px 36px;
  display: grid; align-content: start; gap: 14px; min-height: 260px;
  transition: background .3s;
}
.service:hover { background: var(--surface-2); }
.service__n { color: var(--accent); font-size: 15px; margin-bottom: 40px; }
.service h3 { font-weight: 400; font-size: 26px; line-height: 1.1; }
.service p { color: var(--muted); font-size: 17px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 80px; border-top: 1px solid var(--line);
}
.stats div { padding: 32px 24px 0 0; }
.stats dt { font-size: clamp(44px, 5vw, 72px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.stats dd { color: var(--muted); margin-top: 10px; font-size: 17px; }
/* arriba del stock: separados del título por una línea abajo */
.stats--top { margin: 0 0 clamp(44px, 6vw, 80px); border-top: 0; border-bottom: 1px solid var(--line); }
.stats--top div { padding: 0 24px 32px 0; }
.stats dt span { font-variant-numeric: tabular-nums; }

/* ---------- Preguntas frecuentes ---------- */
.faq {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.faq__head { display: grid; gap: 24px; justify-items: start; position: sticky; top: 120px; }
.faq__head .lead { color: var(--muted); opacity: 1; max-width: 22em; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 400; line-height: 1.25;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* botón + que pasa a − al abrir */
.faq__item summary::after {
  content: ""; flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: background-size .3s var(--ease), border-color .3s, transform .4s var(--ease);
}
.faq__item[open] summary::after {
  background-size: 14px 1.5px, 1.5px 0; transform: rotate(180deg);
}
.faq__item summary:hover { color: var(--accent); }
.faq__item summary:hover::after { border-color: currentColor; }
.faq__a { padding: 0 66px 28px 0; color: var(--muted); font-size: 17px; max-width: 46em; }
.faq__a strong { color: var(--text); font-weight: 400; }

/* ---------- Redes ---------- */
.social__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.social__head .lead { max-width: 24em; color: var(--muted); opacity: 1; }
.social__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.social-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr;
  gap: 4px 22px; align-items: center;
  min-height: 260px; padding: clamp(28px, 3.4vw, 44px);
  background: var(--surface); border-radius: var(--radius);
  transition: transform .5s var(--ease);
}
.social-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
}
.social-card--ig::before { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%); }
.social-card--tt::before { background: linear-gradient(135deg, #111 0%, #111 55%, #25f4ee 140%), #111; box-shadow: inset 0 0 0 1px #fe2c55; }
.social-card:hover::before { opacity: 1; }
.social-card:hover { transform: translateY(-4px); }
.social-card__icon {
  grid-row: 1 / span 2; width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center; background: rgba(255,255,255,.08);
}
.social-card__icon svg { width: 36px; height: 36px; }
.social-card__name { font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1; align-self: end; }
.social-card__handle { color: var(--muted); font-size: 18px; align-self: start; transition: color .5s; }
.social-card:hover .social-card__handle { color: rgba(255,255,255,.85); }
.social-card__cta { grid-column: 1 / -1; align-self: end; font-size: 18px; }
.social-card:hover .arrow { width: 46px; }

/* ---------- Visitanos ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.visit__text { display: grid; gap: 26px; }
.visit address { font-style: normal; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; }
.visit__block { display: grid; gap: 8px; }
.visit__label { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hours { display: grid; gap: 0; max-width: 420px; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd.todo { color: #f0b86e; }
.icon-row { display: flex; gap: 4px; margin-left: -10px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--surface); }
.visit__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; /* así toma el alto del recuadro también en celular */
}

/* ---------- CTA ---------- */
.cta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: stretch;
  background: var(--surface); min-height: 340px;
}
.cta__text { padding: clamp(48px, 6vw, 80px) var(--gutter); display: grid; align-content: center; gap: 30px; justify-items: start; }
.cta__text .display { font-size: clamp(30px, 3.1vw, 46px); }
.cta__imgs { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 4px; }
.cta__imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) 0 0 var(--radius); }
.cta__imgs img + img { border-radius: var(--radius) 0 0 var(--radius); }
.footer__bottom a { color: var(--text); border-bottom: 1px solid var(--line); transition: color .25s, border-color .25s; }
.footer__bottom a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { padding: 56px var(--gutter) 28px; max-width: var(--max); margin: 0 auto; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { width: 170px; height: auto; opacity: .95; }
.footer__nav { display: grid; gap: 14px; align-content: start; font-size: 22px; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__contact { display: grid; gap: 14px; font-size: 18px; align-content: start; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 72px; padding-top: 18px; border-top: 1px solid var(--line);
  padding-right: 90px;
  font-size: 15px; color: var(--muted);
}

/* ---------- Menú de celular ---------- */
.mmenu { display: none; }
@media (max-width: 900px) {
  .mmenu {
    position: fixed; inset: 0; z-index: 80;
    display: flex; flex-direction: column;
    padding: 18px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background:
      radial-gradient(120% 70% at 100% 0%, rgba(143,184,224,.16), transparent 60%),
      linear-gradient(165deg, #1f2a33 0%, #151a1f 55%, #0e1114 100%);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  }
  .menu-open .mmenu { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .mmenu__top { display: flex; align-items: center; justify-content: space-between; }
  .mmenu__logo img { width: 128px; height: auto; }
  .mmenu__close {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(242,239,233,.35); background: rgba(255,255,255,.06);
  }
  .mmenu__close svg { width: 18px; height: 18px; }
  .mmenu__nav { display: grid; gap: 6px; margin: clamp(36px, 8vh, 72px) 0 auto; }
  .mmenu__nav a {
    display: flex; align-items: baseline; gap: 18px;
    font-size: clamp(34px, 10vw, 44px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em;
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
  }
  .mmenu__nav a span { font-size: 12px; letter-spacing: .1em; color: var(--accent); min-width: 18px; }
  .mmenu__nav a:active { color: var(--accent); }
  .menu-open .mmenu__nav a { opacity: 1; transform: none; }
  .menu-open .mmenu__nav a:nth-child(2) { transition-delay: .05s; }
  .menu-open .mmenu__nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .mmenu__nav a:nth-child(4) { transition-delay: .15s; }
  .menu-open .mmenu__nav a:nth-child(5) { transition-delay: .2s; }
  .mmenu__info {
    display: grid; gap: 10px; margin-top: 36px; padding-top: 22px;
    border-top: 1px solid var(--line); font-size: 15px; color: var(--muted);
  }
  .mmenu__info strong { color: var(--text); font-weight: 500; }
  .mmenu__wa { width: 100%; margin-top: 22px; min-height: 56px; font-size: 17px; }
  .mmenu__social { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
  .mmenu__social a {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line); background: rgba(255,255,255,.04);
  }
  .mmenu__social svg { width: 20px; height: 20px; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 60px;
  transition: transform .4s var(--ease);
}
.wa-float__icon {
  position: relative; width: 60px; height: 60px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  transition: box-shadow .4s var(--ease);
}
.wa-float__icon svg { width: 32px; height: 32px; transition: transform .5s var(--ease); }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  background: var(--cream); color: var(--bg); border-radius: 999px;
  font-size: 16px; font-weight: 500; line-height: 1; padding: 13px 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
  transition: max-width .5s var(--ease), opacity .3s, padding .5s var(--ease);
}
/* anillo que "late" para llamar la atención */
.wa-float__icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); opacity: 0; pointer-events: none;
  animation: wa-pulse 3.2s ease-out 2s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}
@keyframes wa-wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(4deg); }
}
@media (hover: hover) {
  .wa-float:hover { transform: translateY(-2px); }
  .wa-float:hover .wa-float__icon { box-shadow: 0 16px 40px rgba(37, 211, 102, .45); }
  .wa-float:hover .wa-float__icon::before { animation: none; }
  .wa-float:hover .wa-float__label { max-width: 160px; opacity: 1; padding-left: 20px; padding-right: 20px; }
  .wa-float:hover .wa-float__icon svg { animation: wa-wiggle .7s var(--ease); }
}

/* ---------- Publicaciones de redes ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.post {
  position: relative; display: block; aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--surface);
}
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.post::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 35%);
}
.post:hover img { transform: scale(1.05); filter: brightness(1.08); }
.post__badge {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(18,20,22,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.post__badge svg { width: 18px; height: 18px; }
.posts .post.reveal:nth-child(2) { transition-delay: .06s; }
.posts .post.reveal:nth-child(3) { transition-delay: .12s; }
.posts .post.reveal:nth-child(4) { transition-delay: .18s; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.cats .cat.reveal:nth-child(2) { transition-delay: .08s; }
.cats .cat.reveal:nth-child(3) { transition-delay: .16s; }
.cats .cat.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brands__row, .wa-float__icon::before, .reviews__swipe svg { animation: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .header__nav a { padding: 10px 16px; }
  .header__social a { width: 36px; height: 36px; }
  .header__cta span { display: none; }
  .header__cta { padding: 10px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__a { padding-right: 0; }
  .header { grid-template-columns: 1fr auto auto; gap: 6px; }
  .header__cta { display: none; }
  .header__social { gap: 0; }
  .header__social .header__social-wa { display: grid; }
  .header__social svg { width: 19px; height: 19px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .header__burger {
    display: grid; gap: 6px; width: 48px; height: 48px; place-content: center;
    border-radius: 50%; background: var(--cream); position: relative; z-index: 2;
  }
  .header__burger span { display: block; width: 18px; height: 1.5px; background: var(--bg); transition: transform .35s var(--ease); }
  .header__nav { display: none; }
  .menu-open .wa-float { opacity: 0; pointer-events: none; }

  .hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 32px; }
  .hero__card { display: none; }

  .brands { grid-template-columns: 1fr; gap: 20px; padding-top: 26px; padding-bottom: 26px; }
  .brands__row img { height: 30px; }

  .social__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 340px; }
  .about__wide { border-radius: 0; }
  .about__body { grid-template-columns: 1fr; }
  .about__portrait { width: 62%; }
  .about__text { padding-top: 0; }

  .visit { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta__imgs { height: 240px; grid-template-columns: 1fr 2fr; }
  .cta__img-night { display: none; } /* en celular va la del salón por dentro, que se lee mejor que la de noche */
  .cta__imgs img, .cta__imgs img + img { border-radius: var(--radius-sm); }
  .cta__imgs { padding: 0 var(--gutter) var(--gutter); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero { padding-bottom: 92px; } /* deja lugar al botón flotante de WhatsApp */
  .header__logo img { width: 112px; }
  .header__social a { width: 34px; height: 34px; }
  .header__social svg { width: 18px; height: 18px; }
  .header__burger { width: 44px; height: 44px; }
  .wa-float, .wa-float__icon { height: 56px; }
  .wa-float__icon { width: 56px; }
  .wa-float__icon svg { width: 30px; height: 30px; }
  .posts { gap: 10px; }
  body { font-size: 17px; }
  :root { --radius: 22px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat { aspect-ratio: 3 / 4; border-radius: 18px; }
  .cat__body { padding: 16px 14px; gap: 4px; }
  .cat__name { font-size: 20px; }
  .cat__desc { display: none; }
  .cat__cta { font-size: 14px; }
  .cat__cta .arrow { width: 22px; margin-left: 8px; }
  .social-card { min-height: 0; gap: 4px 16px; }
  .social-card__icon { width: 56px; height: 56px; border-radius: 16px; }
  .social-card__icon svg { width: 28px; height: 28px; }
  .social-card__cta { margin-top: 18px; }
  .reviews__nav { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__n { margin-bottom: 16px; }
  .team { grid-template-columns: 1fr; }
  .about__portrait { width: 75%; margin-top: -90px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; }
  .pill { font-size: 16px; padding: 13px 22px; }
}

/* Texto solo para lectores de pantalla y buscadores */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
