/* ==========================================================================
   Chimney Services Template — Stylesheet
   Colors: Deep navy / slate blue + warm accents for trust & professionalism
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-display: swap;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #fff;
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* Performance: CSS containment for above-fold */
.hero, .header {
    contain: layout style paint;
}

/* ---------- Design Tokens ---------- */
:root {
    --navy:       #5a4a45;
    --navy-light: #6b5a54;
    --blue:       #a48073;
    --blue-dark:  #8d6a5f;
    --blue-light: #f1e9e6;
    --slate:      #6a6f6b;
    --text:       #2f2b29;
    --text-light: #6f6b68;
    --bg:         #ffffff;
    --bg-alt:     #f9f8f1;
    --bg-warm:    #f3eeea;
    --green:      #a48073;
    --green-dark: #8d6a5f;
    --amber:      #c3c4bf;
    --amber-dark: #a8a9a3;
    --red:        #b24a45;
    --border:     #e3e1dc;
    --radius:     10px;
    --radius-lg:  14px;
    --shadow:     0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
    --transition: .25s ease;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; text-align: center; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; color: var(--blue-dark); }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.65;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.btn-secondary:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-light {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}
.btn-secondary-light:hover {
    background: #fff;
    color: var(--navy);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: #fff;
}

.btn-phone,
.btn-phone-large {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(22,163,74,.3);
}
.btn-phone:hover,
.btn-phone-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22,163,74,.4);
    color: #fff;
}
.btn-phone-large { padding: 16px 34px; font-size: 1.1rem; }

.btn-block { width: 100%; display: block; }

/* ---------- Header ---------- */
.header {
    background: #fff;
    box-shadow: 0 1px 12px rgba(0,0,0,.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.header.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,.12);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 0;
    min-height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.logo-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--bg-alt); }
.logo-icon img { width: 42px; height: 42px; object-fit: contain; }
.logo h1 {
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0;
    font-weight: 800;
    line-height: 1.15;
}
.logo .tagline {
    font-size: .75rem;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Nav */
.nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
}
.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: .95rem;
    transition: color var(--transition);
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { width: 100%; }

/* Header CTA */
.header-cta .phone-btn {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .95rem;
    transition: all var(--transition);
    box-shadow: 0 3px 10px rgba(22,163,74,.25);
}
.header-cta .phone-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(22,163,74,.35);
    color: #fff;
}
.phone-icon { font-size: 1rem; }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    gap: 5px;
}
.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .3s ease;
}

/* ---------- Hero ---------- */
.hero {
    margin-top: 68px;
    padding: 3.5rem 0 4rem;
    background: linear-gradient(165deg, var(--bg-alt) 0%, var(--blue-light) 50%, #e8eef6 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--slate);
    margin-bottom: 1.5rem;
}

/* AIO Grounding Box */
.aio-summary {
    background: #fff;
    border: 2px solid var(--blue);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.25rem 0 1.5rem;
    box-shadow: 0 6px 20px rgba(37,99,235,.1);
}
.aio-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.aio-bullets li {
    padding: .45rem 0 .45rem 1.5rem;
    position: relative;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.4;
    font-size: .97rem;
}
.aio-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 800;
}
.aio-direct-answer {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue-dark);
    text-align: center;
    margin: 0;
    padding: .9rem 1rem;
    background: var(--blue-light);
    border-radius: 8px;
    border-left: 4px solid var(--blue);
}

/* Trust Table */
.trust-table-container {
    margin: 1.5rem 0;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
}
.trust-table { width: 100%; border-collapse: collapse; }
.trust-table td {
    padding: .6rem .75rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: .95rem;
}
.trust-table tr:last-child td { border-bottom: none; }
.trust-label { font-weight: 700; color: var(--navy); width: 38%; }
.trust-value { color: var(--text); font-weight: 500; }

.geo-neighborhoods { font-weight: 600; color: var(--blue); }

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Lead Form */
.lead-form {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--blue);
    position: relative;
}
.lead-form::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px;
    height: 6px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.lead-form h3 {
    text-align: center;
    margin-bottom: .35rem;
    color: var(--navy);
    font-size: 1.35rem;
}
.form-subtitle {
    text-align: center;
    font-size: .88rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}
.form-group { margin-bottom: .9rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: .97rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fff;
    color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}
.form-disclaimer {
    text-align: center;
    font-size: .82rem;
    color: var(--text-light);
    margin-top: .75rem;
    margin-bottom: 0;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    background: var(--navy);
    padding: 1rem 0;
    overflow: hidden;
}
.trust-items {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
}
.trust-icon { font-size: 1.15rem; }

/* ---------- Services ---------- */
.services {
    padding: 4rem 0;
    background: var(--bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}
.service-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.service-card h3 {
    color: var(--navy);
    margin-bottom: .75rem;
    font-size: 1.2rem;
}
.service-card p {
    color: var(--text-light);
    font-size: .95rem;
    margin-bottom: 1rem;
    flex-grow: 0;
}
.service-includes {
    list-style: none;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.service-includes li {
    padding: .3rem 0 .3rem 1.3rem;
    position: relative;
    color: var(--text);
    font-size: .9rem;
}
.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.service-cta {
    display: inline-block;
    color: var(--blue);
    font-weight: 600;
    font-size: .95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    margin-top: auto;
}
.service-cta:hover {
    color: var(--blue-dark);
    border-bottom-color: var(--blue-dark);
}

/* ---------- Why Choose Us ---------- */
.why-choose {
    padding: 4rem 0;
    background: var(--bg-alt);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.feature {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon { font-size: 2.75rem; margin-bottom: .75rem; display: block; }
.feature h3 { color: var(--navy); margin-bottom: .75rem; }
.feature p { color: var(--text-light); font-size: .95rem; margin-bottom: 0; }

/* ---------- CTA Banners ---------- */
.cta-banner {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,.04) 0%, transparent 60%);
}
.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: .75rem;
}
.cta-banner p {
    font-size: 1.08rem;
    margin-bottom: 2rem;
    opacity: .9;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.cta-banner-secondary {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--navy) 100%);
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 4rem 0;
    background: var(--bg);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}
.testimonial {
    background: var(--bg-alt);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--blue);
    transition: all var(--transition);
}
.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.stars {
    color: var(--amber);
    font-size: 1.15rem;
    margin-bottom: .75rem;
    letter-spacing: 2px;
}
.testimonial p {
    font-style: italic;
    color: var(--slate);
    margin-bottom: .75rem;
    line-height: 1.55;
    font-size: .97rem;
}
.author {
    font-weight: 700;
    color: var(--navy);
    font-size: .88rem;
}

/* ---------- About ---------- */
.about {
    padding: 4rem 0;
    background: var(--bg-warm);
}
.about-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}
.about h2 { text-align: left; }
.about p { color: var(--slate); }

.credentials {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border-left: 4px solid var(--blue);
    box-shadow: var(--shadow);
}
.credentials h3 { margin-bottom: .75rem; }
.credentials ul { list-style: none; }
.credentials li { padding: .4rem 0; color: var(--text); font-size: .95rem; }

.team-photo-placeholder {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 3px dashed var(--blue);
    box-shadow: var(--shadow);
}
.team-icon { font-size: 3.5rem; margin-bottom: .75rem; }
.team-photo-placeholder p { font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.team-photo-placeholder small { color: var(--text-light); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.about-stat {
    text-align: center;
    background: #fff;
    padding: 1rem .5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.1;
}
.stat-label {
    font-size: .78rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, #eef2f7 100%);
}
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    margin-bottom: .85rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
    border: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-toggle {
    font-size: 1.4rem;
    color: var(--blue);
    font-weight: 300;
    transition: transform .3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--slate);
    line-height: 1.65;
    margin: 0;
    font-size: .97rem;
}
.faq-answer a { color: var(--blue); font-weight: 600; }

/* ---------- Service Area ---------- */
.service-area {
    padding: 4rem 0;
    background: var(--bg);
}
.service-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.map-placeholder {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 3px dashed var(--blue);
}
.map-icon { font-size: 4rem; margin-bottom: .75rem; }
.map-placeholder p { font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: .3rem; }
.map-placeholder small { color: var(--text-light); }

.areas-list h3 { color: var(--navy); margin-bottom: 1.25rem; }
.areas-list ul { list-style: none; margin-bottom: 1.5rem; }
.areas-list li {
    padding: .5rem 0 .5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    position: relative;
    font-size: .95rem;
}
.areas-list li::before {
    content: '📍';
    position: absolute;
    left: 0;
    font-size: .85rem;
}
.service-note {
    font-size: .9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.25rem;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 4rem 0;
    background: var(--bg-alt);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}
.contact-info-block h3,
.contact-form-block h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
.contact-details { margin-bottom: 2rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1.25rem;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--navy); margin-bottom: .15rem; }
.contact-item span { display: block; color: var(--text-light); font-size: .95rem; }
.contact-item a { color: var(--green); font-weight: 700; font-size: 1.05rem; }
.contact-item a:hover { color: var(--green-dark); }

.contact-guarantee {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--blue-light);
    box-shadow: var(--shadow);
}
.contact-guarantee h4 { margin-bottom: .5rem; color: var(--navy); }
.contact-guarantee p { color: var(--text-light); font-size: .93rem; margin: 0; }

.contact-form-block {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    color: #fff;
    padding: 3rem 0 1.25rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3 { color: #fff; font-size: 1.25rem; margin-bottom: .75rem; }
.footer-section h4 { color: #93c5fd; font-size: 1rem; margin-bottom: .75rem; }
.footer-section p { color: #94a3b8; margin-bottom: .75rem; font-size: .93rem; line-height: 1.5; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: .4rem; }
.footer-section a { color: #94a3b8; transition: color var(--transition); font-size: .93rem; }
.footer-section a:hover { color: #fff; }

.footer-contact p { margin-bottom: .35rem; }
.footer-contact a { color: var(--green); font-weight: 700; }
.footer-contact a:hover { color: #4ade80; }

.neighbor-cities { margin-top: .75rem; }
.neighbor-cities a { color: #93c5fd; font-weight: 500; }
.neighbor-cities a:hover { color: var(--green); }

.hours p { color: #94a3b8; margin-bottom: .25rem; font-size: .93rem; }

.footer-cta-box {
    background: rgba(37,99,235,.15);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid rgba(37,99,235,.3);
    text-align: center;
}
.footer-cta-box p { margin-bottom: .4rem; color: #fff; font-weight: 600; font-size: .95rem; }
.footer-phone {
    color: var(--green) !important;
    font-weight: 800 !important;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 1.25rem;
    text-align: center;
}
.footer-bottom p { color: #94a3b8; margin: 0; font-size: .85rem; }

/* ---------- Sticky Mobile CTA Bar ---------- */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -3px 16px rgba(0,0,0,.15);
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 1000;
    border-top: 3px solid var(--blue);
}
.mobile-cta-phone,
.mobile-cta-quote {
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    transition: opacity var(--transition);
}
.mobile-cta-phone { background: var(--green); color: #fff; }
.mobile-cta-quote { background: var(--blue); color: #fff; }
.mobile-cta-phone:hover,
.mobile-cta-quote:hover { opacity: .9; }

/* ---------- Scroll Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .7s ease-out; }

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-right { order: -1; }
    .lead-form { max-width: 500px; margin: 0 auto; }

    .about-content,
    .service-area-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* Mobile */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    h2 { font-size: 1.5rem; }
    .section-subtitle { font-size: .95rem; }

    .hero { padding: 2rem 0 2.5rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero-description { font-size: 1rem; }

    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { text-align: center; }

    .trust-items { gap: 1rem; justify-content: flex-start; }
    .trust-item { font-size: .82rem; }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: .7rem; }

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

    .cta-buttons { flex-direction: column; align-items: stretch; }

    .mobile-cta-bar { display: grid; }
    body { padding-bottom: 66px; }

    .footer-content { grid-template-columns: 1fr; }
}

/* Small phones */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.45rem; }
    .hero-badge { font-size: .76rem; padding: 5px 12px; }

    .aio-summary { padding: 1rem; }
    .aio-bullets li { font-size: .9rem; }
    .aio-direct-answer { font-size: .92rem; padding: .75rem; }

    .trust-table-container { padding: 1rem; }
    .trust-table td { padding: .5rem; font-size: .88rem; }

    .lead-form { padding: 1.5rem; }
    .lead-form h3 { font-size: 1.2rem; }

    .service-card,
    .feature,
    .testimonial { padding: 1.5rem; }

    .btn { padding: 12px 20px; }
    .btn-phone-large { padding: 14px 24px; font-size: 1rem; }
}

/* ---------- Accessibility ---------- */

/* Print */
@media print {
    .header, .mobile-cta-bar, .cta-banner, .btn { display: none; }
    .hero { margin-top: 0; }
    * { box-shadow: none !important; }
}

/* High contrast */
@media (prefers-contrast: high) {
    .btn-primary { background: #000; border: 2px solid #000; }
    .btn-secondary { border-width: 3px; color: #000; }
    .service-card, .feature, .testimonial { border: 2px solid #000; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}