/* =========================================================
   AlquilerDeVehículosBogotá — B2B SaaS / Corporativo / flotas
   Palette: deep navy + electric blue accent, light gray surfaces
   Fonts: Space Grotesk (headings) + Inter (body)
   ========================================================= */

:root {
  --navy-900: #0a1a3c;
  --navy-800: #0d1b4c;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-050: #eaf1ff;
  --gray-050: #f1f5f9;
  --gray-100: #e6ebf2;
  --gray-200: #d8e0ea;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --white: #ffffff;
  --ok: #16a34a;

  --container: 1180px;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 60, .06), 0 1px 3px rgba(10, 26, 60, .05);
  --shadow-md: 0 8px 24px rgba(10, 26, 60, .10);
  --shadow-lg: 0 20px 48px rgba(10, 26, 60, .16);
  --border: 1px solid var(--gray-200);

  --ff-head: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--ff-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--navy-900); line-height: 1.15; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.container-narrow { max-width: 800px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  padding: .72rem 1.3rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: .5rem .9rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--blue-500); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 99, 235, .34); }

.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-050); }

.btn-wa { background: #1f2d57; color: #fff; }
.btn-wa:hover { background: var(--navy-800); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }

.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ff-head); }
.wordmark-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em;
}
.wordmark-text { font-weight: 500; font-size: 1.02rem; color: var(--navy-900); }
.wordmark-text strong { color: var(--blue-600); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav > a { font-size: .92rem; font-weight: 500; color: var(--slate-600); transition: color .15s ease; }
.main-nav > a:hover { color: var(--blue-600); }
.main-nav .nav-cta { color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(37, 99, 235, .12), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--gray-050) 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }

.badge {
  display: inline-block; font-family: var(--ff-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .03em; text-transform: uppercase; color: var(--blue-600);
  background: var(--blue-050); border: 1px solid rgba(37, 99, 235, .2);
  padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 700; }
.hero-sub { margin-top: 1.1rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--slate-600); max-width: 38ch; }
.hero-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin-top: 1rem; font-size: .85rem; color: var(--slate-500); }

.hero-media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 4px solid #fff; aspect-ratio: 4 / 3; object-fit: cover;
}

/* ---------- Stats strip ---------- */
.stats { background: var(--navy-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stat { padding: 1.6rem 1rem; text-align: center; }
.stats-grid .stat + .stat { box-shadow: -1px 0 0 rgba(255, 255, 255, .08); }
.stat-num { display: block; font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: #fff; }
.stat-label { display: block; margin-top: .25rem; font-size: .85rem; color: #aebfdc; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--gray-050); border-top: var(--border); border-bottom: var(--border); }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .7rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
.section-lead { margin-top: .9rem; color: var(--slate-600); font-size: 1.05rem; }

/* ---------- Cars grid ---------- */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.car-card {
  background: #fff; border: var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.car-media { background: var(--gray-050); aspect-ratio: 16 / 10; 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.05); }
.car-body { padding: 1.2rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.car-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.car-top h3 { font-size: 1.18rem; font-weight: 700; }
.tag {
  font-family: var(--ff-head); font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  color: var(--blue-600); background: var(--blue-050); border: 1px solid rgba(37, 99, 235, .18);
  padding: .25rem .6rem; border-radius: 999px; white-space: nowrap;
}
.price-list { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.price-list li { display: flex; align-items: baseline; gap: .5rem; font-size: .95rem; color: var(--slate-500); }
.price-list strong { font-family: var(--ff-head); color: var(--navy-900); font-size: 1.18rem; font-weight: 700; }
.price-list strong small { font-size: .78rem; font-weight: 500; color: var(--slate-500); }
.price-empty { font-size: .85rem; font-style: italic; color: var(--slate-500); }
.car-body .btn { margin-top: auto; }

.price-disclaimer { margin-top: 1.6rem; text-align: center; font-size: .88rem; color: var(--slate-500); }

/* ---------- Plans table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.plans-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.plans-table th, .plans-table td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--gray-100); }
.plans-table thead th {
  font-family: var(--ff-head); font-weight: 700; color: var(--navy-900); font-size: 1rem;
  background: var(--gray-050); border-bottom: 2px solid var(--gray-200);
}
.plans-table tbody th[scope="row"] {
  text-align: left; font-family: var(--ff-body); font-weight: 600; color: var(--slate-700); font-size: .95rem;
  background: #fff;
}
.plans-table td { font-size: .95rem; color: var(--slate-600); }
.plans-table td small { font-size: .75rem; color: var(--slate-500); }
.plans-table .row-head-cell { text-align: left; }

.plans-table .plan-feature { background: var(--blue-050); position: relative; }
.plans-table thead th.plan-feature { color: var(--blue-600); }
.plans-table thead th.plan-feature::after {
  content: "Recomendado"; display: block; font-family: var(--ff-body); font-weight: 600;
  font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600); margin-top: .2rem;
}
.plans-table tbody td.plan-feature { color: var(--navy-900); font-weight: 600; }

.ok { color: var(--ok); font-weight: 700; font-size: 1.05rem; }
.x { color: var(--slate-500); font-size: 1.1rem; }
.table-cta-row td { border-bottom: 0; }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.benefit-card {
  background: #fff; border: var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.benefit-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px;
  background: var(--blue-050); color: var(--blue-600); margin-bottom: 1rem;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: .4rem; }
.benefit-card p { font-size: .94rem; color: var(--slate-600); }

/* ---------- Coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.coverage-card {
  background: #fff; border: var(--border); border-radius: var(--radius); padding: 1.5rem 1.4rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.coverage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.coverage-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: .4rem; }
.coverage-card p { font-size: .92rem; color: var(--slate-600); }

.coverage-photo {
  grid-row: span 2; grid-column: span 1; position: relative; padding: 0; overflow: hidden; color: #fff;
  display: flex; align-items: flex-end; min-height: 260px;
}
.coverage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coverage-overlay {
  position: relative; z-index: 2; padding: 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(10, 26, 60, .92));
  width: 100%;
}
.coverage-overlay h3 { color: #fff; }
.coverage-overlay p { color: #d6e0f5; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-list details {
  background: #fff; border: var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-list details[open] { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--ff-head);
  font-weight: 600; color: var(--navy-900); font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.4rem; color: var(--blue-600); line-height: 1; transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.3rem 1.2rem; color: var(--slate-600); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(59, 130, 246, .3), transparent 60%),
    linear-gradient(120deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-inner p { color: #c4d2ee; margin-top: .6rem; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.cta-phone { font-family: var(--ff-head); font-weight: 600; font-size: 1.1rem; color: #fff; }
.cta-phone:hover { color: var(--blue-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c4d2ee; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.wordmark--footer .wordmark-text { color: #fff; }
.footer-desc { margin-top: 1rem; font-size: .92rem; color: #93a6cc; max-width: 40ch; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-col a, .footer-col span { display: block; font-size: .92rem; color: #93a6cc; margin-bottom: .5rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--blue-500); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.2rem 0; }
.footer-bottom p { font-size: .85rem; color: #7e92ba; text-align: center; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45); transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(37, 211, 102, .55); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cars-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-photo { grid-row: span 1; min-height: 220px; }
}

@media (max-width: 820px) {
  .header-inner { height: 64px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: var(--border); box-shadow: var(--shadow-md);
    padding: .5rem 1rem 1rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: .85rem .4rem; border-bottom: 1px solid var(--gray-100); }
  .main-nav .nav-cta { margin-top: .7rem; border-bottom: 0; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-sub { max-width: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat { box-shadow: none !important; border-top: 1px solid rgba(255,255,255,.08); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .cars-grid, .benefits-grid, .coverage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-actions .btn { flex: 1; }
}

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