/* ============================================================
   AlquilerDeCarrosBogotá — Andino premium / editorial magazine
   ============================================================ */

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --gold: #c9a227;
  --gold-light: #d4af37;
  --gold-soft: rgba(201, 162, 39, 0.14);
  --paper: #f8f7f4;
  --paper-dim: #efece5;
  --ink: #111111;
  --ink-soft: #44464a;
  --white: #ffffff;
  --line: rgba(15, 23, 42, 0.12);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --pad: clamp(1.1rem, 4vw, 3rem);
  --radius: 4px;
  --shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.45);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--slate-900);
  color: var(--white);
  padding: .7rem 1.2rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  line-height: 1;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-wa {
  background: var(--gold);
  color: var(--slate-900);
  box-shadow: 0 10px 24px -12px rgba(201, 162, 39, 0.7);
}
.btn-wa:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201, 162, 39, 0.8); }
.btn-wa:focus-visible { outline: 3px solid var(--slate-900); outline-offset: 2px; }

.btn-ghost {
  background: transparent;
  color: var(--slate-900);
  border-color: var(--slate-900);
}
.btn-ghost:hover { background: var(--slate-900); color: var(--paper); transform: translateY(-2px); }

.wa-ic { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.wordmark-mark { color: var(--slate-900); }
.wordmark-accent { color: var(--gold); font-style: italic; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav > a:not(.btn) {
  font-size: .92rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding-bottom: 2px;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav > a:not(.btn):hover { color: var(--slate-900); }
.nav > a:not(.btn):hover::after { width: 100%; }
.nav-cta { padding: .6rem 1.2rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--slate-900);
  margin-inline: auto;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(3rem, 6vw, 5rem);
}
.hero-text { align-self: center; max-width: 38ch; }
.hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.gold-rule {
  display: block;
  width: 92px;
  height: 2px;
  background: var(--gold);
  margin: 1.6rem 0;
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.price-note {
  margin: 1.4rem 0 0;
  font-size: .82rem;
  color: var(--ink-soft);
  font-style: italic;
}
.price-note.center { text-align: center; margin-top: 2.4rem; }

.hero-media { position: relative; min-height: 420px; }
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

/* ---------- Stats ---------- */
.stats { background: var(--slate-900); color: var(--paper); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-inline: 1rem;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(212, 175, 55, 0.3);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.stat-label {
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(248, 247, 244, 0.72);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-paper { background: var(--paper-dim); }

.section-head {
  max-width: 60ch;
  margin: 0 auto clamp(2.4rem, 4vw, 3.6rem);
  text-align: center;
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-head-left { text-align: left; margin-inline: 0; }
.section-sub {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Cars ---------- */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.car-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 39, 0.5);
}
.car-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-dim); }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-media img { transform: scale(1.05); }

.car-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.car-cat {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 .35rem;
}
.car-name { font-size: 1.5rem; margin: 0 0 .9rem; }
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.2rem;
  padding: 0;
}
.chips li {
  font-size: .76rem;
  font-weight: 500;
  color: var(--slate-700);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: .3rem .65rem;
  border-radius: 999px;
}
.car-price {
  margin: 0 0 1.2rem;
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-top: auto;
}
.car-price .from { font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.car-price .amount {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--slate-900);
  font-variant-numeric: lining-nums;
}
.car-price .per { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.benefit {
  padding: 1.8rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bicon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--slate-900);
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.bicon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Destinos ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.dest-card { border-radius: var(--radius); overflow: hidden; }

.dest-photo {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.dest-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  z-index: 0;
}
.dest-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.25) 55%, rgba(15,23,42,0) 100%);
  z-index: 1;
}
.dest-photo:hover img { transform: scale(1.06); }
.dest-overlay { position: relative; z-index: 2; padding: 1.6rem; color: var(--paper); }
.dest-overlay h3 { font-size: 1.55rem; margin-bottom: .35rem; }
.dest-overlay h3::after {
  content: "";
  display: block;
  width: 44px; height: 2px;
  background: var(--gold);
  margin-top: .55rem;
}
.dest-overlay p { margin: .55rem 0 0; font-size: .94rem; color: rgba(248,247,244,0.85); }

.dest-text {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.dest-text:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dest-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .8rem;
}
.dest-text h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.dest-text p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; }
.faq-list details {
  border-top: 1px solid var(--line);
  padding: .4rem 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--slate-900);
  padding: 1.1rem 2.4rem 1.1rem 0;
  position: relative;
  transition: color .2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: .2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform .25s ease;
  line-height: 1;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 2.4rem 1.2rem 0; }
.faq-a p { margin: 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--slate-900);
  color: var(--paper);
  background-image: radial-gradient(circle at 85% 20%, rgba(201,162,39,0.18), transparent 45%);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--paper); }
.cta-sub { margin: .9rem 0 0; color: rgba(248,247,244,0.78); max-width: 46ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-800); color: rgba(248,247,244,0.82); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-block: clamp(2.8rem, 5vw, 4rem);
}
.wordmark-footer { font-size: 1.4rem; }
.wordmark-footer .wordmark-mark { color: var(--paper); }
.footer-blurb { margin: 1.1rem 0 1.4rem; font-size: .95rem; max-width: 42ch; }
.footer-wa {
  display: inline-block;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.footer-wa:hover { border-color: var(--gold-light); }
.footer-nav, .footer-meta { display: flex; flex-direction: column; }
.footer-grid h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-nav a {
  color: rgba(248,247,244,0.82);
  padding: .3rem 0;
  font-size: .95rem;
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-meta p { margin: 0; font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(248,247,244,0.12);
  padding-block: 1.4rem;
}
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(248,247,244,0.6); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
  z-index: 120;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 34px -8px rgba(37, 211, 102, 0.85); }
.wa-float:focus-visible { outline: 3px solid var(--slate-900); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: clamp(2.2rem, 6vw, 3.5rem);
  }
  .hero-text { max-width: none; order: 2; }
  .hero-media { order: 1; min-height: 300px; }
  .hero-media img { min-height: 300px; max-height: 52vh; }
  .hero-frame { inset: 12px -12px -12px 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .stat:nth-child(3)::before { display: none; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 1.6rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1rem; }
  .hamburger { display: flex; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 540px) {
  .dest-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
