:root {
    --blue: #0b1f3a;
    --blue-2: #122f55;
    --gold: #ffc107;
    --white: #ffffff;
    --gray: #f5f7fa;
    --text: #27364a;
    --muted: #708198;
    --shadow: 0 24px 70px rgba(11, 31, 58, .16);
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); }

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--blue);
    transition: opacity .35s ease, visibility .35s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader span {
    width: 58px;
    height: 58px;
    border: 5px solid rgba(255, 255, 255, .22);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: .25s ease;
    color: var(--white);
}
.site-header.scrolled { background: rgba(11, 31, 58, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); backdrop-filter: blur(16px); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; }
.logo-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius); background: var(--gold); color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 24px; font-weight: 700; font-size: 14px; }
.main-nav a { opacity: .9; }
.main-nav a.active, .main-nav a:hover { color: var(--gold); opacity: 1; }
.nav-cta { padding: 12px 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--gold), #ffdf64); color: var(--blue) !important; box-shadow: 0 14px 30px rgba(255, 193, 7, .25); }
.menu-toggle { display: none; background: var(--gold); color: var(--blue); border: 0; width: 42px; height: 42px; border-radius: var(--radius); font-size: 18px; }

.hero { min-height: 100vh; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--blue); color: var(--white); padding: 112px 0 56px; }
.hero-slider, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { background: linear-gradient(rgba(0, 0, 0, .6), rgba(11, 31, 58, .78)), var(--hero-img) center/cover; }
.hero-slide span { display: none; }
.particles { position: absolute; inset: 0; opacity: .42; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 430px; gap: 48px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 0; }
.hero h1, .page-hero h1 { margin: 18px 0 16px; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: 0; }
.hero p { max-width: 650px; color: rgba(255, 255, 255, .84); font-size: 20px; }
.hero-actions, .store-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-weight: 900; cursor: pointer; transition: .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-small { background: linear-gradient(135deg, var(--gold), #ffdd62); color: var(--blue); box-shadow: 0 18px 34px rgba(255, 193, 7, .26); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.btn-small { min-height: 40px; padding: 0 16px; }
.full { width: 100%; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges span { padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.hero-panel { position: relative; }
.hero-car { position: absolute; right: 18px; top: -76px; width: 260px; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .35)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

.booking-card, .contact-card {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
    color: var(--text);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.booking-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px; margin-bottom: 16px; background: var(--gray); border-radius: var(--radius); }
.booking-tabs button { border: 0; border-radius: var(--radius); padding: 11px 6px; font-weight: 900; background: transparent; color: var(--blue); cursor: pointer; }
.booking-tabs button.active { background: var(--blue); color: var(--gold); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { font-size: 12px; color: var(--muted); font-weight: 800; }
input, select, textarea {
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
    border: 1px solid #dfe6ef;
    border-radius: var(--radius);
    padding: 0 13px;
    font: inherit;
    color: var(--text);
    background: var(--white);
}
textarea { min-height: 116px; padding-top: 13px; resize: vertical; }
.form-status { min-height: 22px; margin: 12px 0 0; font-weight: 800; color: var(--blue); }
.form-status.success { color: #0f8a4b; }
.form-status.error { color: #c62828; }

.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head h2, .split h2, .app-band h2, .contact-card h2 { margin: 10px 0 0; color: var(--blue); font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: 0; }
.section-head.light h2 { color: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card, .fleet-card, .tariff-card, .route-card {
    border: 1px solid #e6edf5;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(11, 31, 58, .08);
    transition: .22s ease;
}
.service-card { padding: 28px; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; background: linear-gradient(135deg, var(--gold), transparent) border-box; mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask-composite: exclude; opacity: 0; transition: .22s ease; }
.service-card:hover, .fleet-card:hover, .tariff-card:hover, .route-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card i { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--radius); background: var(--blue); color: var(--gold); font-size: 24px; }
.service-card h3, .service-card h2 { color: var(--blue); font-size: 20px; margin: 22px 0 8px; }
.service-card p { color: var(--muted); margin: 0 0 14px; }
.service-card a { color: var(--blue); font-weight: 900; }

.split { background: var(--gray); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.image-collage { min-height: 430px; position: relative; }
.image-collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: #dfe6ef; }
.image-collage img:first-child { width: 72%; height: 72%; left: 0; top: 0; }
.image-collage img:nth-child(2) { width: 54%; height: 52%; right: 0; bottom: 0; border: 10px solid var(--gray); }
.experience { position: absolute; left: 28px; bottom: 26px; width: 150px; padding: 18px; border-radius: var(--radius); background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.experience strong { display: block; color: var(--gold); font-size: 36px; line-height: 1; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.feature-list span { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.feature-list i { color: var(--gold); }
.progress-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; font-weight: 900; }
.progress-row i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--w), #dce4ef var(--w)); }

.fleet { background: var(--white); }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fleet-card { overflow: hidden; }
.fleet-img { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, #edf3fb, #ffffff); overflow: hidden; }
.fleet-img::after { content: ""; position: absolute; inset: auto 0 0; height: 52%; background: linear-gradient(transparent, rgba(11, 31, 58, .8)); opacity: 0; transition: .22s ease; }
.fleet-card:hover img { transform: scale(1.08); }
.fleet-card:hover .fleet-img::after { opacity: 1; }
.fleet-img img { max-height: 78%; transition: .28s ease; }
.fleet-body { padding: 22px; }
.fleet-body h3, .fleet-body h2 { margin: 0 0 14px; color: var(--blue); }
.fleet-specs { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.fleet-body strong { display: block; margin: 16px 0; color: var(--blue); font-size: 20px; }

.choose { position: relative; overflow: hidden; background: radial-gradient(circle at 10% 20%, rgba(255, 193, 7, .16), transparent 24%), var(--blue); }
.choose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.glass-card { padding: 24px; display: flex; gap: 14px; align-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .08); color: var(--white); backdrop-filter: blur(16px); font-weight: 900; }
.glass-card i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--blue); }

.app-band { background: linear-gradient(135deg, #0b1f3a, #173d6d); color: var(--white); overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1fr 420px; gap: 42px; align-items: center; }
.app-band h2 { color: var(--white); }
.app-band p { color: rgba(255, 255, 255, .78); }
.store-row a { min-width: 160px; min-height: 54px; display: inline-flex; gap: 12px; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--white); color: var(--blue); font-weight: 900; }
.phone-mock { position: relative; min-height: 470px; display: grid; place-items: center; }
.phone-mock img { width: 260px; border-radius: 30px; filter: drop-shadow(0 30px 55px rgba(0, 0, 0, .35)); }
.floating-ui { position: absolute; padding: 12px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .92); color: var(--blue); font-weight: 900; box-shadow: var(--shadow); }
.floating-ui.top { top: 90px; left: 0; }
.floating-ui.bottom { right: 0; bottom: 88px; }

.testimonials { background: var(--gray); }
.testimonial-card { height: auto; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .76); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 18px 44px rgba(11, 31, 58, .08); backdrop-filter: blur(14px); }
.testimonial-card img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; background: #dfe6ef; }
.stars { color: var(--gold); margin: 16px 0 10px; letter-spacing: 0; }
.testimonial-card h3 { color: var(--blue); }
.stats { padding: 38px 0; background: var(--blue); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 18px; }
.stats strong { display: block; color: var(--gold); font-size: 38px; line-height: 1; }
.faq-item { margin-bottom: 12px; border: 1px solid #e4ebf4; border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 32px rgba(11, 31, 58, .06); }
.faq-item summary { padding: 18px 20px; cursor: pointer; color: var(--blue); font-weight: 900; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

.contact-slice { background: var(--gray); }
.contact-grid { display: grid; grid-template-columns: 1fr 440px; gap: 26px; align-items: stretch; }
.contact-grid iframe { width: 100%; min-height: 520px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card { background: var(--white); }
.contact-card input, .contact-card textarea { margin-bottom: 12px; }
.contact-details { margin-top: 18px; color: var(--muted); }

.page-hero { padding: 150px 0 82px; background: linear-gradient(rgba(0, 0, 0, .62), rgba(11, 31, 58, .86)), url('../img/page-hero.jpg') center/cover; color: var(--white); }
.page-hero p { max-width: 650px; font-size: 18px; color: rgba(255, 255, 255, .82); }
.tariff-grid, .route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tariff-card { padding: 26px; }
.tariff-card h2 { color: var(--blue); margin: 0 0 12px; }
.tariff-card strong { display: block; color: var(--gold); font-size: 26px; margin-bottom: 10px; }
.route-card { padding: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-weight: 900; color: var(--blue); }
.route-card i, .route-card b { color: var(--gold); }

.footer { background: #071529; color: rgba(255, 255, 255, .78); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer h3 { color: var(--white); }
.footer a { display: block; margin: 9px 0; }
.footer a:hover { color: var(--gold); }
.footer-logo { color: var(--white); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border-radius: var(--radius); }
.footer-bottom { margin-top: 48px; padding: 18px; text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); }
.float-whatsapp, .back-top { position: fixed; right: 20px; z-index: 900; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--white); border: 0; box-shadow: var(--shadow); }
.float-whatsapp { bottom: 88px; background: #25d366; font-size: 24px; }
.back-top { bottom: 24px; background: var(--blue); cursor: pointer; opacity: 0; pointer-events: none; transition: .22s ease; }
.back-top.show { opacity: 1; pointer-events: auto; }
.sticky-call { position: fixed; left: 16px; bottom: 18px; z-index: 900; display: none; align-items: center; gap: 8px; padding: 12px 16px; background: var(--gold); color: var(--blue); border-radius: var(--radius); font-weight: 900; box-shadow: var(--shadow); }

.admin-body { background: var(--gray); display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { padding: 24px; background: var(--blue); color: var(--white); }
.admin-sidebar a { display: block; padding: 12px 10px; border-radius: var(--radius); font-weight: 800; }
.admin-sidebar a:hover { background: rgba(255, 255, 255, .08); color: var(--gold); }
.admin-logo { color: var(--gold) !important; font-size: 24px; margin-bottom: 18px; }
.admin-main { padding: 34px; overflow: auto; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0; }
.admin-cards article, .admin-panel, .login-card, .admin-form { padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 36px rgba(11, 31, 58, .08); }
.admin-cards strong { display: block; color: var(--blue); font-size: 34px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 36px rgba(11, 31, 58, .08); }
.admin-table th, .admin-table td { padding: 14px; border-bottom: 1px solid #e8eef5; text-align: left; vertical-align: top; }
.admin-table th { background: var(--blue); color: var(--white); }
.inline-form { display: flex; gap: 8px; }
.inline-form select, .inline-form button { min-height: 38px; margin: 0; }
.admin-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.admin-form.stacked { grid-template-columns: 1fr; max-width: 720px; }
.delete-link { color: #c62828; font-weight: 900; }
.login-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #173d6d); }
.login-card { width: min(420px, calc(100% - 32px)); }
.login-card h1 { color: var(--blue); }
.alert { color: #c62828; font-weight: 800; }

@media (max-width: 1024px) {
    .hero-content, .split-grid, .app-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-panel { max-width: 520px; }
    .card-grid, .tariff-grid, .route-grid { grid-template-columns: repeat(2, 1fr); }
    .fleet-grid, .choose-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav-wrap { height: 68px; }
    .menu-toggle, .sticky-call { display: inline-flex; align-items: center; justify-content: center; }
    .main-nav { position: fixed; top: 68px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border-radius: var(--radius); background: rgba(11, 31, 58, .98); box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px; }
    .hero { padding-top: 96px; }
    .hero-content { gap: 26px; }
    .hero h1, .page-hero h1 { font-size: 42px; }
    .hero p { font-size: 17px; }
    .hero-car { display: none; }
    .field-grid, .feature-list, .card-grid, .fleet-grid, .choose-grid, .stats-grid, .tariff-grid, .route-grid, .footer-grid, .admin-cards, .admin-form { grid-template-columns: 1fr; }
    .section { padding: 68px 0; }
    .image-collage { min-height: 330px; }
    .contact-grid iframe { min-height: 340px; }
    .admin-body { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
    .admin-main { padding: 20px; }
    .admin-table { min-width: 760px; }
    .admin-main { overflow-x: auto; }
}
