/* ==========================================================================
   SLC WINDOW CLEANING — HOMEPAGE DESIGN SYSTEM & STYLESHEET
   Brand Theme: Water, Glass, Clarity (Deep Teal & Navy Palette)
   Market: Salt Lake City, Utah & Wasatch Front
   File: /index.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors — Window Cleaning Niche */
    --color-primary: #0E7490;
    /* Deep teal — clean, water, glass */
    --color-primary-dark: #0A5B72;
    /* Dark teal hover & active states */
    --color-primary-light: #17A2B8;
    /* Bright teal highlights & borders */
    --color-secondary: #1B2A4A;
    /* Deep navy — authority, contrast */
    --color-accent: #38BDF8;
    /* Sky blue highlight */
    --color-accent-dark: #0EA5E9;
    /* Vibrant sky blue */
    --color-text: #1E293B;
    /* Slate dark for high-contrast reading */
    --color-text-light: #64748B;
    /* Slate light for secondary body */
    --color-text-muted: #94A3B8;
    /* Slate muted for captions & meta */
    --color-white: #FFFFFF;
    /* Crisp pure white */
    --color-off-white: #F0F9FF;
    /* Soft cool water tint */
    --color-light-gray: #E0F2FE;
    /* Light water blue background */
    --color-border: #BAE6FD;
    /* Glass-ice border tone */
    --color-dark: #0F172A;
    /* Deep obsidian navy for footers & hero */
    --color-dark-card: #1E293B;
    /* Navy card surface */
    --color-dark-card-hover: #26354D;
    /* Navy card hover */
    --color-success: #10B981;
    /* Emerald green success badges */

    /* Glass Effect RGBA Accents */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(186, 230, 253, 0.45);
    --glass-shadow: 0 8px 32px 0 rgba(14, 116, 144, 0.08);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-accent: 'Roboto Slab', Georgia, serif;

    /* Spacing & Sizing */
    --section-padding: 96px 0;
    --section-padding-sm: 64px 0;
    --container-width: 1240px;
    --container-sm: 960px;
    --container-lg: 1360px;
    --container-padding: 0 24px;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 8px rgba(14, 116, 144, 0.07);
    --shadow-md: 0 6px 20px rgba(14, 116, 144, 0.10);
    --shadow-lg: 0 12px 36px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.18);
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-card-hover: 0 16px 40px rgba(14, 116, 144, 0.16);

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

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

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::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;
    text-rendering: optimizeLegibility;
}

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

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

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

ul,
ol {
    list-style: none;
}

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

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

strong,
b {
    font-weight: 700;
    color: var(--color-text);
}

::selection {
    background-color: var(--color-primary-light);
    color: var(--color-white);
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. CONTAINER & UTILITY CLASSES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container-sm {
    width: 100%;
    max-width: var(--container-sm);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container-lg {
    width: 100%;
    max-width: var(--container-lg);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-alt {
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.section-dark p {
    color: var(--color-text-muted);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-white);
}

/* Section Headers */
.section-header {
    margin-bottom: 52px;
    position: relative;
}

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

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--color-primary);
    margin-bottom: 14px;
    background: rgba(14, 116, 144, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(14, 116, 144, 0.2);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

.section-dark .section-label {
    color: var(--color-accent);
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

.section-dark .section-label::before {
    background: var(--color-accent);
}

.section-title {
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--color-primary);
    position: relative;
}

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

.section-dark .section-subtitle {
    color: var(--color-text-muted);
}

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

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

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

/* Flex & Grid Utilities */
.d-flex {
    display: flex;
}

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

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.grid {
    display: grid;
}

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

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

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

/* ============================================
   CONTENT CARDS (Homepage "Why Proper Window Cleaning" section)
   ============================================ */
.content-cards-grid {
    gap: 32px;
}

.content-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(14, 116, 144, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    box-shadow: 0 10px 32px rgba(14, 116, 144, 0.12);
    transform: translateY(-4px);
    border-color: rgba(14, 116, 144, 0.25);
}

.content-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    max-width: 56px;
    max-height: 56px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.1), rgba(56, 189, 248, 0.15));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.content-card-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    stroke: var(--color-primary);
    fill: none;
    display: block;
}

.content-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.content-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 12px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SERVICE CARD ICON (Homepage services grid icons)
   ============================================ */
.service-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    max-width: 52px;
    max-height: 52px;
    background: rgba(56, 189, 248, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-card-icon svg {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    stroke: var(--color-accent);
    fill: none;
    display: block;
}

/* Image Placeholder Style */
.img-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #0E7490;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    border: 1px dashed rgba(14, 116, 144, 0.35);
    box-shadow: inset 0 2px 6px rgba(14, 116, 144, 0.05);
    user-select: none;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.img-placeholder span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.08);
}

.img-placeholder:hover {
    border-color: var(--color-primary);
}

/* Feature Checkmark List */
.feature-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.feature-list li svg,
.feature-list li .check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   4. BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-base);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: 0 8px 22px rgba(14, 116, 144, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-border);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-off-white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.btn-outline,
.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn-outline:hover,
.btn-outline-light:hover,
.btn-outline:focus-visible,
.btn-outline-light:focus-visible {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-dark {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover,
.btn-dark:focus-visible {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    border-color: var(--color-accent);
    font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus-visible {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 18px 38px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

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

/* --------------------------------------------------------------------------
   5. TOP BAR STYLES
   -------------------------------------------------------------------------- */
.top-bar {
    background-color: var(--color-secondary);
    padding: 9px 0;
    font-size: 0.84rem;
    color: rgba(240, 249, 255, 0.9);
    border-bottom: 1px solid rgba(186, 230, 253, 0.12);
    position: relative;
    z-index: 1010;
}

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

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

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

.top-bar-item a {
    color: inherit;
}

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

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

.top-bar-location {
    font-weight: 500;
    letter-spacing: 0.2px;
}

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

.top-bar-badge {
    background: rgba(14, 116, 144, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--color-off-white);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

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

/* --------------------------------------------------------------------------
   6. HEADER & DESKTOP NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-xs);
    border-bottom: 1px solid var(--color-light-gray);
    transition: box-shadow var(--transition-base), background-color var(--transition-base), height var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.09);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

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

.site-header.scrolled .header-inner {
    height: 72px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo-img {
    height: 44px;
    width: auto;
    max-height: 44px;
    object-fit: contain;
    display: inline-block;
}

.mobile-logo-img {
    height: 38px;
    width: auto;
    max-height: 38px;
    object-fit: contain;
    display: inline-block;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    max-height: 42px;
    object-fit: contain;
    display: inline-block;
    margin-bottom: 12px;
}

.sp-featured-image {
    width: 100%;
    margin: 28px 0;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sp-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

/* Hero Background Layer */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 0 90px;
    background-color: #0b1329;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transform: scale(1.02);
    filter: brightness(0.95) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 20, 42, 0.65) 0%,
        rgba(10, 20, 42, 0.42) 38%,
        rgba(10, 20, 42, 0.68) 75%,
        rgba(10, 20, 42, 0.95) 100%
    );
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.hero-content {
    color: var(--color-white);
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Page Hero for secondary pages (about, contact, sitemap) */
.page-hero {
    position: relative;
    padding: 130px 0 65px;
    background: linear-gradient(145deg, #1B2A4A 0%, #13223E 50%, #0F172A 100%);
    color: var(--color-white);
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 12px;
}
.page-subtitle {
    font-size: 1.15rem;
    color: rgba(240, 249, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
}

.logo-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.25);
    flex-shrink: 0;
}

.logo-icon-box svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

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

.logo-brand-name,
.logo-company {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.logo-brand-name span,
.logo-company span {
    color: var(--color-primary);
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-top: 1px;
}

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

.main-nav a,
.dropdown-trigger {
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--color-secondary);
    padding: 9px 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 {
    color: var(--color-primary);
    background: var(--color-off-white);
}

/* --------------------------------------------------------------------------
   7. NAV DROPDOWN STYLES
   -------------------------------------------------------------------------- */
.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: calc(100% + 4px);
    left: 0;
    min-width: 290px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    border: 1px solid var(--color-border);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

/* Invisible bridge so mouse hover doesn't break */
.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(0);
}

.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 0.9rem;
    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-color: var(--color-off-white);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 24px;
}

/* Header Actions / CTA */
.header-actions,
.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

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

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

/* --------------------------------------------------------------------------
   8. MOBILE NAVIGATION & HAMBURGER
   -------------------------------------------------------------------------- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1020;
}

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

.mobile-toggle:hover span {
    background-color: var(--color-primary);
}

/* Mobile Nav Overlay Backdrop */
.nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile-only header and footer elements inside nav drawer */
.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

/* --------------------------------------------------------------------------
   9. HOMEPAGE HERO TYPOGRAPHY & ELEMENTS
   -------------------------------------------------------------------------- */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(14, 116, 144, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

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

.hero h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
    background: linear-gradient(135deg, #38BDF8 0%, #17A2B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc,
.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(240, 249, 255, 0.9);
    line-height: 1.7;
    max-width: 820px;
    margin-bottom: 36px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

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

/* Trust Stats Bar in Hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 820px;
    padding-top: 36px;
    border-top: 1px solid rgba(186, 230, 253, 0.15);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(240, 249, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* --------------------------------------------------------------------------
   10. TRUST / BRAND BANNER SLIDER
   -------------------------------------------------------------------------- */
.brand-slider-section {
    padding: 44px 0;
    background-color: var(--color-off-white);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.brand-slider-header {
    text-align: center;
    margin-bottom: 24px;
}

.brand-slider-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.brand-slider-viewport-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

.brand-slider-viewport-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-off-white) 0%, transparent 100%);
}

.brand-slider-viewport-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-off-white) 0%, transparent 100%);
}

.brand-slider-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.brand-slider-track:hover {
    animation-play-state: paused;
}

.brand-slide-card {
    flex-shrink: 0;
    padding: 12px 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand-slide-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   11. ABOUT / VALUE PROPOSITION SECTION
   -------------------------------------------------------------------------- */
.section-about {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

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

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    line-height: 1.75;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.about-highlight-box {
    padding: 20px;
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-highlight-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary-light);
}

.about-highlight-box h4 {
    color: var(--color-primary);
    font-size: 1.05rem;
}

.about-highlight-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--color-text-light);
}

.about-media {
    position: relative;
}

.about-badge-card {
    position: absolute;
    bottom: -24px;
    right: 20px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-badge-card strong {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    display: block;
    line-height: 1.1;
}

.about-badge-card span {
    font-size: 0.84rem;
    color: var(--color-off-white);
}

/* --------------------------------------------------------------------------
   12. WHY CHOOSE US / VALUE PILLARS
   -------------------------------------------------------------------------- */
.section-why-choose {
    padding: var(--section-padding);
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-border);
}

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

.why-card {
    background: var(--color-white);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.why-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-off-white) 100%);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 22px;
    transition: all var(--transition-base);
}

.why-card:hover .why-card-icon {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.why-card-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

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

/* --------------------------------------------------------------------------
   13. SERVICE CARDS GRID (8 CORE SERVICES)
   -------------------------------------------------------------------------- */
.section-services {
    padding: var(--section-padding);
    background-color: var(--color-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(14, 116, 144, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

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

.section-services .section-subtitle {
    color: rgba(240, 249, 255, 0.75);
}

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

.service-card {
    background: var(--color-dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(186, 230, 253, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
    position: relative;
    padding: 28px;
}

.service-card:hover {
    background: var(--color-dark-card-hover);
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 42px rgba(14, 116, 144, 0.35);
}

.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 var(--transition-base);
}

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

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

.service-card-media .img-placeholder {
    border-radius: 0;
    border: none;
    height: 100%;
    width: 100%;
}

.service-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(186, 230, 253, 0.3);
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    z-index: 2;
}

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

.service-card h3 {
    font-size: 1.22rem;
    color: var(--color-white);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

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

.service-card p {
    font-size: 0.9rem;
    color: rgba(240, 249, 255, 0.72);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card-features li {
    font-size: 0.82rem;
    color: rgba(240, 249, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card-features li svg {
    width: 14px;
    height: 14px;
    fill: var(--color-accent);
    flex-shrink: 0;
}

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

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

.service-card-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link {
    color: var(--color-white);
}

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

/* Light Service Cards Variant (when used on light backgrounds) */
.section-services-light {
    background-color: var(--color-white);
    color: var(--color-text);
}

.section-services-light .service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.section-services-light .service-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary);
}

.section-services-light .service-card h3 {
    color: var(--color-secondary);
}

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

.section-services-light .service-card p {
    color: var(--color-text-light);
}

.section-services-light .service-card-link {
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   14. WINDOW TYPES & SPECIALIZED GLASS SECTION
   -------------------------------------------------------------------------- */
.section-window-types {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

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

.type-card {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

.type-card-badge {
    align-self: flex-start;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(14, 116, 144, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.type-card h3 {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.type-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   15. ENVIRONMENTAL CONDITIONS & DIRTY WINDOW CAUSES (SLC SPECIFIC)
   -------------------------------------------------------------------------- */
.section-causes,
.section-damage {
    padding: var(--section-padding);
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-border);
}

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

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

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

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

.cause-card-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.cause-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

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

/* --------------------------------------------------------------------------
   16. PROCESS STEPS SECTION (5-STEP PROCESS)
   -------------------------------------------------------------------------- */
.section-process {
    padding: var(--section-padding);
    background-color: var(--color-white);
    position: relative;
}

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

/* Connecting bar behind step circles */
.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border), var(--color-primary), var(--color-border));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step-number {
    width: 72px;
    height: 72px;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.15);
    transition: all var(--transition-base);
}

.process-step:hover .process-step-number {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.35);
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

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

/* --------------------------------------------------------------------------
   17. PRICING & COST FACTORS SECTION
   -------------------------------------------------------------------------- */
.section-cost {
    padding: var(--section-padding);
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-border);
}

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

.cost-card {
    background: var(--color-white);
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.cost-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.cost-card p {
    font-size: 0.94rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   18. SERVICE AREAS & NEIGHBORHOODS (WASATCH FRONT)
   -------------------------------------------------------------------------- */
.section-areas {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

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

.area-card {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
}

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

.area-card h3 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.area-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

.zipcodes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

.zip-badge {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.zip-badge:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   19. FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.section-faq {
    padding: var(--section-padding);
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-border);
}

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

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

.faq-item:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(14, 116, 144, 0.12);
}

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

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

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--color-primary);
    transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
    font-weight: 400;
}

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

.faq-a,
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-white);
}

.faq-answer-inner,
.faq-a-inner,
.faq-a p,
.faq-answer p {
    padding: 0 24px 22px;
    font-size: 0.94rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   20. CONTACT / FINAL CTA SECTION
   -------------------------------------------------------------------------- */
.section-cta {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, #1B2A4A 0%, #0E7490 100%);
    color: var(--color-white);
    overflow: hidden;
    text-align: center;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
    font-weight: 800;
}

.cta-inner p {
    color: rgba(240, 249, 255, 0.9);
    font-size: 1.12rem;
    margin-bottom: 34px;
    line-height: 1.75;
}

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

.cta-phone {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-fast);
}

.cta-phone:hover {
    color: var(--color-accent);
}

.cta-phone svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
}

/* Contact Form Layout (if used) */
.contact-form-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-align: left;
    max-width: 640px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-off-white);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --------------------------------------------------------------------------
   21. FOOTER STYLES
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(240, 249, 255, 0.7);
    padding: 70px 0 0;
    border-top: 1px solid rgba(186, 230, 253, 0.1);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.footer-brand .site-logo {
    margin-bottom: 18px;
}

.footer-brand .logo-brand-name {
    color: var(--color-white);
}

.footer-brand .logo-tagline {
    color: rgba(240, 249, 255, 0.5);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(240, 249, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--color-white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(240, 249, 255, 0.65);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(240, 249, 255, 0.7);
}

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

.footer-contact-item a {
    color: inherit;
    transition: color var(--transition-fast);
}

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

/* Map Wrapper in Footer */
.footer-map-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(186, 230, 253, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

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

/* Footer Bottom Bar */
.footer-bottom {
    margin-top: 50px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: rgba(240, 249, 255, 0.45);
}

.footer-bottom p {
    margin-bottom: 0;
    color: inherit;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(240, 249, 255, 0.5);
    font-size: 0.84rem;
    transition: color var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   22. BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity var(--transition-base), transform var(--transition-base), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.back-to-top:hover,
.back-to-top:focus-visible {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 26px rgba(14, 116, 144, 0.55);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Large Desktops / Laptops (1200px) */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .process-steps {
        gap: 16px;
    }

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

/* Tablets Landscape & Small Desktops (992px) */
@media (max-width: 992px) {
    :root {
        --section-padding: 72px 0;
    }

    .header-inner {
        height: 72px;
    }

    .header-actions .header-phone,
    .header-cta .header-phone {
        display: none;
    }

    /* Hide Desktop Navigation & Show Mobile Toggle */
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile Nav Slide-in Drawer */
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 360px;
        background-color: var(--color-white);
        z-index: 1050;
        padding: 24px 20px 32px;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
        animation: slideInRight 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0.5;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

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

    .mobile-nav-logo {
        font-family: var(--font-heading);
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--color-secondary);
    }

    .mobile-nav-logo span {
        color: var(--color-primary);
    }

    .mobile-nav-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: 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,
    .mobile-nav-close:focus-visible {
        background-color: var(--color-primary);
        color: var(--color-white);
    }

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

    .main-nav.open>a:hover,
    .main-nav.open>a.active {
        color: var(--color-primary);
        background-color: var(--color-off-white);
        padding-left: 16px;
    }

    .main-nav.open .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .main-nav.open .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--color-border);
        margin: 4px 0 8px 16px;
        padding: 4px 0;
        background-color: var(--color-off-white);
        border-radius: var(--radius-sm);
        display: none;
    }

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

    .main-nav.open .dropdown-menu a {
        padding: 10px 14px;
        font-size: 0.9rem;
        border-left: none;
    }

    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
        padding-top: 20px;
        border-top: 1px solid var(--color-border);
    }

    .mobile-nav-footer .btn {
        width: 100%;
        justify-content: center;
    }

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

    .mobile-nav-estimate {
        background-color: var(--color-secondary);
        color: var(--color-white);
    }

    /* Grids */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-grid,
    .types-grid,
    .causes-grid,
    .cost-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .process-steps::before {
        display: none;
    }

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

/* Tablets Portrait & Large Handsets (768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 18px;
    }

    .top-bar-left {
        justify-content: center;
        width: 100%;
        gap: 12px;
    }

    .top-bar-right {
        display: none;
    }

    .hero {
        min-height: 600px;
        padding: 70px 0 60px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-stat {
        border-bottom: 1px solid rgba(186, 230, 253, 0.12);
        padding-bottom: 14px;
    }

    .hero-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

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

    .why-grid,
    .types-grid,
    .causes-grid,
    .cost-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .footer-bottom-links {
        justify-content: center;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }
}

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

    .header-inner {
        padding: 0 16px;
    }

    .logo-brand-name {
        font-size: 1.15rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

/* --------------------------------------------------------------------------
   24. REDUCED-MOTION ACCESSIBILITY SUPPORT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .brand-slider-track {
        animation: none;
    }

    .back-to-top {
        transition: none;
    }

    .service-card:hover {
        transform: none;
    }

    .why-card:hover {
        transform: none;
    }
}