/* =========================================
   Arrayanes Rent a Car — landing styles
   ========================================= */

:root {
  /* palette */
  --ink:        oklch(0.22 0.02 60);
  --ink-soft:   oklch(0.38 0.02 60);
  --ink-muted:  oklch(0.54 0.015 60);
  --cream:      oklch(0.97 0.015 75);
  --cream-2:    oklch(0.94 0.02 75);
  --paper:      oklch(0.99 0.008 75);
  --line:       oklch(0.85 0.02 60);
  --line-soft:  oklch(0.90 0.015 60);

  --orange:     oklch(0.64 0.14 45);    /* terracota principal */
  --orange-deep:oklch(0.52 0.14 40);
  --orange-soft:oklch(0.92 0.05 55);
  --orange-ink: oklch(0.36 0.10 40);

  --forest:     oklch(0.45 0.08 150);   /* verde arrayán, uso mínimo */

  --wpp:        oklch(0.64 0.14 45); 

  /* type */
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* scale */
  --shell: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(30,20,10,.06), 0 4px 12px rgba(30,20,10,.04);
  --shadow-md: 0 8px 28px rgba(30,20,10,.08), 0 2px 6px rgba(30,20,10,.05);
  --shadow-lg: 0 24px 60px rgba(30,20,10,.18), 0 8px 20px rgba(30,20,10,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 76px);
  color: var(--ink);
  text-wrap: pretty;
}
.display em {
  font-style: italic;
  color: var(--orange-deep);
}
.display.light { color: var(--cream); }
.display.light em { color: var(--orange-soft); }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange-deep);
  margin: 0 0 22px;
}
.eyebrow.light { color: oklch(0.85 0.06 50); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--orange-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: oklch(0.85 0.03 55 / 0.4);
}
.btn-ghost-light:hover { border-color: var(--cream); }

.btn-wpp {
  background: var(--wpp);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(37,211,102,.3);
}
.btn-wpp:hover { background: var(--orange-deep); }


.btn-lg {
  padding: 16px 26px;
  font-size: 15px;
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--cream) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 44px; height: 44px;
  object-fit: contain;
  object-position: bottom;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-top: 2px;
}
.nav-links {
  display: flex; gap: 28px; justify-content: flex-end;
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.nav-burger:hover { border-color: var(--ink); background: var(--cream-2); }
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-burger { display: flex; margin-left: auto; }
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.nav-mobile.is-open { pointer-events: auto; }

.nav-mobile-overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.15 0.02 50 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-mobile.is-open .nav-mobile-overlay { opacity: 1; }

.nav-mobile-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(300px, 85vw);
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.nav-mobile.is-open .nav-mobile-panel { transform: translateX(0); }

.nav-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.nav-mobile-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.nav-mobile-close-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-mobile-close-btn:hover { background: var(--cream-2); color: var(--ink); }

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
}
.nav-mobile-links a {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  padding: 14px 24px;
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s, background .2s;
  letter-spacing: -0.01em;
}
.nav-mobile-links a:last-child { border-bottom: none; }
.nav-mobile-links a:hover { color: var(--orange-deep); background: var(--cream); }

.nav-mobile-wpp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 20px 28px;
  padding: 14px 20px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}
.nav-mobile-wpp:hover { background: var(--orange-deep); }

/* =========================================
   PLACEHOLDERS
   ========================================= */
.ph {
  position: relative;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(
      -18deg,
      oklch(0.82 0.04 55) 0 2px,
      oklch(0.88 0.03 55) 2px 22px
    );
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 30% 20%, oklch(0.75 0.08 50 / .25), transparent 60%);
}
.ph-label {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(0.30 0.05 50);
  background: oklch(0.98 0.01 75 / 0.85);
  padding: 6px 10px;
  margin: 14px;
  border-radius: 4px;
  max-width: 85%;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 120px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  bottom: -25%;
  z-index: 0;
  will-change: transform;
}
.ph-hero {
  background-image: url('assets/fondo1.jpg');
  background-size: cover;
  background-position: center;
}
.ph-hero .ph-label {
  color: oklch(0.95 0.02 55);
  background: oklch(0.25 0.04 50 / 0.7);
  margin: 24px;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(0.20 0.03 50 / 0.2) 0%, transparent 30%, oklch(0.18 0.03 50 / 0.7) 100%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: end;
  gap: 48px;
}

.hero-content {
  padding-bottom: 8px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border: 1px solid oklch(0.85 0.03 55 / 0.35);
  border-radius: 999px;
  background: oklch(0.20 0.02 50 / 0.35);
  backdrop-filter: blur(8px);
  color: var(--cream);
  margin-bottom: 28px;
}
.hero-kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px oklch(0.64 0.14 45 / 0.25);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--cream);
  max-width: 900px;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  color: var(--orange-soft);
}
.hero-lede {
  font-size: 18px;
  line-height: 1.5;
  max-width: 560px;
  color: oklch(0.95 0.02 55);
  margin: 0;
}

/* Buscador */
.search {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  border: 1px solid oklch(0.92 0.02 55);
}
.search-field {
  display: flex; flex-direction: column;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-soft);
  border-right: none;
  min-width: 0;
}
.search-field:last-of-type { border-bottom: none; }
.search-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.search-field input,
.search-field select {
  border: none; background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  padding: 4px 0;
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Custom select wrapper */
.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.select-wrap select {
  flex: 1;
  padding-right: 24px;
}
.select-arrow {
  position: absolute;
  right: 2px;
  pointer-events: none;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.search-field:focus-within .select-arrow {
  transform: rotate(180deg);
  color: var(--orange);
}
.search-field {
  border-radius: 10px;
  transition: background .18s ease;
}
.search-field:hover {
  background: oklch(0.96 0.012 70);
}
.search-field:focus-within {
  background: var(--orange-soft);
}
.datetime-inputs {
  display: flex;
  gap: 6px;
  align-items: center;
}
.datetime-inputs input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  cursor: pointer;
}

.search-cta {
  margin: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  padding: 14px 24px;
  justify-content: center;
  border-radius: var(--radius);
}
.search-cta:hover { background: var(--orange-deep); }

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .hero-layout { gap: 24px; }
}

.hero-stats {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 40px auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.85 0.03 55 / 0.3);
}
.hero-stats > div {
  display: flex; flex-direction: column;
  color: var(--cream);
}
.hero-stats b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--orange-soft);
  line-height: 1;
}
.hero-stats span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: oklch(0.85 0.03 55);
  margin-top: 6px;
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}


/* =========================================
   SECTION HEAD
   ========================================= */
.section-head {
  max-width: var(--shell);
  margin: 0 auto 48px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
.section-aside {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 420px;
  margin: 0;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
}

/* =========================================
   FLEET
   ========================================= */
.fleet {
  padding: 80px 0 120px;
  background: oklch(0.31 0.08 57.4);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.fleet::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 15% 70%, oklch(0.48 0.16 42 / 0.65), transparent 65%);
  animation: fleet-glow 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes fleet-glow {
  from { transform: scale(1) translate(0, 0);       opacity: 0.6; }
  to   { transform: scale(1.5) translate(12%, -12%); opacity: 1;   }
}
.fleet .section-head,
.fleet .fleet-grid {
  position: relative;
  z-index: 1;
}
.fleet .eyebrow { color: oklch(0.65 0.08 50); }
.fleet .display { color: var(--cream); }
.fleet .display em { color: var(--orange-soft); }
.fleet .section-aside { color: oklch(0.75 0.02 60); }

.fleet-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .fleet-grid { grid-template-columns: 1fr; } }

.car-card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.car-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, oklch(0.92 0.02 75) 0%, oklch(0.86 0.025 75) 100%);
  overflow: hidden;
}
.car-media .ph-label {
  position: absolute;
  bottom: 12px; left: 12px; margin: 0;
  background: oklch(0.98 0.01 75 / 0.9);
}
.car-silhouette {
  position: absolute; left: 50%; bottom: 22%;
  transform: translateX(-50%);
  width: 72%; height: 46%;
  background: var(--ink);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><path d='M10 55 Q 14 40 30 38 L 55 22 Q 65 15 80 14 L 130 14 Q 145 15 158 24 L 180 38 Q 192 40 192 55 L 192 62 L 170 62 A 12 12 0 1 0 146 62 L 64 62 A 12 12 0 1 0 40 62 L 10 62 Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><path d='M10 55 Q 14 40 30 38 L 55 22 Q 65 15 80 14 L 130 14 Q 145 15 158 24 L 180 38 Q 192 40 192 55 L 192 62 L 170 62 A 12 12 0 1 0 146 62 L 64 62 A 12 12 0 1 0 40 62 L 10 62 Z'/></svg>") center / contain no-repeat;
}
.car-silhouette.is-suv {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><path d='M10 52 Q 12 38 28 36 L 48 18 Q 58 10 72 10 L 140 10 Q 156 10 168 20 L 184 36 Q 192 38 192 52 L 192 62 L 170 62 A 12 12 0 1 0 146 62 L 64 62 A 12 12 0 1 0 40 62 L 10 62 Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><path d='M10 52 Q 12 38 28 36 L 48 18 Q 58 10 72 10 L 140 10 Q 156 10 168 20 L 184 36 Q 192 38 192 52 L 192 62 L 170 62 A 12 12 0 1 0 146 62 L 64 62 A 12 12 0 1 0 40 62 L 10 62 Z'/></svg>") center / contain no-repeat;
}

.car-img {
  width: 100%;
  object-fit: contain;
  object-position: center center;
}

.car-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cream);
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--ink);
  border: 1px solid var(--line-soft);
}
.car-tag.is-featured {
  background: var(--orange);
  color: #fff;
  border-color: transparent;
}

.car-body {
  padding: 20px 20px 22px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.car-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.car-name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.car-category {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 2px 0 0;
}
.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.car-specs > div {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12px;
}
.car-specs dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  opacity: 0.75;
}
.car-specs dd {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
  font-size: 13px;
}
.car-specs__cat {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.car-specs__cat dd {
  font-size: 12px;
}

/* =========================================
   HOW
   ========================================= */
.how {
  padding: 120px 0;
  background: oklch(0.93 0.04 50);
}
.how-steps {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  counter-reset: step;
}
.how-steps li {
  display: flex; flex-direction: column;
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange-deep);
  margin-bottom: 20px;
}
.how-steps h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.how-steps p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 340px;
}
.link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 16px;
  color: var(--orange-deep);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid var(--orange-deep);
  padding-bottom: 2px;
  width: fit-content;
  transition: gap .2s;
}
.link:hover { gap: 8px; }

@media (max-width: 860px) {
  .how { padding: 80px 0; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
}


/* =========================================
   REVIEWS
   ========================================= */
.reviews {
  padding: 120px 0;
  background: var(--cream);
}
.reviews-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: oklch(0.82 0.03 55);
}
.review-stars {
  color: var(--orange);
  font-size: 17px;
  letter-spacing: 3px;
}
.review-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.review-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.review-source {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.reviews-cta {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

@media (max-width: 860px) {
  .reviews { padding: 80px 0; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* =========================================
   FAQ
   ========================================= */
.faq {
  padding: 120px 0;
  background: oklch(0.93 0.05 48);
  border-top: 1px solid oklch(0.86 0.07 48);
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  transition: border-color .3s;
}
.faq-list details[open] {
  border-top-color: var(--orange);
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--orange-deep); }
.chev {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.chev::before, .chev::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transition: transform .3s;
}
.chev::before { width: 10px; height: 1px; transform: translate(-50%, -50%); }
.chev::after  { width: 1px; height: 10px; transform: translate(-50%, -50%); }
details[open] .chev::after { transform: translate(-50%, -50%) scaleY(0); }
details[open] .chev { border-color: var(--orange); }
.faq-list details p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
}

/* =========================================
   CTA FINAL
   ========================================= */
.cta-final {
  position: relative;
  padding: 140px 24px;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.cta-inner {
  max-width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.ph-cta {
  background-image: url('assets/fondo2.jpg');
  background-size: cover;
  background-position: center;
}
.cta-final::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, oklch(0.15 0.02 50 / 0.4) 100%);
  z-index: 1;
}
.cta-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 48px;
}

@media (max-width: 700px) {
  .cta-final { padding: 100px 24px; }
}

/* =========================================
   FOOTER
   ========================================= */
.foot {
  background: var(--ink);
  color: oklch(0.85 0.02 55);
  padding: 60px 24px 32px;
  border-top: 3px solid var(--orange);
}
.foot-inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid oklch(0.35 0.02 60);
}
.foot-brand {
  display: flex; gap: 14px; align-items: center;
}
.foot-brand .brand-mark {
  filter: brightness(1.05);
}
.foot-brand strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--cream);
  display: block;
  margin-bottom: 2px;
}
.foot-brand span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.02 55);
}
.foot-links, .foot-contact {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.foot-links a, .foot-contact a {
  color: oklch(0.85 0.02 55);
  text-decoration: none;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-contact a i {
  font-size: 15px;
  color: var(--orange);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.foot-links a:hover, .foot-contact a:hover { color: var(--orange-soft); }

.foot-legal {
  max-width: var(--shell);
  margin: 24px auto 0;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 55);
}

.foot-dev {
  max-width: var(--shell);
  margin: 12px auto 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: oklch(0.42 0.02 55);
  text-align: center;
}
.foot-dev a {
  color: oklch(0.55 0.06 45);
  text-decoration: none;
  transition: color .2s;
}
.foot-dev a:hover { color: var(--orange-soft); }

@media (max-width: 700px) {
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-legal { flex-direction: column; gap: 12px; }
}

/* =========================================
   ANIMATIONS
   ========================================= */

/* Ken Burns — hero photo slow zoom */
.ph-hero {
  animation: ken-burns 24s ease-in-out infinite alternate;
  transform-origin: 55% 45%;
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.10); }
}

/* Hero content stagger on load */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-kicker { animation: fade-up 0.8s cubic-bezier(.16,1,.3,1) 0.15s both; }
.hero-title  { animation: fade-up 0.9s cubic-bezier(.16,1,.3,1) 0.30s both; }
.hero-lede   { animation: fade-up 0.9s cubic-bezier(.16,1,.3,1) 0.48s both; }
.search      { animation: fade-up 0.9s cubic-bezier(.16,1,.3,1) 0.62s both; }
.hero-stats  { animation: fade-up 0.9s cubic-bezier(.16,1,.3,1) 0.78s both; }

/* Hero kicker dot enhanced pulse */
.hero-kicker .dot {
  animation: dot-pulse 2.6s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px oklch(0.64 0.14 45 / 0.35); }
  50%       { box-shadow: 0 0 0 9px oklch(0.64 0.14 45 / 0.05); }
}


/* Scroll reveal system */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(.16,1,.3,1),
              transform 0.75s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* How steps — orange line draws in on enter */
.how-steps li::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 3px; width: 0;
  background: var(--orange);
  transition: width 1.1s cubic-bezier(.16,1,.3,1);
}
.how-steps li.is-visible::after { width: 100%; }

/* Fleet grid smooth category swap */
.fleet-grid {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.fleet-grid.swapping {
  opacity: 0;
  transform: translateY(12px);
}

/* Car card 3D tilt — transition on leave */
.car-card {
  transition: transform 0.35s cubic-bezier(.16,1,.3,1),
              box-shadow 0.35s cubic-bezier(.16,1,.3,1),
              border-color 0.3s ease;
  will-change: transform;
}

/* =========================================
   WHATSAPP FAB
   ========================================= */
.wpp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wpp);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4), 0 4px 10px rgba(0,0,0,.15);
  transition: transform .2s;
}
.wpp-fab:hover { transform: scale(1.08) translateY(-2px); }
.wpp-fab::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wpp);
  opacity: 0.4;
  animation: fab-pulse 2.4s infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =========================================
   SEARCH CONSENT
   ========================================= */
.search-consent {
  margin: 2px 8px 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
}
.consent-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--orange-deep);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.consent-link:hover { color: var(--orange); }

/* =========================================
   FLEET DISCLAIMER
   ========================================= */
.fleet-disclaimer {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 24px auto 0;
  padding: 0 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.60 0.04 55);
  line-height: 1.7;
  text-align: center;
  border-top: 1px solid oklch(0.35 0.02 60);
  padding-top: 20px;
}

/* =========================================
   FOOTER FISCAL / LEGAL LINKS
   ========================================= */
.foot-fiscal {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.50 0.02 55);
  margin-top: 4px;
}
.foot-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-legal-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 55);
  cursor: pointer;
  transition: color .2s;
}
.foot-legal-btn:hover { color: var(--orange-soft); }

/* =========================================
   MODALS
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.15 0.02 50 / 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 660px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s cubic-bezier(.16,1,.3,1);
}
.modal-overlay.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.modal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
.modal-close {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  margin-top: 2px;
}
.modal-close:hover {
  background: var(--cream-2);
  color: var(--ink);
  border-color: var(--line);
}

.modal-body {
  overflow-y: auto;
  padding: 24px 28px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.modal-section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 28px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.modal-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.modal-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.modal-body ul {
  margin: 0 0 12px;
  padding-left: 18px;
}
.modal-body li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.modal-body a {
  color: var(--orange-deep);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.52 0.14 40 / 0.3);
  transition: border-color .2s;
}
.modal-body a:hover { border-color: var(--orange-deep); }
.modal-updated {
  font-family: var(--mono);
  font-size: 10px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted) !important;
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.modal-foot {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal-panel { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-header { padding: 20px 20px 16px; }
  .modal-body { padding: 16px 20px; }
  .modal-foot { padding: 12px 20px 20px; }
}
