/* =====================================================
   Rebben’s Detailing LLC — hoja de estilos
   Idea de diseño: pintura negra con destellos de luz.
   Un solo momento memorable: un reflejo de luz cruza la
   foto principal una vez al cargar. Todo lo demás es sobrio.
   ===================================================== */

/* ---------- Colores, tipografía y medidas ---------- */
:root {
  --obsidian: #0a0a0a;
  --graphite: #111111;
  --graphite-2: #181818;
  --steel: #262626;
  --silver: #a6a6a6;
  --ivory: #f2efe8;
  --paper: #ebe9e3;
  --ink: #14161b;
  --ink-soft: #494e59;
  --gold: #c8a96a;
  --gold-hi: #e8d4a3;
  --gold-deep: #6f5826;

  --r-panel: 24px;
  --r-card: 16px;
  --r-field: 12px;

  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --hdr: 76px;

  /* Colores "semánticos": cambian en las secciones claras */
  --c-bg: var(--obsidian);
  --c-surface: var(--graphite-2);
  --c-text: var(--ivory);
  --c-muted: var(--silver);
  --c-line: var(--steel);
  --c-accent: var(--gold-hi);
  --c-focus: var(--gold-hi);
}

.section--light {
  --c-bg: var(--paper);
  --c-surface: #f7f6f2;
  --c-text: var(--ink);
  --c-muted: var(--ink-soft);
  --c-line: #cdc9be;
  --c-accent: var(--gold-deep);
  --c-focus: var(--gold-deep);
}

.section--graphite {
  --c-bg: var(--graphite);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--hdr) - 1px); }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--gold); color: #1a1407; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Tipografía ---------- */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; text-wrap: balance; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
h4 { font-size: .95rem; font-weight: 700; letter-spacing: .01em; }
.display { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.12; }
.lead { font-size: 1.15rem; line-height: 1.6; }
.small { font-size: .92rem; }

/* ---------- Secciones ---------- */
.section {
  background: var(--c-bg);
  color: var(--c-text);
  padding-block: clamp(72px, 9vw, 124px);
}
.sec-head { max-width: 64ch; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p { margin-top: 18px; color: var(--c-muted); }
.sec-head--row {
  max-width: none; display: flex; justify-content: space-between;
  align-items: flex-end; gap: 24px 48px; flex-wrap: wrap;
}
.sec-head--row > div { max-width: 56ch; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: .98rem;
  letter-spacing: .01em; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1407; }
.btn--gold:hover { background: var(--gold-hi); }
.btn--ghost { border-color: color-mix(in srgb, var(--c-text) 38%, transparent); color: var(--c-text); background: transparent; }
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: #2a2a2a; }
.btn[disabled] { opacity: .6; cursor: progress; }

.section:not(.section--light) .btn--dark { background: var(--ivory); color: var(--ink); }
.section:not(.section--light) .btn--dark:hover { background: var(--gold-hi); }

.link {
  color: var(--c-accent); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Encabezado ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.hdr:not(.is-solid):not(.is-open) { background: linear-gradient(180deg, rgba(10, 10, 10, .78), rgba(10, 10, 10, 0)); }
.hdr.is-solid, .hdr.is-open {
  background: rgba(10, 10, 10, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--steel);
}
.hdr__in {
  height: 100%; width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { height: 38px; width: auto; }
.brand__word { display: none; font: 500 1.4rem var(--font-display); letter-spacing: -.01em; }
.brand.no-logo .brand__logo { display: none; }
.brand.no-logo .brand__word { display: block; }

.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav a {
  color: var(--silver); text-decoration: none; font-size: .95rem; padding: 8px 0;
  transition: color .2s;
}
.nav a:hover { color: var(--ivory); }
.hdr__act { display: flex; align-items: center; gap: 12px; }

.lang {
  min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(242, 239, 232, .32);
  font-size: .86rem; font-weight: 600; color: var(--ivory);
  transition: border-color .2s, color .2s;
}
.lang:hover { border-color: var(--gold); color: var(--gold-hi); }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; color: var(--ivory); align-items: center; justify-content: center;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
  transition: transform .25s, background-color .25s;
}
.burger__bars::before, .burger__bars::after { content: ''; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.hdr.is-open .burger__bars { background: transparent; }
.hdr.is-open .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.hdr.is-open .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: max(660px, 100svh);
  background: var(--obsidian);
}
.hero__copy {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--hdr) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(40px, 6vw, 88px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  padding-right: clamp(24px, 4vw, 56px);
}
.hero__loc { color: var(--gold-hi); font-weight: 500; margin-bottom: 22px; max-width: 46ch; }
.hero__sub { margin-top: 26px; max-width: 48ch; color: #d7d4cc; font-size: 1.15rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--steel); color: var(--silver); font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: 10px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero__media { position: relative; overflow: hidden; background: linear-gradient(145deg, #1a1a1a, #0b0b0b); }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
}
.hero__media::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--obsidian) 0, rgba(10, 10, 10, 0) 24%);
}
.hero__cap {
  position: absolute; z-index: 2; left: 28px; bottom: 24px; font-size: .88rem;
  color: rgba(255, 255, 255, .85); text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
/* El momento memorable: un reflejo de luz cruza la pintura una sola vez */
.sweep {
  position: absolute; z-index: 1; top: -20%; bottom: -20%; left: -60%; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 246, 220, .34) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(0) skewX(-18deg);
  mix-blend-mode: soft-light; pointer-events: none;
  animation: sweep 2.6s cubic-bezier(.3, .6, .2, 1) .6s 1 both;
}
@keyframes sweep { to { transform: translateX(420%) skewX(-18deg); } }

/* ---------- Cómo funciona ---------- */
.steps {
  counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.step { counter-increment: step; position: relative; padding-top: 64px; border-top: 1px solid var(--c-line); }
.step::before {
  content: counter(step); position: absolute; top: -19px; left: 0;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-bg); border: 1px solid var(--gold); color: var(--gold-hi);
  font: 500 1.05rem var(--font-display);
}
.step h3 { margin-bottom: 10px; margin-top: -34px; }
.step p { color: var(--c-muted); font-size: .98rem; max-width: 34ch; }

/* ---------- Buscador de paquete ---------- */
.finder {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-panel);
  padding: clamp(24px, 4vw, 40px); margin-bottom: 28px;
}
.finder__head p { color: var(--c-muted); margin-top: 6px; }
.finder__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: block; padding: 12px 20px; border-radius: 999px; font-size: .95rem;
  border: 1px solid var(--c-line); background: transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--c-accent); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.finder__out { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.finder__rec { font-weight: 600; font-size: 1.08rem; max-width: 62ch; }
.finder__note { color: var(--c-muted); font-size: .92rem; margin: 8px 0 18px; }

/* ---------- Tamaño del vehículo (se activa al mostrar precios) ---------- */
.size { display: inline-flex; gap: 6px; padding: 5px; border: 1px solid var(--c-line); border-radius: 999px; margin-bottom: 24px; }
.size__btn { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--c-muted); }
.size__btn.is-on { background: var(--ink); color: var(--ivory); }

/* ---------- Paquetes ---------- */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg {
  display: flex; flex-direction: column; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 32px 28px;
}
.pkg__name { font: 500 2.1rem/1 var(--font-display); letter-spacing: -.01em; }
.pkg__tag { color: var(--c-muted); margin-top: 8px; font-size: .95rem; }
.pkg__price {
  display: flex; flex-direction: column; gap: 4px; margin: 22px 0 6px; padding: 16px 0;
  border-block: 1px solid var(--c-line);
}
.pkg__amt { font: 500 1.7rem/1.1 var(--font-display); }
.pkg__sub { font-size: .85rem; color: var(--c-muted); }
.pkg__sub:empty { display: none; }
.pkg h4 { margin: 20px 0 8px; }
.pkg__note { margin: 18px 0 24px; font-size: .88rem; color: var(--c-muted); }
.pkg .btn { margin-top: auto; }

.list li { position: relative; padding: 5px 0 5px 22px; font-size: .97rem; }
.list li::before {
  content: ''; position: absolute; left: 3px; top: 15px; width: 7px; height: 7px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.section--light .list li::before { border-color: var(--gold-deep); }
.list__all { font-weight: 600; }
.list--lg li { font-size: 1.08rem; padding-block: 8px; }
.list--lg li::before { top: 18px; }

.fine { margin-top: 34px; max-width: 78ch; display: grid; gap: 10px; font-size: .9rem; color: var(--c-muted); }

/* ---------- Dos columnas con foto ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__text { display: grid; gap: 22px; justify-items: start; }
.split__text .lead { color: var(--c-muted); }
.frame {
  position: relative; overflow: hidden; border-radius: var(--r-panel);
  aspect-ratio: 4 / 5; background: linear-gradient(145deg, #1a1a1a, #0b0b0b);
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

/* ---------- Niveles de corrección ---------- */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(48px, 7vw, 80px); }
.level { padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-surface); display: flex; flex-direction: column; align-items: flex-start; }
.meter { display: flex; gap: 5px; width: 100%; max-width: 150px; margin-bottom: 20px; }
.meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--steel); }
.meter i.on { background: var(--gold); }
.level h3 { font: 500 1.7rem/1.1 var(--font-display); }
.level__kind { color: var(--c-accent); font-weight: 600; font-size: .92rem; margin: 6px 0 12px; }
.level p:not(.level__kind) { color: var(--c-muted); font-size: .96rem; margin-bottom: 18px; }
.level .link { margin-top: auto; }
.fine--dark { margin-top: 28px; }

/* ---------- Servicios adicionales ---------- */
.svcs { display: flex; flex-wrap: wrap; gap: 12px; }
.svc {
  padding: 13px 22px; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none;
  font-size: .97rem; transition: border-color .2s, color .2s;
}
.svc:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- Galería ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot {
  position: relative; display: block; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r-card); background: linear-gradient(145deg, #1a1a1a, #0b0b0b);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.shot__cap {
  position: absolute; inset: auto 0 0 0; padding: 56px 18px 16px; text-align: left; font-size: .92rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff;
}
.video { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: clamp(48px, 7vw, 80px); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--c-line); border-radius: var(--r-panel); background: var(--obsidian); }
.video__text { display: grid; gap: 14px; color: var(--c-muted); }
.video__text .display { color: var(--ivory); }
.video video { width: min(300px, 72vw); aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: var(--r-card); }

/* ---------- Programa VIP ---------- */
.vipcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(48px, 7vw, 72px); }
.vipcard { padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-surface); }
.vipcard__v { color: var(--c-muted); margin-top: 4px; font-size: .95rem; }
.vipcard__price { margin-top: 20px; color: var(--c-muted); }
.vipcard__price b { font: 500 2.6rem/1 var(--font-display); color: var(--gold-hi); margin-right: 6px; }

/* ---------- Nosotros y zonas ---------- */
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 110px); }
.duo__a, .duo__b { display: grid; gap: 22px; align-content: start; }
.duo p { color: var(--c-muted); }
.owner { padding-left: 18px; border-left: 2px solid var(--gold); }
.owner__name { font: 500 1.6rem/1.2 var(--font-display); color: var(--c-text); }
.owner__role { font-size: .92rem; margin-top: 4px; }
.cities { border-top: 1px solid var(--c-line); }
.cities li { font: 500 clamp(1.8rem, 3.4vw, 2.5rem)/1.2 var(--font-display); padding: 14px 0; border-bottom: 1px solid var(--c-line); }

/* ---------- Preguntas frecuentes ---------- */
.faqwrap { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(32px, 7vw, 100px); }
.faqwrap__head { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; }
.faqgroup { font-size: 1rem; color: var(--c-accent); margin: 40px 0 8px; }
.faqgroup:first-child { margin-top: 0; }
.qa { border-top: 1px solid var(--c-line); }
.qa:last-child { border-bottom: 1px solid var(--c-line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 20px 0; font-weight: 600;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .25s;
}
.qa[open] summary::after { transform: rotate(-135deg); }
.qa p { padding: 0 36px 22px 0; color: var(--c-muted); max-width: 68ch; }
.faqgroup + .qa { border-top: 1px solid var(--c-line); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.contact__info { display: grid; gap: 22px; justify-items: start; }
.contact__info .lead { color: var(--c-muted); }
.contact__phone { font: 500 clamp(2rem, 4vw, 2.8rem)/1.1 var(--font-display); text-decoration: none; }
.contact__phone:hover { color: var(--c-accent); }
.contact__links { line-height: 2; }
.photobox { padding: 24px; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-surface); display: grid; gap: 10px; width: 100%; }
.photobox p { color: var(--c-muted); font-size: .95rem; }
.photobox__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-field);
  border: 1px solid #b4b0a4; background: #fbfaf7; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-deep); outline-offset: 1px; border-color: var(--gold-deep); }
.field [aria-invalid="true"] { border-color: #9b2c2c; background: #fdf4f3; }
.help { font-size: .85rem; color: var(--c-muted); }
.help--center { text-align: center; margin-top: 14px; }
.err { font-size: .86rem; color: #9b2c2c; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.panel { margin-top: 28px; padding: 28px; border-radius: var(--r-card); background: #fff; border: 1px solid #cdc9be; display: grid; gap: 14px; }
.panel textarea { width: 100%; min-height: 220px; padding: 14px; border-radius: var(--r-field); border: 1px solid #b4b0a4; background: #fbfaf7; font-size: .93rem; color: var(--ink); resize: vertical; }
.panel__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.panel--ok { border-color: var(--gold-deep); }

/* ---------- Pie de página ---------- */
.foot { background: var(--obsidian); border-top: 1px solid var(--steel); padding: 56px 0 48px; }
.foot__in { display: grid; gap: 18px; justify-items: start; }
.foot__tag { color: var(--silver); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__links a { text-decoration: none; color: var(--ivory); }
.foot__links a:hover { color: var(--gold-hi); }
.foot__copy { color: var(--silver); font-size: .85rem; }

/* ---------- Barra fija en celular ---------- */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 40; display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--steel); transition: transform .3s;
}
.dock .btn { flex: 1 1 0; padding: 0 10px; font-size: .88rem; white-space: nowrap; }
.dock.is-hidden { transform: translateY(110%); }

/* ---------- Visor de fotos ---------- */
.lb { border: 0; padding: 0; background: transparent; width: min(94vw, 960px); max-width: none; max-height: 94vh; color: #fff; overflow: visible; }
.lb::backdrop { background: rgba(0, 0, 0, .9); }
.lb__fig { display: grid; gap: 12px; justify-items: center; }
.lb__fig img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 14px; }
.lb__fig figcaption { font-size: .95rem; color: #ddd; }
.lb__btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.lb__btn:hover { border-color: var(--gold-hi); }
.lb__close { top: -12px; right: -4px; }
.lb__prev { left: 8px; top: 40%; }
.lb__next { right: 8px; top: 40%; }

/* ---------- Pantallas medianas ---------- */
@media (max-width: 1040px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: var(--hdr); left: 0; right: 0; display: none; flex-direction: column; gap: 0;
    padding: 6px var(--gutter) 22px; background: rgba(10, 10, 10, .98); border-bottom: 1px solid var(--steel);
  }
  .hdr.is-open .nav { display: flex; }
  .nav a { padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid var(--steel); color: var(--ivory); }
  .nav a:last-child { border-bottom: 0; }
  .hdr__in { justify-content: space-between; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .pkgs, .levels, .vipcards { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Celular y tablet vertical ---------- */
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__media { order: -1; position: relative; aspect-ratio: 1 / 1.05; min-height: 0; }
  .hero__media img { object-position: 50% 56%; }
  .hero__media::before { display: none; }
  .hero__media::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 24%, rgba(10, 10, 10, 0) 62%, var(--obsidian) 100%);
  }
  .hero__copy { margin-top: -56px; padding: 0 var(--gutter) 48px; justify-content: flex-start; }
  .hero__cap { display: none; }
  .hero__cta .btn { flex: 1 1 auto; }
  .split, .duo, .faqwrap, .contact { grid-template-columns: 1fr; }
  .split--flip .frame { order: 2; }
  .frame { aspect-ratio: 4 / 4.4; }
    .faqwrap__head { position: static; }
  .video { grid-template-columns: 1fr; justify-items: start; }
  .dock { display: flex; }
  .foot { padding-bottom: 104px; }
  .hdr__cta { display: none; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .shots { gap: 10px; }
  .grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .qa p { padding-right: 0; }
  .brand__logo { height: 34px; }
  .lb__prev { left: 0; }
  .lb__next { right: 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sweep { display: none; }
  * { transition-duration: .01ms !important; }
}

/* =====================================================
   FASE 1 (6-oct-2026) — nuevos elementos y efectos
   ===================================================== */

/* ---------- Botones con ícono y WhatsApp ---------- */
.btn__ico { width: 20px; height: 20px; flex: none; fill: currentColor; margin-right: 10px; }
.btn--wa { background: var(--ink); color: var(--ivory); gap: 0; }
.btn--wa .btn__ico { color: #25d366; }
.btn--wa:hover { background: #2a2a2a; }
.dock .btn__ico { margin-right: 8px; width: 18px; height: 18px; }

/* ---------- Textos de apoyo ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-accent);
}
.muted { color: var(--c-muted); }

/* ---------- Insignia "El más completo" (no cambia el fondo de la tarjeta) ---------- */
.pkg { position: relative; }
.badge {
  position: absolute; top: 30px; right: 24px;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--gold-deep); color: var(--gold-deep);
}
.pkg--top { border-top: 2px solid var(--gold-deep); }

/* ---------- Proceso del cerámico ---------- */
.process { counter-reset: pr; display: grid; gap: 16px; width: 100%; }
.process li {
  counter-increment: pr; position: relative; display: grid; gap: 4px;
  padding: 2px 0 16px 52px; border-bottom: 1px solid var(--c-line);
}
.process li:last-child { border-bottom: 0; padding-bottom: 0; }
.process li::before {
  content: counter(pr, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font: 500 1.4rem/1 var(--font-display); color: var(--gold-hi);
}
.process b { font-weight: 600; }
.process span { color: var(--c-muted); font-size: .97rem; }

/* ---------- Condiciones VIP ---------- */
.terms { display: flex; flex-wrap: wrap; gap: 10px; }
.terms li {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px;
  border: 1px solid var(--c-line); border-radius: 999px; font-size: .92rem; font-weight: 600;
}
.terms li::before {
  content: ''; width: 9px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) translateY(-2px);
}
.vipcard__from {
  display: block; margin-bottom: 8px; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted);
}

/* ---------- Adicionales y otros vehículos ---------- */
.sub-h { margin: clamp(36px, 5vw, 52px) 0 16px; font-size: 1.05rem; }
.ex-note { margin-top: 16px; }
.section--light .svc:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ---------- Sobre nosotros: cifras, marcas y horario ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 18px 48px; padding-top: 6px; }
.stat b { display: block; font: 500 clamp(2.4rem, 4vw, 3rem)/1 var(--font-display); color: var(--c-text); }
.stat span { display: block; margin-top: 6px; font-size: .92rem; }
.duo .stat span { color: var(--c-muted); }
.brands { padding-top: 22px; border-top: 1px solid var(--c-line); }
.brands__label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brands__list { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.brands__list li { font: 500 1.15rem/1.4 var(--font-display); color: var(--c-text); }
.hours {
  display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--c-line);
  border-radius: var(--r-card); background: var(--c-surface);
}
.duo .hours__t { color: var(--c-text); font-weight: 700; }
.foot__hours { color: var(--silver); font-size: .92rem; }

/* ---------- Preguntas frecuentes: 4 visibles + "ver más" ---------- */
.faqwrap__body .qa { border-top: 0; border-bottom: 1px solid var(--c-line); }
.faqwrap__body > .qa:first-child { border-top: 1px solid var(--c-line); }
.faq-toggle {
  margin-top: 26px; min-height: 48px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--c-line); color: var(--c-text); font-weight: 600;
  transition: border-color .2s, color .2s;
}
.faq-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- Efecto 1: aparición suave al bajar ---------- */
.fx .reveal {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.fx .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Efecto 2: reflejo de luz que cruza cada foto al aparecer ---------- */
.frame::after {
  content: ''; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: -60%; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 246, 220, .3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg); mix-blend-mode: soft-light; pointer-events: none; opacity: 0;
}
.fx .frame.is-in::after { animation: sweepf 2.2s cubic-bezier(.3, .6, .2, 1) .45s 1 both; }
@keyframes sweepf {
  from { opacity: 1; transform: translateX(0) skewX(-18deg); }
  to { opacity: 1; transform: translateX(420%) skewX(-18deg); }
}

/* ---------- Efecto 3: profundidad en fotos (solo computadora) ---------- */
.px { will-change: transform; }

/* ---------- Efecto 4: tarjetas que se inclinan bajo el mouse ---------- */
.pkg, .vipcard, .level {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s,
              opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.vipcard, .level { position: relative; }
.pkg.is-tilt, .vipcard.is-tilt, .level.is-tilt {
  transition: transform .12s linear, box-shadow .3s, opacity .9s, translate .9s;
  box-shadow: 0 32px 60px -34px rgba(0, 0, 0, .55);
}
.pkg::after, .vipcard::after, .level::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(232, 212, 163, .16), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.is-tilt::after { opacity: 1; }

@media (max-width: 560px) {
  .badge { top: 26px; right: 20px; }
  .stats { gap: 18px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .frame::after { display: none; }
  .pkg, .vipcard, .level { transform: none; }
}

/* Cabecera legible sobre la foto de portada */
.hdr:not(.is-solid):not(.is-open) { background: linear-gradient(180deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .55) 70%, rgba(10, 10, 10, 0) 100%); }
.hdr:not(.is-solid):not(.is-open) {
  background: rgba(10, 10, 10, .62);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* =====================================================
   AJUSTE 7-oct-2026 — portada centrada y web 100% oscura
   ===================================================== */

/* Cabecera alineada con el contenido (mismo ancho que todo lo demás) */
.hdr__in { width: min(var(--wrap), 100% - var(--gutter) * 2); }

/* Portada: texto y foto dentro del mismo marco centrado (nada pegado al borde) */
.hero {
  width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  min-height: min(100svh, 980px);
  padding: calc(var(--hdr) + clamp(32px, 5vw, 64px)) 0 clamp(48px, 6vw, 80px);
  background: transparent;
}
.hero__copy { padding: 0; }
.hero__media {
  width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hdr) - 96px);
  border-radius: var(--r-panel); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  outline: 1px solid rgba(200, 169, 106, .18); outline-offset: -1px;
}
.hero__media::before { display: none; }
.hero__media::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 60%, rgba(10, 10, 10, .55) 100%);
}
.hero__cap { left: 24px; bottom: 20px; }
/* Halo dorado muy suave detrás de la portada para dar profundidad */
body { background: radial-gradient(1200px 700px at 78% 8%, rgba(200, 169, 106, .07), transparent 60%) no-repeat, var(--obsidian); }

/* Todo oscuro: elementos que antes estaban pensados para fondo claro */
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #1a1407; }
.size__btn.is-on { background: var(--gold); color: #1a1407; }
.badge { border-color: var(--gold); color: var(--gold-hi); }
.pkg--top { border-top-color: var(--gold); }
.btn--wa { background: transparent; border-color: rgba(37, 211, 102, .55); color: var(--ivory); }
.btn--wa:hover { background: rgba(37, 211, 102, .1); border-color: #25d366; }

.field input, .field select, .field textarea {
  background: #0f0f0f; color: var(--ivory); border-color: var(--steel);
}
.field input::placeholder, .field textarea::placeholder { color: #7d828d; }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--gold); border-color: var(--gold); }
.field select option { background: #0f0f0f; color: var(--ivory); }
.field input[type="date"] { color-scheme: dark; }
.field [aria-invalid="true"] { border-color: #e07a6f; background: #1c1112; }
.err { color: #f0a097; }
.contact__form {
  padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--c-line);
  border-radius: var(--r-panel); background: var(--graphite-2);
}
.panel { background: var(--graphite-2); border-color: var(--steel); }
.panel textarea { background: #0f0f0f; color: var(--ivory); border-color: var(--steel); }
.panel--ok { border-color: var(--gold); }

/* Celular: la portada vuelve a foto arriba a todo lo ancho */
@media (max-width: 860px) {
  .hero { width: 100%; padding: 0; gap: 0; min-height: 0; }
  .hero__media {
    aspect-ratio: 1 / 1.05; max-height: none; border-radius: 0; box-shadow: none; outline: 0;
  }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 24%, rgba(10, 10, 10, 0) 62%, var(--obsidian) 100%);
  }
  .hero__copy { padding: 0 var(--gutter) 48px; }
  .contact__form { padding: 22px 18px; }
}


/* =====================================================
   FASE 2 (7-oct-2026) — negro neutro, video, antes/después,
   manguera dorada, comparación y fotos reales
   ===================================================== */

/* ---------- Portada con video ---------- */
.hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hstats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 40px 0 0; }
.hstats > div { display: grid; gap: 2px; }
.hstats dt { font: 500 clamp(1.8rem, 3vw, 2.4rem)/1 var(--font-display); color: var(--gold-hi); }
.hstats dd { margin: 0; font-size: .9rem; color: var(--silver); }
.hstats + .facts { margin-top: 28px; }

/* Título que aparece línea por línea */
.tsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.tsplit .w > span { display: inline-block; transform: translateY(105%); }
.tsplit.is-split .w > span { animation: rise .9s cubic-bezier(.2, .7, .2, 1) calc(.15s + var(--i) * 70ms) both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }

/* ---------- Manguera dorada (Cómo funciona) ---------- */
.hosebox { position: relative; }
.hose { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.hose path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hose__bed { stroke: rgba(200, 169, 106, .16); stroke-width: 2; }
.hose__line { stroke: var(--gold); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(232, 212, 163, .35)); }
.has-hose .step { border-top-color: transparent; }
.step { z-index: 1; }
.step::before { transition: background-color .4s, color .4s, box-shadow .4s; }
.step.is-lit::before { background: var(--gold); color: #1a1407; box-shadow: 0 0 0 6px rgba(200, 169, 106, .14); }
.how__cta { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 56px; position: relative; z-index: 1; }
.nozzle { position: relative; width: 46px; height: 22px; flex: none; }
.nozzle__body {
  position: absolute; inset: 4px 0 4px 0; border-radius: 3px 8px 8px 3px;
  background: linear-gradient(180deg, #f0e2bd, var(--gold) 45%, var(--gold-deep));
}
.nozzle__body::after { content: ''; position: absolute; right: -6px; top: 3px; bottom: 3px; width: 8px; border-radius: 0 4px 4px 0; background: #d9c38f; }
.nozzle__spray {
  position: absolute; left: 100%; top: 50%; width: 0; height: 30px; margin-left: 4px; transform: translateY(-50%);
  background: radial-gradient(ellipse at left center, rgba(220, 238, 255, .9), rgba(220, 238, 255, 0) 70%);
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%); opacity: 0; transition: width .5s, opacity .5s;
}
.nozzle.is-on .nozzle__spray { width: 70px; opacity: 1; animation: spray 1.1s ease-in-out infinite alternate; }
@keyframes spray { from { filter: blur(0); } to { filter: blur(1.5px); } }
.how__cta .btn { position: relative; z-index: 1; }

/* ---------- Antes y después ---------- */
.ba-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(36px, 7vw, 96px); align-items: center; }
.ba-text { display: grid; gap: 20px; justify-items: start; }
.ba__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ba__tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--c-line); background: transparent;
  color: var(--c-text); font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.ba__tab:hover { border-color: var(--gold); }
.ba__tab.is-on { background: var(--gold); border-color: var(--gold); color: #1a1407; }
.ba__cap { font: 500 1.25rem/1.3 var(--font-display); color: var(--ivory); min-height: 1.3em; }
.ba {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-panel); overflow: hidden;
  background: #111; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); outline: 1px solid rgba(200, 169, 106, .18); outline-offset: -1px;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute; top: 18px; z-index: 3; padding: 6px 12px; border-radius: 999px; pointer-events: none;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(10, 10, 10, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ivory);
}
.ba__tag--b { left: 18px; }
.ba__tag--a { right: 18px; color: var(--gold-hi); }
.ba__jet { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 2; pointer-events: none; }
.ba__nozzle {
  position: absolute; top: -2px; left: -11px; width: 22px; height: 30px; border-radius: 0 0 7px 7px;
  background: linear-gradient(90deg, var(--gold-deep), #f0e2bd 45%, var(--gold) 70%, var(--gold-deep));
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
}
.ba__nozzle::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: -5px; height: 6px; border-radius: 0 0 3px 3px; background: #d9c38f; }
.ba__stream {
  position: absolute; top: 33px; bottom: 0; left: -2px; width: 4px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .95) 0 10px, rgba(185, 222, 255, .55) 10px 16px, rgba(255, 255, 255, .85) 16px 26px);
  background-size: 4px 26px; box-shadow: 0 0 10px 2px rgba(185, 222, 255, .55), 0 0 2px rgba(255, 255, 255, .9);
  animation: flow .45s linear infinite;
}
@keyframes flow { from { background-position: 0 0; } to { background-position: 0 26px; } }
.ba__splash {
  position: absolute; bottom: -18px; left: -46px; width: 92px; height: 40px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(220, 238, 255, .75), rgba(220, 238, 255, 0) 70%);
  animation: splash 1s ease-in-out infinite alternate;
}
@keyframes splash { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.1); opacity: 1; } }
.ba__grip {
  position: absolute; top: 50%; left: -23px; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  border: 1.5px solid var(--gold-hi); background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45); transition: transform .2s;
}
.ba__grip::before, .ba__grip::after {
  content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-left: 2px solid var(--gold-hi); border-bottom: 2px solid var(--gold-hi);
}
.ba__grip::before { left: 11px; transform: rotate(45deg); }
.ba__grip::after { right: 11px; transform: rotate(-135deg); }
.ba.is-drag .ba__grip { transform: scale(1.08); }
.ba__range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.ba:focus-within { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- Comparación: móvil vs. autolavado ---------- */
.vs { width: 100%; border-top: 1px solid var(--c-line); }
.vs__row {
  display: grid; grid-template-columns: 6.5em 1fr 1fr; gap: 6px 20px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: .96rem;
}
.vs__head { padding: 10px 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vs__head .vs__us { grid-column: 2; }
.vs__k { color: var(--silver); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.vs__row .vs__us { color: var(--ivory); position: relative; padding-left: 20px; }
.vs__row:not(.vs__head) .vs__us::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 9px; height: 5px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.vs__head .vs__us { color: var(--gold-hi); padding-left: 20px; }
.vs__them { color: #8a8a8a; }

/* ---------- Galería de 12 trabajos ---------- */
@media (min-width: 1041px) { .shots { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Detrás del trabajo ---------- */
.crew {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-bottom: clamp(56px, 8vw, 96px);
  scrollbar-width: thin; scrollbar-color: var(--steel) transparent;
}
.crew__it { scroll-snap-align: start; position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: #151515; }
.crew__it img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.crew__it:hover img { transform: scale(1.04); }
.crew__it span {
  position: absolute; inset: auto 0 0 0; padding: 48px 16px 14px; font-size: .9rem; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.duo--about { align-items: start; }
.owner__photo { aspect-ratio: 4 / 4.2; margin-bottom: 8px; }
.owner__photo img { object-position: 60% 40%; }

/* ---------- WhatsApp flotante (computadora) ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s;
}
.fab svg { width: 30px; height: 30px; fill: currentColor; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: #1fbd5a; }

@media (max-width: 1040px) {
  .ba-wrap { grid-template-columns: 1fr; }
  .ba { width: min(520px, 100%); justify-self: center; }
}
@media (max-width: 860px) {
  .fab { display: none; }
  .how__cta { justify-content: flex-start; margin-top: 48px; padding-left: 0; }
  .vs__row { grid-template-columns: 1fr 1fr; }
  .vs__k { grid-column: 1 / -1; }
  .vs__head .vs__us { grid-column: 1; }
  .hstats { gap: 12px 28px; margin-top: 32px; }
  .crew { grid-auto-columns: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  .ba__stream, .ba__splash, .nozzle.is-on .nozzle__spray { animation: none; }
  .tsplit .w > span { transform: none; animation: none; }
  .crew__it img { transition: none; }
}

/* Celular: la manguera baja por la izquierda, el texto se corre a la derecha */
@media (max-width: 560px) {
  .has-hose .step { padding-top: 0; padding-left: 58px; border-top: 0; }
  .has-hose .step::before { top: -6px; }
  .has-hose .step h3 { margin-top: 0; }
  .has-hose .steps { row-gap: 40px; }
  .has-hose + .how__cta, .has-hose .how__cta { padding-left: 58px; }
}

/* Computadora: botón y luego la boquilla, que apunta hacia el botón */
.is-row .how__cta { padding-right: 44px; }
.is-row .nozzle { order: 2; transform: scaleX(-1); }

/* Antes/después: título, foto y controles (en celular la foto va antes de los botones) */
.ba-wrap { grid-template-areas: "head stage" "ctrl stage"; grid-template-rows: auto 1fr; row-gap: 24px; }
.ba-head { grid-area: head; align-self: end; }
.ba-ctrl { grid-area: ctrl; align-self: start; }
.ba { grid-area: stage; }
@media (max-width: 1040px) {
  .ba-wrap { grid-template-areas: "head" "stage" "ctrl"; grid-template-rows: auto; }
}

/* =====================================================
   AJUSTE 8-oct-2026 — línea del antes/después más visible
   y lista "Por qué elegir un detallado móvil"
   ===================================================== */
/* Sombra a ambos lados del chorro para que se distinga sobre cualquier foto */
.ba__jet::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -9px; width: 18px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, 0));
}
.ba__stream { left: -3px; width: 6px; box-shadow: 0 0 0 1px rgba(232, 212, 163, .9), 0 0 14px 3px rgba(185, 222, 255, .6); }
.ba__grip {
  width: 56px; height: 56px; left: -28px; margin-top: -28px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border: 2px solid #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .55);
}
.ba__grip::before, .ba__grip::after { border-color: #1a1407; width: 9px; height: 9px; margin-top: -4.5px; }
.ba__grip::before { left: 13px; }
.ba__grip::after { right: 13px; }
.ba:not(.is-used) .ba__grip { animation: gripPulse 1.8s ease-in-out infinite; }
@keyframes gripPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, .55), 0 0 0 0 rgba(232, 212, 163, .55); }
  50% { box-shadow: 0 8px 22px rgba(0, 0, 0, .55), 0 0 0 12px rgba(232, 212, 163, 0); }
}
.ba__hint {
  position: absolute; z-index: 3; top: calc(50% + 40px); left: var(--pos); transform: translateX(-50%);
  padding: 6px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(10, 10, 10, .78); color: var(--gold-hi); border: 1px solid rgba(232, 212, 163, .5);
  transition: opacity .4s;
}
.ba__hint::before { content: '‹ '; } .ba__hint::after { content: ' ›'; }
.ba.is-used .ba__hint { opacity: 0; }

/* Lista de beneficios: mismo estilo numerado del cerámico */
.why { margin: 4px 0 8px; }
.why b { font-size: 1.05rem; color: var(--ivory); }

@media (prefers-reduced-motion: reduce) {
  .ba:not(.is-used) .ba__grip { animation: none; }
}

/* =====================================================
   AJUSTE 8-oct-2026 (b) — publicaciones de Rebben’s en "Detrás del trabajo"
   ===================================================== */
.crew-wrap { position: relative; }
.crew--posts { grid-auto-columns: calc((100% - 48px) / 4); margin-bottom: 0; }
.crew--posts .crew__it { aspect-ratio: 2 / 3; border-radius: 14px; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9); }
.crew--posts .crew__it:hover img { transform: none; }
.crew__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-right: 76px; }
.crew__btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1;
  background: transparent; color: var(--ivory); border: 1px solid var(--c-line); transition: border-color .2s, color .2s;
}
.crew__btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.crew__more { margin: -30px 0 clamp(56px, 8vw, 96px); }
@media (max-width: 1040px) { .crew--posts { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 860px) {
  .crew--posts { grid-auto-columns: 72%; }
  .crew__nav { display: none; }
  .crew__more { margin-top: 14px; }
}

/* =====================================================
   AJUSTE 8-oct-2026 (e) — publicaciones repartidas por la página
   ===================================================== */
.frame--poster {
  aspect-ratio: 2 / 3; width: 100%; max-width: 460px; justify-self: center;
  border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95);
}
.frame--poster img { object-position: 50% 50%; }
.frame--poster::after { display: none; }   /* sin reflejo encima del texto de la publicación */
.split--ex { align-items: center; }
.ex-col .sec-head { margin-bottom: 28px; }

.trio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 18px;
}
.trio__it { position: relative; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; background: #151515; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9); }
.trio__it img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crew__more { margin: 8px 0 clamp(56px, 8vw, 96px); }

@media (max-width: 860px) {
  .frame.frame--poster { aspect-ratio: 2 / 3; max-width: 420px; }
  .split--ex .frame--poster { order: 2; }
  .trio { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .trio__it { scroll-snap-align: start; }
  .crew__more { margin-top: 14px; }
}

/* Línea de agua más limpia: brillo continuo en vez de rayas */
.ba__stream {
  background: linear-gradient(90deg, rgba(190, 225, 255, .35), #fff 50%, rgba(190, 225, 255, .35));
  background-size: auto; animation: none; overflow: hidden;
}
.ba__stream::after {
  content: ''; position: absolute; left: 0; right: 0; top: -30%; height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(150, 205, 255, .9), rgba(255, 255, 255, 0));
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { transform: translateY(440%); } }
@media (prefers-reduced-motion: reduce) { .ba__stream::after { animation: none; display: none; } }
/* Sobre nosotros: la publicación de la Tundra en lugar de la foto suelta */
.owner__post { justify-self: start; max-width: 440px; margin-bottom: 8px; }
@media (max-width: 860px) { .owner__post { justify-self: center; } }

/* ---------- Nuestro trabajo: filtros, mosaico de proyectos y visor ---------- */
.wf { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(22px, 3vw, 32px); }
.wf__b {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--c-line);
  background: transparent; color: var(--c-text); font: inherit; font-size: .9rem; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, background-color .2s, color .2s;
}
.wf__b:hover { border-color: var(--gold); color: var(--gold-hi); }
.wf__b.is-on { background: var(--gold); border-color: var(--gold); color: #1a1407; }

.projs { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.proj {
  position: relative; grid-row: span 2; display: block; padding: 0; border: 0; overflow: hidden; cursor: pointer;
  border-radius: var(--r-card); background: linear-gradient(145deg, #1a1a1a, #0b0b0b); color: #fff; text-align: left;
  isolation: isolate;
}
.proj[hidden] { display: none; }
.proj--feat { grid-column: span 2; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.proj::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .82) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); border-radius: inherit; transition: box-shadow .3s;
}
.proj:hover img, .proj:focus-visible img { transform: scale(1.05); }
.proj:hover::after, .proj:focus-visible::after { box-shadow: inset 0 0 0 1px var(--gold); }
.proj__txt { position: absolute; z-index: 2; inset: auto 0 0 0; display: grid; gap: 4px; padding: 18px 18px 16px; }
.proj__cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.proj__name { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.15; }
.proj--feat .proj__name { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.proj__cnt { font-size: .82rem; color: rgba(255, 255, 255, .78); }
.proj__play {
  position: absolute; z-index: 2; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(4px);
}
.proj__play::before { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent #fff; }

@media (max-width: 1040px) {
  .projs { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .wf { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .wf::-webkit-scrollbar { display: none; }
  .projs {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; grid-auto-rows: auto;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .projs::-webkit-scrollbar { display: none; }
  .proj, .proj--feat { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .proj__name, .proj--feat .proj__name { font-size: 1.35rem; }
}

/* Visor de proyecto */
html.pv-open { overflow: hidden; }
.pv {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #050505; color: #fff;
}
.pv::backdrop { background: rgba(0, 0, 0, .92); }
.pv__in { height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; padding: 16px clamp(12px, 3vw, 32px) max(16px, env(safe-area-inset-bottom)); }
.pv__top { display: flex; align-items: flex-start; gap: 16px; }
.pv__head { flex: 1; min-width: 0; display: grid; gap: 6px; }
.pv__cat { margin: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.pv__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1; }
.pv__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.pv__tags li { padding: 4px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .78rem; color: #ddd; }
.pv__count { padding-top: 10px; font-size: .9rem; color: #bbb; font-variant-numeric: tabular-nums; }
.pv__x {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.pv__x:hover { border-color: var(--gold-hi); }
.pv__stage { position: relative; min-height: 0; }
.pv__track {
  height: 100%; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 14px; outline: none;
}
.pv__track::-webkit-scrollbar { display: none; }
.pv__slide { position: relative; flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; }
.pv__slide img, .pv__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.pv__stg {
  position: absolute; top: 12px; left: 50%; translate: -50% 0; padding: 6px 14px; border-radius: 999px;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .3);
}
.pv__stg--b { color: #ffd7c2; border-color: rgba(255, 170, 130, .55); }
.pv__stg--p { color: var(--gold-hi); border-color: rgba(232, 212, 163, .5); }
.pv__stg--a { color: #0d0b06; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); }
.pv__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: opacity .2s, border-color .2s;
}
.pv__nav:hover { border-color: var(--gold-hi); }
.pv__nav:disabled { opacity: 0; pointer-events: none; }
.pv__nav--prev { left: 10px; }
.pv__nav--next { right: 10px; }
.pv__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; justify-content: safe center; }
.pv__thumbs::-webkit-scrollbar { display: none; }
.pv__th {
  position: relative; flex: none; width: 62px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 10px;
  overflow: hidden; background: #111; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s;
}
.pv__th img { width: 100%; height: 100%; object-fit: cover; }
.pv__th:hover { opacity: .85; }
.pv__th.is-on { opacity: 1; border-color: var(--gold); }
.pv__th--v::after { content: ""; position: absolute; left: 24px; top: 20px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 0 3px #000); }
.pv__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pv__foot .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
@media (max-width: 640px) {
  .pv__in { gap: 10px; padding-inline: 10px; }
  .pv__nav { display: none; }
  .pv__count { padding-top: 6px; }
  .pv__th { width: 52px; height: 52px; }
  .pv__th--v::after { left: 19px; top: 15px; }
  .pv__foot .btn { flex: 1 1 0; white-space: nowrap; padding: 0 12px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  .proj img { transition: none; }
  .proj:hover img { transform: none; }
}
.proj--cta {
  grid-column: span 2; text-decoration: none; display: grid; align-content: end;
  background: radial-gradient(120% 90% at 85% 10%, rgba(200, 169, 106, .28), transparent 60%), linear-gradient(160deg, #1b1914, #0b0b0b);
  border: 1px solid rgba(200, 169, 106, .35);
}
.proj--cta::after { display: none; }
.proj--cta .proj__txt { position: relative; padding: clamp(20px, 3vw, 32px); gap: 10px; }
.proj--cta .proj__name { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.proj--cta .proj__cnt { font-size: .95rem; max-width: 34ch; }
.proj__btn { justify-self: start; margin-top: 8px; }
@media (max-width: 1040px) { .proj--cta { grid-column: 1 / -1; } }
@media (max-width: 640px) { .proj--cta { grid-column: auto; } }
