:root {
    --ink: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --soft: #f5f7fa;
    --navy: #071a2f;
    --navy-2: #0b2b4d;
    --blue: #1769e0;
    --blue-dark: #0b50b7;
    --teal: #12b886;
    --gold: #f4b740;
    --danger: #d92d20;
    --white: #fff;
    --shadow-sm: 0 10px 30px rgba(16, 24, 40, .08);
    --shadow-lg: 0 25px 70px rgba(4, 21, 38, .2);
    --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#main-content, #services, #fleet, #calculator, #terms, #contact { scroll-margin-top: 88px; }

body {
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

.skip-link {
    position: fixed;
    z-index: 9999;
    left: 12px;
    top: -100px;
    padding: 10px 16px;
    border-radius: 10px;
    color: var(--white);
    background: var(--blue);
}

.skip-link:focus { top: 12px; }

.glass-nav {
    background: rgba(7, 26, 47, .94);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    backdrop-filter: blur(14px);
}

.navbar { min-height: 72px; }
.navbar-brand { display: inline-flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.navbar-nav .nav-link { color: rgba(255, 255, 255, .75); font-weight: 600; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { color: var(--white); }

.brand-mark {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    color: var(--navy);
    background: linear-gradient(135deg, #fff, #bfe2ff);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(47, 158, 255, .22), transparent 28%),
        linear-gradient(135deg, #051526 0%, #092b4c 52%, #0e4772 100%);
}

.hero-section::after {
    position: absolute;
    right: -130px;
    bottom: -210px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
}

.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .75; }
.hero-orb-one { width: 180px; height: 180px; top: 18%; left: -80px; background: rgba(18, 184, 134, .25); }
.hero-orb-two { width: 120px; height: 120px; right: 30%; bottom: 8%; background: rgba(244, 183, 64, .16); }

.hero-section h1 {
    max-width: 760px;
    margin: 22px 0;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}

.hero-copy { max-width: 670px; color: rgba(255,255,255,.75); font-size: 1.22rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #cae8ff;
    background: rgba(255,255,255,.07);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.eyebrow:hover, .eyebrow:focus { color: var(--white); border-color: rgba(255,255,255,.35); }

.btn { border-radius: 12px; font-weight: 700; }
.btn-primary { border-color: var(--blue); background: var(--blue); box-shadow: 0 10px 24px rgba(23, 105, 224, .2); }
.btn-primary:hover, .btn-primary:focus { border-color: var(--blue-dark); background: var(--blue-dark); transform: translateY(-1px); }
.btn-lg { padding: .85rem 1.25rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-trust div { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); font-size: .93rem; font-weight: 600; }
.hero-trust i { color: #6fe0bd; font-size: 1.15rem; }

.hero-panel {
    position: relative;
    padding: 38px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 30px;
    background: rgba(255,255,255,.09);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.hero-panel::before {
    position: absolute;
    inset: 10px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 23px;
    content: "";
}

.hero-panel-icon { display: grid; width: 62px; height: 62px; margin-bottom: 25px; place-items: center; border-radius: 18px; color: var(--navy); background: linear-gradient(135deg, #fff, #a7dbff); font-size: 1.7rem; }
.hero-panel h2 { position: relative; font-size: 1.8rem; font-weight: 800; }
.hero-panel p { position: relative; color: rgba(255,255,255,.7); }
.hero-panel ul { position: relative; display: grid; margin: 25px 0; padding: 0; gap: 12px; list-style: none; }
.hero-panel li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.hero-panel li i { color: #72e0bd; }
.text-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #acd9ff; font-weight: 800; }

.section-space { padding: 100px 0; }
.bg-soft { background: var(--soft); }
.section-heading { max-width: 720px; }
.section-heading h2, .calculator-section h2 { margin: 8px 0 14px; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); font-size: 1.06rem; }
.section-kicker { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.services-section { background: var(--white); }
.service-card {
    display: flex;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    flex-direction: column;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { border-color: #b8cff0; transform: translateY(-5px); box-shadow: 0 20px 44px rgba(16, 24, 40, .12); }
.service-card-accent { border-color: #acdcca; background: linear-gradient(145deg, #f4fff9, #fff); }
.service-icon { display: grid; width: 58px; height: 58px; margin-bottom: 22px; place-items: center; border-radius: 17px; color: var(--blue); background: #eaf3ff; font-size: 1.45rem; }
.service-card-accent .service-icon { color: #087245; background: #dff7ec; }
.service-card h3 { margin-bottom: 10px; font-size: 1.18rem; font-weight: 800; }
.service-card p { color: var(--muted); font-size: .9rem; }
.service-card > a { display: inline-flex; margin-top: auto; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; }
.service-card-accent > a { color: #087245; }

.car-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.car-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(16, 24, 40, .13); }
.car-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #e8edf2; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-media img { transform: scale(1.04); }
.car-placeholder { display: grid; width: 100%; height: 100%; place-items: center; align-content: center; gap: 10px; color: #7d8ca0; background: linear-gradient(135deg, #eaf0f6, #dce5ef); }
.car-placeholder i { font-size: 4rem; }
.car-placeholder span { font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.featured-badge { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; color: #654400; background: #ffe3a8; font-size: .76rem; font-weight: 800; }

.car-card-body { display: flex; min-height: 330px; padding: 24px; flex-direction: column; }
.car-card h3 { margin: 0 0 10px; font-size: 1.32rem; font-weight: 800; letter-spacing: -.025em; }
.car-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .82rem; }
.car-meta span { display: inline-flex; align-items: center; gap: 5px; }
.car-meta i { color: var(--blue); }
.car-description { margin: 20px 0; color: var(--muted); font-size: .92rem; }
.fare-row { display: flex; margin-top: auto; margin-bottom: 18px; align-items: end; justify-content: space-between; gap: 15px; }
.fare-row > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.fare-row span { width: 100%; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.fare-row strong { font-size: 1.55rem; letter-spacing: -.04em; }
.fare-row small { color: var(--muted); }
.km-pill { padding: 7px 10px; border-radius: 10px; color: #175c47; background: #e6f8f1; font-size: .75rem; font-weight: 800; white-space: nowrap; }

.calculator-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #06182b, #0a3359); }
.calculator-section .text-white-50 { color: rgba(255,255,255,.74) !important; }
.calculator-section::before { position: absolute; width: 500px; height: 500px; right: -250px; top: -250px; border-radius: 50%; background: rgba(23,105,224,.16); content: ""; }
.calculator-benefits { display: grid; margin-top: 36px; gap: 18px; }
.calculator-benefits > div { display: flex; align-items: center; gap: 14px; color: var(--white); }
.calculator-benefits > div > i { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: #72e0bd; background: rgba(255,255,255,.06); }
.calculator-benefits span { display: flex; flex-direction: column; }
.calculator-benefits small { color: rgba(255,255,255,.55); }

.calculator-card { position: relative; padding: clamp(24px, 5vw, 42px); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-lg); }
.form-label { color: #344054; font-size: .88rem; font-weight: 750; }
.form-control, .form-select { min-height: 48px; border: 1px solid #d0d5dd; border-radius: 11px; }
.form-control:focus, .form-select:focus { border-color: #6caaf5; box-shadow: 0 0 0 .23rem rgba(23,105,224,.12); }
.form-text { color: #7b8797; font-size: .78rem; }

.security-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.security-options label { position: relative; margin: 0; cursor: pointer; }
.security-options input { position: absolute; opacity: 0; }
.security-options span { display: grid; min-height: 96px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; align-content: center; grid-template-columns: auto 1fr; column-gap: 10px; transition: .2s ease; }
.security-options i { grid-row: 1 / span 2; color: var(--blue); font-size: 1.3rem; }
.security-options strong { font-size: .9rem; }
.security-options small { color: var(--muted); font-size: .74rem; }
.security-options input:checked + span { border-color: var(--blue); background: #edf5ff; box-shadow: 0 0 0 3px rgba(23,105,224,.08); }
.security-options input:focus-visible + span { outline: 3px solid rgba(23,105,224,.25); }

.calculation-result { margin-top: 28px; padding-top: 28px; border-top: 1px dashed #cdd5df; }
.result-head { display: flex; align-items: center; justify-content: space-between; }
.result-head span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.result-head h3 { margin-top: 3px; font-size: 1.35rem; font-weight: 800; }
.result-head > i { color: var(--blue); font-size: 2rem; }
.result-lines { margin: 20px 0 0; }
.result-lines > div { display: flex; padding: 12px 0; border-bottom: 1px solid #eef1f4; justify-content: space-between; gap: 16px; }
.result-lines dt { color: var(--muted); font-weight: 600; }
.result-lines dd { margin: 0; font-weight: 800; text-align: right; }
.result-total { display: flex; margin: 20px 0; padding: 18px; border-radius: 14px; align-items: center; justify-content: space-between; color: var(--white); background: var(--navy); }
.result-total strong { font-size: 1.65rem; }
.result-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; color: #714b00; background: #fff4d6; font-size: .84rem; }
.btn-whatsapp { border-color: #0d7a3a; color: var(--white); background: #0d7a3a; }
.btn-whatsapp:hover, .btn-whatsapp:focus { border-color: #096631; color: var(--white); background: #096631; }

.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.info-card > i { display: grid; width: 54px; height: 54px; margin-bottom: 20px; place-items: center; border-radius: 16px; color: var(--blue); background: #eaf3ff; font-size: 1.35rem; }
.info-card h3 { font-size: 1.1rem; font-weight: 800; }
.info-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.terms-banner { display: flex; padding: 22px; border: 1px solid #bdd7f6; border-radius: 17px; align-items: flex-start; gap: 14px; color: #153a62; background: #eff7ff; }
.terms-banner > i { margin-top: 4px; color: var(--blue); }

.contact-section { background: linear-gradient(145deg, #edf5ff, #f9fbfd); }
.contact-panel { display: grid; padding: clamp(28px, 5vw, 52px); border: 1px solid #cfdced; border-radius: 30px; align-items: center; gap: 38px; background: var(--white); box-shadow: var(--shadow-lg); grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); }
.contact-panel h2 { margin: 8px 0 12px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.contact-panel > div > p { max-width: 620px; color: var(--muted); }
.contact-actions { display: flex; margin-top: 26px; flex-wrap: wrap; gap: 12px; }
.location-card { display: flex; min-height: 245px; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; align-items: flex-start; gap: 18px; color: var(--white); background: linear-gradient(145deg, var(--navy), #0c4671); box-shadow: 0 18px 42px rgba(7, 26, 47, .22); }
.location-card:hover { color: var(--white); transform: translateY(-3px); }
.location-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border-radius: 16px; color: var(--navy); background: #bfe2ff; font-size: 1.4rem; }
.location-card > span:last-child { display: flex; flex-direction: column; }
.location-card small { color: #a8cff0; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.location-card strong { margin: 8px 0; font-size: 1.13rem; line-height: 1.45; }
.location-card em { color: rgba(255,255,255,.72); font-size: .88rem; font-style: normal; }
.location-card b { margin-top: 26px; color: #83e6bf; font-size: .86rem; }

.site-footer { color: rgba(255,255,255,.68); background: #04111f; }
.site-footer .fw-bold { color: var(--white); }
.footer-grid { display: grid; align-items: center; gap: 26px; grid-template-columns: 1fr 1.35fr auto; }
.footer-location a { display: flex; align-items: flex-start; gap: 9px; color: rgba(255,255,255,.68); font-size: .82rem; }
.footer-location i { margin-top: 4px; color: #76bfff; }
.footer-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.footer-actions > a { color: var(--white); font-weight: 750; }
.footer-actions > .footer-wa { color: #65d992; font-weight: 800; }
.floating-wa { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: flex; height: 56px; padding: 0 18px; border-radius: 999px; align-items: center; gap: 9px; color: var(--white); background: #0d7a3a; box-shadow: 0 12px 30px rgba(15,112,54,.35); font-weight: 800; }
.floating-wa:hover { color: var(--white); transform: translateY(-2px); }
.floating-wa i { font-size: 1.35rem; }

.auth-section { display: grid; min-height: calc(100vh - 120px); padding: 130px 0 70px; place-items: center; background: radial-gradient(circle at 20% 20%, #dcecff, transparent 30%), var(--soft); }
.auth-card { max-width: 500px; padding: clamp(28px, 6vw, 46px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-lg); }
.auth-card h1 { margin: 16px 0 5px; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.auth-card > p { margin-bottom: 28px; color: var(--muted); }
.auth-icon { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 18px; color: var(--blue); background: #e9f3ff; font-size: 1.55rem; }
.auth-icon.warning { color: #9a6700; background: #fff3cd; }
.auth-back { display: block; margin-top: 22px; color: var(--muted); text-align: center; font-weight: 650; }

.admin-shell { min-height: calc(100vh - 180px); padding: 130px 0 90px; background: var(--soft); }
.admin-narrow { max-width: 1020px; }
.admin-heading { margin-bottom: 32px; }
.admin-heading h1 { margin: 5px 0 4px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.admin-heading p { margin: 0; color: var(--muted); }
.admin-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.form-panel { overflow: visible; padding: clamp(22px, 5vw, 38px); }
.panel-head { padding: 24px 26px 12px; }
.panel-head h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: .85rem; }

.stat-card { display: grid; min-height: 155px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); grid-template-columns: auto 1fr; align-items: start; }
.stat-card i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--blue); background: #eaf3ff; }
.stat-card span { padding: 8px 0 0 11px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.stat-card strong { grid-column: 1 / -1; margin-top: 10px; font-size: 2.25rem; line-height: 1; }

.admin-table { margin: 0; }
.admin-table th { padding: 14px 24px; border-color: #eaecf0; color: var(--muted); background: #f9fafb; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 17px 24px; border-color: #eef0f3; vertical-align: middle; }
.admin-table td > strong, .admin-table td > small { display: block; }
.admin-table td > small { margin-top: 2px; color: var(--muted); font-size: .78rem; }
.status-badge, .role-badge { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.status-badge.active { color: #146c43; background: #dff5e9; }
.status-badge.inactive { color: #667085; background: #edf0f3; }
.status-badge.pending { color: #8a5a00; background: #fff0c7; }
.role-badge { color: #1d4f91; background: #e5f0ff; }
.table-car { display: flex; min-width: 260px; align-items: center; gap: 12px; }
.table-car img, .mini-placeholder { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; }
.mini-placeholder { display: grid; place-items: center; color: #8290a2; background: #e7edf4; }
.table-car strong, .table-car small { display: block; }
.table-car small { color: var(--muted); font-size: .77rem; }

.form-divider { margin: 34px 0 28px; border-color: var(--line); opacity: 1; }
.form-section-title { display: flex; margin: 0 0 20px; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; }
.form-section-title i { color: var(--blue); }
.existing-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.existing-image { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #f9fafb; }
.existing-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.existing-image span { display: flex; padding: 9px; align-items: center; gap: 7px; color: var(--danger); font-size: .8rem; font-weight: 700; }
.switch-card { min-height: 75px; padding: 16px 16px 16px 58px; border: 1px solid var(--line); border-radius: 14px; }
.switch-card .form-check-input { margin-left: -40px; }
.switch-card label { display: flex; flex-direction: column; }
.switch-card small { color: var(--muted); font-size: .75rem; }

.credential-card { margin-bottom: 28px; padding: 24px; border: 1px solid #88d5ad; border-radius: 18px; background: #ecfbf3; box-shadow: var(--shadow-sm); }
.credential-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.credential-head > div { display: flex; align-items: center; gap: 9px; color: #12603d; }
.credential-head > span { color: #4d7a64; font-size: .76rem; font-weight: 750; }
.credential-card > p { margin: 12px 0; color: #436454; font-size: .88rem; }
.credential-grid { display: grid; margin-bottom: 16px; grid-template-columns: 1fr 1fr; gap: 12px; }
.credential-grid > div { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.72); }
.credential-grid span { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.credential-grid code { color: var(--ink); font-size: .98rem; font-weight: 800; }
.sticky-admin-form { top: 92px; z-index: 1; }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: 15px 0; }
    .hero-section .min-vh-100 { min-height: auto !important; padding-top: 150px !important; padding-bottom: 90px !important; }
    .hero-section h1 { max-width: 690px; }
    .section-space { padding: 76px 0; }
    .contact-panel { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-actions { grid-column: 1 / -1; align-items: flex-start; }
}

@media (max-width: 767.98px) {
    .navbar-brand { max-width: 75%; font-size: .98rem; }
    .brand-mark { width: 35px; height: 35px; }
    .hero-section h1 { font-size: 3.1rem; }
    .hero-panel { padding: 28px; }
    .hero-trust { gap: 14px; }
    .security-options { grid-template-columns: 1fr; }
    .admin-table th, .admin-table td { padding-right: 15px; padding-left: 15px; }
    .credential-grid { grid-template-columns: 1fr; }
    .floating-wa span { display: none; }
    .floating-wa { width: 56px; padding: 0; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-actions { grid-column: auto; }
    .location-card { min-height: auto; }
}

@media (max-width: 420px) {
    .hero-section h1 { font-size: 2.6rem; }
    .hero-section .btn-lg { width: 100%; }
    .fare-row { align-items: start; flex-direction: column; }
    .calculator-card { padding: 22px; }
    .result-total { align-items: flex-start; flex-direction: column; }
}

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