:root {
    --eg-navy: #0f1b2b;
    --eg-navy-light: #16273d;
    --eg-red: #e63946;
    --eg-red-dark: #c62d39;
    --eg-orange: #f4a24a;
    --eg-light: #f6f7f9;
    --eg-gray: #6b7785;
    --eg-border: #e3e7ec;
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    color: #2a323c;
    background-color: #fff;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--eg-navy);
}

a {
    text-decoration: none;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.icon-sm {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-right: 6px;
}

/* Top strip */
.top-strip {
    background: var(--eg-navy);
    color: #c9d3de;
    font-size: 0.85rem;
    padding: 6px 0;
}

.top-strip-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-strip-item {
    display: flex;
    align-items: center;
}

/* Navbar */
.app-navbar {
    background: var(--eg-navy-light);
    padding: 14px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    line-height: 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
}

.brand-subtext {
    font-size: 0.7rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--eg-orange);
    font-weight: 600;
}

.brand-accent {
    color: var(--eg-red);
}

.footer-logo {
    height: 48px;
    width: auto;
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
}

.app-navbar .nav-link {
    color: #d7dee6;
    font-weight: 500;
    padding: 8px 14px;
}

.app-navbar .nav-link:hover {
    color: #fff;
}

.btn-cta {
    background: var(--eg-red);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover {
    background: var(--eg-red-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    background: radial-gradient(circle at 20% 20%, var(--eg-navy-light), var(--eg-navy) 65%);
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-copy {
    flex: 1 1 480px;
}

.eyebrow {
    display: inline-block;
    color: var(--eg-orange);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.hero h1 {
    color: #fff;
    font-size: 2.9rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-lead {
    color: #c9d3de;
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 9px 22px;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--eg-navy);
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--eg-orange);
}

.hero-stat span {
    color: #aeb9c6;
    font-size: 0.85rem;
}

.hero-visual {
    flex: 1 1 380px;
    display: flex;
    justify-content: center;
}

.hero-car {
    width: 100%;
    max-width: 420px;
}

.hero-shadow {
    fill: rgba(0,0,0,0.35);
}

.car-body {
    fill: var(--eg-red);
}

.car-glass {
    fill: #cfe4f2;
    opacity: 0.9;
}

.car-wheel {
    fill: #14202f;
}

.car-wheel-hub {
    fill: #9aa7b5;
}

/* Brands strip */
.brands-strip {
    background: var(--eg-light);
    padding: 28px 0;
    border-bottom: 1px solid var(--eg-border);
}

.brands-label {
    text-align: center;
    color: var(--eg-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.brands-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    padding: 6px 24px;
    animation: brands-scroll 32s linear infinite;
}

.brands-marquee:hover .brands-track {
    animation-play-state: paused;
}

@keyframes brands-scroll {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.brand-logo-item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--eg-border);
    overflow: hidden;
}

.brand-logo-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.brand-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--eg-red);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.brand-logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #a2acb8;
    font-size: 1rem;
    white-space: nowrap;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-heading p {
    color: var(--eg-gray);
}

/* Service cards */
.service-card {
    background: #fff;
    border: 1px solid var(--eg-border);
    border-radius: 10px;
    padding: 32px 24px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 27, 43, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--eg-red);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--eg-gray);
    margin: 0;
}

/* Why section */
.why-section {
    background: var(--eg-light);
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 28px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 500;
}

.why-check {
    color: var(--eg-red);
    font-weight: 800;
}

.why-panel {
    background: var(--eg-navy);
    border-radius: 14px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-panel-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 16px;
}

.why-panel-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-panel-item strong {
    color: var(--eg-orange);
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

.why-panel-item span {
    color: #c9d3de;
}

/* CTA band */
.cta-band {
    background: linear-gradient(120deg, var(--eg-red), var(--eg-red-dark));
    color: #fff;
    padding: 56px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 6px;
}

.cta-band p {
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.cta-band .btn-cta {
    background: var(--eg-navy);
}

.cta-band .btn-cta:hover {
    background: #08121f;
}

/* Page hero (inner pages) */
.page-hero {
    background: var(--eg-navy);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin: 10px 0;
}

.page-hero p {
    color: #c9d3de;
    max-width: 620px;
    margin: 0 auto;
}

/* About stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--eg-light);
    border: 1px solid var(--eg-border);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.stat-box strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--eg-red);
}

.stat-box span {
    color: var(--eg-gray);
    font-size: 0.9rem;
}

/* Contact page */
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--eg-red);
}

.contact-info-item h6 {
    margin: 0 0 4px;
    font-size: 0.95rem;
}

.contact-info-item p {
    margin: 0;
    color: var(--eg-gray);
    line-height: 1.8;
}

.contact-info-item p a {
    color: var(--eg-gray);
}

.contact-info-item p a:hover {
    color: var(--eg-red);
    text-decoration: underline;
}

.contact-form-card {
    background: var(--eg-light);
    border: 1px solid var(--eg-border);
    border-radius: 14px;
    padding: 36px;
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--eg-navy);
}

.contact-form-card .form-control {
    border-radius: 6px;
    border: 1px solid var(--eg-border);
    padding: 10px 14px;
}

.contact-form-card .form-control:focus {
    border-color: var(--eg-red);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.15);
}

.map-section {
    background: var(--eg-navy);
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #c9d3de;
    padding: 40px 20px;
}

.map-placeholder svg {
    width: 24px;
    height: 24px;
    fill: var(--eg-orange);
}

/* Privacy policy content */
.policy-content h2 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.policy-content h3 {
    font-size: 1.05rem;
    margin-top: 22px;
    margin-bottom: 10px;
}

.policy-content p, .policy-content li {
    color: #3d4653;
    line-height: 1.7;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-content a {
    color: var(--eg-red);
    text-decoration: underline;
}

/* Footer */
.app-footer {
    background: var(--eg-navy);
    color: #aeb9c6;
    padding: 56px 0 24px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
}

.footer-tagline {
    margin-top: 14px;
    color: #92a0af;
    max-width: 320px;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    color: #92a0af;
}

.footer-links a {
    color: #92a0af;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 32px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: #7c8a99;
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .cta-inner {
        text-align: center;
        justify-content: center;
    }
}
