/* ============================================
   WEB FONTS (self-hosted, SIL OFL — licences in /fonts)
   Same files, weights and unicode ranges Google Fonts served,
   loaded from this site so they no longer block the first paint.
   ============================================ */
/* Outfit — latin-ext */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Outfit — latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans — cyrillic-ext */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Plus Jakarta Sans — vietnamese */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-vietnamese.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Plus Jakarta Sans — latin-ext */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans — latin */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   THE VILLAGES ROOFERS — HOMEPAGE STYLES
   Unique Central Florida-Inspired Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Unique Color Palette — Central Florida Inspired */
    --color-primary: #0E7C6B;
    --color-primary-dark: #0A5F52;
    --color-primary-light: #14A38D;
    --color-primary-subtle: rgba(14, 124, 107, 0.08);
    --color-secondary: #1C2B3A;
    --color-accent: #C27838;
    --color-accent-dark: #A06230;
    --color-accent-light: #D4933A;
    --color-text: #2B3640;
    --color-text-light: #5A6977;
    --color-text-muted: #8B9DAF;
    --color-white: #FFFFFF;
    --color-off-white: #F6F8FA;
    --color-light-gray: #EAF0F4;
    --color-border: #D8E1E8;
    --color-dark: #0F1923;
    --color-dark-card: #162230;
    --color-dark-card-hover: #1D2E40;
    --color-success: #2E9E6B;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-accent: 'Roboto Slab', serif;

    /* Spacing */
    --section-padding: 90px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(28, 43, 58, 0.06);
    --shadow-md: 0 4px 20px rgba(28, 43, 58, 0.08);
    --shadow-lg: 0 8px 40px rgba(28, 43, 58, 0.12);
    --shadow-xl: 0 16px 60px rgba(28, 43, 58, 0.16);
    --shadow-card: 0 4px 24px rgba(28, 43, 58, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(14, 124, 107, 0.14);

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

svg {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

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

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-secondary);
}

p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

p:last-child {
    margin-bottom: 0;
}

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* --- Utility Classes --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.06rem;
    color: var(--color-text-light);
    max-width: 680px;
    line-height: 1.75;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(14, 124, 107, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 24px rgba(14, 124, 107, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-secondary);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-dark {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-dark:hover {
    background: var(--color-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 90px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    display: none;
}

.logo-text {
    display: none;
}

.logo-company {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.logo-tagline {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a,
.dropdown-trigger {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    letter-spacing: 0.2px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active,
.dropdown-trigger:hover,
.nav-dropdown:hover .dropdown-trigger,
.nav-dropdown.active .dropdown-trigger,
.dropdown-trigger.active {
    color: var(--color-primary);
    background: var(--color-primary-subtle);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-top: 1px;
}

.nav-dropdown:hover .dropdown-icon,
.nav-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 35px rgba(28, 43, 58, 0.12);
    border: 1px solid var(--color-border);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 10px 18px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-secondary);
    border-radius: 0;
    white-space: nowrap;
    transition: all var(--transition-fast);
    background: transparent;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 22px;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.header-phone:hover {
    color: var(--color-primary-dark);
}

.header-phone svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Mobile-only elements hidden on Desktop */
.mobile-nav-header,
.mobile-nav-footer,
.mobile-sticky-cta {
    display: none;
}

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

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

/* Back to top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(14, 124, 107, 0.28);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--color-primary-dark);
    outline: none;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(145deg, var(--color-secondary) 0%, #0F1923 60%, #0A2E28 100%);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(14, 124, 107, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 124, 107, 0.15);
    color: var(--color-primary-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(14, 124, 107, 0.2);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary-light);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    color: var(--color-primary-light);
}

.hero-desc {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary-light);
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ============================================
   ABOUT / INTRO SECTION
   ============================================ */
.section-about {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: var(--color-light-gray);
}

.about-experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    opacity: 0.85;
}

.about-content .section-subtitle {
    margin-bottom: 16px;
}

.about-inline-link {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 1px dashed var(--color-primary);
}

.about-inline-link:hover {
    color: var(--color-primary-dark);
}

.about-actions {
    margin-top: 28px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.section-why-choose {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.why-card {
    background: var(--color-white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.why-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.why-card-icon {
    width: 52px;
    height: 52px;
    background: var(--color-primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-card-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--color-primary);
}

.why-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   COST SECTION
   ============================================ */
.section-cost {
    padding: var(--section-padding);
}

.cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 32px;
}

.cost-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.cost-factors {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-factor {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--color-text);
}

.cost-factor svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.cost-table-wrap {
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--color-border);
}

.cost-table-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.cost-table-note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
}

.cost-table th,
.cost-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
}

.cost-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-secondary);
    background: rgba(14, 124, 107, 0.06);
}

.cost-table td:last-child {
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   SERVICES
   ============================================ */
.section-services {
    padding: var(--section-padding);
    background: var(--color-secondary);
    color: var(--color-white);
}

.section-services .section-label {
    color: var(--color-primary-light);
}

.section-services .section-label::before {
    background: var(--color-primary-light);
}

.section-services .section-title {
    color: var(--color-white);
}

.section-services .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

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

.service-card {
    background: var(--color-dark-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    background: var(--color-dark-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    border-color: rgba(14, 124, 107, 0.3);
}

.service-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: rgba(14, 124, 107, 0.08);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-media img {
    transform: scale(1.05);
}

.service-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card-content {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.service-card-content p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    flex: 1;
}

.service-card-footer {
    margin-top: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.service-card:hover .service-card-link {
    gap: 10px;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================
   ROOFING TYPES
   ============================================ */
.section-roofing-types {
    padding: var(--section-padding);
}

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

.roofing-type-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.roofing-type-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.roofing-type-icon-wrap {
    flex-shrink: 0;
}

.roofing-type-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roofing-type-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-primary);
}

.roofing-type-body h4,
.roofing-type-body h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.roofing-type-body p {
    font-size: 0.86rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================
   PROCESS
   ============================================ */
.section-process {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin-top: 48px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(14, 124, 107, 0.25);
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.86rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================
   DAMAGE CAUSES
   ============================================ */
.section-damage {
    padding: var(--section-padding);
}

.damage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 28px;
}

.damage-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.damage-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.damage-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--color-text);
    padding: 14px 16px;
    background: var(--color-off-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
}

.damage-list-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   SIGNS OF REPAIR
   ============================================ */
.section-signs {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.signs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.sign-card {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.sign-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-card);
}

.sign-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.sign-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   EMERGENCY
   ============================================ */
.section-emergency {
    padding: var(--section-padding);
}

.emergency-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #0A2E28 100%);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    color: var(--color-white);
}

.emergency-content h2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.emergency-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.emergency-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.emergency-card h3 {
    color: var(--color-white);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.emergency-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.emergency-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    transition: color var(--transition-fast);
}

.emergency-phone:hover {
    color: var(--color-white);
}

.emergency-phone svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ============================================
   MATERIALS
   ============================================ */
.section-materials {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.materials-content {
    margin-top: 16px;
    margin-bottom: 36px;
}

.materials-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    max-width: 800px;
}

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

.material-card {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.material-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-card);
}

.material-card h3 {
    font-size: 1.02rem;
    margin-bottom: 10px;
}

.material-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   BUILDING CODES
   ============================================ */
.section-codes {
    padding: var(--section-padding);
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.code-card {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
}

.code-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.code-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.section-areas {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

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

.area-card {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.area-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.area-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-bottom: 8px;
}

.area-card h3 svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.area-card p {
    font-size: 0.86rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================
   EQUIPMENT / PROFESSIONAL TOOLS
   ============================================ */
.section-equipment {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.equipment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
    align-items: start;
}

.equipment-text p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.equipment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.equipment-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

/* ============================================
   REPAIR VS REPLACEMENT
   ============================================ */
.section-rvr {
    padding: var(--section-padding);
    background: var(--color-white);
}

.rvr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 36px;
}

.rvr-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.rvr-card h3 {
    font-size: 1.05rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.rvr-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rvr-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
    padding: 6px 0;
}

.rvr-card ul li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.rvr-repair {
    background: rgba(14, 124, 107, 0.03);
    border-color: rgba(14, 124, 107, 0.15);
}

.rvr-repair h3 {
    color: var(--color-primary-dark);
}

.rvr-repair ul li svg {
    fill: var(--color-primary);
}

.rvr-replace {
    background: rgba(194, 120, 56, 0.03);
    border-color: rgba(194, 120, 56, 0.15);
}

.rvr-replace h3 {
    color: var(--color-accent-dark);
}

.rvr-replace ul li svg {
    fill: var(--color-accent);
}

/* ============================================
   LOCAL GUIDES / HOMEOWNER GUIDANCE
   ============================================ */
.section-guides {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.guide-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.guide-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.guide-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   ZIP CODES / COVERAGE AREA
   ============================================ */
.section-zipcodes {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.zip-content {
    margin-top: 30px;
}

.zip-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 800px;
}

.zip-list {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.zip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    transition: all var(--transition-base);
}

.zip-badge:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.zip-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
}

/* ============================================
   FAQ
   ============================================ */
.section-faq {
    padding: var(--section-padding);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--color-primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.75;
}

/* ============================================
   FINAL CTA
   ============================================ */
.section-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-inner h2 {
    color: var(--color-white);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 16px;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-actions .btn-primary:hover {
    background: var(--color-off-white);
    transform: translateY(-2px);
}

/* ============================================
   PHONE CTA BANNER
   ============================================ */
.types-phone-cta {
    margin-top: 48px;
}

.types-phone-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, var(--color-secondary), #0A2E28);
    border-radius: var(--radius-xl);
    padding: 40px 44px;
    color: var(--color-white);
}

.types-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary-light);
    margin-bottom: 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.types-cta-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.types-cta-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
    max-width: 520px;
}

.types-cta-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.types-cta-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.types-cta-highlights svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary-light);
}

.types-phone-button {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 18px 32px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(14, 124, 107, 0.35);
    text-decoration: none;
}

.types-phone-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.phone-button-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.phone-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.phone-digits {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
}

.types-phone-note {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer-logo-icon {
    display: none;
}

.footer-logo-text {
    display: none;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--color-primary-light);
}

.footer-map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--color-primary-light);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   GLOBAL FOOTER (all pages — markup in partials/footer.html)
   Roofline edge + contact strip + grouped links
   ============================================ */
.site-footer--global {
    position: relative;
    padding-top: 72px;
    color: rgba(255, 255, 255, 0.72);
}

/* Roof-pitch edge rising into the section above */
.site-footer--global .hf-roofline {
    position: absolute;
    left: 0;
    right: 0;
    top: -63px;
    height: 64px;
    pointer-events: none;
}

.site-footer--global .hf-roofline-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.site-footer--global .hf-roofline-fill {
    fill: var(--color-dark);
}

.site-footer--global .hf-roofline-ridge {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

/* Brand + contact strip */
.site-footer--global .hf-top {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer--global .hf-logo {
    display: inline-flex;
    justify-self: start;
    padding: 10px 14px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 4px rgba(194, 120, 56, 0.25);
}

.site-footer--global .footer-logo-img {
    height: 56px;
    filter: none;
}

.site-footer--global .hf-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer--global .hf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 4px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer--global .hf-contact-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(20, 163, 141, 0.14);
}

.site-footer--global .hf-contact-icon svg {
    width: 17px;
    height: 17px;
    fill: var(--color-primary-light);
}

.site-footer--global .hf-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.site-footer--global .hf-contact-label {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

.site-footer--global .hf-contact-value {
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer--global .hf-phone {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.site-footer--global .hf-phone:hover {
    color: var(--color-primary-light);
}

.site-footer--global .hf-directions {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer--global .hf-directions:hover {
    color: var(--color-white);
}

/* About + link groups */
.site-footer--global .hf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
    gap: 56px;
    padding-top: 44px;
}

.site-footer--global .hf-about p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 24px;
    max-width: 380px;
}

.site-footer--global .hf-cta {
    padding: 13px 24px;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
}

.site-footer--global .hf-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.site-footer--global .footer-heading {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

.site-footer--global .footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--color-accent);
}

.site-footer--global .footer-links {
    gap: 2px;
}

.site-footer--global .footer-links a {
    display: inline-block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer--global .footer-links a:hover {
    color: var(--color-primary-light);
}

/* Bottom bar */
.site-footer--global .hf-bottom {
    margin-top: 44px;
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
}

.site-footer--global .hf-bottom p {
    margin: 0;
}

.site-footer--global .footer-bottom-links {
    flex-wrap: wrap;
    gap: 8px 24px;
}

.site-footer--global .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.62);
}

.site-footer--global .footer-bottom-links a:hover {
    color: var(--color-primary-light);
}

/* Visible keyboard focus on the dark background */
.site-footer--global a:focus-visible {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Keep bottom links clear of the fixed back-to-top button */
@media (max-width: 1340px) {
    .site-footer--global .hf-bottom {
        padding-right: 64px;
    }
}

@media (max-width: 1024px) {
    .site-footer--global .hf-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer--global .hf-contact-item:first-child {
        border-left: 0;
        padding-left: 0;
    }

    .site-footer--global .hf-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer--global .hf-about p {
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .site-footer--global {
        padding-top: 56px;
    }

    .site-footer--global .hf-roofline {
        top: -31px;
        height: 32px;
    }

    .site-footer--global .hf-contact {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-footer--global .hf-contact-item {
        padding: 0;
        border-left: 0;
    }

    .site-footer--global .hf-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .site-footer--global .hf-col:last-child {
        grid-column: 1 / -1;
    }

    .site-footer--global .hf-col:last-child .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 24px;
    }

    /* Left-aligned with room on the right for the fixed back-to-top button */
    .site-footer--global .hf-bottom {
        align-items: flex-start;
        text-align: left;
        padding-right: 64px;
    }
}

@media (max-width: 360px) {
    .site-footer--global .hf-nav {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        color: var(--color-white);
        background: var(--color-secondary);
        padding: 10px 12px;
        gap: 8px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-cta-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 8px;
        font-family: var(--font-heading);
        font-size: 0.85rem;
        font-weight: 600;
        border-radius: var(--radius-sm);
        text-decoration: none;
        color: var(--color-white);
    }

    .mobile-cta-call {
        background: var(--color-primary);
    }

    .mobile-cta-estimate {
        background: var(--color-accent);
    }

    .mobile-cta-btn svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .back-to-top {
        right: 16px;
        bottom: 82px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 28px;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        z-index: 2000;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right var(--transition-base);
        overflow-y: auto;
        gap: 0;
    }

    .main-nav.open {
        right: 0;
    }

    .mobile-nav-header,
    .mobile-nav-footer {
        display: flex;
    }

    .mobile-nav-header {
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid var(--color-border);
    }

    .mobile-nav-logo {
        height: 40px;
        width: auto;
    }

    .mobile-nav-close {
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--color-text-muted);
        cursor: pointer;
        padding: 4px;
    }

    .main-nav a,
    .dropdown-trigger {
        padding: 14px 24px;
        border-radius: 0;
        border-bottom: 1px solid var(--color-light-gray);
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--color-off-white);
    }

    .nav-dropdown .dropdown-menu {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: flex;
    }

    .mobile-nav-footer {
        flex-direction: column;
        padding: 20px 24px;
        gap: 10px;
        margin-top: auto;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-img {
        height: 280px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cost-grid {
        grid-template-columns: 1fr;
    }

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

    .roofing-type-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .damage-grid {
        grid-template-columns: 1fr;
    }

    .signs-grid {
        grid-template-columns: 1fr;
    }

    .emergency-inner {
        grid-template-columns: 1fr;
        padding: 36px 28px;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }

    .codes-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

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

    .equipment-list {
        grid-template-columns: 1fr;
    }

    .rvr-grid {
        grid-template-columns: 1fr;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .types-phone-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px 24px;
    }

    .types-cta-highlights {
        justify-content: center;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   GLOBAL HEADER (all pages — markup in partials/header.html)
   Desktop: underline nav + grouped services panel + call block
   Mobile: compact bar + accessible slide-in drawer
   ============================================ */
.site-header--global {
    /* Own text colour so page stylesheets (e.g. service.css body colour) don't leak in */
    color: var(--color-text);
    border-top: 3px solid var(--color-accent);
    border-bottom: 1px solid var(--color-border);
    box-shadow: none;
}

.site-header--global.scrolled {
    border-bottom-color: transparent;
    box-shadow: var(--shadow-md);
}

.site-header--global .header-inner {
    height: 80px;
    gap: 28px;
}

.site-header--global .logo-img {
    height: 60px;
}

.site-header--global .main-nav {
    gap: 4px;
}

.site-header--global .main-nav > a,
.site-header--global .dropdown-trigger {
    position: relative;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-secondary);
}

/* Underline indicator instead of a filled pill */
.site-header--global .main-nav > a::after,
.site-header--global .dropdown-trigger::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.site-header--global .main-nav > a:hover,
.site-header--global .main-nav > a.active,
.site-header--global .dropdown-trigger:hover,
.site-header--global .dropdown-trigger.is-current,
.site-header--global .nav-dropdown:hover .dropdown-trigger,
.site-header--global .nav-dropdown.active .dropdown-trigger {
    background: transparent;
    color: var(--color-primary);
}

.site-header--global .main-nav > a:hover::after,
.site-header--global .main-nav > a.active::after,
.site-header--global .dropdown-trigger.is-current::after,
.site-header--global .nav-dropdown:hover .dropdown-trigger::after,
.site-header--global .nav-dropdown.active .dropdown-trigger::after {
    transform: scaleX(1);
}

.site-header--global .main-nav a:focus-visible,
.site-header--global .dropdown-trigger:focus-visible,
.site-header--global .header-cta a:focus-visible,
.site-header--global .mobile-toggle:focus-visible,
.site-header--global .mobile-nav-close:focus-visible,
.site-header--global .site-logo:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Grouped services panel */
.site-header--global .nav-dropdown .dropdown-menu {
    left: 50%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    width: 520px;
    min-width: 0;
    padding: 20px;
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--color-primary);
    transform: translate(-50%, 10px);
}

.site-header--global .nav-dropdown:hover .dropdown-menu,
.site-header--global .nav-dropdown:focus-within .dropdown-menu,
.site-header--global .nav-dropdown.active .dropdown-menu {
    transform: translate(-50%, 6px);
}

/* Escape pressed: keep the panel closed until pointer/focus leaves */
.site-header--global .nav-dropdown.suppress .dropdown-menu {
    opacity: 0;
    visibility: hidden;
}

.site-header--global .hh-dd-group {
    display: flex;
    flex-direction: column;
}

.site-header--global .hh-dd-label {
    margin: 0 0 6px;
    padding: 0 12px 8px;
    border-bottom: 1px solid var(--color-light-gray);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
}

.site-header--global .dropdown-menu a {
    padding: 9px 12px;
    border-left: 0;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    white-space: normal;
}

.site-header--global .dropdown-menu a:hover,
.site-header--global .dropdown-menu a:focus-visible {
    padding-left: 12px;
    background: var(--color-primary-subtle);
    color: var(--color-primary);
}

/* Current service page inside the panel */
.site-header--global .dropdown-menu a.active {
    padding-left: 12px;
    border-left: 0;
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    box-shadow: inset 3px 0 0 var(--color-primary);
}

/* Call block */
.site-header--global .header-cta {
    gap: 18px;
}

.site-header--global .header-phone {
    gap: 10px;
    white-space: nowrap;
}

.site-header--global .hh-phone-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary-subtle);
    transition: background var(--transition-fast);
}

.site-header--global .hh-phone-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
    transition: fill var(--transition-fast);
}

.site-header--global .header-phone:hover .hh-phone-icon {
    background: var(--color-primary);
}

.site-header--global .header-phone:hover .hh-phone-icon svg {
    fill: var(--color-white);
}

.site-header--global .hh-phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-header--global .hh-phone-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.site-header--global .hh-phone-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.site-header--global .header-phone:hover .hh-phone-number {
    color: var(--color-primary);
}

.site-header--global .hh-backdrop {
    display: none;
}

/* Tablet landscape: keep one row by collapsing the phone to an icon button */
@media (max-width: 1150px) {
    .site-header--global .header-inner {
        gap: 16px;
    }

    .site-header--global .main-nav > a,
    .site-header--global .dropdown-trigger {
        padding: 10px 11px;
    }

    .site-header--global .main-nav > a::after,
    .site-header--global .dropdown-trigger::after {
        left: 11px;
        right: 11px;
    }

    .site-header--global .hh-phone-text {
        display: none;
    }

    .site-header--global .hh-phone-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 900px) and (min-width: 769px) {
    .site-header--global .logo-img {
        height: 50px;
    }

    .site-header--global .header-cta .btn {
        padding: 10px 16px;
    }
}

/* Mobile: compact bar + slide-in drawer */
@media (max-width: 768px) {
    .site-header--global .header-inner {
        height: 64px;
        padding: 0 16px;
    }

    .site-header--global .logo-img {
        height: 46px;
    }

    .site-header--global .mobile-toggle {
        width: 44px;
        height: 44px;
        margin-right: -8px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
    }

    .site-header--global .mobile-toggle span {
        width: 22px;
        transform-origin: center;
    }

    .site-header--global .mobile-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header--global .mobile-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .site-header--global .mobile-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Drawer: off-canvas and not focusable while closed */
    .site-header--global .main-nav {
        right: 0;
        width: min(88vw, 380px);
        max-width: none;
        height: 100vh;
        height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
    }

    .site-header--global .main-nav.open {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
    }

    .site-header--global .mobile-nav-header {
        padding: 10px 12px 10px 20px;
    }

    .site-header--global .mobile-nav-close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: var(--radius-sm);
        color: var(--color-secondary);
    }

    .site-header--global .hh-close-icon {
        width: 22px;
        height: 22px;
        fill: currentColor;
    }

    .site-header--global .main-nav > a,
    .site-header--global .dropdown-trigger {
        justify-content: space-between;
        padding: 15px 20px;
        border-radius: 0;
        font-size: 1rem;
    }

    .site-header--global .main-nav > a::after,
    .site-header--global .dropdown-trigger::after {
        display: none;
    }

    .site-header--global .main-nav > a.active {
        box-shadow: inset 3px 0 0 var(--color-primary);
        background: var(--color-primary-subtle);
    }

    /* Services accordion stacks under its trigger */
    .site-header--global .nav-dropdown {
        display: block;
        width: 100%;
    }

    .site-header--global .nav-dropdown .dropdown-menu,
    .site-header--global .nav-dropdown:hover .dropdown-menu,
    .site-header--global .nav-dropdown:focus-within .dropdown-menu {
        display: none;
        width: 100%;
        padding: 6px 0 10px;
        border: 0;
        border-bottom: 1px solid var(--color-light-gray);
        border-radius: 0;
        transform: none;
    }

    .site-header--global .nav-dropdown.active .dropdown-menu {
        display: block;
        transform: none;
    }

    .site-header--global .hh-dd-group + .hh-dd-group {
        margin-top: 8px;
    }

    .site-header--global .hh-dd-label {
        margin: 0;
        padding: 10px 20px 6px 32px;
        border-bottom: 0;
    }

    .site-header--global .dropdown-menu a,
    .site-header--global .dropdown-menu a:hover,
    .site-header--global .dropdown-menu a:focus-visible,
    .site-header--global .dropdown-menu a.active {
        padding: 11px 20px 11px 32px;
        border-bottom: 0;
        border-radius: 0;
        font-size: 0.93rem;
    }

    .site-header--global .mobile-nav-footer {
        padding: 20px;
    }

    .site-header--global .mobile-nav-footer .btn {
        justify-content: center;
        min-height: 48px;
        border-radius: var(--radius-md);
        border-bottom: 0;
        font-size: 0.95rem;
    }

    /* .main-nav a resets backgrounds on mobile; restore the button colours */
    .site-header--global .mobile-nav-footer .btn-primary {
        background: var(--color-primary);
        color: var(--color-white);
    }

    .site-header--global .mobile-nav-footer .btn-primary:hover {
        background: var(--color-primary-dark);
    }

    .site-header--global .mobile-nav-footer .btn-secondary {
        border: 2px solid var(--color-border);
        background: var(--color-white);
        color: var(--color-secondary);
    }

    .site-header--global .hh-drawer-address {
        margin: 6px 0 0;
        font-size: 0.82rem;
        line-height: 1.5;
        text-align: center;
        color: var(--color-text-light);
    }

    .site-header--global .hh-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1500;
        background: rgba(15, 25, 35, 0.55);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .site-header--global .hh-backdrop[hidden] {
        display: none;
    }

    .site-header--global .hh-backdrop.show {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header--global *,
    .site-header--global *::after {
        transition: none !important;
    }
}

/* ============================================
   FIND US SECTION (shared: home, about, service pages)
   Always the last section before the footer. Card + map sit in a copper
   outline whose bottom edge runs parallel to the footer roofline;
   js/layout.js sets --rise / --rise-in / --pad-b and draws the outline path.
   ============================================ */
.fu-section {
    padding: 72px 18px var(--pad-b, 40px);
    background: #f4f7f4;
    /* own text colour so page stylesheets (service.css body colour) don't leak in */
    color: var(--color-text);
}

.fu-title {
    margin-bottom: 10px;
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #1a2e1a;
}

.fu-subtitle {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #5a7a5a;
}

.fu-outline {
    position: relative;
    padding: 14px;
}

.fu-outline-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.fu-outline-path {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2.5;
    stroke-linejoin: round;
}

.fu-frame {
    --rise: 52px;
    --rise-in: 52px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - var(--rise)), 0 100%);
}

.fu-clip {
    overflow: hidden;
    border-radius: 10px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - var(--rise-in)), 0 100%);
}

.fu-layout {
    display: grid;
    grid-template-columns: clamp(300px, 24vw, 380px) 1fr;
    gap: 12px;
    align-items: stretch;
}

.fu-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
    padding: 28px 24px calc(28px + var(--rise-in) * 0.6);
    background: var(--color-dark-card);
}

.fu-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fu-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(20, 163, 141, 0.14);
}

.fu-icon-svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: var(--color-primary-light);
}

.fu-row strong {
    display: block;
    margin-bottom: 3px;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

.fu-row p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.fu-row a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.fu-row a:hover {
    color: var(--color-primary-light);
}

.fu-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.fu-directions:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.fu-directions svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.fu-section a:focus-visible {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 3px;
}

.fu-embed {
    background: var(--color-dark-card);
}

.fu-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

@media (max-width: 768px) {
    .fu-section {
        padding: 48px 8px var(--pad-b, 24px);
    }

    .fu-outline {
        padding: 10px;
    }

    .fu-layout {
        grid-template-columns: 1fr;
    }

    .fu-card {
        padding-bottom: 28px;
    }

    .fu-embed iframe {
        min-height: calc(300px + var(--rise-in));
    }
}

/* ============================================
   SMALL-PHONE OVERFLOW FIXES (≤360px only)
   Grid items default to min-width:auto, so long content pushed these
   grids wider than the screen. Nothing changes above 360px.
   `main` raises specificity above the pages' inline <style> rules.
   ============================================ */
@media (max-width: 360px) {
    main .emergency-inner > *,
    main .ct-grid > *,
    main .fu-layout > * {
        min-width: 0;
    }

    main .ab-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    /* long email address in the contact card may wrap instead of overflowing */
    main .fu-layout a[href^="mailto:"] {
        overflow-wrap: anywhere;
    }
}

/* ============================================
   CONTRAST FIXES (WCAG AA 4.5:1 for small text)
   Same hue and saturation, lightness nudged just enough to pass.
   Old → new colour and resulting ratio noted on each rule.
   `main` / parent prefixes beat the pages' own stylesheets.
   ============================================ */

/* service pages: section badges #0e7c6b → #0d7565 on #e3edef (4.28 → 4.69) */
main .sp-section-badge {
    color: #0d7565;
}

/* Find Us subtitle #5a7a5a → #587758 on #f4f7f4 (4.45 → 4.64) */
.fu-section .fu-subtitle {
    color: #587758;
}

/* sticky "Free Evaluation" button: copper #c27838 → #a4662f behind white text (3.47 → 4.65) */
.mobile-sticky-cta .mobile-cta-estimate {
    background: #a4662f;
}

/* homepage: white badge label on #0e7c6b, opacity 0.85 → 0.93 (4.14 → 4.65) */
main .about-experience-badge .label {
    opacity: 0.93;
}

/* homepage: cost table note #8b9daf → #5e7388 on #f6f8fa (2.61 → 4.61) */
main .cost-table-note {
    color: #5e7388;
}

/* homepage: white "Tap to Call Now" on #0e7c6b, opacity 0.8 → 0.93 (3.87 → 4.65) */
main .phone-label {
    opacity: 0.93;
}

/* about: section labels #0e7c6b → #0d7565 on #e3eeef (4.31 → 4.72); the dark "local" band keeps its own colour */
main .ab-label {
    color: #0d7565;
}

main .ab-local .ab-label {
    color: var(--primary-light);
}

/* contact sidebar (not the Find Us card): row labels and day names #8b9daf → #61778d on #fff (2.78 → 4.65) */
main .ct-nap-row-label,
main .ct-hours-grid span:nth-child(odd) {
    color: #61778d;
}

/* 404: phone link #0d9488 → #0b7f75 on #f8fafc (3.57 → 4.67) */
main .error-contact-bar a {
    color: #0b7f75;
}
