/* ===================================
   Faircloth Roofing - Shingle PPC Landing Page
   Mobile-First Styles
   =================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Theme Colors */
    --theme-black:#000;
    --theme-black-alt:#060606;
    --theme-blue:#009;
    --theme-blue-light:#0000b4;
    --theme-blue-brand:#1927c2;
    --theme-orange:#dda003;
    --theme-white:#fff;
    --theme-cream:#f2e2c0;
    --theme-cream-light:#f8f4ec;
    --theme-cream-lighter:#f9f8f3;
    --theme-off-white:#e7e7e8;
    --theme-gray:#dddfe3;
    --theme-gray-dark:#515151;
    --theme-gray-medium:#6b6b6b;
    --theme-text:#2c2c2c;
    --theme-primary:var(--theme-black);
    --font-serif:var(--ui-ff-primary);
    --font-primary:var(--ui-ff-secondary);
    --font-secondary:var(--ui-ff-secondary);
    --font-mono:IBM Plex Mono,courier,monospace;
    --ui-text-color:#2c2c2c;
    --ui-royal-blue:#1927c2;
    --ui-primary-25:#f5f5fb;
    --ui-primary-50:#eeeef7;
    --ui-primary-100:#c4c4e3;
    --ui-primary-400:#0000b4;
    --ui-primary-500:#009;
    --ui-primary-900:#000042;
    --ui-secondary-900:#040460;
    --ui-secondary-25:#fdfbf7;
    --ui-secondary-50:#f8f4ec;
    --ui-secondary-100:#ede6d3;
    --ui-secondary-400:#f2be39;
    --ui-secondary-500:#dda003;
    --ui-accent-400:#47b8ea;
    --ui-neutral-50:#fafafa;
    --ui-neutral-75:#f5f5f5;
    --ui-neutral-100:#ececec;
    --ui-neutral-200:#d8d8d8;
    --ui-neutral-300:#dad6cd;
    --ui-neutral-400:#bbb6ae;
    --ui-neutral-500:#737373;
    --ui-neutral-600:#565656;
    --ui-light-green:#b5ddb2;
    --ui-light-yellow:#e0cc9a;
    --ui-light-red:#e5a2a5;
    --ui-accent-700:#0a5b9d;
    --ui-box-shadow:0px 0px 5px 2px hsla(0,0%,45%,.1);
    --ui-box-shadow-inset:0px 0px 32px 0px rgba(0,0,0,.04) inset;
    --ui-ff-primary:"Noto Serif",sans-serif;
    --ui-ff-secondary:"Sarabun",sans-serif;
    --ui-fs-paragraph:18px;
    --brand-primary:#1927c2;
    --brand-secondary:#dda003;
    --color-primary-text:#2c2c2c;
    --color-secondary-text:#000;
    --color-dark-bg-text:#fff;
    --color-grey-text:#666;
    --cta-hover:#040460;
    --cta-secondary:#db3700;
    --cta-secondary-hover:#d23e0d;
    --link-hover:#767676;
    --link-hoverSecondary:#0073e6;
    --color-light-grey:#f6f6f6;
    --color-mid-grey:#ededed;
    --color-alt-light-grey:#bcbcbc;
    --color-star-fill:#f6ae36;
    --color-border:#bcbcbc;
    --map-fill:#c4c4e3;
    --map-fill-hover:#0000b4;
    --tooltip-bg:#fff;
    --color-pros:#216612;
    --color-cons:#cb2027;
    --default-max-width:800px;
    --default-text-shadow:0 4px 4px rgba(0,0,0,.25);
    --default-box-shadow:0px 0px 5px 2px hsla(0,0%,45%,.1);
    --default-soft-box-shadow:2px 2px 4px rgba(95,95,95,.25);
    --default-border-radius:5px;
    --header-height: 110px;

    /* Legacy variables for rest of page */
    --primary: #1927c2;
    --primary-dark: #040460;
    --primary-light: #0000b4;
    --secondary: #db3700;
    --secondary-dark: #d23e0d;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #ececec;
    --gray-300: #d8d8d8;
    --gray-500: #737373;
    --gray-600: #565656;
    --gray-700: #374151;
    --gray-900: #2c2c2c;
    --text-color: #2c2c2c;
    --success: #10b981;
    --warning: #f59e0b;
    --font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Noto Serif', Georgia, serif;
    --container-padding: 16px;
    --section-spacing: 40px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    padding-bottom: 0;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--gray-900);
    line-height: 1.2;
}

h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-family);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Top Bar
   =================================== */
.top-bar {
    background: #1a2744;
    color: #fff;
    font-size: 0.875rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-email {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    gap: 6px;
}

.top-bar-email:hover {
    color: #d1d5db;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-badge {
    display: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .top-bar-badge {
        display: inline;
    }
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    color: #fff;
    opacity: 0.9;
}

.social-icons a:hover {
    opacity: 1;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* ===================================
   Header
   =================================== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-img {
        height: 55px;
    }
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #c41e3a;
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

@media (min-width: 768px) {
    .header-cta {
        padding: 12px 24px;
        font-size: 16px;
    }
}

.header-cta:hover {
    background: #a01830;
}

.header-cta svg {
    width: 18px;
    height: 18px;
}

/* ===================================
   Hero Section
   =================================== */
.price-hero .price-hero-wrapper,.price-hero-global-module-wrapper,.price-hero-meta .price-hero-meta-wrapper{inline-size:100%;margin:0 auto;max-inline-size:1000px;padding-inline:16px;display:flex;flex-direction:column;justify-content:center;flex:1}
@media(min-width:1025px){.price-hero .price-hero-wrapper,.price-hero-global-module-wrapper,.price-hero-meta .price-hero-meta-wrapper{padding-inline:0}}
.price-hero{font-family:Sarabun,sans-serif;padding-bottom:15px;padding-top:15px;position:relative;min-height:calc(100vh - var(--header-height));min-height:calc(100svh - var(--header-height));display:flex;flex-direction:column}
@media(min-width:768px){.price-hero{padding-bottom:25px;padding-top:25px}}
.price-hero .price-hero-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#c41e3a;border:0;color:#fff;cursor:pointer;font-family:inherit;font-size:18px;font-weight:600;gap:10px;height:56px;justify-content:center;text-decoration:unset;width:100%}
.price-hero .price-hero-button,.price-hero .price-hero-top{align-items:center;display:grid;grid-auto-flow:column}
.price-hero .price-hero-heading{font-size:26px;line-height:1.2;margin:0;color:#fff}
@media(min-width:768px){.price-hero .price-hero-heading{font-size:40px}}
.price-hero .price-hero-excerpt{font-size:16px;margin-top:15px}
.price-hero .price-hero-form{margin-top:30px;background:var(--ui-primary-50);display:grid;padding:20px 8px;text-align:center;width:100%}
@media(min-width:768px){.price-hero .price-hero-form.horizontal .price-hero-form-content{grid-auto-flow:column;max-width:540px}}
.price-hero .price-hero-form.horizontal .price-hero-button{margin:0 auto;max-width:295px}
.price-hero .price-hero-form.style-dark{--hero-form-color:var(--brand-primary);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:rgba(86,86,86,.6);color:#fff}
.price-hero .price-hero-form.style-dark .price-hero-form-disclosure,.price-hero .price-hero-form.style-dark .price-hero-form-outro{color:var(--ui-neutral-200)}
.price-hero .price-hero-form-intro{font-size:14px;margin-bottom:10px;padding:0 8px}
.price-hero .price-hero-form-content{display:grid;gap:8px;margin:0 auto;max-width:295px;width:100%}
.price-hero .price-hero-form-input-wrapper{margin:0 auto;position:relative;width:100%}
.price-hero .price-hero-form-input-wrapper svg{color:#c41e3a;right:8px;left:auto;position:absolute;top:16px}
.price-hero .price-hero-form-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:2px solid #c41e3a;font-family:inherit;font-size:18px;height:56px;text-align:center;width:100%}
.price-hero .price-hero-form-error{color:red;display:none;font-size:12px;position:absolute}
.price-hero .price-hero-form-cta-wrapper{display:grid;gap:8px}
.price-hero .price-hero-form-cta-note{font-size:14px;font-weight:700}
.price-hero .price-hero-form-outro{color:var(--ui-neutral-600);font-size:12px;margin-left:auto;margin-right:auto;margin-top:40px;max-width:590px}

/* Hero Background */
.price-hero-background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}
.price-hero-background img{height:100%;left:0;object-fit:cover;position:absolute;top:0;width:100%;z-index:-1}

/* Hero Content Dark */
.price-hero .price-hero-content{position:relative;z-index:2;text-align:center}
.price-hero .price-hero-content.dark{color:#fff}
.price-hero .price-hero-content.dark .price-hero-heading{color:#fff}

/* Hero Text Readability */
.price-hero .price-hero-heading {
    font-size: 32px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .price-hero .price-hero-heading {
        font-size: 48px;
    }
}

.price-hero .price-hero-excerpt {
    font-size: 18px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.price-hero .price-hero-excerpt p {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .price-hero .price-hero-excerpt {
        font-size: 20px;
    }
}

/* ===================================
   Cost Module
   =================================== */
.cost-module {
    background: var(--white);
    padding: 60px 0 40px;
}

.cost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .cost-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }
}

.cost-module-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 30px;
    line-height: 1.3;
    text-align: center;
}

@media (min-width: 768px) {
    .cost-module-title {
        font-size: 2.25rem;
        text-align: left;
    }
}

/* Cost Video */
.cost-video {
    margin: 24px 0 30px;
}

.cost-video img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .cost-video {
        display: none;
    }
}

/* Cost Tiers */
.cost-tiers {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cost-tier {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tier-label {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 500;
}

.tier-icons {
    color: #996600;
    font-weight: 600;
}

.tier-icons .faded {
    color: #767676;
}

.tier-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* Animated Progress Bars */
.tier-bar {
    height: 10px;
    border-radius: 5px;
    background: #e5e5e5;
    position: relative;
    overflow: hidden;
}

.tier-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #dda003;
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

.tier-bar.animated::after {
    width: var(--bar-width, 0%);
}

.cost-tier:nth-child(1) .tier-bar::after { transition-delay: 0s; }
.cost-tier:nth-child(2) .tier-bar::after { transition-delay: 0.2s; }
.cost-tier:nth-child(3) .tier-bar::after { transition-delay: 0.4s; }

/* Cost Image */
.cost-image {
    display: none;
    order: -1;
    margin-bottom: 24px;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.cost-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .cost-image {
        display: block;
        order: 0;
        margin-bottom: 0;
        margin-top: 0;
    }

    .cost-image img {
        height: 450px;
        aspect-ratio: auto;
    }
}

/* Cost Form */
.cost-form {
    margin-top: 40px;
    text-align: center;
}

.cost-form-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cost-form-row {
        flex-direction: row;
    }
}

.cost-form-input-wrapper {
    flex: 1;
    position: relative;
}

.cost-form-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #c41e3a;
}

.cost-form-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 1rem;
    border: 2px solid #c41e3a;
    border-radius: 8px;
    font-family: inherit;
}

.cost-form-error {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #c41e3a;
    font-size: 0.875rem;
    display: none;
}

.cost-form-btn {
    background: #c41e3a;
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.cost-form-btn:hover {
    background: #a01830;
}

.cost-form-note {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.cost-form-disclaimer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--gray-500);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Products Section
   =================================== */
.products-section {
    padding: 60px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.product-card {
    position: relative;
    height: 288px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
}

.product-card:hover .product-link {
    color: #c41e3a;
}

.product-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.product-card:hover .product-link svg {
    transform: translateX(4px);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.testimonials-carousel {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.3s ease;
}

.testimonials-track .testimonial-video {
    flex: 0 0 100%;
    min-width: 100%;
}

@media (min-width: 768px) {
    .testimonials-carousel {
        overflow: visible;
    }

    .testimonials-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        transform: none !important;
    }

    .testimonials-track .testimonial-video {
        flex: none;
        min-width: auto;
        width: 100%;
    }

    .carousel-btn,
    .carousel-dots {
        display: none !important;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s, box-shadow 0.2s;
}

.carousel-btn:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    color: #1a2744;
}

.carousel-btn-prev {
    left: 8px;
}

.carousel-btn-next {
    right: 8px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dots .dot.active {
    background: #c41e3a;
}

.testimonial-video {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.testimonial-video img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.testimonial-video:hover .video-overlay {
    background: rgba(0,0,0,0.4);
}

.play-button {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #1a2744;
    padding-left: 4px;
}

@media (min-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.video-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #1a2744;
    color: white;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .video-title {
        font-size: 0.9rem;
        padding: 10px 14px;
    }
}

/* ===================================
   Guarantee Section
   =================================== */
.guarantee-section {
    padding: 60px 0;
    background: var(--white);
}

.guarantee-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2744;
    text-align: center;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .guarantee-title {
        font-size: 1.75rem;
    }
}

.guarantee-content {
    max-width: 800px;
    margin: 0 auto;
}

.guarantee-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.guarantee-content p:last-child {
    margin-bottom: 0;
}

.guarantee-social {
    text-align: center;
    margin-top: 40px;
}

.guarantee-social p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.google {
    background: #4285f4;
    color: white;
}

/* ===================================
   Benefits Section with Quote Form
   =================================== */
.benefits-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.benefits-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .benefits-grid-new {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .benefits-title {
        font-size: 1.75rem;
    }
}

.benefits-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.bullet {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 2px;
    margin-top: 6px;
}

.bullet.orange { background: #e65c00; }
.bullet.yellow { background: #dda003; }
.bullet.green { background: #28a745; }
.bullet.blue { background: #007bff; }

.benefits-cta-text {
    margin-top: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a6b2d;
}

/* Quote Form Box */
.quote-form-box {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    align-self: start;
    height: fit-content;
}

.form-header-new {
    text-align: center;
    margin-bottom: 16px;
}

.form-header-new h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px;
}

.form-header-new p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.progress-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background 0.2s;
}

.progress-dots .dot.active {
    background: #c41e3a;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-field-new {
    margin-bottom: 16px;
}

.form-field-new label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.form-field-new input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field-new input:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.btn-continue, .btn-submit-new {
    width: 100%;
    background: #c41e3a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-continue:hover, .btn-submit-new:hover {
    background: #a01830;
}

.btn-back {
    width: 100%;
    background: transparent;
    color: #374151;
    padding: 12px 24px;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.btn-back:hover {
    background: #f9fafb;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 16px;
}

.security-note svg {
    color: #c41e3a;
}

.sms-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
}

.sms-consent input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    min-width: 16px;
    accent-color: #c41e3a;
}

.sms-consent label {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Form Success/Error States */
.form-success,
.form-error {
    text-align: center;
    padding: 40px 24px;
}

.form-success {
    color: #166534;
}

.form-success .success-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-success .success-icon svg {
    color: #16a34a;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.form-success p {
    color: #6b7280;
    margin-bottom: 20px;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
}

.form-error p {
    margin-bottom: 16px;
}

.form-error a {
    color: #c41e3a;
    font-weight: 600;
}

.btn-reset,
.btn-retry {
    background: transparent;
    border: none;
    color: #c41e3a;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-reset:hover,
.btn-retry:hover {
    text-decoration: underline;
}

/* Submit Button Loading State */
.btn-submit-new:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit-new.loading {
    pointer-events: none;
}

.spinner {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

.spinner-circle {
    stroke-dasharray: 63;
    stroke-dashoffset: 63;
    animation: spinner-dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes spinner-dash {
    0% { stroke-dashoffset: 63; }
    50% { stroke-dashoffset: 15; }
    100% { stroke-dashoffset: 63; }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-300);
}

.badge-item {
    background: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.badge-with-logo {
    padding: 8px 16px;
}

.badge-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.badge-with-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.google-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.google-stars .stars {
    display: flex;
    gap: 2px;
}

.google-stars .stars svg {
    width: 14px;
    height: 14px;
}

/* ===================================
   Footer
   =================================== */
.footer-green {
    background: #c41e3a;
    color: white;
    text-align: center;
    padding: 50px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-skyline {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 100%);
    opacity: 0.3;
}

.footer-green .container {
    position: relative;
    z-index: 1;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-areas {
    font-size: 0.95rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-cta-text {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-cta-text em {
    font-style: italic;
}

.footer-phone-big {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .footer-phone-big {
        font-size: 3rem;
    }
}

.footer-phone-big:hover {
    text-decoration: underline;
}

.footer-bottom {
    background: rgba(0,0,0,0.1);
    padding: 16px 0;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ===================================
   Desktop Styles (768px+)
   =================================== */
@media (min-width: 768px) {
    :root {
        --container-padding: 24px;
        --section-spacing: 60px;
    }

    body {
        padding-bottom: 0;
    }

    .container {
        max-width: 1200px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
}

/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}
