* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Arial, sans-serif;
    color: #2C3E50;
    background: #fff;
}
a { color: #008000; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.site-header { border-bottom: 1px solid #ECF0F1; padding: 8px 0; background: #fff; position: relative; z-index: 10; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-logo img { height: 84px; width: auto; max-width: 380px; display: block; }
.header-contact { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.header-contact a { color: #2C3E50; font-weight: 600; }
.header-location { color: #7f8c8d; }

.hero { background: #2C3E50; color: #fff; padding: 48px 0 90px; }
.hero-inner h1 { font-size: 32px; margin: 0 0 10px; }
.hero-inner p { color: #BDC3C7; font-size: 16px; margin: 0; max-width: 520px; }

.hero-single { padding: 56px 0 48px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.single-car-detail { padding-top: 40px; }
.single-car-detail .booking-form { border-top: none; margin-top: 30px; max-width: 100%; }
.anchor-offset { scroll-margin-top: 20px; }

.search-panel { margin-top: -60px; }
.search-form {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.search-form .field label { display: block; font-size: 12px; color: #7f8c8d; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
.search-form select, .search-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #BDC3C7;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-weight: 700; text-align: center; }
.btn-primary { background: #008000; color: #fff; }
.btn-primary:hover { background: #046307; text-decoration: none; }
.btn-block { width: 100%; grid-column: 1 / -1; padding: 14px; }
.btn-outline { background: transparent; color: #008000; border: 1.5px solid #008000; }
.btn-outline:hover { background: #E8F8EF; text-decoration: none; }
.btn-light { background: #fff; color: #2C3E50; }
.btn-light:hover { background: #ECF0F1; text-decoration: none; }

.info-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px auto 0; }
.info-card { background: #F8F9F9; border-radius: 10px; padding: 18px; font-size: 13px; }
.info-card strong { display: block; margin-bottom: 6px; color: #2C3E50; font-size: 14px; }
.info-card span { color: #7f8c8d; }

.section { padding: 56px 0; }
.section-alt { background: #F8F9F9; }
.section-title { font-size: 26px; margin: 0 0 6px; text-align: center; }
.section-sub { color: #7f8c8d; font-size: 14px; margin: 0 0 32px; text-align: center; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-header-row .section-title, .section-header-row .section-sub { text-align: left; margin-bottom: 4px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: #E8F8EF; color: #008000; margin-bottom: 14px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin: 0 0 6px; font-size: 16px; }
.feature-card p { margin: 0; color: #7f8c8d; font-size: 13px; line-height: 1.5; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 0 12px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #2C3E50; color: #fff; font-weight: 700; margin-bottom: 14px; }
.step-card h3 { margin: 0 0 6px; font-size: 17px; }
.step-card p { margin: 0; color: #7f8c8d; font-size: 13px; line-height: 1.5; }

.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.popular-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); color: inherit; }
.popular-card:hover { text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.popular-card-media { height: 150px; background: #ECF0F1; }
.popular-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popular-card-body { padding: 14px 16px; }
.popular-card-body h3 { margin: 0 0 4px; font-size: 16px; }
.popular-price { margin: 8px 0 0; font-weight: 700; color: #008000; font-size: 14px; }

.cta-banner { background: #2C3E50; color: #fff; padding: 40px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cta-banner h2 { margin: 0 0 4px; font-size: 22px; }
.cta-banner p { margin: 0; color: #BDC3C7; font-size: 14px; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.results-page { padding: 30px 20px 60px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.results-bar p { color: #7f8c8d; font-size: 14px; margin: 0; }
.back-link { font-weight: 600; }

.car-card {
    border: 1px solid #ECF0F1;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.car-card-media { position: relative; height: 220px; background: #ECF0F1; }
.car-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #95A5A6; font-size: 14px; }
.car-location-tag { position: absolute; top: 12px; left: 12px; background: #008000; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }

.car-card-body { padding: 18px 20px; }
.car-card-body h3 { margin: 0 0 6px; font-size: 20px; }
.car-specs { color: #7f8c8d; font-size: 13px; margin: 0 0 16px; }
.car-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.price-options { display: flex; gap: 10px; }
.price-box { background: #008000; color: #fff; border-radius: 8px; padding: 8px 14px; text-align: center; min-width: 100px; }
.price-box strong { display: block; font-size: 16px; }
.price-box span { font-size: 11px; }
.price-box-outline { background: #fff; color: #008000; border: 1px solid #008000; }
.no-results { text-align: center; color: #7f8c8d; padding: 60px 0; }

.car-detail { padding: 30px 20px 60px; }
.car-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; margin-bottom: 30px; }
.car-gallery { display: flex; flex-direction: column; gap: 10px; }
.car-gallery img { width: 100%; border-radius: 10px; object-fit: cover; max-height: 260px; }
.car-detail-info h1 { margin: 0 0 8px; font-size: 26px; }
.car-detail-info .muted { color: #95A5A6; font-size: 13px; }

.booking-form { border-top: 1px solid #ECF0F1; padding-top: 24px; max-width: 560px; }
.booking-form h2 { font-size: 20px; margin: 0 0 16px; }
.field-group { display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.plan-option { border: 1px solid #BDC3C7; border-radius: 8px; padding: 10px 14px; font-size: 13px; cursor: pointer; flex: 1; min-width: 200px; }
.form-row { display: flex; gap: 14px; margin-bottom: 14px; }
.form-row .field { flex: 1; }
.booking-form label { display: block; font-size: 13px; color: #7f8c8d; margin-bottom: 4px; }
.booking-form input[type="text"], .booking-form input[type="email"], .booking-form input[type="tel"], .booking-form input[type="datetime-local"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #BDC3C7;
    border-radius: 8px;
    font-size: 14px;
}
.alert { padding: 10px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: #FDEDED; color: #C0392B; border: 1px solid #F5B7B1; }

.confirm-box { text-align: center; padding: 60px 20px; max-width: 480px; margin: 0 auto; }
.confirm-box h2 { font-size: 24px; margin-bottom: 10px; }
.confirm-box p { color: #7f8c8d; margin-bottom: 24px; }

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background-color: #223141;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1.5px, transparent 0),
        linear-gradient(135deg, #2C3E50 0%, #1c2a37 100%);
    background-size: 22px 22px, 100% 100%;
    padding: 36px 0 110px;
    margin-top: 0;
    color: #BDC3C7;
    font-size: 13px;
}
.site-footer p { margin: 0; }
.site-footer a { color: #4FD1A5; font-weight: 600; }

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 500;
}
.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.28);
    transition: transform 0.15s ease;
}
.fab:hover { transform: scale(1.06); text-decoration: none; }
.fab-whatsapp { background: #25D366; }
.fab-call { background: #2C3E50; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal-visible { opacity: 1; transform: translateY(0); }

.hero-animate h1, .hero-animate p, .hero-animate .hero-actions {
    opacity: 0;
    transform: translateY(16px);
    animation: heroIn 0.6s ease-out forwards;
}
.hero-animate h1 { animation-delay: 0.05s; }
.hero-animate p { animation-delay: 0.15s; }
.hero-animate .hero-actions { animation-delay: 0.25s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.feature-card, .step-card, .popular-card, .review-card {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.feature-card:hover, .review-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.popular-card:hover { transform: translateY(-4px); }
.btn { transition: transform 0.15s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out; }
.btn:active { transform: scale(0.97); }

.car-gallery { position: relative; border-radius: 12px; overflow: hidden; background: #ECF0F1; }
.car-gallery-single img { width: 100%; height: 340px; object-fit: cover; display: block; }
.gallery-track { display: flex; transition: transform 0.35s ease; }
.gallery-slide { flex: 0 0 100%; }
.gallery-slide img { width: 100%; height: 340px; object-fit: cover; display: block; }
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: rgba(44,62,80,0.55); color: #fff; font-size: 20px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background-color 0.15s ease;
}
.gallery-arrow:hover { background: rgba(44,62,80,0.85); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.6); cursor: pointer; padding: 0; }
.gallery-dot.active { background: #fff; width: 20px; border-radius: 4px; transition: width 0.2s ease; }

.seo-content { max-width: 720px; margin: 0 auto; text-align: center; }
.seo-content p { color: #4B5563; line-height: 1.7; font-size: 15px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.review-stars { color: #F59E0B; font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review-quote { font-style: italic; color: #5B6572; font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.review-author { font-size: 13px; font-weight: 700; color: #2C3E50; margin: 0; }
.review-author span { font-weight: 400; color: #95A5A6; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero-animate h1, .hero-animate p, .hero-animate .hero-actions { animation: none !important; opacity: 1 !important; transform: none !important; }
    .gallery-track { transition: none !important; }
    .feature-card:hover, .review-card:hover, .popular-card:hover, .btn:active { transform: none !important; }
}

@media (max-width: 720px) {
    .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .site-logo img { height: 56px; max-width: 260px; }
    .header-contact { width: 100%; justify-content: space-between; font-size: 13px; }
    .hero { padding: 34px 0 70px; }
    .hero-inner h1 { font-size: 24px; }
    .hero-inner p { font-size: 14px; }
    .search-panel { margin-top: -46px; }
    .search-form { grid-template-columns: 1fr; padding: 18px; }
    .info-strip { grid-template-columns: 1fr 1fr; margin: 28px auto 40px; }
    .car-detail-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .car-card-footer { flex-direction: column; align-items: stretch; }
    .car-card-footer .btn { width: 100%; }
    .price-options { justify-content: space-between; }
    .price-box { flex: 1; min-width: 0; }
    .fab { width: 50px; height: 50px; }
    .floating-actions { right: 14px; bottom: 14px; }

    .section { padding: 36px 0; }
    .section-title { font-size: 21px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .popular-grid { grid-template-columns: 1fr; }
    .section-header-row { flex-direction: column; align-items: flex-start; }
    .section-header-row .btn { width: 100%; }
    .cta-banner-inner { flex-direction: column; align-items: flex-start; text-align: left; }
    .cta-banner-actions { width: 100%; }
    .cta-banner-actions .btn { flex: 1; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .gallery-slide img, .car-gallery-single img { height: 220px; }
    .reviews-grid { grid-template-columns: 1fr; }
}
