/* =========================================================
   AlquilerCarrosMedellín — "Paisa tropical vibrante"
   Emerald + Coral + cream, Poppins + DM Sans
   ========================================================= */

:root {
  --emerald: #059669;
  --emerald-bright: #10b981;
  --emerald-dark: #047857;
  --coral: #fb7185;
  --coral-strong: #f43f5e;
  --cream: #fffaf5;
  --cream-2: #fff1e7;
  --slate: #1f2937;
  --slate-soft: #4b5563;
  --white: #ffffff;
  --line: rgba(31, 41, 55, .08);

  --shadow-sm: 0 4px 14px rgba(31, 41, 55, .07);
  --shadow-md: 0 14px 34px rgba(31, 41, 55, .10);
  --shadow-lg: 0 28px 60px rgba(5, 150, 105, .16);
  --shadow-coral: 0 16px 34px rgba(244, 63, 94, .28);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --ff-head: 'Poppins', system-ui, sans-serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;

  --maxw: 1180px;
  --gut: clamp(1.1rem, 4vw, 2.2rem);
}

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

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

body {
  font-family: var(--ff-body);
  color: var(--slate);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.12; color: var(--slate); }

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

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

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }

/* ---------- Section heads ---------- */
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(16, 185, 129, .12);
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 700; }
.section-head p { margin-top: .8rem; color: var(--slate-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-strong) 100%);
  color: #fff; box-shadow: var(--shadow-coral);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(244,63,94,.36); }
.btn-lg { font-size: 1.1rem; padding: 1.05rem 2rem; }
.btn-ghost {
  background: var(--white); color: var(--emerald-dark);
  box-shadow: var(--shadow-sm); border: 1.5px solid rgba(5,150,105,.18);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-card {
  width: 100%; justify-content: center;
  background: var(--emerald); color: #fff;
  box-shadow: 0 10px 22px rgba(5,150,105,.22);
}
.btn-card:hover { background: var(--emerald-dark); transform: translateY(-2px); }

/* ---------- Blobs ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 0; pointer-events: none; }
.blob-1 { width: 460px; height: 460px; top: -180px; right: -120px; background: radial-gradient(circle at 30% 30%, rgba(16,185,129,.40), transparent 70%); }
.blob-2 { width: 380px; height: 380px; bottom: -160px; left: -120px; background: radial-gradient(circle at 30% 30%, rgba(251,113,133,.34), transparent 70%); }
.blob-3 { width: 420px; height: 420px; top: -120px; left: -160px; background: radial-gradient(circle at 30% 30%, rgba(16,185,129,.25), transparent 70%); }
.blob-4 { width: 320px; height: 320px; top: -120px; right: -80px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), transparent 70%); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 245, .85);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }

.wordmark { display: inline-flex; align-items: center; gap: .6rem; }
.wordmark-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-dark));
  box-shadow: 0 6px 16px rgba(5,150,105,.32);
}
.wordmark-text { font-family: var(--ff-head); font-weight: 600; font-size: 1.18rem; color: var(--slate); letter-spacing: -.01em; }
.wordmark-text strong { color: var(--coral-strong); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav > a { font-family: var(--ff-head); font-weight: 500; font-size: .96rem; color: var(--slate-soft); transition: color .18s ease; }
.main-nav > a:hover { color: var(--emerald-dark); }
.nav-cta {
  display: inline-flex !important; align-items: center; gap: .45rem;
  background: var(--emerald); color: #fff !important; font-weight: 600 !important;
  padding: .6rem 1.1rem; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(5,150,105,.26);
}
.nav-cta:hover { background: var(--emerald-dark); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; height: 2.5px; width: 100%; background: var(--slate); border-radius: 2px; transition: transform .25s, opacity .25s; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill {
  display: inline-block; font-family: var(--ff-head); font-weight: 600; font-size: .82rem;
  color: var(--coral-strong); background: rgba(251,113,133,.14);
  padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--emerald); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .26em;
  background: rgba(251,113,133,.4); border-radius: 6px; z-index: -1;
}
.hero-sub { margin-top: 1.3rem; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--slate-soft); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-note { margin-top: 1.1rem; font-size: .88rem; color: var(--slate-soft); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--r-xl);
  border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; bottom: -18px; left: -10px;
  background: #fff; border-radius: var(--r-md);
  padding: .9rem 1.3rem; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; line-height: 1.1;
}
.hero-badge strong { font-family: var(--ff-head); font-size: 1.4rem; color: var(--emerald-dark); }
.hero-badge span { font-size: .82rem; color: var(--slate-soft); }

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: 0 0 clamp(2.5rem, 6vw, 4rem); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}
.stat { text-align: center; color: #fff; }
.stat strong { display: block; font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.stat span { font-size: .9rem; color: rgba(255,255,255,.85); }

/* =========================================================
   CARS
   ========================================================= */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.car-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.car-media { position: relative; overflow: hidden; background: var(--cream-2); }
.car-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.car-card:hover .car-media img { transform: scale(1.06); }
.cat-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--ff-head); font-weight: 600; font-size: .76rem;
  color: #fff; background: var(--coral-strong);
  padding: .35rem .8rem; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(244,63,94,.3);
}
.car-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.car-body h3 { font-size: 1.3rem; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li {
  font-size: .8rem; font-weight: 500; color: var(--emerald-dark);
  background: rgba(16,185,129,.1); padding: .3rem .7rem; border-radius: 999px;
}
.price { font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem; color: var(--slate); margin-top: auto; }
.price span { display: block; font-size: .78rem; font-weight: 500; color: var(--slate-soft); font-family: var(--ff-body); }
.price small { font-size: .85rem; font-weight: 500; color: var(--slate-soft); }
.price-note { text-align: center; margin-top: 2rem; font-size: .92rem; color: var(--slate-soft); }

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits { background: var(--cream-2); overflow: hidden; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; z-index: 1; }
.benefit {
  background: #fff; border-radius: var(--r-lg); padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 18px; margin-bottom: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-dark));
  box-shadow: 0 10px 20px rgba(5,150,105,.26);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit:nth-child(even) .benefit-icon { background: linear-gradient(135deg, var(--coral), var(--coral-strong)); box-shadow: 0 10px 20px rgba(244,63,94,.26); }
.benefit h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.benefit p { color: var(--slate-soft); font-size: .98rem; }

/* =========================================================
   DESTINOS
   ========================================================= */
.destinos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.destino-card { border-radius: var(--r-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.destino-card:hover { transform: translateY(-5px); }

.destino-card.photo { position: relative; min-height: 280px; box-shadow: var(--shadow-md); }
.destino-card.photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .4s ease; }
.destino-card.photo:hover img { transform: scale(1.06); }
.destino-overlay {
  position: relative; z-index: 1; margin-top: auto; padding: 1.4rem;
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  background: linear-gradient(to top, rgba(15,23,32,.82) 0%, rgba(15,23,32,.2) 55%, transparent 100%);
  color: #fff;
}
.destino-overlay h3 { color: #fff; font-size: 1.3rem; font-weight: 600; }
.destino-overlay p { font-size: .92rem; color: rgba(255,255,255,.9); margin-top: .3rem; }

.destino-card.text {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .5rem;
  border-left: 6px solid var(--emerald-bright);
}
.destino-card.text:hover { box-shadow: var(--shadow-md); }
.destino-card.text:nth-child(even) { border-left-color: var(--coral); }
.destino-emoji { font-size: 2rem; }
.destino-card.text h3 { font-size: 1.2rem; font-weight: 600; }
.destino-card.text p { color: var(--slate-soft); font-size: .98rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-inner { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-list details {
  background: #fff; border-radius: var(--r-md); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-md); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.2rem 1.4rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; color: var(--slate);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: 0 0 22px; width: 22px; height: 22px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--emerald); border-radius: 2px; transition: transform .25s ease;
}
.faq-plus::before { width: 14px; height: 2.5px; }
.faq-plus::after { width: 2.5px; height: 14px; }
.faq-list details[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-list details > p { padding: 0 1.4rem 1.3rem; color: var(--slate-soft); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { padding-bottom: clamp(4rem, 9vw, 6.5rem); }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg); color: #fff;
}
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 700; position: relative; z-index: 1; }
.cta-box p { margin: .9rem auto 1.8rem; max-width: 48ch; color: rgba(255,255,255,.92); font-size: 1.08rem; position: relative; z-index: 1; }
.cta-box .btn { position: relative; z-index: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--slate); color: rgba(255,255,255,.78); padding-top: clamp(3rem, 6vw, 4rem); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .wordmark-text { color: #fff; font-size: 1.3rem; }
.footer-brand .wordmark-text strong { color: var(--coral); }
.footer-brand p { margin-top: .9rem; max-width: 40ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: .9rem; }
.footer-col a, .footer-col span { display: block; font-size: .95rem; color: rgba(255,255,255,.72); margin-bottom: .55rem; transition: color .18s ease; }
.footer-col a:hover { color: var(--emerald-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; padding-bottom: 1.6rem; }
.footer-bottom p { font-size: .88rem; color: rgba(255,255,255,.6); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #25d366; box-shadow: 0 10px 26px rgba(37,211,102,.5);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37,211,102,.6); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .cars-grid, .benefits-grid, .destinos-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 520px; }
  .hero-sub { max-width: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .4rem;
    background: var(--cream); padding: 1.2rem var(--gut) 1.6rem;
    box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 99;
  }
  body.nav-open .main-nav { transform: translateY(0); }
  .main-nav > a { padding: .6rem 0; font-size: 1.05rem; }
  .nav-cta { justify-content: center; margin-top: .5rem; padding: .8rem; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
}

@media (max-width: 540px) {
  .cars-grid, .destinos-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); }
}

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