:root {
    --ink: #101828;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #e4e7ec;
    --surface: #ffffff;
    --surface-soft: #f7f8fa;
    --brand: #00a296;
    --brand-dark: #007c73;
    --brand-soft: #e5f7f5;
    --success: #159a67;
    --success-dark: #087a50;
    --danger: #d92d20;
    --navy: #0d1b2a;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --shadow-sm: 0 10px 30px rgba(16, 24, 40, .07);
    --shadow: 0 24px 70px rgba(16, 24, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header { transition: background .2s ease, box-shadow .2s ease; }
.site-header .navbar {
    min-height: 78px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(228,231,236,.9);
    backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { flex: 0 0 auto; line-height: 0; }
.site-logo { display: block; width: clamp(190px, 18vw, 245px); height: auto; }
.site-logo-footer { width: min(280px, 100%); }
.navbar-toggler { border: 0; box-shadow: none !important; }
.nav-link { color: var(--ink-soft); font-weight: 650; font-size: .94rem; padding: .75rem .8rem !important; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.language-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.language-switch a { min-width: 34px; padding: 6px 8px; border-radius: 8px; color: var(--muted); font-size: .75rem; font-weight: 800; text-align: center; }
.language-switch a.active { background: var(--ink); color: #fff; }

.btn { border-radius: 12px; font-weight: 750; padding: .75rem 1rem; }
.btn-lg { border-radius: 14px; padding: .9rem 1.25rem; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(0,162,150,.22); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-glass { border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); color: #fff; border-color: rgba(255,255,255,.65); }
.btn-whatsapp { background: var(--success); border-color: var(--success); color: #fff; }
.btn-whatsapp:hover { background: var(--success-dark); border-color: var(--success-dark); color: #fff; }
.btn-soft { background: var(--surface-soft); border: 1px solid var(--line); color: var(--ink); }
.btn-soft:hover { background: #eef1f4; border-color: #d0d5dd; color: var(--ink); }

.hero {
    position: relative;
    min-height: 690px;
    padding-top: 78px;
    overflow: hidden;
    color: #fff;
    background-image: var(--hero-image);
    background-position: center 58%;
    background-size: cover;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,29,.91) 0%, rgba(7,17,29,.74) 48%, rgba(7,17,29,.24) 100%); }
.hero-content { position: relative; z-index: 1; }
.min-vh-75 { min-height: 612px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--brand-dark); font-size: .76rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-light { color: #7fe5dc; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.065em; font-weight: 820; }
.hero-lead { max-width: 700px; margin: 25px 0 0; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 650; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--brand); }

.filter-wrap { position: relative; z-index: 4; margin-top: -62px; }
.filter-card { display: grid; grid-template-columns: 1.08fr 1fr 1fr auto; gap: 16px; align-items: end; padding: 24px; background: rgba(255,255,255,.98); border: 1px solid rgba(228,231,236,.95); border-radius: var(--radius); box-shadow: var(--shadow); }
.filter-heading { display: flex; align-items: center; gap: 13px; padding-right: 12px; }
.filter-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand-dark); }
.filter-heading small { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.filter-heading h2 { margin: 3px 0 0; font-size: 1.08rem; letter-spacing: -.03em; }
.filter-field label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.form-select, .form-control { min-height: 48px; border-color: var(--line); border-radius: 12px; font-weight: 600; box-shadow: none !important; }
.form-select:focus, .form-control:focus { border-color: var(--brand-dark); }
.filter-submit { min-height: 48px; padding-inline: 22px; }
.filter-reset { grid-column: 2 / -1; justify-self: end; color: var(--muted); font-size: .84rem; font-weight: 700; }
.filter-reset:hover { color: var(--ink); }

.section { padding: 104px 0; }
.fleet-section { padding-top: 86px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.45rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 820; }
.section-heading p { max-width: 660px; margin: 14px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.section-heading.centered { justify-content: center; text-align: center; }
.results-count { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-soft); font-size: .8rem; font-weight: 800; }

.vehicle-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vehicle-card:hover { transform: translateY(-7px); border-color: #d0d5dd; box-shadow: 0 26px 55px rgba(16,24,40,.13); }
.vehicle-media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(145deg, #eef1f4, #fafafa); }
.vehicle-media > a:first-child { display: block; width: 100%; height: 100%; }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vehicle-card:hover .vehicle-media img { transform: scale(1.045); }
.vehicle-placeholder { display: grid !important; place-items: center; color: #98a2b3; font-size: 4rem; }
.availability { position: absolute; top: 15px; left: 15px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--success-dark); font-size: .72rem; font-weight: 850; box-shadow: 0 8px 18px rgba(16,24,40,.1); backdrop-filter: blur(8px); }
.availability.unavailable { color: var(--danger); }
.vehicle-price { position: absolute; right: 15px; bottom: 15px; display: inline-flex; align-items: baseline; gap: 3px; padding: 10px 13px; border-radius: 13px; background: var(--ink); color: #fff; box-shadow: 0 10px 25px rgba(16,24,40,.25); }
.vehicle-price strong { font-size: 1.16rem; }
.vehicle-price small { color: rgba(255,255,255,.7); font-size: .72rem; }
.vehicle-body { padding: 22px; }
.vehicle-title-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.vehicle-title-row > div > span { color: var(--muted); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.vehicle-title-row h3 { margin: 4px 0 0; font-size: 1.35rem; letter-spacing: -.035em; font-weight: 800; }
.vehicle-title-row h3 a:hover { color: var(--brand-dark); }
.round-link { display: grid; flex: 0 0 auto; width: 39px; height: 39px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.round-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.vehicle-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 20px 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vehicle-specs span { display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 7px; min-width: 0; }
.vehicle-specs i { grid-row: 1 / 3; color: var(--brand-dark); }
.vehicle-specs small { color: var(--muted); font-size: .67rem; }
.vehicle-specs strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.empty-state { padding: 70px 25px; border: 1px dashed #d0d5dd; border-radius: var(--radius); background: var(--surface-soft); text-align: center; }
.empty-state > span { display: grid; width: 70px; height: 70px; margin: 0 auto 20px; place-items: center; border-radius: 22px; background: var(--brand-soft); color: var(--brand-dark); font-size: 1.8rem; }
.empty-state h3 { font-weight: 800; }
.empty-state p { color: var(--muted); }

.benefits-section { background: var(--surface-soft); }
.benefit-card { height: 100%; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.benefit-card > span { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 24px; border-radius: 17px; background: var(--brand-soft); color: var(--brand-dark); font-size: 1.2rem; }
.benefit-card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; }
.benefit-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }

.location-section { background: #fff; }
.location-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; min-height: 540px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.location-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 74px); }
.location-info h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.55rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 820; }
.location-info > p { margin: 20px 0 0; color: rgba(255,255,255,.68); line-height: 1.75; }
.contact-list { display: grid; gap: 10px; margin: 28px 0; }
.contact-list a { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.contact-list a > i { width: 20px; color: var(--brand); }
.contact-list span { display: grid; }
.contact-list small { color: rgba(255,255,255,.52); font-size: .7rem; }
.contact-list strong { margin-top: 3px; font-size: .9rem; }
.location-info .btn { align-self: flex-start; }
.location-map { min-height: 420px; }
.location-map iframe { width: 100%; height: 100%; min-height: 540px; border: 0; filter: saturate(.85) contrast(1.02); }

.site-footer { padding: 74px 0 28px; background: #09121e; color: rgba(255,255,255,.72); }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.brand-light small { color: rgba(255,255,255,.5); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-grid > div:first-child p { max-width: 470px; margin: 24px 0 0; line-height: 1.75; }
.footer-grid h3 { margin-bottom: 18px; color: #fff; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.mobile-contact-bar { display: none; }

/* Vehicle details */
.details-page { padding-top: 78px; background: var(--surface-soft); }
.details-hero { padding: 38px 0 90px; }
.breadcrumb-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.breadcrumb-back:hover { color: var(--ink); }
.details-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(330px,.75fr); gap: 28px; align-items: start; }
.details-gallery, .details-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.details-gallery { position: relative; }
.details-gallery img, .details-gallery .vehicle-placeholder { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.details-status { position: absolute; top: 18px; left: 18px; }
.details-content { padding: 30px; }
.details-kicker { color: var(--brand-dark); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.details-content h1 { margin: 5px 0 0; font-size: clamp(2.2rem, 4vw, 3.55rem); letter-spacing: -.055em; font-weight: 830; }
.details-description { margin: 20px 0 0; color: var(--muted); line-height: 1.8; }
.details-spec-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.details-spec { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft); }
.details-spec i { display: block; margin-bottom: 12px; color: var(--brand-dark); }
.details-spec small { display: block; color: var(--muted); font-size: .68rem; }
.details-spec strong { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-card { position: sticky; top: 104px; padding: 28px; }
.booking-card .availability { position: static; margin-bottom: 18px; box-shadow: none; background: #ecfdf3; }
.booking-card .availability.unavailable { background: #fef3f2; }
.booking-price { display: flex; align-items: baseline; gap: 5px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.booking-price strong { font-size: 2.6rem; letter-spacing: -.06em; }
.booking-price span { color: var(--muted); }
.booking-card h2 { margin: 22px 0 8px; font-size: 1.25rem; font-weight: 800; }
.booking-card > p { color: var(--muted); line-height: 1.65; }
.booking-actions { display: grid; gap: 10px; margin-top: 22px; }
.booking-note { display: flex; gap: 10px; margin-top: 20px; padding: 14px; border-radius: 13px; background: var(--surface-soft); color: var(--muted); font-size: .78rem; line-height: 1.5; }
.booking-note i { margin-top: 2px; color: var(--brand-dark); }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse { margin-top: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
    .language-switch { margin: 10px 0 12px; }
    .header-cta { display: inline-flex; }
    .hero { min-height: 650px; background-position: 63% center; }
    .filter-card { grid-template-columns: 1fr 1fr; }
    .filter-heading { grid-column: 1 / -1; }
    .filter-submit { width: 100%; }
    .filter-reset { grid-column: 1 / -1; }
    .location-card { grid-template-columns: 1fr; }
    .location-map iframe { min-height: 430px; }
    .details-layout { grid-template-columns: 1fr; }
    .booking-card { position: static; }
}

@media (max-width: 767.98px) {
    html { scroll-padding-top: 72px; }
    body { padding-bottom: 68px; }
    .site-header .navbar { min-height: 70px; }
    .site-logo { width: 185px; }
    .hero { min-height: 690px; padding-top: 70px; background-position: 66% center; }
    .hero-shade { background: linear-gradient(180deg, rgba(7,17,29,.78) 0%, rgba(7,17,29,.84) 55%, rgba(7,17,29,.94) 100%); }
    .min-vh-75 { min-height: 620px; align-items: end !important; padding-bottom: 104px; }
    .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-proof { gap: 12px 18px; }
    .filter-wrap { margin-top: -54px; }
    .filter-card { grid-template-columns: 1fr; padding: 20px; }
    .filter-heading, .filter-reset { grid-column: 1; }
    .section { padding: 74px 0; }
    .fleet-section { padding-top: 68px; }
    .section-heading { display: block; margin-bottom: 28px; }
    .results-count { display: inline-block; margin-top: 18px; }
    .vehicle-actions { grid-template-columns: 1fr; }
    .location-card { border-radius: 22px; }
    .location-info { padding: 34px 25px; }
    .location-map iframe { min-height: 340px; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-bottom { flex-direction: column; }
    .mobile-contact-bar { position: fixed; z-index: 1035; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 8px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(16,24,40,.08); backdrop-filter: blur(14px); }
    .mobile-contact-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 11px; font-size: .85rem; font-weight: 800; }
    .mobile-contact-bar a:first-child { background: var(--surface-soft); }
    .mobile-contact-bar a:last-child { background: var(--success); color: #fff; }
    .details-hero { padding-bottom: 65px; }
    .details-content { padding: 23px; }
    .details-spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .booking-card { padding: 23px; }
}

@media (max-width: 420px) {
    .hero-proof span { font-size: .79rem; }
    .vehicle-body { padding: 19px; }
    .vehicle-price { right: 10px; bottom: 10px; }
    .availability { top: 10px; left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
