/* ============================================
   ROOFERS PASADENA CA - HOMEPAGE STYLES
   Premium Roofing Company Design System
   Forest Green + Warm Amber Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors — Forest Green + Warm Amber */
    --color-primary: #1B6B4A;
    --color-primary-dark: #145238;
    --color-primary-light: #2A9D6F;
    --color-secondary: #1C2333;
    --color-accent: #D4973B;
    --color-accent-dark: #B87E28;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-text-muted: #8B9DAF;
    --color-white: #FFFFFF;
    --color-off-white: #F7F9F8;
    --color-light-gray: #ECF0EE;
    --color-border: #DCE4E0;
    --color-dark: #0F1724;
    --color-dark-card: #151E2E;
    --color-dark-card-hover: #1B2740;
    --color-success: #27AE60;

    /* 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(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 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;
}

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;
}

.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(27, 107, 74, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: #24A16F;
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(36, 161, 111, 0.65);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.45);
}

.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;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--color-secondary);
    padding: 10px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

.top-bar-item:hover {
    color: var(--color-white);
}

.top-bar-item svg {
    width: 14px;
    height: 14px;
    fill: var(--color-primary-light);
    flex-shrink: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.top-bar-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.top-bar-social svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ============================================
   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: 80px;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

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

.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--color-white);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.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.88rem;
    font-weight: 600;
    color: var(--color-secondary);
    padding: 8px 16px;
    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: rgba(27, 107, 74, 0.06);
}

/* 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: 230px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 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.88rem;
    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: rgba(27, 107, 74, 0.07);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 22px;
}

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

.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: 1rem;
    color: var(--color-primary);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f1724;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(15, 23, 36, 0.92) 0%,
            rgba(27, 107, 74, 0.18) 40%,
            rgba(15, 23, 36, 0.88) 70%,
            rgba(15, 23, 36, 0.96) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(27, 107, 74, 0.16) 0%, rgba(212, 151, 59, 0.06) 40%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-top: 64px;
    padding-bottom: 54px;
}

.hero-content {
    color: var(--color-white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(27, 107, 74, 0.28);
    border: 1px solid rgba(42, 157, 111, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

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

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    text-align: center;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

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

.hero-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 30px;
    max-width: 760px;
    line-height: 1.75;
    text-align: center;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-actions .btn-primary {
    background: #1B6B4A;
    color: #ffffff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(27, 107, 74, 0.5);
}

.hero-actions .btn-primary svg {
    stroke: #ffffff;
}

.hero-actions .btn-primary:hover {
    background: #24A16F;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(36, 161, 111, 0.65), 0 0 16px rgba(36, 161, 111, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 52px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    max-width: 780px;
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-stat-label {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.35;
}

/* ============================================
   BRAND PARTNERS SLIDER
   ============================================ */
.brand-slider-section {
    padding: 48px 0 36px;
    background: #FFFFFF;
    border-bottom: 1px solid #EEF2F0;
    position: relative;
    overflow: hidden;
}

.brand-slider-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 34px;
}

.brand-slider-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.25;
    margin-bottom: 0;
}

.brand-slider-viewport-wrap {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
}

.brand-slider-viewport-wrap::before,
.brand-slider-viewport-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 130px;
    z-index: 5;
    pointer-events: none;
}

.brand-slider-viewport-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.brand-slider-viewport-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.brand-slider-viewport {
    overflow-x: hidden;
    display: flex;
    user-select: none;
    padding: 8px 0;
}

.brand-slider-track {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 10px 20px;
    width: max-content;
    animation: brandMarqueeGlide 48s linear infinite;
    will-change: transform;
}

.brand-slider-viewport:hover .brand-slider-track,
.brand-slider-viewport:focus-within .brand-slider-track,
.brand-slider-track.is-paused {
    animation-play-state: paused;
}

.brand-slider-track.is-manual {
    animation: none !important;
}

@keyframes brandMarqueeGlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.brand-slide-card {
    flex: 0 0 200px;
    height: 85px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 8px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.brand-slide-card:hover {
    transform: scale(1.08);
}

.brand-logo-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-box img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: contrast(100%);
    transition: transform 0.3s ease;
}

.brand-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.brand-slider-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #C8D5CE;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.brand-slider-dots .dot.active {
    background-color: var(--color-primary);
    transform: scale(1.25);
}

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

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

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

.about-img {
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
    background: var(--color-light-gray);
}

.about-image:hover .about-img {
    transform: scale(1.02);
}

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

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

.about-experience-badge .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-top: 2px;
}

.about-content {
    padding: 10px 0;
}

.about-content .section-subtitle {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.75;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.about-actions {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.about-actions .btn svg {
    transition: transform 0.25s ease;
}

.about-actions .btn:hover svg {
    transform: translateX(4px);
}

.about-content a.about-inline-link,
.about-content p a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.about-content a.about-inline-link:hover,
.about-content p a:hover {
    color: var(--color-primary-dark);
    text-decoration-color: var(--color-primary-dark);
}

/* ============================================
   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 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(27, 107, 74, 0.1);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(27, 107, 74, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

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

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

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

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

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

.cost-factors {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.cost-factor {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-text);
}

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

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

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

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

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

.cost-table th,
.cost-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
}

.cost-table thead th {
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cost-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.cost-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.cost-table tbody tr {
    border-bottom: 1px solid var(--color-border);
}

.cost-table tbody tr:last-child {
    border-bottom: none;
}

.cost-table tbody td {
    color: var(--color-text);
    background: var(--color-white);
}

.cost-table tbody tr:nth-child(even) td {
    background: rgba(247, 249, 248, 0.6);
}

/* --- Regional LA Cost Breakdown Sub-section --- */
.cost-regional-block {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.cost-regional-header {
    margin-bottom: 20px;
}

.cost-regional-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-top: 6px;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.cost-regional-intro {
    margin-bottom: 32px;
}

.cost-regional-intro p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin: 0;
}

.cost-regional-intro strong,
.cost-example-body strong {
    color: var(--color-secondary);
    font-weight: 600;
}

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

.cost-table-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 3px;
}

.cost-table-price {
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.96rem;
    white-space: nowrap;
}

.cost-table-unit {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.cost-example-card {
    display: flex;
    gap: 16px;
    background: var(--color-off-white);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 22px 26px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.cost-example-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cost-example-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-primary);
}

.cost-example-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

.cost-estimate-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, rgba(27, 107, 74, 0.06) 0%, rgba(212, 151, 59, 0.08) 100%);
    border: 1px solid rgba(27, 107, 74, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

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

.cost-estimate-body p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

.cost-estimate-action {
    flex-shrink: 0;
}

.cost-estimate-action .btn-primary {
    white-space: nowrap;
    padding: 13px 26px;
    font-size: 0.88rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.section-services {
    padding: var(--section-padding);
    background: var(--color-dark);
    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.6);
}

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

.service-card {
    background: var(--color-dark-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
}

.service-card:hover {
    background: var(--color-dark-card-hover);
    transform: translateY(-6px);
    border-color: rgba(27, 107, 74, 0.35);
    box-shadow: 0 20px 38px -5px rgba(0, 0, 0, 0.5);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card-media {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 36, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 6px;
}

.service-card-content {
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 12px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.service-card:hover h3 {
    color: var(--color-primary-light);
}

.service-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-card-footer {
    margin-top: auto;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.service-card:hover .service-card-link {
    color: #ffffff;
}

.service-card:hover .service-card-link svg {
    transform: translateX(5px);
}

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

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

.roofing-type-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.roofing-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.roofing-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
    border-color: rgba(27, 107, 74, 0.2);
}

.roofing-type-card:hover::before {
    opacity: 1;
}

.roofing-type-icon-wrap {
    margin-bottom: 20px;
}

.roofing-type-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(27, 107, 74, 0.08);
    border: 1px solid rgba(27, 107, 74, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.roofing-type-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: transform 0.35s ease;
}

.roofing-type-card:hover .roofing-type-icon {
    background: var(--color-primary);
    color: #ffffff;
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 18px rgba(27, 107, 74, 0.3);
}

.roofing-type-body h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.35;
}

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

/* --- Roofing Types Phone CTA Banner --- */
.types-phone-cta {
    margin-top: 52px;
    background: linear-gradient(135deg, #0f1724 0%, #151e2e 55%, #1a2738 100%);
    border-radius: var(--radius-xl);
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px -10px rgba(15, 23, 36, 0.28);
}

.types-phone-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.types-phone-cta::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 107, 74, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.types-phone-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.types-phone-cta-content {
    flex: 1;
    max-width: 680px;
}

.types-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
}

.types-cta-badge .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.types-cta-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.types-cta-desc {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 18px;
}

.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.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.types-cta-highlights span svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
}

.types-phone-cta-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.types-phone-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -4px rgba(27, 107, 74, 0.45);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.types-phone-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 36px -4px rgba(27, 107, 74, 0.6);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.phone-button-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.phone-button-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.types-phone-button:hover .phone-button-icon {
    transform: rotate(-10deg) scale(1.1);
    background: #ffffff;
}

.types-phone-button:hover .phone-button-icon svg {
    fill: var(--color-primary);
}

.phone-button-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.phone-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2px;
}

.phone-digits {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.1;
}

.types-phone-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-light-gray), var(--color-primary));
    z-index: 0;
}

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

.process-step-number {
    width: 72px;
    height: 72px;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.process-step:hover .process-step-number {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ============================================
   GALLERY / RECENT WORK
   ============================================ */
.section-gallery {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    margin-bottom: 36px;
}

.gallery-filter-btn {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gallery-filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.gallery-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(27, 107, 74, 0.3);
}

.gallery-filter-btn .filter-count {
    background: rgba(255, 255, 255, 0.22);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.gallery-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 18px;
}

.gallery-bento-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: #0f172a;
    box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.3s ease;
}

.gallery-bento-item.item-hero {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-bento-item.item-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.22);
}

.bento-media {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bento-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-bento-item:hover .bento-media img {
    transform: scale(1.08);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 29, 0.88) 0%, rgba(10, 15, 29, 0.25) 45%, transparent 75%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0.85;
    transition: opacity 0.35s ease, background 0.35s ease;
}

.gallery-bento-item:hover .bento-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 15, 29, 0.94) 0%, rgba(10, 15, 29, 0.45) 50%, rgba(10, 15, 29, 0.15) 100%);
}

.bento-zoom-icon {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: scale(0.85);
    opacity: 0.6;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background 0.3s ease;
}

.bento-zoom-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.gallery-bento-item:hover .bento-zoom-icon {
    transform: scale(1);
    opacity: 1;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.bento-caption {
    transform: translateY(4px);
    transition: transform 0.35s ease;
}

.gallery-bento-item:hover .bento-caption {
    transform: translateY(0);
}

.bento-tag {
    display: inline-block;
    padding: 3px 9px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 4px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bento-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-bento-item.item-hero .bento-title {
    font-size: 1.35rem;
}

.gallery-bento-item.is-hidden {
    display: none !important;
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 22, 0.94);
    backdrop-filter: blur(14px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.is-open .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
}

.lightbox-tag { color: #f1f5f9; font-weight: 600; }
.lightbox-counter { color: #94a3b8; font-size: 0.82rem; }

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lightbox-arrow svg { width: 24px; height: 24px; fill: #fff; }

.lightbox-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

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

.damage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

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

.damage-list {
    display: grid;
    gap: 10px;
}

.damage-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text);
    padding: 8px 0;
}

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

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

.signs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.sign-card {
    background: var(--color-white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border-left: 4px solid var(--color-primary);
}

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

.sign-card h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* ============================================
   EMERGENCY SECTION
   ============================================ */
.section-emergency {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.section-emergency::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.emergency-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.emergency-content h2 {
    color: var(--color-white);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 18px;
}

.emergency-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.8;
}

.emergency-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.emergency-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.emergency-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

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

.emergency-phone svg {
    width: 28px;
    height: 28px;
    fill: var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

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

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

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

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

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

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

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

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

/* ============================================
   EQUIPMENT SECTION
   ============================================ */
.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;
}

/* ============================================
   BUILDING CODES / RULES
   ============================================ */
.section-codes {
    padding: var(--section-padding);
    background: var(--color-secondary);
    color: var(--color-white);
}

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

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

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

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

.code-card {
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.code-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(42, 157, 111, 0.45);
    transform: translateY(-3px);
}

.code-card h3 {
    color: var(--color-primary-light);
    font-size: 1.05rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.code-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

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

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}

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

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

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

.area-card h3 svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
}

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

/* ============================================
   LOCAL GUIDES
   ============================================ */
.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-card-hover);
}

.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;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 40px;
}

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

.faq-item:hover {
    border-color: rgba(27, 107, 74, 0.2);
}

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

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

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: all var(--transition-fast);
    font-weight: 300;
    border: 1px solid var(--color-border);
}

.faq-item.active .faq-icon {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: rotate(45deg);
}

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

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

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

/* ============================================
   ZIP CODES
   ============================================ */
.section-zipcodes {
    padding: var(--section-padding);
    padding-bottom: 32px;
    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);
}

/* ============================================
   CITY MAP SECTION
   ============================================ */
.section-city-map {
    padding: 0 0 70px 0;
    background: var(--color-off-white);
}

.city-map-frame {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.city-map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    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.7);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.5fr;
    gap: 36px;
    align-items: start;
}

.footer-map-wrapper {
    position: relative;
    width: 100%;
    height: 175px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.footer-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    background: #ffffff;
    padding: 5px 12px;
    border-radius: var(--radius-sm, 6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: var(--transition-base, all 0.3s ease);
}

.footer-logo-link:hover .footer-logo-img {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-white);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text .logo-company {
    color: var(--color-white);
    font-size: 1.15rem;
}

.footer-logo-text .logo-tagline {
    color: rgba(255, 255, 255, 0.4);
}

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

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

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

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

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

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

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

.footer-contact-item a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: #ffffff !important;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    :root {
        --section-padding: 70px 0;
    }

    .header-inner { height: 70px; }
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #ffffff;
        z-index: 99999;
        padding: 20px 20px 30px;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
        animation: mobileNavFadeIn 0.22s ease-out;
    }

    @keyframes mobileNavFadeIn {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 16px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--color-border);
    }

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

    .mobile-nav-close {
        width: 38px; height: 38px;
        border-radius: 50%;
        background: var(--color-light-gray);
        border: none;
        font-size: 1.6rem; line-height: 1;
        display: flex; align-items: center; justify-content: center;
        color: var(--color-secondary);
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .mobile-nav-close:hover { background: var(--color-primary); color: #ffffff; }

    .main-nav.open>a,
    .main-nav.open .dropdown-trigger {
        font-size: 1.12rem; font-weight: 700;
        padding: 15px 12px;
        width: 100%;
        border-bottom: 1px solid var(--color-light-gray);
        justify-content: flex-start;
        border-radius: 0;
        color: var(--color-secondary);
    }

    .main-nav.open>a:hover,
    .main-nav.open>a.active {
        color: var(--color-primary);
        background: rgba(27, 107, 74, 0.05);
        padding-left: 18px;
    }

    .nav-dropdown { width: 100%; display: flex; flex-direction: column; align-items: stretch; }
    .nav-dropdown .dropdown-trigger { justify-content: space-between; }

    .nav-dropdown .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; background: #F7F9F8;
        width: 100%; padding: 4px 0 6px 12px;
        border-radius: var(--radius-sm); margin: 4px 0 8px;
        border-left: 3px solid var(--color-primary);
        display: none;
    }

    .nav-dropdown .dropdown-menu::before { display: none; }
    .nav-dropdown.active .dropdown-menu { display: flex; flex-direction: column; }

    .nav-dropdown .dropdown-menu a {
        font-size: 0.98rem; font-weight: 600; padding: 12px 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        border-left: none; color: var(--color-text);
    }

    .nav-dropdown .dropdown-menu a:last-child { border-bottom: none; }
    .nav-dropdown .dropdown-menu a:hover { color: var(--color-primary); padding-left: 18px; background: transparent; }

    .mobile-nav-footer {
        display: flex; flex-direction: column; gap: 10px;
        width: 100%; margin-top: 24px; padding-top: 20px;
        border-top: 1px solid var(--color-border);
    }

    .mobile-nav-footer a.btn {
        width: 100%; justify-content: center; padding: 13px 20px;
        font-size: 0.95rem; font-weight: 700;
        border-radius: var(--radius-md);
        display: flex; align-items: center; gap: 8px; text-decoration: none;
    }

    .mobile-nav-call { background: var(--color-secondary) !important; color: #ffffff !important; }
    .mobile-nav-call svg { width: 16px; height: 16px; fill: var(--color-primary-light); }

    .mobile-nav-estimate {
        background: var(--color-primary) !important; color: #ffffff !important;
        border: none !important; box-shadow: 0 4px 14px rgba(27, 107, 74, 0.35);
    }

    body.nav-open .mobile-sticky-cta { display: none !important; }

    .hero .container { padding-top: 60px; padding-bottom: 60px; }
    .hero { min-height: 560px; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .cost-grid,
    .cost-tables-grid { grid-template-columns: 1fr; }
    .cost-table-wrap { margin-top: 20px; }
    .cost-estimate-banner { flex-direction: column; align-items: flex-start; }
    .cost-estimate-action { width: 100%; }
    .cost-estimate-action .btn { width: 100%; justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .roofing-type-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .process-steps::before { display: none; }
    .gallery-bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .gallery-bento-item.item-hero { grid-column: span 2; grid-row: span 2; }
    .damage-grid { grid-template-columns: 1fr; }
    .signs-grid { grid-template-columns: repeat(2, 1fr); }
    .emergency-inner { grid-template-columns: 1fr; }
    .materials-grid { grid-template-columns: repeat(2, 1fr); }
    .equipment-content { grid-template-columns: 1fr; }
    .codes-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(3, 1fr); }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .types-phone-cta { padding: 36px 28px; margin-top: 40px; }
    .types-phone-cta-inner { flex-direction: column; text-align: center; gap: 28px; }
    .types-phone-cta-content { max-width: 100%; }
    .types-cta-highlights { justify-content: center; }
    .types-phone-cta-action { width: 100%; }
    .types-phone-button { width: 100%; max-width: 360px; justify-content: center; }
}

/* Tablets */
@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
        --container-padding: 0 18px;
    }

    .header-cta { display: none !important; }
    .header-inner { height: 64px; padding: 0 16px; }
    .logo-img { height: 44px; }
    .mobile-toggle { margin-left: auto; }
    body { padding-bottom: 74px; }

    .mobile-sticky-cta {
        display: flex !important;
        position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 9998;
        background: linear-gradient(180deg, rgba(15, 23, 36, 0.98) 0%, rgba(28, 35, 51, 0.99) 100%);
        backdrop-filter: blur(12px);
        padding: 10px 14px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        gap: 10px; align-items: center;
    }

    .mobile-cta-btn {
        flex: 1; display: inline-flex; align-items: center; justify-content: center;
        gap: 8px; height: 48px; border-radius: var(--radius-md);
        font-family: var(--font-heading); font-size: 0.92rem; font-weight: 700;
        text-decoration: none; letter-spacing: 0.2px; transition: all var(--transition-fast);
    }

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

    .mobile-cta-call {
        background: rgba(255, 255, 255, 0.12); color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.22);
    }
    .mobile-cta-call svg { fill: var(--color-primary-light); }
    .mobile-cta-call:hover { background: rgba(255, 255, 255, 0.22); }

    .mobile-cta-estimate {
        background: var(--color-primary); color: #ffffff;
        box-shadow: 0 4px 14px rgba(27, 107, 74, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .mobile-cta-estimate svg { fill: #ffffff; }
    .mobile-cta-estimate:hover { background: var(--color-primary-dark); }

    .top-bar-left { gap: 14px; }
    .top-bar-right { display: none; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .why-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .gallery-bento-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
    .gallery-bento-item.item-hero,
    .gallery-bento-item.item-wide { grid-column: span 1; grid-row: span 1; }
    .signs-grid { grid-template-columns: 1fr 1fr; }
    .materials-grid { grid-template-columns: 1fr; }
    .codes-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .guides-grid { grid-template-columns: 1fr; }
    .equipment-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cost-regional-title { font-size: 1.35rem; }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px 0;
        --container-padding: 0 16px;
    }

    .top-bar { font-size: 0.76rem; }
    .top-bar-left { flex-direction: column; gap: 4px; align-items: flex-start; }
    .header-inner { height: 64px; }
    .logo-company { font-size: 1rem; }

    .hero h1 { font-size: 1.7rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-badge { font-size: 0.7rem; padding: 6px 14px; }
    .section-title { font-size: 1.55rem; }
    .cost-regional-title { font-size: 1.25rem; }
    .cost-example-card { padding: 16px 16px; }
    .cost-estimate-banner { padding: 20px 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .signs-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .roofing-type-grid { grid-template-columns: 1fr; }

    .cost-table th, .cost-table td { padding: 10px 12px; font-size: 0.82rem; }
    .emergency-phone { font-size: 1.3rem; }
    .emergency-card { padding: 28px 22px; }
    .cta-inner h2 { font-size: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .btn { padding: 13px 26px; font-size: 0.88rem; }
    .zip-badge { padding: 10px 18px; font-size: 0.95rem; }
    .zip-list { gap: 10px; }

    .types-phone-cta { padding: 28px 20px; }
    .phone-digits { font-size: 1.2rem; }
    .section-city-map { padding-bottom: 44px; }
    .city-map-frame { height: 280px; border-radius: var(--radius-lg); }
}
