@font-face {font-family:Inter;font-style:normal;font-weight:300;font-display:optional;src:url(/assets/fonts/inter-300.woff2) format("woff2");}
@font-face {font-family:Inter;font-style:normal;font-weight:400;font-display:optional;src:url(/assets/fonts/inter-400.woff2) format("woff2");}
@font-face {font-family:Inter;font-style:normal;font-weight:500;font-display:optional;src:url(/assets/fonts/inter-500.woff2) format("woff2");}
@font-face {font-family:Inter;font-style:normal;font-weight:600;font-display:optional;src:url(/assets/fonts/inter-600.woff2) format("woff2");}
@font-face {font-family:Inter;font-style:normal;font-weight:700;font-display:optional;src:url(/assets/fonts/inter-700.woff2) format("woff2");}
@font-face {font-family:Inter;font-style:normal;font-weight:800;font-display:optional;src:url(/assets/fonts/inter-800.woff2) format("woff2");}
/* ========================================
   SHOWER EXPERT - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --secondary: #0f172a;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --white: #ffffff;
    --black: #000000;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
.service-area-summary { padding: 64px 0; }
.service-area-summary p { margin-bottom: 20px; }

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: #f5fcfd;
    background-attachment: fixed;
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url('/assets/page-background.webp') center / cover no-repeat;
    opacity: 0.11;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(231,249,251,.88) 45%, rgba(255,255,255,.94));
}

section:not(.hero) {
    background-color: rgba(255, 255, 255, 0.66);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(226, 249, 250, 0.55) 52%, rgba(255, 255, 255, 0.84) 100%);
    background-blend-mode: soft-light;
}

section:not(.hero) p,
section:not(.hero) li,
section:not(.hero) label {
    color: #34424b;
}

/* Genuine Shower Expert project photography, used only as restrained light-mode scenery. */
.assessment,
.about,
.services {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.assessment::before,
.about::before,
.services::before {
    content: "";
    position: absolute;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

.assessment::before {
    inset: 0;
    background-image: url('/assets/gallery/gallery-17.jpg');
    background-position: center;
    opacity: 0.75;
}

.about::before {
    inset-block: 0;
    right: 0;
    width: 55%;
    background-image: url('/assets/gallery/gallery-17.jpg');
    background-position: center 35%;
    opacity: 0.83;
}

.services::before {
    inset-block: 0;
    left: 0;
    width: 48%;
    background-image: url('/assets/gallery/gallery-17.jpg');
    background-position: center 38%;
    opacity: 0.91;
}

.assessment > .container,
.about > .container,
.services > .container {
    position: relative;
    z-index: 1;
}

.assessment .section-header,
.services .section-header {
    width: fit-content;
    max-width: min(760px, 100%);
    margin-inline: auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 184, 200, 0.22);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-900);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
}

.theme-toggle {
    min-width: 84px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-left: 0.65rem;
    padding: 0 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14);
    outline: none;
}

.theme-icon {
    width: 17px;
    height: 17px;
}

.theme-icon-sun {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: block;
}

[data-theme="dark"] .theme-icon-moon {
    display: none;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background: var(--gray-50);
}

.phone-link:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.phone-link svg {
    width: 18px;
    height: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }

    .theme-toggle {
        margin-left: auto;
        margin-right: 0.55rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        min-width: 42px;
        width: 42px;
        padding: 0;
    }

    .theme-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;

}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 72%),
        linear-gradient(180deg, rgba(6, 30, 45, 0.08) 0%, transparent 32%, rgba(6, 30, 45, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #082f49;
    padding: 8rem 1.5rem 4rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(0, 184, 200, 0.52);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    color: #075985;
    box-shadow: 0 8px 28px rgba(8, 47, 73, 0.12);
    margin-bottom: 1.5rem;
}

.badge-icon {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #082f49;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #082f49;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 2px rgba(255, 255, 255, 0.96), 0 0 18px rgba(255, 255, 255, 0.88);
}

.hero-title span {
    color: #007f8c;
    text-shadow: 0 2px 2px rgba(255, 255, 255, 0.98), 0 0 16px rgba(255, 255, 255, 0.94);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #123b52;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.98), 0 0 12px rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0c4a6e;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 184, 200, 0.32);
    border-radius: var(--radius-full);
    padding: 0.65rem 0.9rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(8, 47, 73, 0.1);
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: #008f9c;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 220px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.18) 65%, rgba(6, 30, 45, 0.12) 100%);
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-trust {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    .trust-item {
        font-size: 0.875rem;
    }
}


/* About Us Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
}

.about-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    border: 1px solid rgba(8, 145, 178, 0.16);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.25rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

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

.about-highlights {
    padding: 2rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(145deg, #075f6b 0%, #0891b2 55%, #00b8c8 100%);
    box-shadow: var(--shadow-md);
}

.about-highlights h3 {
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.about-highlights ul {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.about-highlights li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-weight: 600;
}

.about-highlights li span {
    color: #facc15;
    font-weight: 900;
}

@media (max-width: 820px) {
    .about {
        padding: 3.5rem 0;
    }

    .about-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
}

/* Assessment Section */
.assessment {
    padding: 5rem 0;
    background: var(--gray-50);
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.assessment-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.assessment-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.assessment-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.assessment-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.assessment-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    color: #065f46;
}

.assessment-notice svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .assessment-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(247, 252, 253, 0.9), rgba(238, 250, 251, 0.86));
}

/* Light-mode Our Work backdrop: only the finished lower panel of the supplied blue-floor image. */
.gallery::before,
.gallery::after {
    content: "";
    position: absolute;
    inset-block: 0;
    width: 50%;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

.gallery::before {
    left: 0;
    width: 100%;
    background-image: url('/assets/gallery/gallery-background-blue-finished-4k.webp');
    background-position: center;
    background-size: cover;
}

.gallery::after {
    display: none;
}

.gallery > .container {
    position: relative;
    z-index: 1;
}

.gallery .section-header {
    width: fit-content;
    max-width: min(760px, 100%);
    margin-inline: auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 184, 200, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: rgba(255,255,255,.96);
    padding: .65rem;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item-single {
    padding: 0;
}

.gallery-photo-button {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 2px);
    background: #102027;
}

.gallery-photo {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #102027;
    transition: transform 0.3s ease;
}

.gallery-photo-button:hover .gallery-photo,
.gallery-photo-button:focus-visible .gallery-photo {
    transform: scale(1.015);
}

.gallery-photo-button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.gallery-photo-caption {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(4, 35, 42, 0.84);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.gallery-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.gallery-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    pointer-events: none;
}

.gallery-label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.75rem;
}

.gallery-label span {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - .2rem);
    background: #102027;
}

.comparison-after,
.comparison-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.comparison-before-wrap {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    overflow: hidden;
}

.comparison-before { width: calc(100vw - 3rem); max-width: none; }
.gallery-item .comparison-before { width: calc((min(1200px, 100vw - 3rem) - 3rem) / 3); }

.gallery-item .comparison-recent .comparison-before-wrap {
    width: 100%;
    clip-path: inset(0 50% 0 0);
}
.gallery-item .comparison-recent .comparison-before { width: 100%; }

.comparison-handle {
    position: absolute;
    inset: 0 auto 0 50%;
    width: 3px;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.15);
    pointer-events: none;
}

.comparison-handle span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #075f6b;
    font-size: 1.25rem;
    box-shadow: 0 5px 18px rgba(0,0,0,.3);
}

.comparison-range {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: col-resize;
}

.comparison-label {
    position: absolute;
    top: .75rem;
    z-index: 2;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: rgba(0,0,0,.68);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}
.label-before { left: .75rem; }
.label-after { right: .75rem; }

.gallery-fullscreen {
    display: block;
    width: 100%;
    margin-top: .65rem;
    padding: .72rem 1rem;
    border-radius: var(--radius);
    background: #075f6b;
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}
.gallery-fullscreen:hover { background: var(--primary); }

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

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo {
        height: min(420px, 72vh);
    }
}

/* Before/After Slider Section */
.slider-section {
    padding: 5rem 0;
    background: var(--white);
}

.ba-slider-container {
    max-width: 900px;
    margin: 0 auto;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: col-resize;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    width: 50%;
    overflow: hidden;
    z-index: 2;
}

.ba-after {
    z-index: 1;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--white);
    transform: translateX(-50%);
    z-index: 3;
    cursor: col-resize;
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.ba-handle-circle svg {
    width: 16px;
    height: 16px;
    color: var(--gray-800);
}

.ba-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0 1rem;
}

.ba-label {
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .ba-slider {
        height: 350px;
    }
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background-color: #f3fbfc;
    background-image: radial-gradient(circle at 15% 10%, rgba(0, 184, 200, 0.14), transparent 34%), linear-gradient(180deg, #ffffff 0%, #eefafb 48%, #ffffff 100%);
}

.google-review-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    padding: 0.48rem 0.9rem;
    border: 1px solid rgba(0, 184, 200, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gray-800);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.google-g {
    color: #4285f4;
    font-size: 1.15rem;
    font-weight: 800;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.96);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 184, 200, 0.15);
    min-height: 260px;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-card.hidden {
    display: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.review-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.review-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    color: var(--warning);
    fill: var(--warning);
}

.review-text {
    white-space: pre-line;
    color: #33424c;
    font-size: 0.95rem;
    line-height: 1.6;
}



.reviews-actions {
    text-align: center;
    margin-bottom: 3rem;
}

/* Review Form */
.review-form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.review-form-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.review-form-section > p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .review-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Quote Section */
.quote {
    padding: 5rem 0;
    background: var(--white);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.quote-info .section-title {
    text-align: left;
}

.quote-info .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.quote-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.benefit-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.quote-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.quote-contact p {
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.phone-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.phone-large svg {
    width: 28px;
    height: 28px;
}

.hours {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.quote-form-container {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.quote-form .form-group {
    margin-bottom: 1.25rem;
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quote-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition-fast);
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.quote-form textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--primary);
    background: rgba(8, 145, 178, 0.02);
}

.file-upload input[type="file"] {
    position: relative;
    width: 100%;
    min-height: 48px;
    opacity: 1;
    cursor: pointer;
}

.file-upload input[type="file"]::file-selector-button {
    border: 0;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-right: 0.75rem;
    background: var(--warning);
    color: var(--gray-900);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.file-upload input[type="file"]:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.file-item span { overflow-wrap: anywhere; min-width: 0; }
.file-item button { min-height: 44px; padding: 0.5rem; margin-left: 0.5rem; }

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
}

.file-upload-label svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.file-list {
    margin-top: 1rem;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.file-item button {
    color: var(--danger);
    font-size: 0.75rem;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (max-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .quote-info .section-title,
    .quote-info .section-subtitle {
        text-align: center;
    }
    .quote-benefits {
        max-width: 400px;
        margin: 2rem auto;
    }
    .quote-contact {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .quote-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Warranty Section */
.warranty {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #f5fcfd 0%, #e9f9fb 100%);
    color: var(--gray-900);
}

.warranty-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--white);
    border: 1px solid rgba(0, 184, 200, 0.22);
    border-top: 5px solid var(--primary);
    border-radius: 1.25rem;
    box-shadow: 0 24px 70px rgba(15, 67, 74, 0.12);
}

.warranty-heading {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.warranty-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    background: linear-gradient(145deg, var(--primary), #008f9d);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 28px rgba(0, 184, 200, 0.25);
}

.warranty-icon svg {
    width: 40px;
    height: 40px;
}

.warranty-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: #008b98;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.warranty-heading h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 0.45rem;
}

.warranty-heading p {
    margin: 0;
    color: var(--gray-600);
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.warranty-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.2rem;
    min-height: 170px;
    padding: 1.5rem;
    background: #f7fbfc;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
}

.warranty-item-featured {
    background: linear-gradient(145deg, #00b8c8, #009aa8);
    border-color: transparent;
    color: var(--white);
}

.warranty-term {
    width: 94px;
    height: 94px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid rgba(0, 184, 200, 0.3);
    border-radius: 50%;
    color: #008b98;
    box-shadow: 0 8px 24px rgba(15, 67, 74, 0.1);
}

.warranty-term strong {
    font-size: 3rem;
    line-height: 1;
}

.warranty-term span {
    margin-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.warranty-copy h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.warranty-copy p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.55;
}

.warranty-item-featured .warranty-copy p {
    color: rgba(255, 255, 255, 0.9);
}

.warranty-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--gray-200);
}

.warranty-note {
    max-width: 680px;
    margin: 0;
    color: var(--gray-600);
    font-size: 0.8rem;
    line-height: 1.55;
}

.warranty-note strong {
    color: var(--gray-800);
}

.warranty-link {
    flex: 0 0 auto;
    color: #007d89;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.warranty-link:hover,
.warranty-link:focus-visible {
    color: var(--secondary);
    text-decoration: underline;
}

@media (max-width: 760px) {
    .warranty {
        padding: 3.5rem 0;
    }

    .warranty-heading {
        align-items: flex-start;
    }

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

    .warranty-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.85rem;
    }
}

@media (max-width: 480px) {
    .warranty-heading {
        display: block;
    }

    .warranty-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 1rem;
    }

    .warranty-icon svg {
        width: 32px;
        height: 32px;
    }

    .warranty-item {
        grid-template-columns: 72px 1fr;
        gap: 0.9rem;
        min-height: 0;
        padding: 1.15rem;
    }

    .warranty-term {
        width: 72px;
        height: 72px;
    }

    .warranty-term strong {
        font-size: 2.35rem;
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-badges .badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links li,
.footer-services li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray-400);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox.single-image .comparison-before-wrap,
.lightbox.single-image .comparison-handle,
.lightbox.single-image .comparison-range,
.lightbox.single-image .comparison-label {
    display: none;
}

.lightbox.single-image .comparison-after {
    object-fit: contain;
    background: #07171c;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
    width: 90%;
    max-width: 1200px;
    height: min(84vh, 900px);
}

.lightbox-title {
    color: #fff;
    text-align: center;
    margin: 0 0 .75rem;
}

.comparison-slider-full { height: calc(100% - 3rem); aspect-ratio: auto; }
.comparison-slider-full .comparison-before { width: 90vw; }

.lightbox-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 100%;
}

.lightbox-before,
.lightbox-after {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lightbox-before img,
.lightbox-after img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--gray-900);
}

.lightbox-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.lightbox-single {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-single img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .lightbox-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .gallery-item .comparison-before { width: calc((100vw - 4.5rem) / 2); }
}

@media (max-width: 640px) {
    .gallery-item .comparison-before { width: calc(100vw - 3rem); }
    .comparison-slider { aspect-ratio: 3 / 4; }
    .lightbox-content { width: 96%; height: 78vh; }
    .comparison-slider-full .comparison-before { width: 96vw; }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Shower Expert Dark Theme
   ======================================== */
[data-theme="dark"] {
    color-scheme: dark;
    --secondary: #e8f7f9;
    --gray-50: #10242a;
    --gray-100: #163039;
    --gray-200: #24434c;
    --gray-300: #385a63;
    --gray-400: #7f9ba3;
    --gray-500: #a1b6bc;
    --gray-600: #bfd0d4;
    --gray-700: #d6e3e6;
    --gray-800: #e8f2f4;
    --gray-900: #f5fbfc;
    --white: #10242a;
    --black: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.28);
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] body {
    background: #07171c;
    color: #d6e3e6;
}

[data-theme="dark"] body::before {
    opacity: 0.16;
}

[data-theme="dark"] body::after {
    background: linear-gradient(180deg, rgba(5, 20, 25, 0.9), rgba(7, 31, 37, 0.88) 45%, rgba(5, 20, 25, 0.94));
}

[data-theme="dark"] section:not(.hero) {
    background-color: rgba(8, 30, 36, 0.8);
    background-image: linear-gradient(180deg, rgba(8, 31, 37, 0.9), rgba(13, 45, 52, 0.76) 52%, rgba(8, 29, 35, 0.9));
    background-blend-mode: normal;
}

[data-theme="dark"] .gallery::before,
[data-theme="dark"] .gallery::after,
[data-theme="dark"] .assessment::before,
[data-theme="dark"] .about::before,
[data-theme="dark"] .services::before {
    display: none;
}

[data-theme="dark"] .gallery .section-header,
[data-theme="dark"] .assessment .section-header,
[data-theme="dark"] .services .section-header {
    background: rgba(15, 42, 49, 0.97);
    border-color: rgba(0, 184, 200, 0.3);
}

[data-theme="dark"] section:not(.hero) p,
[data-theme="dark"] section:not(.hero) li,
[data-theme="dark"] section:not(.hero) label {
    color: #c8d8dc;
}

[data-theme="dark"] .header {
    background: rgba(6, 23, 29, 0.95);
    border-bottom: 1px solid rgba(0, 184, 200, 0.18);
}

[data-theme="dark"] .nav {
    background: #081e24;
}

[data-theme="dark"] .nav-link,
[data-theme="dark"] .menu-toggle span {
    color: #dcebed;
}

[data-theme="dark"] .menu-toggle span {
    background: #dcebed;
}

[data-theme="dark"] .phone-link,
[data-theme="dark"] .theme-toggle {
    background: #102f37;
    border-color: #28505a;
    color: #63d8e2;
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(90deg, rgba(2, 18, 24, 0.72) 0%, rgba(4, 29, 36, 0.4) 54%, rgba(2, 18, 24, 0.34) 100%);
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .trust-item,
[data-theme="dark"] .scroll-indicator {
    color: #effcfd;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .about-card,
[data-theme="dark"] .assessment-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .gallery-item,
[data-theme="dark"] .review-card,
[data-theme="dark"] .review-form-section,
[data-theme="dark"] .quote-form-container,
[data-theme="dark"] .warranty-shell,
[data-theme="dark"] .diagnosis-card,
[data-theme="dark"] .faq-item {
    background: rgba(15, 42, 49, 0.97);
    border-color: rgba(70, 139, 151, 0.32);
    color: #e6f1f3;
}

[data-theme="dark"] .assessment-notice {
    background: linear-gradient(135deg, #123a35, #155047);
    color: #b8f4dd;
}

[data-theme="dark"] .assessment-notice p,
[data-theme="dark"] .about-content p,
[data-theme="dark"] .assessment-card p,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .review-text,
[data-theme="dark"] .warranty-copy p,
[data-theme="dark"] .warranty-note,
[data-theme="dark"] .quote-form label,
[data-theme="dark"] .benefit-item {
    color: #bfd0d4;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .assessment-card h3,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .review-info h3,
[data-theme="dark"] .review-form-section h3,
[data-theme="dark"] .warranty-heading h2,
[data-theme="dark"] .warranty-copy h3 {
    color: #f2fbfc;
}

[data-theme="dark"] .google-review-kicker,
[data-theme="dark"] .file-item {
    background: #15343c;
    color: #dcebed;
    border-color: #28505a;
}

[data-theme="dark"] .quote-form input,
[data-theme="dark"] .quote-form textarea,
[data-theme="dark"] .quote-form select,
[data-theme="dark"] .review-form input,
[data-theme="dark"] .review-form textarea {
    background: #091f25;
    border-color: #385a63;
    color: #eff8f9;
}

[data-theme="dark"] .quote-form input::placeholder,
[data-theme="dark"] .quote-form textarea::placeholder,
[data-theme="dark"] .review-form input::placeholder,
[data-theme="dark"] .review-form textarea::placeholder {
    color: #839da4;
}

[data-theme="dark"] .warranty-item {
    background: #102f37;
    border-color: #28505a;
}

[data-theme="dark"] .warranty-item-featured {
    background: linear-gradient(145deg, #078fa0, #006f7b);
    border-color: transparent;
}

[data-theme="dark"] .warranty-term {
    background: #071d23;
    border-color: rgba(0, 184, 200, 0.5);
    color: #5de1eb;
}

[data-theme="dark"] .warranty-note strong {
    color: #e6f1f3;
}

[data-theme="dark"] .warranty-link,
[data-theme="dark"] .about-kicker,
[data-theme="dark"] .warranty-kicker {
    color: #5de1eb;
}

[data-theme="dark"] .btn-secondary {
    background: #102f37;
    color: #edf8f9;
    border-color: #385a63;
}

[data-theme="dark"] .btn-outline {
    color: #5de1eb;
    border-color: #20b9c8;
}

[data-theme="dark"] .footer {
    background: #030e12;
}

@media (prefers-reduced-motion: reduce) {
    .theme-toggle,
    body,
    section,
    .header {
        transition: none;
    }
}

/* ========================================
   GALLERY SLIDER
   ======================================== */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gallery-slider-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--gray-100);
}

/* ========================================
   GALLERY SECTION - SINGLE IMAGES
   ======================================== */
.gallery-image-single {
    width: 100%;
    height: 250px;
}

.gallery-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   SLIDER NAVIGATION
   ======================================== */
.ba-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.ba-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}

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

.ba-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ba-nav-dots {
    display: flex;
    gap: 0.5rem;
}

.ba-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.ba-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

.ba-dot:hover {
    background: var(--primary-light);
}

/* ========================================
   DIAGNOSIS SECTION
   ======================================== */
.diagnosis {
    padding: 5rem 0;
    background: var(--gray-50);
}

.diagnosis-content {
    max-width: 900px;
    margin: 0 auto;
}

.diagnosis-intro {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.diagnosis-intro p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.diagnosis-intro p:last-child {
    margin-bottom: 0;
}

.diagnosis-expandable {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.diagnosis-expandable.expanded {
    max-height: 5000px;
    opacity: 1;
}

.diagnosis-section {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-100);
}

.diagnosis-section:last-child {
    border-bottom: none;
}

.diagnosis-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.diagnosis-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 0.5rem;
}

.diagnosis-section p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.diagnosis-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.diagnosis-section li {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.diagnosis-section li strong {
    color: var(--gray-800);
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.diagnosis-read-more {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.diagnosis-read-more svg {
    transition: transform 0.3s ease;
}

.diagnosis-read-more.expanded svg {
    transform: rotate(180deg);
}

.diagnosis-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.diagnosis-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.diagnosis-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.diagnosis-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.diagnosis-buttons .btn {
    min-width: 280px;
}

@media (max-width: 640px) {
    .diagnosis-buttons .btn {
        min-width: 100%;
    }
    
    .diagnosis-section {
        padding: 1.5rem;
    }
}

.back-to-top {
    margin-top: 1rem;
    min-height: 44px;
}
.back-to-top:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-bg, .scroll-indicator { animation: none; } .scroll-reveal { opacity: 1; transform: none; transition: none; } }

.homeowner-guide-card{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2rem}.homeowner-guide-card img{width:100%;height:auto;border-radius:14px}.homeowner-guide-card ul{padding-left:1.3rem;margin:1rem 0 1.5rem}.homeowner-guide-card h3{font-size:1.6rem;margin-bottom:1rem}@media(max-width:768px){.homeowner-guide-card{grid-template-columns:1fr}}
