/* ============================================
   BUILD AUSTIN TX - Main Stylesheet
   Modern FANG Architecture | ADA Compliant
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Colors - Based on newcreationsaustin.com */
    --color-primary: #a0872c;
    --color-primary-dark: #876f24;
    --color-secondary: #d4a574;
    --color-text: #666666;
    --color-text-dark: #333333;
    --color-text-light: #999999;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-bg-dark: #1a1a1a;
    --color-border: #e2e2e2;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* Header */
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ADA Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    z-index: 10000;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Screen reader only */
.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;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

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

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

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: filter var(--transition-medium);
}

/* Header scrolled state */
.header.scrolled,
.header.header-interior {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.header.scrolled .logo-img,
.header.header-interior .logo-img {
    filter: invert(1) brightness(0.3);
}

.header.scrolled .nav-link,
.header.header-interior .nav-link {
    color: var(--color-text-dark);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active,
.header.header-interior .nav-link:hover,
.header.header-interior .nav-link.active {
    color: var(--color-primary);
}

.header.scrolled .header-phone,
.header.header-interior .header-phone {
    color: var(--color-text-dark);
}

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

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-link {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-white);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Header Socials */
.header-socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    opacity: 0.85;
    transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.header-social:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--color-primary);
}

.header.scrolled .header-social,
.header.header-interior .header-social {
    color: var(--color-text-dark);
    opacity: 0.7;
}

.header.scrolled .header-social:hover,
.header.header-interior .header-social:hover {
    opacity: 1;
    color: var(--color-primary);
}

.header-cta {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    left: 0;
    transition: transform var(--transition-fast), top var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after,
.header.header-interior .hamburger,
.header.header-interior .hamburger::before,
.header.header-interior .hamburger::after {
    background-color: var(--color-text-dark);
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .header-actions {
        order: 2;
        gap: 0.5rem;
    }

    .nav {
        order: 3;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--color-text-dark);
        font-size: 1.25rem;
    }

    .header-socials {
        display: none;
    }

    .header-phone {
        font-size: 0.85rem;
        gap: 0.35rem;
    }

    .header-cta {
        padding: 0.15rem 0.1rem;
        font-size: 0.55rem;
        white-space: nowrap;
    }

    .header-actions {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
    }

    .header-phone {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .header-phone svg {
        display: none;
    }

    .header-container {
        padding: 0 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-img {
        width: 100px;
    }

    .nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }

    .nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
        background-color: var(--color-text-dark);
    }

    .nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
        background-color: var(--color-text-dark);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 0 var(--container-padding);
    max-width: 900px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-services {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    margin-top: var(--space-md);
    opacity: 0.85;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    background: transparent;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.slider-dot.active,
.slider-dot:hover {
    background-color: var(--color-white);
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    text-decoration: none;
}

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

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

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

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

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

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   TRUST BADGE (Google Rating)
   ============================================ */
.trust-badge {
    background-color: var(--color-bg-alt);
    padding: var(--space-xxl) 0;
}

.trust-badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

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

.trust-badge-image {
    margin-bottom: var(--space-md);
}

.trust-badge-image img {
    height: 140px;
    width: auto;
}

.trust-badge-heading {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.3;
    margin: 0;
}

.trust-badge-right {
    text-align: left;
}

.trust-badge-text {
    font-size: 1.25rem;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0 0 var(--space-md) 0;
}

.trust-badge-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .trust-badge {
        padding: var(--space-md) 0;
    }

    .trust-badge-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }

    .trust-badge-left {
        text-align: center;
    }

    .trust-badge-image {
        margin-bottom: var(--space-sm);
    }

    .trust-badge-image img {
        height: 80px;
    }

    .trust-badge-heading {
        font-size: 1.4rem;
    }

    .trust-badge-right {
        text-align: center;
    }

    .trust-badge-text {
        font-size: 1rem;
    }
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services-overview {
    background-color: var(--color-bg);
    padding: var(--space-xl) 0;
}

/* Image-based Service Cards */
.services-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    min-height: 500px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.service-image-card {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.service-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-image-card:hover .service-image-bg {
    transform: scale(1.08);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    transition: background var(--transition-medium);
}

.service-image-card:hover .service-image-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.service-image-content {
    position: relative;
    z-index: 2;
    padding: var(--space-xl);
    color: var(--color-white);
    width: 100%;
}

.service-image-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    background-color: var(--color-primary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.service-image-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.service-image-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 400px;
}

.service-image-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-white);
    padding: var(--space-sm) 0;
    border-bottom: 2px solid var(--color-primary);
    transition: all var(--transition-fast);
}

.service-image-link:hover {
    color: var(--color-primary);
    gap: var(--space-sm);
}

.service-image-link span {
    transition: transform var(--transition-fast);
}

.service-image-link:hover span {
    transform: translateX(6px);
}

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

    .service-image-card {
        min-height: 400px;
    }

    .service-image-title {
        font-size: 2.5rem;
    }

    .service-image-content {
        padding: var(--space-lg);
    }
}

@media (max-width: 576px) {
    .service-image-card {
        min-height: 350px;
    }

    .service-image-title {
        font-size: 2rem;
    }

    .service-image-text {
        font-size: 1rem;
    }

    .service-image-content {
        padding: var(--space-md);
    }
}

/* Legacy service cards - keep for other pages */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

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

.service-card {
    background-color: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.service-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.service-card-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.service-card-text {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.service-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.service-link span {
    transition: transform var(--transition-fast);
}

.service-link:hover span {
    transform: translateX(4px);
}

/* ============================================
   WHY US / FEATURES
   ============================================ */
.why-us {
    background-color: var(--color-bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

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

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

.feature {
    text-align: center;
    padding: var(--space-md);
}

.feature-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.feature-text {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* ============================================
   SERVICES DETAIL
   ============================================ */
.services-detail {
    background-color: var(--color-bg);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

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

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

.service-detail-card {
    background-color: var(--color-bg-alt);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.service-detail-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.service-detail-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.service-detail-text {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.service-areas {
    background-color: var(--color-bg-alt);
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.area-tag {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.area-tag:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background-color: var(--color-bg-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

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

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

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium), filter var(--transition-medium);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    background-color: var(--color-bg-dark);
    padding: var(--space-xxl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-title {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background-color: var(--color-bg);
    padding: var(--space-xxl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.contact-subtitle {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.contact-details {
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-text);
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

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

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
}

.required {
    color: #e74c3c;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.15);
}

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

.form-input.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-input.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog {
    background-color: var(--color-bg-alt);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

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

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

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.blog-image {
    height: 200px;
}

.blog-content {
    padding: var(--space-md);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    display: block;
}

.blog-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

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

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.95rem;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-services li,
.footer-contact li {
    margin-bottom: var(--space-xs);
}

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

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

.footer-contact p {
    margin-bottom: var(--space-xs);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.9rem;
}

.footer-areas {
    margin-top: var(--space-xs);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.fade-delay-1 { animation-delay: 0.2s; }
.fade-delay-2 { animation-delay: 0.4s; }
.fade-delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal animations for scroll */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

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

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-text: #000000;
        --color-text-dark: #000000;
        --color-border: #000000;
    }
}

/* Print styles */
@media print {
    .header,
    .hero,
    .scroll-indicator,
    .slider-nav,
    .nav-toggle {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ============================================
   QUOTE SLIDE-OUT PANEL
   ============================================ */

/* Overlay with blur */
.quote-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.quote-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-out Panel */
.quote-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.quote-panel.active {
    transform: translateX(0);
}

/* Close Button */
.quote-panel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text-dark);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    z-index: 10;
}

.quote-panel-close:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: rotate(90deg);
}

.quote-panel-close:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Panel Content */
.quote-panel-content {
    padding: 4rem 2.5rem 2.5rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Panel Header */
.quote-panel-header {
    margin-bottom: var(--space-md);
}

.quote-panel-title {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
}

.quote-panel-subtitle {
    color: var(--color-text);
    font-size: 1rem;
}

/* Quote Form */
.quote-form {
    flex: 1;
}

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

.quote-form .form-input {
    background-color: var(--color-bg-alt);
    border-color: transparent;
}

.quote-form .form-input:focus {
    background-color: var(--color-white);
    border-color: var(--color-primary);
}

/* Checkbox Group */
.form-group-checkbox {
    margin-bottom: 1.5rem;
}

.form-group-checkbox .form-label {
    margin-bottom: 0.75rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.4;
}

.checkbox-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* Panel Contact Info */
.quote-panel-contact {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.quote-panel-contact p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.quote-panel-contact a {
    display: block;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.quote-panel-contact a:hover {
    color: var(--color-primary);
}

/* Body lock when panel is open */
body.quote-panel-open {
    overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 540px) {
    .quote-panel {
        max-width: 100%;
    }

    .quote-panel-content {
        padding: 3.5rem 1.5rem 1.5rem;
    }

    .quote-panel-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   PAGE HERO (Interior Pages)
   ============================================ */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    padding: 0 var(--container-padding);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

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

.breadcrumb span {
    color: var(--color-white);
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-section {
    padding: var(--space-xxl) 0;
    background-color: var(--color-bg);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 968px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.intro-content .section-title {
    margin-bottom: var(--space-md);
}

.intro-text {
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-signature {
    padding: var(--space-md);
    background-color: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.intro-signature p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

.intro-image {
    position: relative;
}

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

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-text {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: var(--space-xxl) 0;
    background-color: var(--color-bg-alt);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

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

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

.process-card {
    background-color: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    position: relative;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.process-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-bg-alt);
    line-height: 1;
}

.process-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.process-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.process-subtitle {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.process-text {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* ============================================
   SERVICES SHOWCASE
   ============================================ */
.services-showcase {
    padding: var(--space-xxl) 0;
    background-color: var(--color-bg);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-md);
}

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

.showcase-card {
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.showcase-card-large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.showcase-card-image {
    position: relative;
    overflow: hidden;
}

.showcase-card-large .showcase-card-image {
    flex: 1;
    min-height: 300px;
}

.showcase-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.showcase-card:hover .showcase-card-image img {
    transform: scale(1.05);
}

.showcase-card-content {
    padding: var(--space-md);
}

.showcase-card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.showcase-card-text {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.showcase-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.showcase-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.showcase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}

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

.stat-item {
    color: var(--color-white);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose {
    padding: var(--space-xxl) 0;
    background-color: var(--color-bg);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 968px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

.why-choose-content .section-title {
    margin-bottom: var(--space-lg);
}

.why-choose-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.why-item {
    display: flex;
    gap: var(--space-sm);
}

.why-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 163, 242, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
}

.why-item-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.why-item-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin: 0;
}

.why-choose-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: var(--space-xxl) 0;
    background-color: var(--color-bg-alt);
}

.team-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .team-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.team-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.team-name {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.team-bio {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.team-bio:last-child {
    margin-bottom: 0;
}

/* Quote trigger for CTA button */
.quote-trigger-btn {
    cursor: pointer;
}

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

/* Gallery Hero */
.page-hero.gallery-hero {
    min-height: 60vh;
    height: auto;
    margin-top: 0 !important;
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
}

.gallery-hero-bg {
    background-image: url('../images/Gallery/home-remodelling-14-scaled-1.jpg');
    background-size: cover;
    background-position: center;
}

.gallery-hero .page-hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.gallery-hero .page-hero-content {
    animation: galleryFadeIn 0.6s ease-out forwards;
}

.gallery-hero .breadcrumb {
    animation: galleryFadeIn 0.4s ease-out forwards;
}

.gallery-hero .page-hero-title {
    animation: galleryFadeIn 0.5s ease-out 0.1s forwards;
    opacity: 0;
}

.gallery-hero .page-hero-subtitle {
    animation: galleryFadeIn 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-title .text-light {
    font-weight: 300;
}

.gallery-title .text-bold {
    font-weight: 700;
    color: #5bb8f5;
}

/* Gallery CTA on Home Page */
.gallery-cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* Gallery Introduction */
.gallery-intro {
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
}

.gallery-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-intro .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Gallery Section */
.gallery-section {
    padding: var(--space-xl) 0;
}

.gallery-section-alt {
    background-color: var(--color-bg-alt);
}

/* Before/After Gallery Grid */
.ba-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

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

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

/* Before/After Slider Wrapper */
.ba-slider-wrapper {
    position: relative;
}

.ba-caption {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Before/After Slider Component */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-slider::before,
.ba-slider::after {
    position: absolute;
    top: var(--space-sm);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    z-index: 10;
    pointer-events: none;
}

.ba-slider::before {
    content: attr(data-before);
    left: var(--space-sm);
}

.ba-slider::after {
    content: attr(data-after);
    right: var(--space-sm);
}

/* Before Image (underneath) */
.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ba-before img,
.ba-before .ba-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* After Image (on top, clipped) */
.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.ba-after img,
.ba-after .ba-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder Colors */
.ba-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.ba-placeholder-before {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.ba-placeholder-after {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

/* Slider Handle */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
}

.ba-handle:focus {
    outline: none;
}

.ba-handle:focus .ba-handle-circle {
    box-shadow: 0 0 0 3px var(--color-primary);
}

.ba-handle-line {
    flex: 1;
    width: 4px;
    background-color: var(--color-white);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.ba-handle-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-handle-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.ba-handle-circle svg:first-child {
    margin-right: -4px;
}

.ba-handle-circle svg:last-child {
    margin-left: -4px;
}

/* Slider Active State */
.ba-slider.active {
    cursor: grabbing;
}

.ba-slider.active .ba-handle-circle {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Touch-friendly adjustments */
@media (hover: none) {
    .ba-handle-circle {
        width: 56px;
        height: 56px;
    }

    .ba-handle-circle svg {
        width: 20px;
        height: 20px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ba-handle-circle {
        transition: none;
    }
}

/* ============================================
   GALLERY PAGE V2 - CONVERSION FOCUSED
   ============================================ */

/* Gallery Hero Split Layout */
.gallery-hero-split {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-xl);
}

.gallery-hero-split .gallery-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/Gallery/home-remodelling-14-scaled-1.jpg');
    background-size: cover;
    background-position: center;
}

.gallery-hero-split .gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 100%);
}

.gallery-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 1024px) {
    .gallery-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Hero Layout with Slider at Top */
.gallery-hero-with-slider {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-lg);
}

.gallery-hero-layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.gallery-hero-slider-top {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    animation: galleryFadeIn 0.6s ease-out forwards;
}

.gallery-hero-slider-top .ba-slider-hero {
    aspect-ratio: 16 / 10;
    max-height: 350px;
}

.gallery-hero-slider-top .ba-hero-caption {
    text-align: center;
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
}

/* Adjust grid within slider layout */
.gallery-hero-with-slider .gallery-hero-grid {
    gap: var(--space-lg);
    align-items: flex-start;
}

.gallery-hero-with-slider .gallery-hero-content {
    animation-delay: 0.2s;
}

.gallery-hero-with-slider .gallery-hero-form-wrapper {
    animation-delay: 0.3s;
}

@media (max-width: 1024px) {
    .gallery-hero-with-slider {
        padding: calc(var(--header-height) + var(--space-sm)) 0 var(--space-md);
    }

    .gallery-hero-layout {
        gap: var(--space-md);
    }

    .gallery-hero-slider-top {
        max-width: 100%;
        order: -1; /* Ensure slider stays at top on mobile */
    }

    .gallery-hero-slider-top .ba-slider-hero {
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-hero-slider-top .ba-slider-hero {
        max-height: 240px;
        aspect-ratio: 4 / 3;
    }
}

/* Hero Slider */
.gallery-hero-slider {
    animation: galleryFadeIn 0.6s ease-out forwards;
}

.ba-slider-hero {
    aspect-ratio: 3 / 2;
    max-height: 400px;
}

.ba-hero-caption {
    text-align: center;
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Hero Content */
.gallery-hero-content {
    animation: galleryFadeIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.gallery-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.gallery-hero-title .text-accent {
    color: var(--color-primary);
    font-weight: 400;
}

.gallery-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* Trust Bullets */
.trust-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}

.trust-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-bullets svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

/* Hero Lead Form */
.hero-lead-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

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

.hero-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1rem;
    transition: border-color 0.3s, background-color 0.3s;
}

.hero-form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.15);
}

.hero-form-input option {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.hero-form-optin {
    margin-bottom: var(--space-sm);
}

.hero-optin-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-optin-checkboxes {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.hero-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.hero-checkbox-text {
    color: rgba(255, 255, 255, 0.85);
}

.hero-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
}

.hero-cta-secondary .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.hero-cta-secondary .btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-text-dark);
}

/* Hero Form Wrapper (Right Side of Split Hero) */
.gallery-hero-form-wrapper {
    animation: galleryFadeIn 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}


.hero-lead-form .form-group {
    margin-bottom: var(--space-sm);
}

.hero-form-title {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-form-subtitle {
    color: var(--color-text);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: var(--space-md);
}

.hero-form-card .hero-lead-form {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
}

.hero-form-card .hero-form-input {
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text-dark);
}

.hero-form-card .hero-form-input::placeholder {
    color: var(--color-text-light);
}

.hero-form-card .hero-form-input:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.15);
}

.hero-form-card .hero-form-input option {
    background: var(--color-white);
    color: var(--color-text-dark);
}

.hero-form-card .hero-optin-label {
    color: var(--color-text-dark);
}

.hero-form-card .hero-checkbox-label {
    color: var(--color-text);
}

.hero-form-card .hero-checkbox-text {
    color: var(--color-text);
}

.hero-form-card .form-confidence {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-top: var(--space-sm);
    font-style: italic;
}

@media (max-width: 1024px) {
    .hero-form-card {
        padding: var(--space-md);
    }
}

/* Proof Bar */
.proof-bar {
    background: var(--color-white);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.proof-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proof-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
}

.proof-badge-placeholder {
    background: #004a8f;
    color: white;
}

.proof-stars {
    display: flex;
    gap: 2px;
    color: #f5b400;
}

.proof-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.proof-text {
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 500;
}

.proof-bar-areas {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 0;
}

@media (max-width: 768px) {
    .proof-bar-content {
        gap: var(--space-md);
    }

    .proof-item-experience,
    .proof-item-projects {
        display: none;
    }
}

/* Gallery Toggle */
.gallery-toggle-section {
    padding: var(--space-md) 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.gallery-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.gallery-toggle-label {
    font-weight: 500;
    color: var(--color-text);
}

.gallery-toggle {
    display: flex;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 4px;
    box-shadow: var(--shadow-sm);
}

.gallery-toggle-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.gallery-toggle-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Project Cards */
.ba-project-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ba-project-card .ba-slider {
    border-radius: 0;
}

.ba-project-info {
    padding: var(--space-md);
}

.ba-project-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ba-location {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(46, 163, 242, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.ba-project-outcome {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.ba-project-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.ba-project-specs li {
    padding: 0.25rem 0;
    color: var(--color-text);
}

.ba-project-specs strong {
    color: var(--color-text-dark);
}

.ba-project-story {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.ba-project-story p {
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

/* Show story mode when active */
body.story-mode .ba-project-specs {
    display: none;
}

body.story-mode .ba-project-story {
    display: block !important;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* Process Steps */
.how-it-works {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.how-it-works .section-tag {
    color: rgba(255, 255, 255, 0.8);
}

.how-it-works .section-title {
    color: var(--color-white);
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

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

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

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

.process-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.process-step-content h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-step-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Risk Reducers */
.risk-reducers {
    padding: var(--space-xxl) 0;
    background: var(--color-bg-alt);
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

@media (max-width: 1200px) {
    .risk-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.risk-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.risk-item svg {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.risk-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.risk-item p {
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}

/* Contact + FAQ Section */
.contact-faq-section {
    padding: var(--space-xxl) 0;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

@media (max-width: 1024px) {
    .contact-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Lead Form */
.lead-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.lead-form {
    padding: var(--space-lg);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

.form-buttons {
    display: flex;
    gap: var(--space-sm);
}

.form-buttons .btn {
    flex: 1;
}

.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: var(--space-md);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.form-progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-border);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-progress-step.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.form-progress-line {
    width: 60px;
    height: 3px;
    background: var(--color-border);
}

/* FAQ */
.faq-wrapper {
    padding: var(--space-md);
}

.faq-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

.faq-question {
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

.faq-contact {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.faq-contact p {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--space-sm);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.sticky-mobile-cta.hidden {
    transform: translateY(100%);
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: flex;
        gap: var(--space-sm);
    }

    /* Add padding to footer to account for sticky CTA */
    .footer {
        padding-bottom: 80px;
    }
}

.sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.sticky-cta-call:hover {
    background: var(--color-primary-dark);
}

.sticky-cta-form {
    background: var(--color-bg-alt);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
}

.sticky-cta-form:hover {
    background: var(--color-border);
}

/* ============================================
   LUXURY GALLERY PAGE STYLES
   ============================================ */

/* Luxury Proof Strip */
.luxury-proof-strip {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: var(--space-md) 0;
    text-align: center;
}

.luxury-proof-tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
}

.luxury-proof-services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.luxury-proof-service {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.luxury-proof-service svg {
    color: var(--color-primary);
}

.luxury-proof-qualities {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Gallery Intro Section */
.gallery-intro {
    padding: var(--space-xl) 0;
    background: var(--color-bg);
}

.gallery-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gallery-intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.gallery-intro-text p {
    margin-bottom: 1.5rem;
}

.gallery-intro-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.gallery-intro-cta-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
}

.gallery-intro-cta-label svg {
    color: var(--color-primary);
}

.gallery-intro-or {
    color: var(--color-text-light);
    font-style: italic;
}

/* Category Sections */
.category-section {
    padding: var(--space-xl) 0;
}

.category-section-alt {
    background: var(--color-bg-alt);
}

.category-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.category-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.category-features {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.category-perfect-for {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .category-list {
        grid-template-columns: 1fr;
    }
}

.category-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text);
}

.category-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Gallery Section Result Statement */
.gallery-section-result {
    text-align: center;
    margin: var(--space-lg) 0 var(--space-md);
}

.gallery-result-statement {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-dark);
    font-weight: 500;
}

/* Why Us Section */
.why-us-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

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

.why-us-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-us-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.why-us-text p {
    margin-bottom: 1rem;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.why-us-list li {
    position: relative;
    padding-left: 1.25rem;
}

.why-us-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

.why-us-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .why-us-pillars {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

.why-us-pillar {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.why-us-pillar svg {
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.why-us-pillar h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
}

.why-us-section .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.why-us-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Consultation Section */
.consultation-section {
    padding: var(--space-xl) 0;
    background: var(--color-bg-alt);
}

/* Form Confidence Text */
.form-confidence {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-top: var(--space-sm);
    font-style: italic;
}

/* Hero Micro Trust */
.hero-micro-trust {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: var(--space-sm);
}

/* ============================================
   PHOTO GALLERY & LIGHTBOX STYLES
   ============================================ */

/* Photo Gallery Grid */
.photo-gallery-section {
    padding: var(--space-xl) 0;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

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

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

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

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay svg {
    color: var(--color-white);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.active .lightbox-image {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

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

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

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

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.lightbox-prev:focus,
.lightbox-next:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
}

/* Mobile adjustments for lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-prev svg,
    .lightbox-next svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   COMMERCIAL SECTORS (Specialty Industries)
   ============================================ */
.commercial-sectors {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-alt);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.sector-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.sector-card-image {
    height: 220px;
    overflow: hidden;
}

.sector-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.sector-card:hover .sector-card-image img {
    transform: scale(1.05);
}

.sector-card-content {
    padding: var(--space-md);
}

.sector-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(46, 163, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.sector-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
}

.sector-card-text {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.sector-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sector-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.sector-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

@media (max-width: 1024px) {
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .sector-card {
        display: grid;
        grid-template-columns: 250px 1fr;
    }

    .sector-card-image {
        height: 100%;
        min-height: 200px;
    }
}

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

    .sector-card-image {
        height: 200px;
    }
}

/* ============================================
   PREVENT HORIZONTAL SCROLL ON MOBILE
   ============================================ */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================
   LEGAL CONTENT (Privacy Policy, Terms, etc.)
   ============================================ */
.legal-content {
    padding: var(--space-xl) 0;
    background-color: var(--color-white);
}

.legal-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.legal-effective-date {
    background-color: var(--color-bg-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.legal-content-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary);
}

.legal-content-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text-dark);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content-wrapper p {
    margin-bottom: var(--space-md);
}

.legal-content-wrapper ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-content-wrapper ul li {
    margin-bottom: var(--space-xs);
}

.legal-content-wrapper a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-content-wrapper a:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .legal-content-wrapper h2 {
        font-size: 1.3rem;
    }

    .legal-content-wrapper h3 {
        font-size: 1.1rem;
    }
}
