/* ==========================================================================
   WHIP — Brand Styles
   Extracted from Astra/Elementor theme. Clean Bootstrap 5 override.
   ========================================================================== */

/* --- Custom Properties --- */
:root {
    --whip-primary: #0f1d54;
    --whip-cta: #2f6deb;
    --whip-accent: #8fc8ff;
    --whip-text: #4d5a76;
    --whip-heading: #0f1d54;
    --whip-white: #f7faff;
    --whip-container: 1240px;
}

/* --- Base Typography --- */
html {
    font-size: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--whip-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 1.1;
    color: var(--whip-heading);
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }

a {
    color: var(--whip-primary);
    text-decoration: none;
}

a:hover, a:focus {
    color: var(--whip-heading);
}

p {
    margin-bottom: 1em;
}

::selection {
    background-color: var(--whip-primary);
    color: var(--whip-white);
}

/* --- Container Override --- */
.container {
    max-width: var(--whip-container);
}

/* --- Header / Navbar --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.site-header .navbar {
    background: linear-gradient(90deg, rgba(15, 29, 84, 0.98) 0%, rgba(47, 109, 235, 0.96) 100%);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0;
    min-height: 60px;
    box-shadow: 0 8px 24px rgba(15, 29, 84, 0.18);
}

.site-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0;
    margin-right: 0.9rem;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.site-header .navbar-brand:hover,
.site-header .navbar-brand:focus {
    text-decoration: none;
    transform: none;
}

.site-header .brand-word {
    display: inline-block;
}

.site-header .brand-word-whip {
    color: #ffffff;
}

.site-header .brand-word-cars {
    color: var(--whip-accent);
}

@media (max-width: 991.98px) {
    .site-header .navbar-brand {
        font-size: 1.45rem;
    }
}

@media (max-width: 575.98px) {
    .site-header .navbar-brand {
        font-size: 1.2rem;
    }
}

.site-header .navbar-nav .nav-link {
    color: #dce3ef;
    font-family: inherit;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.2s, transform 0.2s;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hamburger icon */
.site-header .navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.25rem;
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

.site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23253993'%3e%3cpath d='M3 13h18c0.552 0 1-0.448 1-1s-0.448-1-1-1h-18c-0.552 0-1 0.448-1 1s0.448 1 1 1zM3 7h18c0.552 0 1-0.448 1-1s-0.448-1-1-1h-18c-0.552 0-1 0.448-1 1s0.448 1 1 1zM3 19h18c0.552 0 1-0.448 1-1s-0.448-1-1-1h-18c-0.552 0-1 0.448-1 1s0.448 1 1 1z'/%3e%3c/svg%3e");
}

/* Mobile nav background */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        background: var(--whip-white);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}

/* --- CTA Button --- */
.btn-cta {
    color: var(--whip-white);
    background-color: var(--whip-cta);
    border: 3px solid var(--whip-white);
    border-radius: 20px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.5rem;
    line-height: 1;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-cta:hover, .btn-cta:focus {
    color: var(--whip-cta);
    background-color: var(--whip-white);
    border-color: var(--whip-cta);
}

/* --- Outline Button (used in page content) --- */
.btn-whip {
    color: var(--whip-primary);
    background-color: transparent;
    border: 2px solid var(--whip-primary);
    border-radius: 0;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    line-height: 1;
    transition: all 0.2s;
}

.btn-whip:hover, .btn-whip:focus {
    color: var(--whip-white);
    background-color: var(--whip-primary);
    border-color: var(--whip-primary);
}

/* --- Footer --- */
.site-footer {
    background: linear-gradient(90deg, var(--whip-primary) 0%, var(--whip-cta) 100%);
    color: var(--whip-white);
    min-height: 60px;
    padding: 1.2rem 0;
}

.site-footer p {
    margin: 0;
    color: var(--whip-white);
}

.site-footer a {
    color: var(--whip-white);
    margin: 0 0.75rem;
}

.site-footer a:hover {
    color: var(--whip-white);
    text-decoration: underline;
}

.footer-subtext {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--whip-primary) 0%, var(--whip-cta) 100%);
    padding-top: 170px; /* create extra breathing room below the header */
    padding-bottom: 4.5rem;
    text-align: center;
}

.how-it-works-page {
    padding-top: 170px;
    padding-bottom: 5rem;
    text-align: left;
}

.how-it-works-page .hero-subtitle {
    max-width: 620px;
    margin-left: 0;
    text-align: left;
}

.how-it-works-page .hero-actions {
    justify-content: flex-start;
}

.how-it-works-page .hero-section {
    background: transparent;
}

.how-it-works-steps {
    display: grid;
    gap: 1rem;
}

.how-step-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    padding: 1.35rem 1.25rem;
    color: rgba(255,255,255,0.95);
    text-align: left;
}

.how-step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.55rem;
    color: var(--whip-white);
    text-transform: none;
}

.how-step-card p {
    margin-bottom: 0;
}

.home-steps-section {
    background: transparent;
    padding: 0 0 4.5rem;
    color: var(--whip-white);
    margin-top: 0;
}

body.home-page,
body.home-page .home-page-shell,
body.home-page .hero-section {
    background: linear-gradient(135deg, var(--whip-primary) 0%, var(--whip-cta) 100%) !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.home-page .content-section,
body.home-page .content-section.home-steps-section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.home-page {
    min-height: 100vh;
}

.home-page-shell {
    padding-bottom: 0;
}

.section-kicker {
    color: var(--whip-accent) !important;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1.08rem;
    color: rgba(247, 250, 255, 0.95) !important;
    line-height: 1.7;
}

.home-steps-section h2 {
    color: var(--whip-white) !important;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.12;
    text-transform: none;
    letter-spacing: -0.02em;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.home-steps-intro {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.home-step-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.home-step-card-flow {
    background: transparent;
    border: 0;
    padding: 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100%;
}

.home-step-card-flow p {
    max-width: 19rem;
    margin-left: auto;
    margin-right: auto;
}

.home-step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--whip-white);
    text-transform: none;
    letter-spacing: -0.01em;
    text-align: center;
}

.home-step-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.05rem;
}

@media (min-width: 992px) {
    .home-step-arrow {
        transform: translateY(10px);
    }
}

.home-step-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--whip-cta) 0%, var(--whip-primary) 100%);
    color: var(--whip-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.home-step-note-bar {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    color: #f7faff;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 600;
    padding: 0.95rem 1.25rem;
}

.hero-spotlight {
    position: relative;
    overflow: hidden;
}

.hero-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 35%);
    pointer-events: none;
}

.hero-section h1 {
    color: var(--whip-white);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: none;
}

.hero-price-highlight {
    color: var(--whip-accent);
    font-weight: 700;
    display: inline-block;
}

.hero-section .hero-subtitle {
    color: rgba(247, 250, 255, 0.95);
    font-size: 1.08rem;
    margin-bottom: 1.75em;
    max-width: 660px;
}

.wizard-hero {
    text-align: center;
}

.wizard-step-label {
    color: var(--whip-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-eyebrow {
    color: var(--whip-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: flex-start;
    align-items: center;
}

.hero-secondary-btn {
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--whip-white);
    background: transparent;
    border-radius: 999px;
}

.hero-secondary-btn:hover,
.hero-secondary-btn:focus {
    color: var(--whip-primary);
    background-color: var(--whip-white);
    border-color: var(--whip-white);
}

.hero-car-img {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    filter: drop-shadow(0 18px 35px rgba(7, 18, 49, 0.28));
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 150px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-section .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-bottom: 3rem;
    }

    .hero-section h1 {
        font-size: 2.1rem;
    }

    .hero-car-img {
        max-height: 310px;
    }
}

.hero-section .hero-car-img {
    max-width: 100%;
    height: auto;
}

.contact-hero {
    padding-bottom: 8rem;
}

.contact-form-overlay {
    background: transparent;
    margin-top: -6rem;
    padding: 0 0 2rem;
    position: relative;
    z-index: 2;
}

.contact-split-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 150px 0 3rem;
}

.contact-split-image {
    width: 100%;
    max-width: 560px;
    height: auto;
}

.contact-split-title {
    color: var(--whip-text);
}

.hero-heading {
    color: var(--whip-text);
    font-size: 3em;
}

.hero-extra-top {
    padding-top: 10rem;
}

.hero-subheading {
    color: var(--whip-text);
    text-transform: none;
}

.content-section.privacy-page {
    padding-top: 17rem;
}

/* --- Icon Boxes (Who We Are, How It Works, Login) --- */
.icon-boxes {
    padding: 2rem 0;
}

.icon-box {
    text-align: center;
    padding: 1.5rem;
}

.icon-box i {
    font-size: 2rem;
    color: var(--whip-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.icon-box h5 {
    text-transform: capitalize;
}

.icon-box h5 a {
    color: var(--whip-heading);
}

.icon-box h5 a:hover {
    color: var(--whip-primary);
}

/* --- Content Sections --- */
.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    color: var(--whip-text);
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--whip-cta);
    border: none;
    margin: 0.5rem 0 1.5rem;
}

/* --- Vehicle Cards (Current Specials) --- */
.vehicle-card {
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.vehicle-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.vehicle-card h2 {
    font-size: 1.5em;
}

.vehicle-card h2 a {
    color: var(--whip-heading);
}

.vehicle-card h2 a:hover {
    color: var(--whip-primary);
}

.vehicle-card .price {
    color: var(--whip-text);
    font-size: 1rem;
    margin-top: auto;
}

/* --- Wizard Cards --- */
.wizard-card {
    display: block;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s;
    color: var(--whip-heading);
    text-decoration: none;
    height: 100%;
}

.wizard-card:hover {
    border-color: var(--whip-cta);
    box-shadow: 0 4px 12px rgba(57, 147, 225, 0.15);
    color: var(--whip-heading);
    transform: translateY(-2px);
}

.wizard-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.wizard-card-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.wizard-card-img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.wizard-card h5 {
    margin-bottom: 0.25rem;
}

/* --- Trim Cards --- */
.trim-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.trim-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.trim-card-header {
    background-color: var(--whip-text);
    color: var(--whip-white);
    padding: 1rem 1.25rem;
    text-align: center;
}

.trim-card-header h5 {
    color: var(--whip-white);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.trim-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.trim-card-body {
    padding: 1.25rem;
    flex: 1;
}

.trim-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trim-specs li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--whip-text);
    font-size: 0.9rem;
}

.trim-specs li:last-child {
    border-bottom: none;
}

.trim-specs li i {
    width: 24px;
    color: var(--whip-cta);
    margin-right: 0.5rem;
}

.trim-saving {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.trim-saving-amount {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1b5e20;
}

.trim-card-footer {
    padding: 1rem 1.25rem;
}

/* --- Background Hero: text left, image right --- */
.hero-bg-left {
    background: linear-gradient(110deg, #F9FAFF 56%, rgba(255, 255, 255, 0.64) 56%),
                url('/images/site/about-bg.jpg') center/cover no-repeat;
    text-align: left;
}

.hero-bg-left h1,
.hero-bg-left p {
    max-width: 50%;
}

.hero-bg-left .section-divider {
    margin-left: 0;
}

/* --- Background Hero: text right, image left --- */
.hero-bg-right {
    background: linear-gradient(290deg, #F9FAFF 56%, rgba(255, 255, 255, 0.64) 56%),
                url('/images/site/about-bg.jpg') center/cover no-repeat;
    text-align: right;
}

.hero-bg-right h2,
.hero-bg-right h6,
.hero-bg-right p {
    max-width: 50%;
    margin-left: auto;
    margin-right: 0;
}

.hero-bg-right .section-divider {
    margin-left: auto;
    margin-right: 0;
}

/* --- Background Hero: dark overlay, text right --- */
.hero-dark-right {
    background: linear-gradient(290deg, var(--whip-primary) 60%, rgba(255, 255, 255, 0.64) 60%),
                url('/images/site/about-bg.jpg') center/cover no-repeat;
    text-align: left;
}

.hero-dark-right h2,
.hero-dark-right hr,
.hero-dark-right p {
    color: var(--whip-white);
    max-width: 50%;
    margin-left: auto;
    margin-right: 0;
}

.hero-dark-right .section-divider {
    background-color: var(--whip-white);
    margin-left: auto;
    margin-right: 0;
}

/* --- Blue Bar Section --- */
.blue-bar {
    background-color: var(--whip-cta);
    color: var(--whip-white);
    padding: 2rem 0;
}

.blue-bar .icon-box i {
    color: var(--whip-white);
}

.blue-bar .icon-box h5,
.blue-bar .icon-box h5 a,
.blue-bar h2,
.blue-bar p {
    color: var(--whip-white);
}

.blue-bar .icon-box h5 a:hover {
    color: var(--whip-heading);
}

/* --- Contact Form with car background --- */
.contact-form-bg {
    background: url('/images/site/about-bg.jpg') bottom center/cover no-repeat;
    padding: 2rem 0;
}

.contact-form-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid #dfeaff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(15, 29, 84, 0.08);
    padding: 2rem;
}

.contact-hero {
    padding: 160px 0 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(15, 29, 84, 0.96) 0%, rgba(47, 109, 235, 0.92) 100%), url('/images/site/about-bg.jpg') center/cover no-repeat;
    color: var(--whip-white);
}

.contact-hero .section-kicker,
.contact-hero h1,
.contact-hero .hero-subtitle {
    color: var(--whip-white);
}

.contact-hero .section-kicker,
.contact-hero h1,
.contact-hero .hero-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.contact-hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(3, 13, 51, 0.28);
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-hero-card h3 {
    color: var(--whip-white);
    margin-bottom: 1rem;
}

.contact-hero-card .contact-detail-list {
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.contact-hero-card .contact-detail-list li {
    color: rgba(255, 255, 255, 0.96);
}

.contact-hero-card .contact-detail-list i {
    color: var(--whip-accent);
}

.contact-form-section {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
    background: linear-gradient(135deg, rgba(15, 29, 84, 0.96) 0%, rgba(47, 109, 235, 0.94) 100%);
}

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 29, 84, 0.96) 0%, rgba(47, 109, 235, 0.94) 100%), url('/images/site/about-bg.jpg') center/cover no-repeat;
}

.auth-page .site-header {
    position: relative;
}

.auth-page .site-header .navbar {
    background: linear-gradient(90deg, rgba(15, 29, 84, 0.99) 0%, rgba(47, 109, 235, 0.97) 100%);
    box-shadow: 0 10px 30px rgba(3, 13, 51, 0.22);
    padding: 0.45rem 0;
}

.auth-page .site-header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95);
}

.auth-page .site-header .navbar-nav .nav-link:hover,
.auth-page .site-header .navbar-nav .nav-link.active {
    color: var(--whip-accent);
}

.auth-page .site-header .navbar-brand {
    font-size: 1.65rem;
    color: #ffffff;
}

.auth-brand-block {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 2.2vw, 1.7rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
    padding: 0;
}

.auth-brand-block .brand-word-whip {
    color: #ffffff;
}

.auth-brand-block .brand-word-cars {
    color: var(--whip-accent);
}

.auth-page .site-header .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.auth-shell {
    min-height: 100vh;
    padding: 8rem 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-shell .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.auth-card {
    display: block;
    width: min(100%, 620px);
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(15, 29, 84, 0.98) 0%, rgba(47, 109, 235, 0.95) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 45px rgba(3, 13, 51, 0.24);
    padding: 2rem;
    backdrop-filter: blur(8px);
    text-align: center;
    color: #ffffff;
}

.auth-card form {
    text-align: left;
}

.auth-card-wide {
    width: min(100%, 860px);
}

.auth-card .logo-img {
    max-width: 220px;
    height: auto;
}

.auth-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
}

.auth-title {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auth-copy {
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.auth-card h6 {
    color: #ffffff;
}

.auth-card .form-label,
.auth-card .form-check-label,
.auth-card .form-text {
    color: #ffffff;
}

.auth-card .auth-divider,
.auth-card .alert-danger,
.auth-card .text-danger,
.auth-card .small,
.auth-card p,
.auth-card label,
.auth-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.92);
}

.auth-card .alert-danger {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-card hr {
    border-color: rgba(47, 109, 235, 0.2);
}

.auth-card .form-control,
.auth-card .form-select {
    border-radius: 12px;
    border: 1px solid #dce6f7;
    padding: 0.75rem 0.9rem;
}

.auth-card .form-control:focus,
.auth-card .form-select:focus {
    border-color: var(--whip-cta);
    box-shadow: 0 0 0 0.2rem rgba(47, 109, 235, 0.18);
}

.auth-card .btn-primary {
    border-radius: 999px;
    border: none;
    padding: 0.8rem 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, var(--whip-cta) 0%, #3993e1 100%);
}

.auth-card .btn-outline-secondary {
    border-radius: 999px;
    padding: 0.8rem 1rem;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.auth-card .btn-outline-secondary:hover,
.auth-card .btn-outline-secondary:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.65);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #222;
    font-weight: 600;
    background: #fff;
    margin-bottom: 0.5rem;
}

.btn-google:hover {
    background: #f6f7fb;
    color: #222;
}

.auth-divider {
    text-align: center;
    color: #808285;
    margin: 1rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-footer-link {
    color: var(--whip-primary);
    font-weight: 600;
}

.auth-footer-link:hover {
    color: var(--whip-cta);
}

.make-dropdown-menu {
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    padding: 0.5rem 0.75rem;
}

.auth-card .make-dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #d8e3f5;
}

.auth-card .make-dropdown-menu .form-check-label {
    color: #0f1d54 !important;
    font-weight: 600;
}

.auth-card .make-dropdown-menu .dealer-make-label {
    color: #0f1d54 !important;
    opacity: 1;
}

.auth-card .make-dropdown-menu .form-check-input {
    border-color: #9fb4d8;
}

.make-dropdown-menu .form-check {
    margin-bottom: 0.35rem;
}

.make-dropdown-menu .form-check:last-child {
    margin-bottom: 0;
}

.selected-makes-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.selected-makes-chips .make-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(57, 147, 225, 0.14);
    color: #1f4f7a;
    font-size: 0.8rem;
    line-height: 1.2;
}

.selected-makes-chips .make-chip button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    line-height: 1;
}

.selected-makes-empty {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.contact-info-card,
.quote-summary-card,
.quote-form-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid #dfeaff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(15, 29, 84, 0.08);
}

.contact-info-card {
    padding: 2rem;
    height: 100%;
}

.contact-info-card h3,
.quote-form-header h2 {
    margin-bottom: 0.75rem;
    color: var(--whip-heading);
}

.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-detail-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    color: var(--whip-text);
}

.contact-detail-list i {
    color: var(--whip-cta);
    margin-top: 0.2rem;
}

.quote-flow-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.quote-summary-card {
    overflow: hidden;
}

.quote-summary-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.quote-summary-body {
    padding: 1.5rem;
}

.quote-summary-table th {
    width: 40%;
    color: var(--whip-heading);
}

.quote-price {
    color: var(--whip-cta);
    font-weight: 700;
}

.quote-form-card {
    padding: 2rem;
}

.quote-form-header {
    margin-bottom: 1.25rem;
}

.quote-auth-card,
.quote-account-card {
    background: #f7faff;
    border: 1px solid #dfeaff;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.form-control {
    border-radius: 12px;
    border-color: #d8e3f5;
}

.form-control:focus {
    border-color: var(--whip-cta);
    box-shadow: 0 0 0 0.2rem rgba(47, 109, 235, 0.15);
}

/* --- Background Hero responsive --- */
@media (max-width: 768px) {
    .hero-bg-left h1,
    .hero-bg-left p {
        max-width: 100%;
    }

    .hero-bg-left {
        background: linear-gradient(180deg, #F9FAFF 60%, rgba(255, 255, 255, 0.64) 100%),
                    url('/images/site/about-bg.jpg') center/cover no-repeat;
        text-align: center;
    }

    .hero-bg-left .section-divider {
        margin-left: auto;
    }

    .hero-bg-right {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, #F9FAFF 60%),
                    url('/images/site/about-bg.jpg') center/cover no-repeat;
        text-align: center;
    }

    .hero-bg-right h2,
    .hero-bg-right h6,
    .hero-bg-right p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-bg-right .section-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-hero {
        padding-bottom: 6rem;
    }

    .contact-form-overlay {
        margin-top: -4rem;
        padding-bottom: 1.5rem;
    }

    .contact-split-section {
        padding-top: 130px;
    }

    .contact-split-image {
        max-width: 420px;
    }

    .hero-dark-right {
        background: linear-gradient(180deg, rgba(37, 57, 147, 0.9) 0%, var(--whip-primary) 100%),
                    url('/images/site/about-bg.jpg') center/cover no-repeat;
        text-align: center;
    }

    .hero-dark-right h2,
    .hero-dark-right hr,
    .hero-dark-right p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-dark-right .section-divider {
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Form Inputs --- */
input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    border-color: var(--whip-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 57, 147, 0.15);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    html {
        font-size: 91.2%;
    }

    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.6em; }
    h4 { font-size: 1.4em; }

    .hero-section {
        padding-top: 120px;
    }

    .content-section.privacy-page {
        padding-top: 12rem;
    }
}

@media (max-width: 544px) {
    .site-footer .text-md-start,
    .site-footer .text-md-end {
        text-align: center !important;
    }
}

/* --- PWA Install Banner (fixed bottom toast — clears the absolutely-positioned header) --- */
.install-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: var(--whip-primary);
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.install-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
}

.install-banner-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.install-banner-text {
    flex: 1 1 auto;
    line-height: 1.3;
}

.install-banner-btn {
    flex-shrink: 0;
    font-weight: 600;
}

.install-banner-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 0.25rem;
    cursor: pointer;
    opacity: 0.85;
}

.install-banner-close:hover {
    opacity: 1;
}
