:root {
    --header-height: 52px;
}

.container,
.container-fluid,
.container-xxl,
.container-xl {
    max-width: 1280px !important;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

/* ===== HEADER ===== */
.site-header {
    background-color: #0F172A;
    padding: 8px 0;
    position: relative;
    z-index: 10;
}

.header-logo img {
    width: 100px;
    height: auto;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.header-phone .fa-phone {
    font-size: 1.5rem;
    color: #fff;
}

.phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.phone-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #fff;
}

.phone-number {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.phone-call-now {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-color: #c8bfb0;
    height: calc(100vh - var(--header-height) + 55px);
    max-height: 615px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

body:has(.quiz-overlay.open) .hero-section {
    max-height: 100vh;
}

.hero-overlay {
    width: 100%;
    padding: 48px 0 36px;
    background: transparent;
}

.hero-overlay .container {
    max-width: 1024px;
    margin: 0 auto;
}

.hero-content {
    width: 100%;
    max-width: 1024px;
    margin: auto;
}

.hero-heading {
    font-size: 47px;
    font-weight: 800;
    color: #1E293B;
    line-height: 1.15;
    margin-bottom: 10px;
}

.hero-subheading {
    font-size: 21px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0;
}

/* ===== QUIZ CARD ===== */
.quiz-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
}

.quiz-hero-text {
    padding: 28px 24px 16px;
    border-bottom: unset;
}
.quiz-inner-card {
    background: #ffffff;
    border-radius: 8px;
    margin: 16px;
    overflow: hidden;
}
.quiz-intro {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.quiz-step {
    padding: 16px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    background: #2196f3;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-question {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a1a;
}

/* ===== OPTION CARDS ===== */
.option-card {
    background: #0EA5E9;
    border: none;
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 12px;
    width: 100%;
    height: 160px;
    cursor: pointer;
    gap: 8px;
}

.icon-wrapper {
    background: #0EA5E9;
    width: 56px;
    height: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.icon-wrapper img {
    width: 32px;
    height: 32px;
}

.option-card strong {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    display: block;
}

.option-card span {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 1.35;
    display: block;
}

/* ===== BRAND LOGOS BAR ===== */
.brands-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-top: unset;
}

.brands-label,
.brands-more {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
    flex-shrink: 0;
}

.brands-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.brands-logos img {
    height: 26px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.65;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    background-color: #F8FAFC;
    padding: 64px 0;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-title {
    font-size: 30px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 10px;
}

.reviews-title .fa-star {
    color: #F59E0B;
    margin-right: 8px;
}

.reviews-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.review-card {
    background: #0EA5E9;
    border-radius: 10px;
    padding: 24px;
    height: 100%;
}

.review-author-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.review-quote {
    width: 32px;
    height: auto;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

.review-author {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.review-stars {
    color: #F59E0B;
    font-size: 13px;
    display: inline-flex;
    gap: 2px;
}

.review-location {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-top: 2px;
}

.review-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.review-body {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.55;
}

/* ===== INFO SECTION ===== */
.info-section {
    background-color: #F1F5F9;
    padding: 56px 0;
}

.info-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.info-image {
    flex: 0 0 48%;
    max-width: 48%;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 36px;
    font-weight: 800;
    color: #1E293B;
    line-height: 1.2;
    margin-bottom: 20px;
}

.info-body {
    font-size: 18px;
    font-weight: 500;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 16px;
}

.info-body--bold {
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background-color: #ffffff;
    padding: 56px 0;
}

.cta-card {
    background: rgba(4, 120, 87, 0.8);
    border-radius: 12px;
    max-width: 896px;
    margin: 0 auto;
    padding: 40px 32px;
}

.cta-header {
    text-align: center;
    margin-bottom: 28px;
}

.cta-title {
    font-size: 23px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.cta-title .fa-arrow-down {
    margin-right: 8px;
}

.cta-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

.cta-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cta-option-card {
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.cta-option-card img {
    width: 48px;
    height: 48px;
}

.cta-option-title {
    font-size: 18px;
    font-weight: 700;
    color: #064E3B;
    line-height: 1.25;
    display: block;
}

.cta-option-sub {
    font-size: 15px;
    font-weight: 500;
    color: rgba(4, 120, 87, 0.8);
    line-height: 1.4;
    display: block;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #ffffff;
    padding: 20px 0;
    border-top: 1px solid #E2E8F0;
}

.footer-text {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0;
}

.footer-text a {
    color: #0EA5E9;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* ===== QUIZ MODAL ===== */
.quiz-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.quiz-overlay.open {
    display: flex;
}

.quiz-modal-card {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.quiz-modal-progress-track {
    height: 5px;
    background: #E2E8F0;
    width: 100%;
}

.quiz-modal-progress-fill {
    height: 100%;
    background: #0EA5E9;
    width: 40%;
    transition: width 0.35s ease;
}

.quiz-form {
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.quiz-step-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.quiz-step-panel.active {
    display: flex;
}

.quiz-step-num {
    background: #0EA5E9;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.quiz-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 24px;
    line-height: 1.25;
}

.quiz-field {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.quiz-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
}

.quiz-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.quiz-input-wrap .fa-location-dot {
    padding: 0 14px;
    color: #94A3B8;
    font-size: 1rem;
    flex-shrink: 0;
}

.quiz-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: #1E293B;
}

.quiz-input::placeholder {
    color: #94A3B8;
}

.quiz-field-hint {
    display: block;
    font-size: 12px;
    color: #94A3B8;
    margin-top: 6px;
}

.quiz-next-btn {
    width: 100%;
    background: #0EA5E9;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    margin-bottom: 16px;
}

.quiz-last-step-label {
    font-size: 12px;
    font-weight: 700;
    color: #0EA5E9;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.quiz-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 0;
}

.quiz-field-row .quiz-field {
    margin-bottom: 0;
}

.quiz-legal {
    font-size: 12px;
    color: #64748B;
    text-align: center;
    line-height: 1.55;
    margin-bottom: 12px;
    margin-top: 4px;
}

.quiz-consent-link {
    color: #0EA5E9;
    text-decoration: underline;
}

.quiz-back-btn {
    background: none;
    border: none;
    color: #0EA5E9;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

/* ===== THANK YOU MODAL ===== */
.quiz-section-page {
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - var(--header-height));
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    position: relative;
    overflow: hidden;
}

.quiz-section-page::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 0;
}

.quiz-section-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 0;
}

.quiz-section-page .quiz-modal-card {
    position: relative;
    z-index: 1;
}

#section-2.active,
#section-3.active {
    display: flex;
}

/* ===== THANK YOU MODAL ===== */
.quiz-thankyou {
    padding: 48px 32px 40px;
    text-align: center;
}

.quiz-thankyou-title {
    font-size: 42px;
    font-weight: 800;
    color: #0EA5E9;
    margin-bottom: 16px;
    line-height: 1.15;
}

.quiz-thankyou-sub {
    font-size: 18px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */

/* ----- Tablet (768px – 1023px) ----- */
@media (max-width: 1023px) {
    .info-inner {
        gap: 36px;
    }

    .info-title {
        font-size: 28px;
    }

    .info-body {
        font-size: 16px;
    }

    .cta-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .reviews-grid {
        gap: 16px;
    }
}

/* ----- Mobile (≤767px) ----- */
@media (max-width: 767px) {

    /* Header */
    .phone-text {
        display: none;
    }

    .phone-call-now {
        display: inline;
        font-size: 0.95rem;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.04em;
    }

    /* Hero */
    .hero-section {
        height: calc(100vh - var(--header-height));
        min-height: unset;
        overflow: hidden;
    }

    .hero-overlay {
        padding: 20px 0;
    }

    .quiz-hero-text {
        padding: 16px 16px 10px;
    }

    .quiz-intro {
        padding: 10px 12px;
    }

    .quiz-step {
        padding: 10px 12px;
    }

    .hero-heading {
        font-size: 20px;
    }

    .hero-subheading {
        font-size: 15px;
    }

    .brands-bar {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 8px;
        padding: 10px 12px;
    }

    .brands-label,
    .brands-more {
        font-size: 13px;
    }

    .brands-logos {
        gap: 8px;
    }

    .brands-logos img {
        height: 18px;
    }

    /* Reviews */
    .reviews-section {
        padding: 40px 0;
    }

    .reviews-header {
        margin-bottom: 24px;
    }

    .reviews-title {
        font-size: 22px;
    }

    .reviews-subtitle {
        font-size: 15px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Info */
    .info-section {
        padding: 40px 0;
    }

    .info-inner {
        flex-direction: column;
        gap: 24px;
    }

    .info-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .info-title {
        font-size: 24px;
    }

    .info-body {
        font-size: 15px;
        line-height: 1.6;
    }

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

    .cta-card {
        padding: 24px 16px;
    }

    .cta-header {
        margin-bottom: 20px;
    }

    .cta-title {
        font-size: 16px;
    }

    .cta-subtitle {
        font-size: 14px;
    }

    .cta-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cta-option-card {
        padding: 16px 12px;
        gap: 8px;
    }

    .cta-option-title {
        font-size: 14px;
    }

    /* Quiz section pages (steps 2, 3) */
    .quiz-section-page {
        padding: 24px 16px;
    }

    .quiz-form {
        padding: 24px 20px 20px;
    }

    .quiz-modal-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .quiz-field-row {
        grid-template-columns: 1fr;
    }

    /* Thank You */
    .quiz-thankyou {
        padding: 36px 20px 28px;
    }

    .quiz-thankyou-title {
        font-size: 32px;
    }

    .quiz-thankyou-sub {
        font-size: 16px;
    }
    .hero-section {
        max-height: unset !important;
        height: auto !important;
    }

    .brands-bar {
        gap: 20px;
        padding: 10px 30px;
    }    
}

.custom-pac-container{
    position:absolute !important;
    z-index:99999 !important;

    display:block !important;

    background:#fff !important;

    border:1px solid #d9d9d9 !important;
    border-top:none !important;

    box-shadow:0 2px 6px rgba(0,0,0,.3) !important;

    font-family:Arial,sans-serif !important;

    overflow:hidden !important;

    box-sizing:border-box !important;
}

.custom-pac-container{
    display:block !important;
}

.custom-pac-container.is-hidden{
    display:none !important;
}

.custom-pac-container,
.custom-pac-container *{
    box-sizing:border-box !important;
}

.custom-pac-item{
    display:flex !important;

    align-items:center !important;

    width:100% !important;

    float:none !important;
    clear:both !important;

    gap:10px !important;

    padding:8px 12px !important;

    cursor:pointer !important;

    border-top:1px solid #f1f1f1 !important;

    min-height:38px !important;

    white-space:nowrap !important;
}

.custom-pac-item:hover{
    background:#f8f8f8 !important;
}

.custom-pac-icon{
    display:block !important;

    width:14px !important;
    height:18px !important;

    min-width:14px !important;

    flex:0 0 14px !important;

    float:none !important;

    opacity:.65 !important;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23858585' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E") !important;

    background-repeat:no-repeat !important;

    background-size:contain !important;
}

.custom-pac-text{
    display:flex !important;

    align-items:baseline !important;

    flex-wrap:nowrap !important;

    min-width:0 !important;

    overflow:hidden !important;

    white-space:nowrap !important;

    text-overflow:ellipsis !important;

    float:none !important;
}

.custom-pac-main{
    display:inline !important;

    font-size:13px !important;

    color:#222 !important;

    font-weight:400 !important;

    line-height:1.3 !important;

    white-space:nowrap !important;
}

.custom-pac-secondary{
    display:inline !important;

    margin-left:4px !important;

    font-size:11px !important;

    color:#8b8b8b !important;

    font-weight:400 !important;

    line-height:1.3 !important;

    white-space:nowrap !important;
}

.custom-pac-powered{
    display:block !important;

    width:100% !important;

    float:none !important;
    clear:both !important;

    height:24px !important;

    border-top:1px solid #eee !important;

    background:
        url("https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white3.png")
        no-repeat right 8px center !important;

    background-size:120px auto !important;
}

.error {
    color: red;
    font-size: 0.8em;
    display: none;
}

.error.visible {
    display: block;
}

.city-state-zip {
    font-size: 12px;
    padding: 2px 0;
}