/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #1a3a6c;
    --primary-dark: #0d1b2e;
    --gold: #ffd700;
    --light-bg: #f8f9fa;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
    background-color: var(--light-bg);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ========== HEADER ========== */
header {
    background: linear-gradient(135deg, #1a3a6c 0%, #0d1b2e 100%);
    color: white;
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}
header.scrolled { padding-top: .6rem; padding-bottom: .6rem; }
.header-content { display: flex; justify-content: space-between; align-items: center; transition: padding .3s ease; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
    width: 52px; height: 52px;
    background: rgba(255, 215, 0, .15);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--gold);
}
.logo h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; }
.logo span { color: var(--gold); }
nav ul { display: flex; list-style: none; gap: 8px; }
nav ul li a {
    color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 500;
    padding: 10px 20px; border-radius: 10px; transition: all .3s ease;
}
nav ul li a:hover { color: white; background: rgba(255, 255, 255, .1); }

/* ========== HERO ========== */
.hero {
    min-height: 80vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0d1b2e 0%, #1a3a6c 50%, #1a3a6c 70%, #0d1b2e 100%);
    color: white; text-align: center; padding: 8rem 0 6rem; overflow: hidden; position: relative;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, .07) 0%, transparent 50%),
                      radial-gradient(circle at 80% 30%, rgba(26, 58, 108, .4) 0%, transparent 60%);
}
.hero::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    animation: heroPattern 60s linear infinite; opacity: .8;
}
@keyframes heroPattern { to { transform: translate(60px, 60px); } }
.hero-shape { position: absolute; border-radius: 50%; background: rgba(255, 215, 0, .08); pointer-events: none; }
.s1 { width: 300px; height: 300px; top: -50px; right: -80px; animation: float 6s ease-in-out infinite; }
.s2 { width: 200px; height: 200px; bottom: 60px; left: -40px; animation: float 7s ease-in-out infinite reverse; }
.s3 { width: 150px; height: 150px; top: 40%; right: 15%; background: rgba(26, 58, 108, .3); animation: float 8s ease-in-out infinite; }
.s4 { width: 80px; height: 80px; bottom: 20%; left: 10%; animation: float 9s ease-in-out infinite reverse; background: rgba(255, 215, 0, .06); }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-18px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}
.hero-content { position: relative; z-index: 2; max-width: 750px; margin-inline: auto; padding: 0 1rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 215, 0, .15);
    color: var(--gold); padding: 8px 22px; border-radius: 50px; font-size: .85rem;
    font-weight: 600; margin-bottom: 1.8rem; border: 1px solid rgba(255, 215, 0, .2);
    backdrop-filter: blur(4px);
}
.hero h2 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: rgba(255, 255, 255, .7); max-width: 600px; margin-inline: auto; line-height: 1.8; margin-bottom: 2rem; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .4); text-decoration: none; font-size: .75rem; transition: color .3s ease; }
.scroll-indicator a:hover { color: var(--gold); }
.scroll-mouse { width: 26px; height: 40px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 13px; position: relative; overflow: hidden; }
.scroll-dot { width: 4px; height: 8px; background: var(--gold); border-radius: 4px; margin: 6px auto; animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(10px); opacity: 1; } }

/* ========== BUTTONS ========== */
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 12px; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: all .3s ease; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #ffd700, #ffc400); color: var(--primary-dark); box-shadow: 0 8px 30px rgba(255, 215, 0, .3); border: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255, 215, 0, .4); }
.btn-secondary { background: transparent; color: white; border: 2px solid rgba(255, 255, 255, .3); }
.btn-secondary:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); color: var(--gold); }

/* ========== SECTION TITLES ========== */
.section-title { text-align: center; margin-bottom: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.section-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(26, 58, 108, .07); color: var(--primary); padding: 6px 18px; border-radius: 50px; font-size: .8rem; font-weight: 600; }
.section-title h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--primary); letter-spacing: -.5px; position: relative; display: inline-block; padding-bottom: 16px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--gold); border-radius: 2px; }
.section-title p { margin-top: .9rem; color: #6b7280; font-size: 1.08rem; max-width: 600px; margin-inline: auto; text-align: center; }

/* ========== SERVICES ========== */
.services { padding: 6rem 0; background-color: white; position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; top: -200px; right: -15%; width: 40%; height: 600px; background: radial-gradient(ellipse, rgba(26, 58, 108, .03) 0%, transparent); pointer-events: none; }
.services::after { content: ''; position: absolute; bottom: -100px; left: -10%; width: 300px; height: 400px; background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231a3a6c' fill-opacity='.04'%3E%3Cpath d='M40 38h-2v-2h2V36h2v2h2v2h-2v2h-2v-2zm0 38h-2v-2h2V74h2v2h2v2h-2v2h-2v-2zM2 40H0v-2h2V36h2v2h2v2H4v2H2v-2zm38 0h-2v-2h2V36h2v2h2v2h-2v2h-2v-2zM58 40h-2v-2h2V36h2v2h2v2h-2v2h-2v-2zm-20 38H36v-2h2V74h2v2h2v2h-2v2h-2v-2zM2 2H0v-2h2V0h2v2h2v2H4V2z'/%3E%3C/g%3E%3C/svg%3E"); opacity: .6; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-inline: auto; max-width: 960px; }
.services-grid-bottom { display: flex; justify-content: center; gap: 24px; max-width: 960px; margin-inline: auto; margin-top: 24px; }
.service-card { background: white; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 25px rgba(0, 0, 0, .04); transition: all .4s cubic-bezier(.175, .885, .32, 1.275); border: 1px solid #eef1f6; position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .1); border-color: var(--gold); }
.service-icon { background: linear-gradient(135deg, #1a3a6c, #0d1b2e); color: white; font-size: 2rem; padding: 2.2rem; text-align: center; position: relative; overflow: hidden; }
.service-icon::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255, 215, 0, .1)); opacity: 0; transition: opacity .4s ease; }
.service-card:hover .service-icon::after { opacity: 1; }
.services-grid-bottom .service-card .service-icon { background: linear-gradient(135deg, #2d4a7c, #0d1b2e); }
.service-content { padding: 1.8rem 2rem 2rem; position: relative; z-index: 1; }
.service-content h3 { margin-bottom: .6rem; color: var(--primary); font-size: 1.25rem; line-height: 1.4; }
.service-content p { color: #6b7280; font-size: .95rem; line-height: 1.7; }

/* ========== WHY CHOOSE US ========== */
.why-us { padding: 6rem 0; background-color: white; position: relative; overflow: hidden; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 900px; margin-inline: auto; }
.feature-card { text-align: center; padding: 2.8rem 2rem; background: linear-gradient(145deg, #f8f9ff, #ffffff); border-radius: 16px; transition: all .3s ease; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(26, 58, 108, .07); border-left-color: var(--gold); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; background: linear-gradient(135deg, #1a3a6c, #0d1b2e); color: var(--gold); font-size: 1.7rem; border-radius: 18px; margin-bottom: 1.4rem; box-shadow: 0 8px 25px rgba(26, 58, 108, .25); }
.feature-card h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: .7rem; font-weight: 600; }
.feature-card p { color: #6b7280; font-size: .94rem; line-height: 1.7; }

/* ========== CONTACT ========== */
.contact { padding: 3rem 0; background: linear-gradient(135deg, #f0f4ff, #e8edf5); position: relative; overflow: hidden; min-height: auto; }
.contact::before { content: ''; position: absolute; top: -200px; left: -10%; width: 40%; height: 600px; background: radial-gradient(ellipse, rgba(26, 58, 108, .04) 0%, transparent); pointer-events: none; }
.contact-container { display: grid; grid-template-columns: 320px 1fr; gap: 48px; max-width: 1200px; margin-inline: auto; position: relative; z-index: 1; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.contact-info h3 { color: var(--primary); font-size: 1.7rem; margin-bottom: 1.2rem; line-height: 1.4; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; background: white; padding: 20px 24px; border-radius: 14px; transition: all .3s ease; box-shadow: 0 2px 15px rgba(0, 0, 0, .04); }
.contact-item:hover { transform: translateX(6px); box-shadow: 0 8px 30px rgba(26, 58, 108, .1); border-left-color: var(--gold); }
.item-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-width: 48px; background: linear-gradient(135deg, #1a3a6c, #0d1b2e); color: var(--gold); font-size: 1.2rem; border-radius: 12px; }
.item-content h4 { color: var(--primary); font-weight: 600; margin-bottom: 4px; font-size: 1.05rem; }
.item-content a, .item-content p { color: #6b7280; text-decoration: none; font-size: .95rem; transition: color .3s ease; word-break: break-word; line-height: 1.6; }
.item-content a:hover { color: var(--primary); }

/* ========== CONTACT FORM ========== */
.contact-form { background: white; padding: 2.4rem; border-radius: 20px; box-shadow: 0 15px 50px rgba(0, 0, 0, .07); position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; }
.contact-form::before { content: ''; position: absolute; top: -1px; left: 30%; width: 40%; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.form-header h3 { color: var(--primary); font-size: 1.6rem; margin-bottom: .5rem; }
.form-header p { color: #6b7280; font-size: .95rem; }
.form-group { margin-bottom: 14px; position: relative; flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 10px; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all .3s ease;
    background: #fafbfc;
    color: #1a1a2e;
    -webkit-appearance: none;
    appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(26, 58, 108, .08); }

.vehicle-selector { margin-top: 12px; padding: 16px; background: linear-gradient(135deg, #f0f4ff, #e8edf5); border-radius: 14px; border-left: 4px solid var(--primary); flex-shrink: 0; }
.vehicle-selector h4 { margin-bottom: 12px; color: var(--primary); font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.vehicle-extra-info {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #d0e3f7;
    display: flex;
    align-items: stretch;
    gap: 24px;
}
.vehicle-extra-info > div { flex: 1; min-width: 0; }
.vin-note-box { margin-top: 12px; padding: 10px 16px; background-color: linear-gradient(135deg, #fff9e6, #fffbe6); border-left: 4px solid var(--gold); border-radius: 8px; flex-shrink: 0; }
.vin-note-box p { color: #333; font-size: .85rem; line-height: 1.7; }
.vin-note-box strong { color: var(--primary); }

/* ========== FOOTER ========== */
footer { background-color: var(--primary-dark); color: white; padding: 5rem 0 0; position: relative; overflow: hidden; }
footer::before { content: ''; position: absolute; top: -200px; right: -10%; width: 300px; height: 600px; background: radial-gradient(ellipse, rgba(255, 215, 0, .04) 0%, transparent); pointer-events: none; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 48px; margin-bottom: 3rem; max-width: 960px; margin-inline: auto; padding: 0 15px; }
.footer-section h3 { color: white; font-size: 1.25rem; margin-bottom: 1.5rem; position: relative; display: inline-block; }
.footer-section h3::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 45px; height: 3px; background-color: var(--gold); border-radius: 2px; }
.about-text { color: rgba(255, 255, 255, .65); font-size: .95rem; line-height: 1.8; margin-bottom: 1.8rem; max-width: 320px; }
.quick-links a { display: block; color: rgba(255, 255, 255, .65); text-decoration: none; padding: 7px 0; font-size: .95rem; transition: all .3s ease; border-bottom: 1px solid transparent; max-width: 180px; }
.quick-links a:hover { color: var(--gold); transform: translateX(6px); border-color: rgba(255, 215, 0, .15); }
.contact-info-footer p { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; font-size: .95rem; }
.contact-info-footer i { color: var(--gold); width: 20px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: rgba(255, 255, 255, .08); border-radius: 12px; color: white; font-size: 1.1rem; transition: all .3s ease; text-decoration: none; }
.social-link:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(255, 215, 0, .25); }
.copyright { text-align: center; padding: 2rem 0; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .45); font-size: .9rem; max-width: 960px; margin-inline: auto; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}
@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 16px; text-align: center; }
    nav ul { justify-content: center; flex-wrap: wrap; margin-top: 4px; }
    nav ul li a { padding: 8px 16px; font-size: .95rem; }
    .hero { min-height: auto; padding: 7rem 0 5rem; }
    .services-grid, .services-grid-bottom { grid-template-columns: repeat(2, 1fr); flex-wrap: wrap; justify-content: center; }
    .contact-container { grid-template-columns: 1fr; }
    .vehicle-extra-info { gap: 16px; }
}
@media (max-width: 480px) {
    .logo h1 { font-size: 1.3rem; }
    .services-grid, .services-grid-bottom { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.9rem; }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea { font-size: 16px; padding: 12px 14px; }
    .vehicle-extra-info { flex-direction: column; gap: 12px; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
