/* =============================================================
   PETROUVE — Gasolinera y lavadero · Lebrija
   Arquetipo: Editorial Dark Warm adaptado (petróleo + ámbar).
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Fondos */
  --bg:      #0E1217;
  --bg-2:    #121922;
  --bg-3:    #19222F;   /* tarjeta */
  --bg-4:    #212C3C;   /* tarjeta elevada */
  --bg-deep: #0A0D11;   /* footer */

  /* Texto */
  --cream:   #F3EDE2;
  --cream-2: #C4BEB1;
  --cream-3: #948E80;

  /* Acentos */
  --accent:      #EFA63A;   /* ámbar — combustible, energía */
  --accent-soft: #F4B855;
  --accent-deep: #C9821F;
  --green:       #3E9B79;   /* guiño AGLA / lavadero */
  --green-soft:  #54B894;

  /* Líneas */
  --line:   rgba(243,237,226,.10);
  --line-2: rgba(243,237,226,.18);

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Medidas */
  --container: 1240px;
  --pad: clamp(1.15rem, 5vw, 3rem);
  --radius: 18px;
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-weight: 500;
}
::selection { background: var(--accent); color: #1A130A; }

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

/* =============================================================
   3. Utilidades
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  z-index: 2000;
  padding: .65rem 1.1rem;
  background: var(--accent); color: #1A130A;
  font-weight: 600; border-radius: 8px;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1rem; letter-spacing: 0;
  color: var(--cream-3);
  padding-right: .55rem;
  border-right: 1px solid var(--line-2);
}

/* =============================================================
   4. Tipografía
   ============================================================= */
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.95rem, 4.6vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.section-intro {
  margin-top: 1.15rem;
  max-width: 56ch;
  font-size: 1.06rem;
  color: var(--cream-2);
}

/* =============================================================
   5. Componentes
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .92rem 1.7rem;
  font-weight: 600; font-size: .98rem;
  border-radius: 100px;
  transition: transform .35s var(--ease-out),
              background-color .3s var(--ease-out),
              box-shadow .35s var(--ease-out),
              border-color .3s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--accent); color: #1A130A;
  box-shadow: 0 10px 30px -12px rgba(239,166,58,.6);
}
.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -14px rgba(239,166,58,.75);
}
.btn-ghost {
  color: var(--cream);
  border: 1px solid var(--line-2);
  background: rgba(243,237,226,.02);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ---- Marca ---- */
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { flex: none; height: 34px; width: auto; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.32rem; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* =============================================================
   6. Navegación
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 1000;
  transition: background-color .35s var(--ease-out),
              box-shadow .35s var(--ease-out),
              border-color .35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(14,18,23,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -24px rgba(0,0,0,.9);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links > a:not(.nav-call) {
  font-size: .96rem; font-weight: 500;
  color: var(--cream-2);
  position: relative;
  padding: .3rem 0;
  transition: color .25s var(--ease-out);
}
.nav-links > a:not(.nav-call)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.nav-links > a:not(.nav-call):hover { color: var(--cream); }
.nav-links > a:not(.nav-call):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-call {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-weight: 600; font-size: .92rem;
  color: var(--cream);
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.nav-call svg { color: var(--accent); }
.nav-call:hover { border-color: var(--accent); background: rgba(239,166,58,.08); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--cream);
  transition: transform .3s var(--ease-out), opacity .2s var(--ease-out);
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -3;
  overflow: hidden;
}
.hero-photo {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover; object-position: center 42%;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,13,17,.93) 0%, rgba(10,13,17,.46) 52%, rgba(10,13,17,.64) 100%),
    linear-gradient(180deg, rgba(10,13,17,.80) 0%, rgba(10,13,17,.20) 36%, rgba(10,13,17,.58) 74%, var(--bg) 100%);
}
.hero-glow {
  position: absolute; top: -16%; right: -8%;
  width: 60vw; height: 60vw; max-width: 660px; max-height: 660px;
  background: radial-gradient(circle, rgba(239,166,58,.30), transparent 66%);
  filter: blur(90px);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
  mix-blend-mode: overlay;
}

.hero-inner { position: relative; z-index: 2; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-2);
  padding: .5rem .95rem;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(243,237,226,.03);
  margin-bottom: 1.6rem;
}
.hero-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-soft);
  box-shadow: 0 0 0 4px rgba(62,155,121,.22);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(62,155,121,0); }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 8vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--cream);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  margin-top: 1.6rem;
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--cream-2);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .9rem;
  margin-top: 2.2rem;
}

.hero-stats {
  display: flex; flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.6rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-stats li { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}
.stat-label {
  margin-top: .4rem;
  font-size: .9rem;
  color: var(--cream-3);
}

.hero-cue {
  position: absolute; left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid var(--line-2);
  border-radius: 100px;
  display: flex; justify-content: center;
}
.hero-cue span {
  width: 4px; height: 8px; margin-top: 7px;
  border-radius: 4px;
  background: var(--accent);
  animation: cue 1.8s var(--ease-soft) infinite;
}
@keyframes cue {
  0%   { opacity: 0; transform: translateY(-4px); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(11px); }
  100% { opacity: 0; }
}

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 1.05rem;
  overflow: hidden;
}
.marquee-track {
  display: flex; align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cream-2);
}
.marquee-track .sep { color: var(--accent); font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =============================================================
   9. Secciones — base
   ============================================================= */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}
.section-head { margin-bottom: clamp(2.6rem, 5vw, 4rem); }

/* ---- Servicios ---- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.svc-card {
  position: relative;
  padding: 1.9rem 1.7rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: perspective(900px) rotateX(var(--ry,0)) rotateY(var(--rx,0));
  transition: transform .4s var(--ease-out),
              border-color .35s var(--ease-out),
              background-color .35s var(--ease-out);
}
.svc-card:hover {
  border-color: var(--line-2);
  background: var(--bg-4);
}
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(239,166,58,.10);
  border: 1px solid rgba(239,166,58,.22);
  color: var(--accent);
  margin-bottom: 1.3rem;
  transition: background-color .35s var(--ease-out), transform .4s var(--ease-bounce);
}
.svc-icon svg { width: 30px; height: 30px; }
.svc-card:hover .svc-icon {
  background: rgba(239,166,58,.18);
  transform: translateY(-3px) rotate(-4deg);
}
.svc-card h3 {
  font-size: 1.24rem;
  margin-bottom: .5rem;
}
.svc-card p { font-size: .98rem; color: var(--cream-2); }

.svc-feature {
  position: relative;
  margin-top: 1.3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.svc-feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.svc-feature figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 1.5rem 1.1rem;
  font-size: .92rem; font-weight: 500; color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(10,13,17,.9));
}

/* =============================================================
   10. Lavadero
   ============================================================= */
.section-wash {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.wash-glow {
  position: absolute;
  width: 70%; height: 60%;
  top: -10%; right: -15%;
  background: radial-gradient(circle, rgba(62,155,121,.20), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}
.section-wash > .container { position: relative; z-index: 1; }

.wash-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.wash-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.wash-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.wash-benefits { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.wash-benefits li {
  display: flex; gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.wash-benefits li:hover { border-color: var(--line-2); background: var(--bg-4); }
.wash-b-icon {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(62,155,121,.12);
  border: 1px solid rgba(62,155,121,.28);
  color: var(--green-soft);
}
.wash-b-icon svg { width: 26px; height: 26px; }
.wash-benefits h3 { font-size: 1.18rem; margin-bottom: .25rem; }
.wash-benefits p { font-size: .96rem; color: var(--cream-2); }

/* Tarjeta destacada — Equipamiento Istobal */
.wash-benefits li.wash-b-feat {
  background: var(--bg-4);
  border-color: rgba(239,166,58,.42);
  box-shadow: 0 24px 55px -38px rgba(239,166,58,.6);
}
.wash-benefits li.wash-b-feat:hover { border-color: rgba(239,166,58,.62); }
.wash-b-feat .wash-b-icon {
  background: rgba(239,166,58,.12);
  border-color: rgba(239,166,58,.3);
  color: var(--accent);
}
.wash-b-head {
  display: flex; align-items: center;
  gap: .85rem; flex-wrap: wrap;
  margin-bottom: .4rem;
}
.wash-b-head h3 { margin-bottom: 0; }

/* Sello de marca sobrio — tono cálido de la paleta, sin sombra */
.brand-chip {
  display: inline-flex; align-items: center;
  flex: none;
  padding: .4rem .68rem;
  background: #EBE5D7;
  border-radius: 8px;
}
.brand-chip img { height: 24px; width: auto; display: block; }

/* =============================================================
   11. Fidelización
   ============================================================= */
.section-loyal { text-align: left; }
.loyal-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.8rem, 5vw, 3.4rem);
  border: 1px solid var(--line-2);
  border-radius: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(75% 130% at 0% 0%, rgba(239,166,58,.13), transparent 58%),
    var(--bg-3);
}
.loyal-icon {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px;
  border-radius: 16px;
  background: rgba(239,166,58,.12);
  border: 1px solid rgba(239,166,58,.26);
  color: var(--accent);
}
.loyal-icon svg { width: 34px; height: 34px; }
.loyal-lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--cream);
  margin-bottom: .7rem;
}
.loyal-body p { font-size: 1.04rem; color: var(--cream-2); max-width: 60ch; }
.loyal-btn { margin-top: 1.5rem; }

/* =============================================================
   12. Por qué
   ============================================================= */
.section-why { background: var(--bg-2); border-block: 1px solid var(--line); }
.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}
.why-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.why-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.why-list li { display: flex; gap: 1rem; }
.why-check {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(239,166,58,.12);
  border: 1px solid rgba(239,166,58,.3);
  color: var(--accent);
  font-weight: 700; font-size: 1rem;
}
.why-list h3 { font-size: 1.18rem; margin-bottom: .2rem; }
.why-list p { font-size: .98rem; color: var(--cream-2); }

/* =============================================================
   13. Ubicación
   ============================================================= */
.loc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
.loc-info {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.open-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .9rem;
  border-radius: 100px;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line-2);
}
.open-badge::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream-3);
}
.open-badge.is-open { color: var(--green-soft); border-color: rgba(62,155,121,.35); background: rgba(62,155,121,.08); }
.open-badge.is-open::before { background: var(--green-soft); box-shadow: 0 0 0 4px rgba(62,155,121,.2); }
.open-badge.is-closed { color: var(--cream-2); }
.open-badge.is-closed::before { background: var(--accent-deep); }

.loc-data { list-style: none; display: flex; flex-direction: column; }
.loc-data li {
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.loc-data li:first-child { border-top: 0; padding-top: 0; }
.loc-label {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.loc-value { font-size: 1.06rem; color: var(--cream); }
.loc-value a { transition: color .2s var(--ease-out); }
.loc-value a:hover { color: var(--accent); }

.badge-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.badge-row .open-badge { margin-bottom: 0; }

.loc-hours {
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.hours-group .loc-label { display: block; margin-bottom: .3rem; }
.loc-hours table { width: 100%; border-collapse: collapse; }
.loc-hours th {
  text-align: left; font-weight: 500;
  color: var(--cream-2); font-size: .98rem;
  padding: .32rem 0;
}
.loc-hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--cream); font-weight: 600;
  font-size: .98rem;
}
.loc-btn { margin-top: 1.4rem; width: 100%; }

.loc-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  min-height: 340px;
}
.loc-map iframe {
  width: 100%; height: 100%;
  min-height: 340px;
  border: 0;
  filter: grayscale(.3) contrast(1.05) brightness(.92);
}

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding-bottom: 2.6rem;
}
.footer-tagline {
  margin-top: 1.1rem;
  max-width: 38ch;
  font-size: .95rem;
  color: var(--cream-3);
}
.footer-social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.footer-social a {
  font-size: .9rem; color: var(--cream-2);
  border-bottom: 1px solid var(--line-2);
  transition: color .2s var(--ease-out);
}
.footer-social a:hover { color: var(--accent); }

.footer-h {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a, .footer-addr {
  font-size: .96rem; color: var(--cream-2);
}
.footer-col a { transition: color .2s var(--ease-out); width: fit-content; }
.footer-col a:hover { color: var(--accent); }
.footer-addr { color: var(--cream-3); }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--cream-3);
}
.footer-legal a { color: var(--cream-2); border-bottom: 1px solid var(--line-2); }
.footer-legal a:hover { color: var(--accent); }

/* =============================================================
   15. Efectos — splash, progreso, reveal
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.1rem;
  background: var(--bg);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}
.splash-mark { animation: floaty 2.4s var(--ease-soft) infinite alternate; }
.splash-mark img { height: 50px; width: auto; }
@keyframes floaty { to { transform: translateY(-8px); } }
.splash-name {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.splash-bar {
  width: 132px; height: 3px;
  background: var(--line-2);
  border-radius: 3px; overflow: hidden;
}
.splash-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--accent);
  border-radius: 3px;
  animation: load 1.3s var(--ease-soft) infinite;
}
@keyframes load {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  z-index: 1500;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-soft));
  transition: width .1s linear;
}

/* La ocultación solo se aplica si hay JS (clase .js en <html>).
   Sin JavaScript, el contenido se muestra directamente. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensiva (gotcha A.4.5): texto partido nunca queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* Escalonado dentro de rejillas */
.cards-grid .reveal:nth-child(2) { transition-delay: .07s; }
.cards-grid .reveal:nth-child(3) { transition-delay: .14s; }
.cards-grid .reveal:nth-child(4) { transition-delay: .07s; }
.cards-grid .reveal:nth-child(5) { transition-delay: .14s; }
.cards-grid .reveal:nth-child(6) { transition-delay: .21s; }
.wash-benefits .reveal:nth-child(2) { transition-delay: .08s; }
.wash-benefits .reveal:nth-child(3) { transition-delay: .16s; }
.wash-benefits .reveal:nth-child(4) { transition-delay: .24s; }
.why-list .reveal:nth-child(2) { transition-delay: .08s; }
.why-list .reveal:nth-child(3) { transition-delay: .16s; }
.why-list .reveal:nth-child(4) { transition-delay: .24s; }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .loyal-card { flex-direction: row; align-items: flex-start; gap: 1.9rem; }
  .loc-layout { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .wash-layout { grid-template-columns: 0.86fr 1.14fr; gap: 3rem; }
  .why-layout { grid-template-columns: 0.82fr 1.18fr; gap: 3.4rem; }
}

/* Navegación móvil */
@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    flex-direction: column; align-items: flex-start;
    gap: .4rem;
    padding: 1.6rem var(--pad) 2rem;
    overflow-y: auto;
    background: rgba(14,18,23,.985);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform: translateY(-14px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a:not(.nav-call) {
    width: 100%; padding: .8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links > a:not(.nav-call)::after { display: none; }
  .nav-call { margin-top: .9rem; }
}

@media (min-width: 960px) {
  .nav-links { display: flex !important; }
}

@media (min-width: 1024px) {
  .hero-title { letter-spacing: -0.035em; }
}

/* =============================================================
   17. Reduced-motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cue span { animation: none; }
  .splash-mark { animation: none; }
  .hero-kicker .dot { animation: none; }
  /* Se mantienen: glow, marquee, reveals, tilt, hover, count-up */
}

/* =============================================================
   18. Página legal (privacidad)
   ============================================================= */
.legal-top {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.legal-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.legal-back {
  font-size: .95rem; font-weight: 500;
  color: var(--cream-2);
  transition: color .2s var(--ease-out);
}
.legal-back:hover { color: var(--accent); }

.legal {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  max-width: 760px;
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.legal h2 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 500;
  color: var(--cream);
  margin-top: 2.4rem; margin-bottom: .7rem;
}
.legal p { margin-bottom: 1rem; color: var(--cream-2); }
.legal a { color: var(--accent); border-bottom: 1px solid rgba(239,166,58,.35); }
.legal a:hover { color: var(--accent-soft); }
.legal-lead {
  font-size: 1.12rem;
  color: var(--cream) !important;
  margin-bottom: 1.4rem;
}
.legal-facts {
  list-style: none;
  display: flex; flex-direction: column;
  gap: .2rem;
  padding: 1.2rem 1.3rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.legal-facts li {
  display: flex; flex-wrap: wrap; gap: .3rem .7rem;
  padding: .45rem 0;
  border-top: 1px solid var(--line);
  font-size: .98rem;
}
.legal-facts li:first-child { border-top: 0; }
.legal-facts li span {
  flex: none; min-width: 96px;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  align-self: center;
}
.legal-facts em { color: var(--cream-3); font-style: italic; }
.legal-updated { font-size: .9rem; color: var(--cream-3); margin-top: 2rem; }
.legal-home { margin-top: 1.6rem; }
.legal-home a { border-bottom: 0; }
