/* ===== AlquilerDeCarros.com.co — Marketplace nacional ===== */
:root {
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-dark: #d97706;
  --blue: #1e3a8a;
  --blue-bright: #1d4ed8;
  --ink: #0f172a;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, .05), 0 10px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 45px rgba(30, 58, 138, .16);
  --maxw: 1180px;
  --header-h: 68px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .head { font-family: var(--font-head); line-height: 1.05; letter-spacing: .01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  font-size: .82rem;
  color: var(--amber-dark);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 600; font-size: 1.05rem;
  padding: .72rem 1.4rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 6px 16px rgba(245, 158, 11, .35); }
.btn-amber:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(245, 158, 11, .45); }
.btn-blue { background: var(--blue-bright); color: #fff; }
.btn-blue:hover { background: var(--blue); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--gray-300); color: var(--gray-900); }
.btn-outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn-sm { font-size: .95rem; padding: .55rem 1.05rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.brand b { color: var(--amber-dark); }
.brand .dot { color: var(--blue-bright); }
.nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav a { font-weight: 600; font-size: .98rem; color: var(--gray-700); position: relative; padding: .25rem 0; }
.nav a:hover { color: var(--blue-bright); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--amber); transition: width .2s ease; }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: .25rem; }
.hamburger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--gray-300); border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.hamburger span { width: 22px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: .2s; }
#nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; isolation: isolate;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4.5rem, 9vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(115deg, rgba(15, 23, 42, .82) 0%, rgba(30, 58, 138, .7) 55%, rgba(29, 78, 216, .55) 100%), url("../img/bogota.webp");
  background-size: cover; background-position: center;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 60%, rgba(15, 23, 42, .35)); }
.hero-eyebrow { color: var(--amber-light); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; max-width: 16ch; margin: .55rem 0 .9rem; }
.hero h1 .accent { color: var(--amber-light); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 52ch; color: #e7eaf2; font-weight: 400; }

/* Quote bar mock */
.quote-bar {
  margin-top: 2.2rem; background: #fff; color: var(--gray-900);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1rem; display: grid; gap: .85rem;
  grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end;
}
.quote-field { display: flex; flex-direction: column; gap: .3rem; text-align: left; }
.quote-field label {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em;
  font-size: .74rem; font-weight: 600; color: var(--gray-500);
  display: flex; align-items: center; gap: .35rem;
}
.quote-field label svg { width: 1em; height: 1em; color: var(--blue-bright); }
.quote-field .control {
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  background: var(--gray-50); padding: .62rem .8rem; font-weight: 600; color: var(--gray-700);
  font-size: 1rem;
}
.quote-bar .btn { width: 100%; height: 100%; min-height: 48px; }

/* ===== Stats strip ===== */
.stats { background: var(--blue); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center; padding: 1.6rem 0;
}
.stat { padding: .4rem 1rem; border-right: 1px solid rgba(255, 255, 255, .14); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: var(--amber-light); line-height: 1; }
.stat .lbl { font-size: .9rem; color: #cdd6ec; margin-top: .35rem; }

/* ===== Sections ===== */
section.block { padding: clamp(3.2rem, 6vw, 5rem) 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; text-transform: uppercase; margin: .35rem 0 .5rem; }
.section-head p { color: var(--gray-500); font-size: 1.05rem; }
.bg-soft { background: var(--gray-50); }

/* ===== Cars grid ===== */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.car-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.car-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--amber); }
.car-media { position: relative; aspect-ratio: 16 / 10; background: var(--gray-100); overflow: hidden; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.car-card:hover .car-media img { transform: scale(1.06); }
.car-cat {
  position: absolute; top: .7rem; left: .7rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  font-size: .78rem; font-weight: 600; color: var(--ink);
  background: var(--amber); padding: .25rem .6rem; border-radius: 999px;
}
.car-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.car-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 .9rem; }
.chip {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; font-weight: 600; color: var(--gray-700);
  background: var(--gray-100); border: 1px solid var(--gray-200);
  padding: .25rem .55rem; border-radius: 999px;
}
.chip svg { width: .95em; height: .95em; color: var(--blue-bright); }
.price { margin-top: auto; display: flex; align-items: baseline; gap: .35rem; }
.price .from { font-size: .82rem; color: var(--gray-500); font-weight: 600; }
.price .amt { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--blue); }
.price .per { font-size: .85rem; color: var(--gray-500); }
.car-card .btn { margin-top: .9rem; width: 100%; }

.price-note { text-align: center; color: var(--gray-500); font-size: .95rem; margin-top: 1.6rem; }

/* ===== Beneficios ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.benefit {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-ic {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 1rem;
}
.benefit-ic svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: .4rem; }
.benefit p { color: var(--gray-500); font-size: .97rem; }

/* ===== Cobertura ===== */
.cob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.city-photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 230px; color: #fff; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.city-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.city-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(15, 23, 42, .85)); }
.city-photo:hover img { transform: scale(1.07); }
.city-photo .cap { position: relative; z-index: 1; padding: 1.2rem; }
.city-photo .cap h3 { font-size: 1.7rem; font-weight: 700; }
.city-photo .cap span { font-size: .9rem; color: #e2e8f0; }
.cities-text { display: grid; grid-template-columns: repeat(5, 1fr); gap: .85rem; margin-top: 1.3rem; }
.city-text {
  background: #fff; border: 1px solid var(--gray-200); border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm); padding: .9rem 1rem; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .2s ease;
}
.city-text:hover { transform: translateY(-3px); border-color: var(--blue-bright); }
.city-text strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; display: block; }
.city-text span { font-size: .82rem; color: var(--gray-500); }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  margin-bottom: .8rem; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.05rem 1.2rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-head); font-size: 1.7rem; color: var(--amber-dark);
  line-height: 1; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-bright); }
.faq-item .faq-a { padding: 0 1.2rem 1.15rem; color: var(--gray-700); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 3rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-grid .brand { color: #fff; font-size: 1.5rem; }
.site-footer p { font-size: .95rem; margin-top: .6rem; }
.footer-col h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; color: #fff; margin-bottom: .8rem; }
.footer-col a, .footer-col li { display: block; font-size: .95rem; padding: .22rem 0; color: #cbd5e1; }
.footer-col a:hover { color: var(--amber-light); }
.footer-col ul { list-style: none; }
.footer-phone { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--amber-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.2rem; padding-top: 1.3rem; text-align: center; font-size: .88rem; color: #94a3b8; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, .6); }
.wa-float svg { width: 32px; height: 32px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cars-grid, .benefits-grid, .cob-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-text { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200); padding: .5rem 0;
    box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .25s ease;
    margin-left: 0;
  }
  .nav a { width: 100%; padding: .85rem clamp(16px, 4vw, 32px); }
  .nav a::after { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  #nav-toggle:checked ~ .nav { transform: translateY(0); }
  .quote-bar { grid-template-columns: 1fr 1fr; }
  .quote-bar .btn { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, .14); padding-bottom: 1rem; }
  .stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .cars-grid, .benefits-grid, .cob-grid { grid-template-columns: 1fr; }
  .cities-text { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-bar { grid-template-columns: 1fr; }
}
