/* =============================================
   ReliableAutoQuotes.com - Main Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
/* 
   All theme variables have been moved to css/custom.css
   This ensures the theme switcher works correctly.
   If custom.css fails to load, fallback colors are used below.
*/

:root {

    --f-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-display: 'Sora', 'Plus Jakarta Sans', sans-serif;

 /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

:root {
    /* Core Palette: Value & Protection (Solid Blue & Leaf Green) */
    
    /* Primary: Solid Blue (#10427A) - Shielding & Cost-Effective */
    --c-primary: #10427A;
    --c-primary-light: #185DA8; 
    
    /* Accent: Bright Leaf Green (#51A83E) - Drive & Savings */
    --c-accent: #51A83E;
    --c-accent-light: #6BD054; /* Lightened for hover states */
    --c-accent-dark: #3E852E;  /* Darkened for active states */

    /* Highlight: Bright Lime */
    --c-highlight: #84E170;
    --c-highlight-dark: #4ADE80;

    /* Utility Colors */
    --c-warm: #F59E0B; /* Amber */
    --c-danger: #EF4444; /* Clean Red */

    /* Backgrounds: Crisp pure white and subtle cool-slate tints */
    --c-bg: #FFFFFF;
    --c-bg-dark: #F8FAFC; 

    /* Base Colors */
    --c-white: #FFFFFF;
    --c-black: #08213D; /* Extremely dark blue */

    /* Grayscale */
    --c-gray-100: #F1F5F9;
    --c-gray-200: #E2E8F0;
    --c-gray-300: #CBD5E1;
    --c-gray-400: #94A3B8;
    --c-gray-500: #64748B;
    --c-gray-600: #475569;

    /* Text Colors */
    --c-text: #0F172A;
    --c-text-light: #475569;

    /* Shadows (Tinted with Blue) */
    --shadow-sm: 0 1px 2px rgba(16, 66, 122, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(16, 66, 122, 0.06), 0 2px 4px -2px rgba(16, 66, 122, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(16, 66, 122, 0.08), 0 4px 6px -4px rgba(16, 66, 122, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(16, 66, 122, 0.1), 0 8px 10px -6px rgba(16, 66, 122, 0.04);
    --shadow-glow: 0 0 25px rgba(81, 168, 62, 0.35); /* Glow uses Leaf Green */

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* RGB channels for rgba() transparency */
    --c-primary-rgb: 16, 66, 122;      /* #10427A */
    --c-primary-light-rgb: 24, 93, 168;  /* #185DA8 */
    --c-accent-rgb: 81, 168, 62;       /* #51A83E */
    --c-highlight-rgb: 132, 225, 112;  /* #84E170 */

    /* Footer & Gradients */
    --c-footer-bg: #F8FAFC; 
    --c-title-gradient-end: #51A83E; /* Fades smoothly from Blue to Green */

    /* Success Backgrounds */
    --c-success-bg-1: #F0FDF4;
    --c-success-bg-2: #DCFCE7;
    --c-success-bg-3: #51A83E;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    /*max-width: 100%;*/
    height: auto;
    display: block;
}

a {
    color: var(--c-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--c-accent-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.required {
    color: var(--c-danger);
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /*background: rgba(10, 38, 71, 0.95);*/
    background: var(--c-gray-100, #ECFDF5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    background:var(--c-gray-100, #ECFDF5);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    font-size: 28px;
}

.logo-main {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.logo-dot {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-highlight);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    /*color: rgba(255,255,255,0.8);*/
    color: #3b4c8a;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}
/*.nav-links.active> .nav-link.active{*/
/*    color:#ffffff !important;        */
/*}*/

}
.nav-link:hover, .nav-link.active {
    color: #3b4c8a;
    background: rgba(255,255,255,0.1);
}

.nav-link i {
    font-size: 12px;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-highlight);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-decoration: none;
}

.nav-cta-btn:hover {
    background: var(--c-highlight-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,196,140,0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: #3B4B8A;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero--form {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    
    background:#00000087;
        
    z-index: 1;
}

.hero__overlay--form {
    background: linear-gradient(
        135deg,
        rgba(10, 38, 71, 0.95) 0%,
        rgba(20, 66, 114, 0.9) 100%
    );
}

.hero__road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 2;
    overflow: hidden;
}

.road-line {
    position: absolute;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}

.road-line--1 { bottom: 40px; left: 10%; right: 10%; }
.road-line--2 { bottom: 25px; left: 5%; right: 5%; }
.road-line--3 { bottom: 10px; left: 0; right: 0; }

/* Infographic Floats */
.hero__infographics {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.info-float {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
    pointer-events: auto;
}

.info-float strong {
    color: var(--c-highlight);
    font-size: 18px;
}

.info-float__icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-float--1 { top: 20%; left: 5%; animation-delay: 0s; }
.info-float--2 { top: 15%; right: 5%; animation-delay: 1.5s; }
.info-float--3 { bottom: 25%; left: 8%; animation-delay: 3s; }
.info-float--4 { bottom: 20%; right: 8%; animation-delay: 4.5s; }

/* Hero Content */
.hero__center {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1065px;
    padding: 0 20px;
}

.hero__content {
    text-align: center;
    color: white;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 196, 140, 0.15);
    border: 1px solid rgba(0, 196, 140, 0.4);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-highlight);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--c-highlight);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero__title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--c-highlight), #4ADE80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__location {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.location-pin {
    margin-right: 4px;
}

/* ZIP Form */
.hero__zip-form {
    max-width: 500px;
    margin: 0 auto 24px;
}

.zip-form__wrapper {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 2px solid transparent;
}

.zip-form__wrapper:focus-within {
    border-color: var(--c-highlight);
    box-shadow: var(--shadow-glow);
}

.zip-form__wrapper.has-error {
    border-color: var(--c-danger);
}

.zip-form__icon {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: var(--c-gray-400);
    font-size: 18px;
}

.zip-form__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 0;
    font-size: 18px;
    font-family: var(--f-primary);
    color: var(--c-text);
    background: transparent;
    letter-spacing: 2px;
    font-weight: 600;
}

.zip-form__input::placeholder {
    color: var(--c-gray-400);
    letter-spacing: 0;
    font-weight: 400;
}

.zip-form__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-highlight);
    color: white;
    border: none;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--f-primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.zip-form__btn:hover {
    background: var(--c-highlight-dark);
}

.btn-loading { display: none; }
.zip-form__btn.loading .btn-text,
.zip-form__btn.loading .btn-icon { display: none; }
.zip-form__btn.loading .btn-loading { display: inline-block; }

.zip-form__error {
    color: #FCA5A5;
    font-size: 14px;
    margin-top: 8px;
    animation: fadeIn 0.3s ease;
}

.zip-form__info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Trust Indicators */
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.trust-item:hover {
    opacity: 0.8;
}

.trust-item img {
    height: 28px;
    width: auto;
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.hero__scroll-indicator i {
    font-size: 16px;
}

/* ---- Sections General ---- */
.section {
    padding: 40px 0;
}

.section__header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section__badge {
    display: inline-block;
    background: rgba(44, 116, 179, 0.1);
    color: var(--c-accent);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--c-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 18px;
    color: var(--c-gray-500);
    line-height: 1.6;
}

.text-left { text-align: left; }

/* ---- Steps Grid ---- */
.section--how {
    background: var(--c-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.step-card {
    background: var(--c-bg);
    border: 1px solid var(--c-gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-accent-light);
}

.step-card__number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-accent);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-card__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.step-card__title {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--c-primary);
}

.step-card__desc {
    color: var(--c-gray-500);
    font-size: 15px;
    line-height: 1.6;
}

.step-card__connector {
    display: none;
}

/* ---- Benefits Grid ---- */
.section--benefits {
    background: var(--c-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--c-gray-200);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--c-highlight);
}

.benefit-card__icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(0, 196, 140, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-card__emoji {
    font-size: 28px;
}

.benefit-card__title {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 10px;
}

.benefit-card__desc {
    color: var(--c-gray-500);
    font-size: 14px;
    line-height: 1.6;
}

/* ---- Stats Section ---- */
.section--stats {
    background: var(--c-primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: white;
}

.stat-item__icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.stat-item__number {
    font-family: var(--f-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--c-highlight);
    margin-bottom: 8px;
}

.stat-item__label {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 500;
}

/* ---- Compare Section ---- */
.compare-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.compare-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.compare-image {
    position: relative;
}

.compare-image__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--c-accent);;
    color: white;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 18px;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.compare-text {
    color: var(--c-gray-600);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.compare-list {
    list-style: none;
    margin-bottom: 32px;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--c-gray-600);
}

.list-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.compare-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-highlight);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 16px;
    transition: var(--transition);
}

.compare-cta:hover {
    background: #00C48C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 116, 179, 0.4);
}

/* ---- Testimonials ---- */
.section--testimonials {
    background: var(--c-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--c-gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-card__stars {
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-gray-600);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--c-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.testimonial-card__author strong {
    display: block;
    color: var(--c-primary);
    font-size: 15px;
}

.testimonial-card__author span {
    font-size: 13px;
    color: var(--c-gray-400);
}

/* ---- CTA Section ---- */
.section--cta {
    padding: 80px 0;
}

.cta-wrapper {
    position: relative;
    background: var(--c-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg-img {
    position: absolute;
    inset: 0;
}

.cta-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,38,71,0.9), rgba(20,66,114,0.8));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    color: white;
    max-width: 600px;
}

.cta-title {
    font-family: var(--f-display);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-highlight);
    color: white;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 18px;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--c-highlight-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,196,140,0.4);
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.7;
}

/* CTA ZIP Form ) */
.cta-zip-form {
    max-width: 460px;
    margin: 0 auto;
}

.cta-zip-form__wrapper {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-zip-form__wrapper:focus-within {
    border-color: var(--c-highlight);
    box-shadow: var(--shadow-glow);
}

.cta-zip-form__icon {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: var(--c-gray-400);
    font-size: 18px;
}

.cta-zip-form__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 0;
    font-size: 17px;
    font-family: var(--f-primary);
    color: var(--c-text);
    background: transparent;
    letter-spacing: 2px;
    font-weight: 600;
}

.cta-zip-form__input::placeholder {
    color: var(--c-gray-400);
    letter-spacing: 0;
    font-weight: 400;
}

.cta-zip-form__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-highlight);
    color: white;
    border: none;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--f-primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-zip-form__btn:hover {
    background: var(--c-highlight-dark);
}

.cta-zip-form__btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 640px) {
    .cta-zip-form__wrapper {
        flex-direction: column;
        padding: 6px;
        gap: 6px;
        border-radius: 16px;
    }
    .cta-zip-form__icon { display: none; }
    .cta-zip-form__input {
        width: 100%;
        text-align: center;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
    }
    .cta-zip-form__btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-radius: 12px;
    }
}

/* ---- FAQ Section ---- */
.section--faq {
    background: var(--c-bg);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: var(--c-white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--c-gray-200);
    overflow: hidden;
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-primary);
    cursor: pointer;
    text-align: left;
    font-family: var(--f-primary);
}

.faq-item__question i {
    transition: var(--transition);
    color: var(--c-highlight);
}

.faq-item.active .faq-item__question i {
    transform: rotate(45deg);
    color: var(--c-accent);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-item__answer p {
    color: var(--c-gray-600);
    line-height: 1.7;
    font-size: 15px;
}

/* ---- Success Page ---- */
.section--success {
    min-height: 100vh;
    padding-top: 120px;
    background: linear-gradient(135deg, #F0F9FF 0%, #ECFDF5 50%, #F0FDF4 100%);
}

.success-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.success-header {
    text-align: center;
    margin-bottom: 48px;
}

.success-confetti {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounceIn 0.8s ease;
}

.success-title {
    font-family: var(--f-display);
    font-size: 52px;
    font-weight: 900;
    color: var(--c-highlight-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.success-subtitle {
    font-size: 22px;
    color: var(--c-gray-600);
    font-weight: 500;
    margin-bottom: 16px;
}

.success-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    color: var(--c-gray-500);
    box-shadow: var(--shadow-sm);
}

.success-location i {
    color: var(--c-accent);
}

.success-location strong {
    color: var(--c-text);
}

/* Quote Cards */
.quote-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.quote-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--c-gray-200);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.quote-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.quote-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #F8FAFC, #F1F5F9);
    border-bottom: 1px solid var(--c-gray-200);
}

.quote-card__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-card__logo-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-sm);
}

.quote-card__logo h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 2px;
}

.quote-card__tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-accent);
    background: rgba(44, 116, 179, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quote-card__savings {
    text-align: center;
    background: linear-gradient(135deg, #00C48C, #00A676);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    min-width: 100px;
}

.savings-percent {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.savings-label {
    display: block;
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quote-card__body {
    padding: 24px;
}

.quote-card__body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 16px;
}

.quote-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quote-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--c-gray-600);
}

.quote-card__features li i {
    color: var(--c-highlight);
    font-size: 14px;
    flex-shrink: 0;
}

.quote-card__footer {
    padding: 20px 24px;
    border-top: 1px solid var(--c-gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FAFAFA;
}

.quote-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-accent);
    color: white;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(44, 116, 179, 0.3);
}

.quote-card__btn:hover {
    background: var(--c-accent-light);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(44, 116, 179, 0.4);
}

.quote-card__btn--secondary {
    background: #4F46E5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.quote-card__btn--secondary:hover {
    background: #4338CA;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.quote-card__btn--accent {
    background: var(--c-highlight);
    box-shadow: 0 4px 12px rgba(0, 196, 140, 0.3);
}

.quote-card__btn--accent:hover {
    background: var(--c-highlight-dark);
    box-shadow: 0 6px 16px rgba(0, 196, 140, 0.4);
}

.quote-card__btn i {
    font-size: 12px;
}

.quote-card__url {
    font-size: 13px;
    color: var(--c-gray-400);
    font-style: italic;
}

/* Next Steps */
.success-next-steps {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--c-gray-200);
    margin-bottom: 32px;
}

.success-next-steps h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.next-step {
    display: flex;
    gap: 12px;
}

.next-step__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.next-step strong {
    display: block;
    font-size: 15px;
    color: var(--c-primary);
    margin-bottom: 4px;
}

.next-step p {
    font-size: 13px;
    color: var(--c-gray-500);
    line-height: 1.5;
}

.success-reference {
    background: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    color: var(--c-gray-400);
    margin-bottom: 24px;
    border: 1px dashed var(--c-gray-200);
}

.success-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-gray-500);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.success-home-btn:hover {
    color: var(--c-accent);
}

/* ---- Footer ---- */
.site-footer {
    background: #050E1A;
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-main { color: white; }
.footer-logo .logo-dot { color: var(--c-highlight); }

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--c-accent);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer-disclaimer {
    margin-top: 12px;
    opacity: 0.5;
    font-size: 12px;
}

.footer-disclaimer a {
    color: var(--c-highlight);
}




/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta-btn { display: none; }
    .mobile-toggle { display: flex; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background:#ffffff;
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero__infographics { display: none; }
    
    .steps-grid, .benefits-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-wrapper {
        grid-template-columns: 1fr;
    }
    
    .compare-image { order: -1; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .zip-form__wrapper {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }
    
    .zip-form__btn {
        justify-content: center;
        padding: 16px;
        border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
    }
    
    /* Success page responsive */
    .success-title { font-size: 36px; }
    .success-subtitle { font-size: 18px; }
    .quote-card__header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .next-steps-grid { grid-template-columns: 1fr; }
    .quote-card__footer { flex-direction: column; gap: 12px; align-items: stretch; }
    .quote-card__btn { justify-content: center; }
    .quote-card__url { text-align: center; }
}


/* ---- Logo Image Styles ---- */
.logo-img {
    height: 70px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-logo-img:hover {
    opacity: 1;
}

/* Fallback if image doesn't load */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    min-height: 40px;
}

/* ---- Trust Bar Logo Styles ---- */
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    min-width: 80px;
}

.trust-item:hover {
    opacity: 0.8;
}

.trust-item img {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* Text fallback when image fails */
.trust-text-fallback {
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.sb-card__header > .sk-ic--inline , .sb-cta__icon > .sk-ic--inline {
    filter: brightness(0) invert(1);
}



@media (max-width: 768px) {
    .hero__trust {
        flex-wrap: wrap;
        gap: 20px;
    }
    .trust-item {
        min-width: 60px;
    }
    .trust-item img {
        height: 22px;
    }
    .trust-text-fallback {
        font-size: 13px;
    }
}

/* ---- Mobile polish: hero ZIP form, trust bar, rating stars ---- */
@media (max-width: 640px) {
    .hero__location { font-size: 15px; }

    .hero__zip-form { max-width: 100%; }
    .zip-form__wrapper {
        flex-direction: column;
        padding: 6px;
        gap: 6px;
        border-radius: 16px;
    }
    /* the lone pin icon row looks odd when stacked — hide it; placeholder is clear */
    .zip-form__icon { display: none; }
    .zip-form__input {
        width: 100%;
        text-align: center;
        padding: 14px 16px;
        font-size: 16px; /* >=16px avoids iOS zoom-on-focus */
        border-radius: 12px;
    }
    .zip-form__btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-radius: 12px;
    }

    .hero__trust { gap: 12px 22px; padding: 16px 0; }
    .trust-text-fallback { font-size: 13px; }

    /* keep rating stars compact and inline on phones */
    .testimonial-card__stars .sk-ic--inline { height: 18px; }
}

    

/*-------tap to call-------*/
        /* The overall button container */
        .ttc-main-containter{
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: var(--f-display);;
            margin: 0;

        }
        
        .call-button-wrapper {
            display: flex;
            align-items: center;
            text-decoration: none;
            cursor: pointer;
        }

        /* The White Circle Background */
        .icon-circle {
            width: 65px;
            height: 65px;
            background-color: #ffffff;
            border-radius: 50%; /* Makes it a perfect circle */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2; /* Keeps the white circle ON TOP of the blue bar */
            box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* Adds a slight shadow */
        }

        /* The Phone Icon */
        .phone-icon {
                width: 143px;
                height: 150px;
            animation: spin 2s linear infinite; /* Full rotation animation */
        }

        /* The Blue Text Bar */
        .button-body {
            background-color: var(--c-highlight); /* Matches the blue in image 1 */
            color: #ffffff;
            height: 44px; /* Slightly shorter than the circle */
            display: flex;
            align-items: center;
            padding: 0 20px 0 35px; /* Extra left padding to make room for the circle */
            margin-left: -20px; /* Pulls the blue bar leftward so it sits under the circle */
            border-radius: 0 8px 8px 0; /* Rounds ONLY the right corners */
            font-size: 22px;
            font-weight: 900; /* Makes the font extra bold like the image */
            letter-spacing: 0.5px;
            transition: background-color 0.2s ease;
        }

        /* Darken the blue bar when hovering */
        .call-button-wrapper:hover .button-body {
            background-color: #1e457a;
        }

        /* The Full Rotation Keyframe Animation */
        /*@keyframes spin {*/
        /*    0% { transform: rotate(0deg); }*/
        /*    100% { transform: rotate(360deg); }*/
        /*}*/