:root {
    /* Color Palette */
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-primary: #FF5722;
    /* Orange from fire */
    --color-secondary: #2196F3;
    /* Blue from ice */
    --color-surface: #1a1a1a;
    --color-border: #333333;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-size-hero: clamp(3rem, 8vw, 6rem);
    --font-size-h2: clamp(2rem, 5vw, 4rem);
    --font-size-body: 1.125rem;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Layout */
    --border-width: 2px;
    --container-width: 1400px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* Fix Deep Linking Offset for Fixed Header */
section,
footer {
    scroll-margin-top: 260px;
    /* 240px header + 20px buffer */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    /* Remove padding to let logo touch boundaries */
    border-bottom: var(--border-width) solid var(--color-border);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 100;
    height: 240px;
    /* Increased heavily for logo 2x */
}

/* ... existing code ... */

.info-label {
    color: var(--color-primary);
    display: block;
    font-size: 1.2rem;
    /* Increased size to match visual weight */
    font-weight: 800;
    /* Match button weight */
    margin-bottom: 0.5rem;
    opacity: 1;
    /* Remove opacity for impact */
    text-transform: uppercase;
}

/* ... existing code ... */

.text-highlight-appointment {
    color: var(--color-bg);
    background-color: var(--color-primary);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 800;
    margin-top: 1rem;
    line-height: 1.1;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    display: block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-glow {
    box-shadow: 0 0 10px var(--color-primary);
    animation: glowing 1.5s infinite alternate;
    /* Faster, alternating pulse */
}

@keyframes glowing {
    from {
        box-shadow: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary);
    }

    to {
        box-shadow: 0 0 20px var(--color-primary), 0 0 30px var(--color-secondary);
        /* Stronger glow with blue accent */
    }
}

.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-container a {
    display: block;
    height: 100%;
}

.logo {
    height: 100%;
    /* Maximize size */
    width: auto;
    object-fit: contain;
    max-width: none;
    /* Allow it to expand */
    mix-blend-mode: screen;
    /* Attempt to remove black background */
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    border-bottom: var(--border-width) solid var(--color-border);
}

.hero-content {
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: var(--border-width) solid var(--color-border);
}

.hero h1 {
    font-size: var(--font-size-hero);
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.text-accent {
    color: var(--color-secondary);
    /* webkit-text-stroke: 1px var(--color-text); Optional outline style */
}

.hero p {
    font-size: var(--font-size-body);
    max-width: 500px;
    margin-bottom: var(--spacing-lg);
    color: #ccc;
}

.cta-group {
    display: flex;
    gap: var(--spacing-md);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text);
}

/* Header Action Button (Matches Appointment Button) */
.btn-header-cta {
    background-color: var(--color-primary);
    color: #000000 !important;
    /* Force Black Text */
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Hero Image Grid (2x2) */
.hero-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    min-height: 600px;
    /* Ensure visibility on mobile */
    border-left: var(--border-width) solid var(--color-border);
}

.hero-cell {
    position: relative;
    overflow: hidden;
    border-right: var(--border-width) solid var(--color-border);
    border-bottom: var(--border-width) solid var(--color-border);
    min-height: 0;
    /* Allow flex shrinking if needed */
}

/* ... */

.hero-cell img,
.hero-cell video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.5s ease;
}

.hero-cell:hover img,
.hero-cell:hover video {
    filter: grayscale(0%) contrast(1);
}

    line-height: 1.4;
    font-size: 1.1rem;
    /* Smaller Body Text */
    font-weight: 500;
    /* Medium weight, not bold */
    color: #eee;
    /* Slight off-white for hierarchy */
    margin-bottom: 0.5rem;
}

.phone-numbers {
    color: #eee;
}

.text-highlight-appointment {
    color: var(--color-secondary) !important;
    /* Blue Text */
    background-color: transparent !important;
    border: 2px solid var(--color-secondary);
    /* Blue Border */
    font-size: 1.2rem;
    /* Clear button text size */
    font-weight: 800;
    margin-bottom: 1rem;
    /* Space below button */
    line-height: 1;
    text-align: center;
    padding: 1.2rem 1rem;
    /* Better padding */
    text-decoration: none;
    display: flex;
    /* Centering */
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.text-highlight-appointment:hover {
    background-color: var(--color-secondary);
    color: #ffffff !important;
    box-shadow: 0 0 20px var(--color-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-bottom: var(--border-width) solid var(--color-border);
}

.feature-card {
    padding: var(--spacing-lg);
    border-right: var(--border-width) solid var(--color-border);
    border-bottom: var(--border-width) solid var(--color-border);
    /* For mobile stacking */
    transition: background-color 0.3s ease;
}

.feature-card:hover {
    background-color: var(--color-surface);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.feature-card p {
    color: #999;
}

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

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

/* Responsive */
@media (max-width: 900px) {
    .site-header {
        padding: var(--spacing-sm);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg);
        border-bottom: var(--border-width) solid var(--color-border);
        padding: var(--spacing-md);
        flex-direction: column;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero-content {
        border-right: none;
        border-bottom: var(--border-width) solid var(--color-border);
        padding: var(--spacing-lg) var(--spacing-sm);
        text-align: center;
    }

    .hero h1 br {
        display: none;
    }

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

    .hero-image {
        height: 50vh;
    }
}

/* Animated Gradient Text */
.hero h1.animated-gradient-text {
    background: linear-gradient(to right,
            #FF5722,
            /* Start: Orange */
            #0a0a0a,
            /* Buffer: Black (prevents purple) */
            #2c29ff,
            /* Mid: Blue */
            #0a0a0a,
            /* Buffer: Black */
            #FF5722
            /* End: Orange */
        );
    background-size: 200% auto;
    /* 200% ensures the pattern repeats seamlessly */
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Combine both animations: fadeIn (1s) AND gradient-animation (20s linear infinite) */
    animation: fadeIn 1s ease-out forwards, gradient-animation 20s linear infinite reverse;
}

/* Ensure the accent span also participates in the gradient */
.hero h1.animated-gradient-text .text-accent {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
        /* Move exactly one full cycle (200%) */
    }
}

/* ========================================= */
/* MAGIC BENTO GRID STYLES                   */
/* ========================================= */

:root {
    --glow-color: 255, 87, 34;
    /* Fire Orange specific for Bento */
    --glow-radius: 300px;
    --border-color: #333;
    --background-dark: #0a0a0a;
}

.bento-section {
    position: relative;
    padding: var(--spacing-lg);
    background-color: var(--color-bg);
}

/* Override existing grid for Bento */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    border-bottom: none;
    /* Bento handles its own borders */
}

.magic-bento-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    aspect-ratio: 4/3;
    min-height: 250px;
    width: 100%;
    padding: 2rem;
    border-radius: 20px;
    /* Modern Rounded Corners */
    border: 1px solid var(--border-color);
    background: var(--background-dark);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Gsap Vars */
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-intensity: 0;
    --card-glow-rgb: 255, 87, 34;
    /* Default Orange */
}

.magic-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    --card-glow-rgb: 33, 150, 243;
    /* Blue on Hover */
}

/* Internal Layout */
.magic-bento-card__header {
    display: flex;
    flex-direction: column;
    /* Stack for centering */
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.magic-bento-card__label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    font-weight: 700;
}

.magic-bento-card .feature-icon {
    font-size: 3rem;
    /* Slightly larger icon */
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.magic-bento-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    /* Center text */
    align-items: center;
    /* Center items */
    flex-grow: 1;
    /* Push to fill space if needed, or just center vertically */
    justify-content: center;
    /* Center vertically */
}

.magic-bento-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.magic-bento-card__description {
    font-size: 1rem;
    color: #999;
    line-height: 1.4;
    margin: 0;
}

/* Border Glow Effect */
.magic-bento-card--border-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 4px;
    /* 2x Thicker Border */
    /* Border thickness */
    background: radial-gradient(var(--glow-radius) circle at var(--glow-x) var(--glow-y),
            rgba(var(--card-glow-rgb), calc(var(--glow-intensity) * 1)) 0%,
            rgba(var(--card-glow-rgb), calc(var(--glow-intensity) * 0.5)) 40%,
            transparent 80%);
    border-radius: inherit;

    /* Masking magic to only show the border */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    /* Standard property */
    mask-composite: exclude;

    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease, --card-glow-rgb 0.3s ease;
    /* Transition color */
    z-index: 2;
}

.magic-bento-card--border-glow:hover::after {
    opacity: 1;
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--glow-color), 1);
    box-shadow: 0 0 6px rgba(var(--glow-color), 0.8);
    pointer-events: none;
    z-index: 5;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        padding: var(--spacing-sm);
    }

    .magic-bento-card {
        min-height: auto; /* Allow card to grow with content */
        height: auto;
        padding: 1.5rem; /* Ensure padding fits */
        aspect-ratio: auto; /* Remove fixed aspect ratio */
    }

    .magic-bento-card__title {
        font-size: 1.5rem;
    }
    
    .magic-bento-card__content p {
        font-size: 1rem;
    }
}

/* Location Card Layout - Explicit Centering */
.location-card-bento {
    display: flex;
    flex-direction: column;
    text-align: center !important;
    align-items: center !important;
}

.bento-center-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top */
    align-items: center;
    width: 100%;
    gap: 1.5rem;
    padding-top: 1rem;
    /* Optional spacing or use card padding */
}

.location-card-bento p,
.location-card-bento address,
.location-card-bento a {
    text-align: center;
}

/* ========================================= */
/* FAQ SECTION                               */
/* ========================================= */

.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.1);
}

.faq-item.active {
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

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

.faq-item.active .faq-question {
    color: var(--color-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: #bbb;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer strong {
    color: #fff;
}

.faq-answer a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ========================================= */
/* SERVICE AREAS SEO BAR                     */
/* ========================================= */

.service-areas-section {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(51, 51, 51, 0.5);
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    padding: 2rem var(--spacing-md);
    text-align: center;
}

.service-areas-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-areas-list {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Mobile */
@media (max-width: 600px) {
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* ========================================= */
/* PORTFOLIO & GALLERY SHOWCASE              */
/* ========================================= */

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

.portfolio-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ccc;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter-btn:hover {
    background: rgba(255, 87, 34, 0.2);
    border-color: var(--color-primary);
    color: #fff;
}

.portfolio-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.portfolio-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
}

.portfolio-media {
    position: relative;
    width: 100%;
    height: 280px;
    background: #000;
    overflow: hidden;
}

.portfolio-media img,
.portfolio-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-media img,
.portfolio-card:hover .portfolio-media video {
    transform: scale(1.05);
}

.portfolio-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.portfolio-details {
    padding: 1.5rem;
}

.portfolio-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-details p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
}

/* Job Media Gallery Thumbnails */
.job-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}

.job-thumb-btn {
    position: relative;
    width: 64px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    background: #000;
    transition: all 0.2s ease;
    padding: 0;
}

.job-thumb-btn img,
.job-thumb-btn video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

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

.job-thumb-btn.active {
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.job-thumb-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 4px;
    pointer-events: none;
}

/* --- MERGED FROM layout-fixes.css --- */

/* ====================================
   COMPREHENSIVE SPACING FIX
   Ensures uniform padding across ALL sections
   ==================================== */

/* Global Section Container */
section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

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

.section-header h2 {
    margin-bottom: 1.5rem;
}

/* Hero Section - Balanced Left/Right */
.hero {
    display: grid;
    grid-template-columns: minmax(auto, 600px) 1fr;
    gap: 0;
    /* Removed gap so pictures touch the grey line */
    align-items: start;
    padding: 6rem 4rem !important;
}

.hero-content {
    padding-right: 3rem;
    /* Give text breathing room from the line */
    max-width: none;
    /* Let the grid column handle the width */
}

/* Products Section */
#products {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

#products .section-header {
    text-align: left;
    /* Title aligned left */
    padding-left: 0;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 0;
    /* No extra padding - section handles it */
}

/* Product Cards - Uniform Size */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Fill grid cell */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

/* Product Image - Fixed Aspect Ratio */
.product-image-container,
.product-image-wrapper {
    width: 100%;
    height: 380px;
    /* Increased from 280px - shows more of image */
    overflow: hidden;
    background: #000;
    position: relative;
}

.product-image-container img,
.product-image-wrapper img,
.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fill like hero images */
    object-position: center;
}

/* Product Content */
.product-details,
.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Fill remaining space */
}

.product-details h3,
.product-content h3,
.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.product-details .price,
.product-content .price,
.product-price {
    font-size: 1.75rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-details .product-desc,
.product-content .product-description,
.product-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Push button to bottom */
}

/* Product Features List */
.product-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: #aaa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-features li:before {
    content: "✓ ";
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Product Button - Blue Outline (Matches Installation Types) */
.product-btn {
    margin-top: auto;
    /* Stick to bottom */
    width: 100%;
    background-color: transparent !important;
    /* Transparent */
    color: var(--color-secondary) !important;
    /* Blue Text */
    border: 2px solid var(--color-secondary) !important;
    font-weight: 800;
}

.product-btn:hover {
    background-color: var(--color-secondary) !important;
    /* Blue Fill */
    color: #ffffff !important;
    /* White Text */
    box-shadow: 0 0 20px var(--color-secondary);
}

/* Installation Services Section */
#installation {
    background: var(--color-surface);
}

#installation .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    padding: 0;
    /* Section padding handles it */
}

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

.service-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-item p {
    line-height: 1.8;
    color: #ccc;
}

/* About Section */
#about {
    text-align: center;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

#about h2 {
    margin-bottom: 2rem;
}

#about p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    font-size: 1.2rem;
}

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

/* Footer Spacing Fix */
footer {
    padding: 3rem 2rem !important;
    /* More space from edges */
    margin-bottom: 2rem !important;
    /* Space from bottom */
    text-align: center;
}

footer h2 {
    margin-bottom: 1.5rem;
}

footer .footer-links {
    margin-top: 2rem;
}

/* Animated Gradient Text Effect */
.animated-gradient-text {
    display: inline-block;

    background: linear-gradient(to right,
            #FF5722,
            #FF3D00,
            #304FFE,
            #2962FF,
            #FF5722);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 20s linear infinite reverse, fadeIn 1.5s ease-out forwards;
    text-transform: uppercase;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

footer p {
    margin-bottom: 2rem;
}

.footer-cta {
    margin: 2rem 0;
}

.footer-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* Bento Grid Section */
.bento-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Full-Width Bento Box for Table */
.magic-bento-card--full-width {
    grid-column: 1 / -1;
    /* Span all columns */
}

@media (max-width: 768px) {
    .magic-bento-card--full-width table {
        font-size: 0.9rem;
    }

    .magic-bento-card--full-width th,
    .magic-bento-card--full-width td {
        padding: 0.75rem !important;
    }
}

/* ===== MODAL POPUP SYSTEM ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    max-width: 900px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.modal-close:hover {
    background: var(--color-primary);
    color: #000;
    transform: rotate(90deg);
}

.modal-body {
    color: #fff;
}

.modal-body h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-body ul {
    margin-bottom: 1.5rem;
}

.modal-body table {
    margin-top: 1rem;
}

/* Bento Box Hover Effect */
.bento-clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.4);
}

/* Use grid for Installation Options */
.modal-grid-options {
    display: grid;
    grid-template-columns: 1fr;
    /* Default Stacked (Mobile) */
    gap: 2rem;
}

@media (min-width: 768px) {
    .modal-grid-options {
        grid-template-columns: 1fr 1fr;
        /* Side by Side Desktop */
    }
}


/* Mobile Responsive */
@media (max-width: 1024px) {
    section {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 3rem !important;
    }
}

@media (max-width: 768px) {
    section {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .hero {
        padding: 3rem 2rem !important;
    }

    .product-grid,
    .services-container {
        gap: 2rem;
    }

    footer {
        padding: 3rem 2rem !important;
    }

    .modal-content {
        padding: 2rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .hero {
        padding: 2rem 1.5rem !important;
    }

    /* Shrink table font size heavily on mobile */
    .modal-body table,
    .modal-body th,
    .modal-body td {
        font-size: 0.75rem !important;
        padding: 0.5rem !important;
    }

    /* Force centered phone buttons on mobile */
    .phone-box a {
        justify-content: center !important;
        text-align: center !important;
        display: flex;
        align-items: center;
    }
}

/* Contact Grid Layout - ALWAYS STACKED & CENTERED */
.contact-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3rem !important;
    text-align: center !important;
    margin-bottom: 3rem;
}

/* Force centered items on desktop too */
@media (min-width: 768px) {

    .address-box,
    .phone-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
    }

    .phone-box {
        gap: 1.5rem !important;
    }
}

/* Mobile Hero Buttons - Stack to prevent overflow */
@media (max-width: 600px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .cta-group .btn-primary,
    .cta-group .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}