/* TODO: This 65KB+ CSS file should be split into modular files and minified for production. */
/* Industrial Craft Design System */
:root {
    /* Primary palette */
    --color-primary: #2D3436;
    --color-secondary: #C4704A;
    --color-secondary-hover: #B5613B;
    --color-secondary-light: rgba(196, 112, 74, 0.1);
    --color-accent: #636E72;

    /* Backgrounds */
    --color-background: #F5F3EF;
    --color-surface: #E8E4DD;
    --color-surface-dark: #2D3436;

    /* Text colors */
    --color-text: #1A1A1A;
    --color-text-muted: #6B6B6B;
    --color-text-light: #F5F3EF;

    /* Functional */
    --color-border: #D1CBC2;
    --color-shadow: rgba(45, 52, 54, 0.12);
    --color-shadow-hover: rgba(45, 52, 54, 0.18);

    /* Typography */
    --font-display: 'Clash Display', 'Outfit', sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 6rem 2rem;
    --border-thick: 4px;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(45, 52, 54, 0.05);
    --shadow-md: 0 4px 12px rgba(45, 52, 54, 0.1);
    --shadow-lg: 0 10px 30px rgba(45, 52, 54, 0.15);
    --shadow-xl: 0 20px 50px rgba(45, 52, 54, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Focus states for accessibility */
:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background: var(--color-secondary);
    color: white;
}

/* Headings use display font */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

/* ===========================================
   HEADER - Complete Overhaul (Clean Version)
   No shadows, no transitions, no hacks
   =========================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    background-color: #2D3436;
}

nav {
    background-color: #2D3436;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F5F3EF;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
}

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

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

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

.nav-links > li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown > a {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-background);
    min-width: 280px;
    box-shadow: 0 4px 16px rgba(45, 52, 54, 0.1);
    border-radius: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 1rem;
    border-top: var(--border-thick) solid var(--color-secondary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-text);
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid var(--color-border);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--color-surface);
    color: var(--color-secondary);
    opacity: 1;
    padding-left: 2rem;
}

/* Areas dropdown - two column layout for 12 locations */
.dropdown-menu-areas {
    min-width: 400px;
}

.dropdown:hover .dropdown-menu-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.dropdown-menu-areas a {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.dropdown-menu-areas a:nth-child(2n) {
    border-right: none;
}

.dropdown-menu-areas a:nth-last-child(-n+2) {
    border-bottom: none;
}

.dropdown-menu-areas a:hover {
    padding-left: 1.5rem;
}

.nav-cta {
    background: var(--color-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(196, 112, 74, 0.3);
}

.nav-cta:hover {
    background: var(--color-secondary-hover);
    opacity: 1 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 112, 74, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - Industrial Craft */
.hero {
    margin-top: 0; /* page-container handles the top spacing */
    background: linear-gradient(165deg, rgba(45, 52, 54, 0.85) 0%, rgba(45, 52, 54, 0.65) 100%),
                url('/images/stock/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
    padding: 8rem 2rem 7rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 0; /* Ensure hero stays below fixed header/banner */
}

/* Subtle texture overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
}

/* Decorative accent line */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 6px;
    background: var(--color-secondary);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    /* Left column for text */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--color-secondary);
    display: block;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    max-width: 540px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

/* Button shine effect on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 112, 74, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
    background: var(--color-text-light);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Trust Bar - Industrial */
.trust-bar {
    background: var(--color-surface);
    padding: 0;
    text-align: center;
    border-bottom: none;
}

.trust-items {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.trust-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--color-border);
    position: relative;
    transition: all var(--transition-base);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    background: var(--color-background);
}

.trust-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.trust-item:hover::before {
    width: 60%;
}

/* Icon lift on hover */
.trust-item:hover .trust-icon {
    transform: translateY(-3px) scale(1.1);
}

.trust-icon {
    transition: transform var(--transition-base);
}

.trust-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
    color: var(--color-secondary);
    display: inline-block;
}

.trust-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-detail {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Services Preview - Industrial */
.services-preview {
    padding: var(--section-padding);
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

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

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--color-background);
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--color-text);
    display: block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-secondary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-base);
}

/* Subtle gradient overlay on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, var(--color-secondary-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    background: white;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.service-icon svg,
.feature-icon svg,
.trust-icon svg,
.icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.service-card .learn-more {
    color: var(--color-secondary);
    font-weight: 600;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.service-card:hover .learn-more {
    gap: 1rem;
}

/* Why Choose - Industrial */
.why-choose {
    background: var(--color-surface-dark);
    color: var(--color-text-light);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}

.why-choose .section-title {
    color: var(--color-text-light);
}

.why-choose .section-subtitle {
    color: rgba(245, 243, 239, 0.75);
}

.why-content {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    position: relative;
    backdrop-filter: blur(10px);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.feature:hover::after {
    width: 100%;
}

/* Icon animation on hover */
.feature:hover .feature-icon {
    transform: scale(1.15);
}

.feature-icon {
    transition: transform var(--transition-base);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.25rem;
    color: var(--color-secondary);
}

.feature h3 {
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature p {
    color: rgba(245, 243, 239, 0.75);
    line-height: 1.7;
}

/* Social Proof - Industrial */
.social-proof {
    padding: var(--section-padding);
    background: var(--color-background);
    text-align: center;
}

.proof-stats {
    max-width: 1100px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat {
    padding: 2.5rem 2rem;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background: var(--color-border);
}

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

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section - Industrial */
.cta-section {
    background: var(--color-secondary);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

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

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--color-surface-dark);
}

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

/* Service Pages - Industrial */
.service-hero {
    margin-top: 74px;
    background: linear-gradient(165deg, rgba(45, 52, 54, 0.95) 0%, rgba(45, 52, 54, 0.85) 100%),
                url('/images/stock/services-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
    padding: 5rem 2rem 4rem;
    text-align: left;
    position: relative;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 4px;
    background: var(--color-secondary);
}

.service-hero h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    font-size: 0.9rem;
    color: rgba(245, 243, 239, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: rgba(245, 243, 239, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

.service-content, .blog-content, .location-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--section-padding);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.main-content h2 {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-size: 2rem;
    margin: 3rem 0 1rem;
    font-weight: 600;
}

.main-content h3 {
    font-family: var(--font-display);
    color: var(--color-accent);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.main-content h4 {
    font-family: var(--font-display);
    color: var(--color-accent);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.main-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.main-content ul, .main-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.main-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-secondary);
}

.sidebar-card h3 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
}

.sidebar-list a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.info-box, .info-callout {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 0;
    margin: 2rem 0;
    border-left: 4px solid var(--color-secondary);
}

.info-box h4, .info-callout h4 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-table, .comparison-table {
    background: var(--color-surface);
    border-radius: 0;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--color-border);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.price-row:last-child {
    border-bottom: none;
}

.cta-box {
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-radius: 0;
    text-align: center;
    margin: 3rem 0;
    border: 3px solid var(--color-secondary);
}

.cta-box h3 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
}

.related-posts h3 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.related-posts ul {
    list-style: none;
    padding: 0;
}

.related-posts li {
    padding: 0.75rem 0;
}

.related-posts a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.related-posts a:hover {
    color: var(--color-secondary);
}

/* Blog specific */
.blog-header {
    max-width: 1200px;
    margin: 6rem auto 0;
    padding: 2rem;
    text-align: center;
}

.blog-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Location specific */
.location-hero {
    margin-top: 74px;
    background: linear-gradient(165deg, rgba(45, 52, 54, 0.95) 0%, rgba(45, 52, 54, 0.85) 100%),
                url('/images/stock/cta-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
    padding: 5rem 2rem 4rem;
    text-align: left;
    position: relative;
}

.location-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 4px;
    background: var(--color-secondary);
}

.location-hero h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Recent Projects Gallery */
.projects-gallery {
    padding: var(--section-padding);
    max-width: 1300px;
    margin: 0 auto;
    background: var(--color-background);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 0;
    background: var(--color-surface);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

/* Smooth caption reveal */
.gallery-caption {
    transition: transform var(--transition-base), opacity var(--transition-base);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.9), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.neighborhood {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: 0;
    border-left: 4px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.neighborhood:hover {
    transform: translateX(5px);
}

.neighborhood h4 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.project-highlight {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 0;
    margin: 2rem 0;
    border-left: 4px solid var(--color-secondary);
}

.project-highlight h4 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.blog-image {
    margin: 2rem 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--color-shadow);
}

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

.blog-image p {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin: 0.75rem 0 0;
    padding: 0 1rem 1rem;
    font-style: italic;
}

/* Form Styling - Industrial */
input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 0;
    font-size: 1rem;
    font-family: var(--font-body);
    background: white;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(196, 112, 74, 0.15);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Footer - Industrial */
footer {
    background: var(--color-surface-dark);
    color: var(--color-text-light);
    padding: 5rem 2rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(245, 243, 239, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(245, 243, 239, 0.5);
    font-size: 0.9rem;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

.page-container {
    display: none;
    padding-top: 0;
    margin-top: 130px; /* Adjusted for header + urgency banner */
    position: relative;
    z-index: 1;
    isolation: isolate;
    clip-path: inset(0); /* Hard clip - nothing can visually escape this container */
}

.page-container.active {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: var(--color-surface);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

tr:hover td {
    background: rgba(232, 228, 221, 0.5);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--color-surface);
    max-width: 1300px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--color-background);
    padding: 2rem;
    border-radius: 0;
    border-left: 4px solid var(--color-secondary);
    transition: all var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: var(--shadow-md);
    border-left-width: 6px;
}

/* Quote icon effect */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--color-secondary);
    opacity: 0.1;
    line-height: 1;
    transition: opacity var(--transition-base);
}

.testimonial-card:hover::before {
    opacity: 0.2;
}

.testimonial-stars {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.testimonial-location {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
    background: var(--color-background);
    max-width: 1300px;
    margin: 0 auto;
}

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

.process-step {
    background: var(--color-surface);
    padding: 2.5rem 2rem;
    border-radius: 0;
    position: relative;
    transition: all var(--transition-base);
    text-align: center;
}

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

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-secondary);
    transition: height var(--transition-base);
}

.process-step:hover::before {
    height: 6px;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(196, 112, 74, 0.4);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

/* Warranty Badge */
.warranty-badge {
    background: var(--color-secondary);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    border-radius: 0;
    position: relative;
}

.warranty-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

.warranty-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    color: white;
    display: inline-block;
}

.warranty-label {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.warranty-detail {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta .btn {
    box-shadow: 0 4px 16px rgba(45, 52, 54, 0.3);
    padding: 1rem 2rem;
}

/* Footer Trust Badges */
.footer-trust-badges {
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-top: 1px solid var(--color-border);
}

.badges-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.badge {
    padding: 1.5rem;
    background: var(--color-background);
    border-radius: 0;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.badge-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--color-secondary);
}

.badge-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.badge-detail {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Footer CTA Bar */
.footer-cta-bar {
    background: var(--color-primary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-cta-bar h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-cta-bar p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer-cta-bar .cta-buttons {
    justify-content: center;
}

/* Pricing Badge */
.pricing-badge {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: 0;
    border-left: 4px solid var(--color-secondary);
    margin-top: 2rem;
    text-align: center;
}

.pricing-badge p {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0.5rem 0;
}

.pricing-badge strong {
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

/* Urgency Banner - inside header, solid background */
.urgency-banner {
    background-color: #C4704A;
    color: white;
    padding: 1rem 2rem;
    margin: 0;
    border: none;
    box-shadow: none;
}

.urgency-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.urgency-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.urgency-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.urgency-text {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.urgency-text strong {
    font-weight: 700;
    display: inline;
}

.urgency-cta {
    background: white;
    color: var(--color-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.urgency-cta:hover {
    background: var(--color-background);
    transform: translateY(-1px);
}

/* Before/After Gallery */
.before-after-gallery {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.before-after-item {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.before-after-item:hover {
    border-color: var(--color-secondary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.before-after-item:hover .comparison-images img {
    transform: scale(1.02);
}

.comparison-images img {
    transition: transform var(--transition-slow);
}

.before-after-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.comparison-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.comparison-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-img {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.after-img {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.comparison-labels {
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.comparison-labels span {
    background: rgba(45, 52, 54, 0.85);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-before {
    border-left: 3px solid #C4704A;
}

.label-after {
    border-right: 3px solid #C4704A;
}

.project-details {
    padding: 1.5rem;
}

.project-details h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.project-details p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Service Area Section */
.service-area-section {
    background: var(--color-background);
    padding: var(--section-padding);
}

.service-area-content {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-area-map {
    background: var(--color-surface);
    padding: 2rem;
    border: 2px solid var(--color-border);
}

.map-placeholder {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.area-map-svg {
    width: 100%;
    height: auto;
}

.service-area-cities h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

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

.cities-list li {
    padding: 0;
}

.cities-list a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
    display: block;
}

.cities-list a:before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

.cities-list a:hover {
    color: var(--color-secondary);
}

.service-area-note {
    background: var(--color-surface);
    padding: 1.5rem;
    border-left: 4px solid var(--color-secondary);
    margin-top: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-area-note strong {
    color: var(--color-primary);
}

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

    .service-area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .urgency-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

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

    .sidebar {
        position: static;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--color-surface-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: var(--border-thick) solid var(--color-secondary);
    }

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

    /* Mobile hero adjustments */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

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

    /* Mobile features grid - 2 columns on tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile trust bar */
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid var(--color-border);
    }

    .trust-item:nth-last-child(-n+1) {
        border-bottom: none;
        grid-column: 1 / -1;
    }

    /* Mobile stats */
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat::after {
        display: none;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0.5rem;
        border-radius: 5px;
        display: none;
        border-top: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    /* Mobile: Reset areas dropdown to single column */
    .dropdown-menu-areas {
        min-width: unset;
    }

    .dropdown.active .dropdown-menu-areas {
        display: block;
    }

    .dropdown-menu-areas a {
        border-right: none;
    }

    .dropdown-menu a {
        color: var(--color-text-light) !important;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.15);
        padding-left: 1.5rem;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .service-hero h1, .location-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

@media (max-width: 600px) {
    /* Single column on mobile for features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .badges-container {
        grid-template-columns: 1fr;
    }

    .cities-list {
        grid-template-columns: 1fr;
    }

    .urgency-banner {
        padding: 0.75rem 1rem;
    }

    .urgency-icon {
        display: none;
    }

    .urgency-text {
        font-size: 0.9rem;
    }

    .urgency-cta {
        width: 100%;
        text-align: center;
    }

    .sticky-cta {
        bottom: 10px;
        right: 10px;
    }

    .sticky-cta .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===========================================
   SCROLL-TRIGGERED ANIMATIONS
   =========================================== */

/* Base state for animated elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grids */
.reveal-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal-stagger:nth-child(1) { transition-delay: 0s; }
.reveal-stagger:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger:nth-child(6) { transition-delay: 0.5s; }

/* Fade in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===========================================
   ADDITIONAL MICRO-INTERACTIONS
   =========================================== */

/* Navigation link underline effect */
.nav-links > li > a:not(.nav-cta) {
    position: relative;
}

.nav-links > li > a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.nav-links > li > a:not(.nav-cta):hover::after {
    width: 100%;
}

/* Counter animation for stats */
.stat-number {
    transition: transform 0.3s ease;
}

.stat:hover .stat-number {
    transform: scale(1.05);
}

/* Link hover with arrow animation */
.learn-more::after {
    content: '→';
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform var(--transition-base);
}

.service-card:hover .learn-more::after {
    transform: translateX(4px);
}

/* CTA section pulse effect */
@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(196, 112, 74, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(196, 112, 74, 0.1);
    }
}

.cta-section .btn-primary {
    animation: subtlePulse 3s infinite;
}

.cta-section .btn-primary:hover {
    animation: none;
}

/* Loading shimmer for images */
.gallery-item img,
.before-after-item img {
    background: linear-gradient(90deg, var(--color-surface) 0%, var(--color-background) 50%, var(--color-surface) 100%);
    background-size: 200% 100%;
}

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

    .reveal,
    .reveal-stagger,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ===========================================
   IMPROVED VISUAL REFINEMENTS
   =========================================== */

/* Better text rendering for headings */
h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
}

/* Improved section titles */
.section-title {
    letter-spacing: -0.02em;
}

/* Subtle gradient on hero text */
.hero h1 span {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #D4855A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Better shadow on sticky CTA */
.sticky-cta .btn {
    box-shadow: 0 8px 30px rgba(45, 52, 54, 0.4);
}

.sticky-cta .btn:hover {
    box-shadow: 0 12px 40px rgba(45, 52, 54, 0.5);
}

/* ===========================================
   FLOATING ACTION BUTTONS (FAB)
   =========================================== */

.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.fab-container.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.fab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.fab:hover::before {
    width: 100%;
    height: 100%;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.fab:active {
    transform: scale(0.95);
}

/* Call Button - Green */
.fab-call {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.fab-call:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
}

/* Quote/Chat Button - Coral/Rose */
.fab-quote {
    background: linear-gradient(135deg, #E57373 0%, #d55a5a 100%);
    color: white;
}

.fab-quote:hover {
    background: linear-gradient(135deg, #d55a5a 0%, #c74848 100%);
}

.fab svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 1;
}

/* FAB Labels (tooltip on hover) */
.fab-label {
    position: absolute;
    right: 72px;
    background: var(--color-surface-dark);
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.fab-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--color-surface-dark);
}

.fab:hover .fab-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse animation for attention */
@keyframes fabPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 10px rgba(76, 175, 80, 0.1);
    }
}

.fab-call {
    animation: fabPulse 3s infinite;
}

.fab-call:hover {
    animation: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .fab-container {
        bottom: 16px;
        right: 16px;
        gap: 12px;
    }

    .fab {
        width: 54px;
        height: 54px;
    }

    .fab svg {
        width: 24px;
        height: 24px;
    }

    .fab-label {
        display: none;
    }
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-surface-dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 112, 74, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ===========================================
   STICKY HEADER SHRINK (Simplified - no transitions)
   =========================================== */

header.shrink nav {
    padding: 0.5rem 2rem;
}

header.shrink .logo img {
    height: 40px;
}

header.shrink .nav-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* ===========================================
   COUNTER ANIMATION
   =========================================== */

.stat-number[data-count] {
    display: inline-block;
}

.stat-number.counting {
    transition: none;
}

/* ===========================================
   HAMBURGER MENU ANIMATION
   =========================================== */

.menu-toggle {
    width: 30px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Animated to X */
.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ===========================================
   CUSTOM SCROLLBAR
   =========================================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 5px;
    border: 2px solid var(--color-surface);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-surface);
}

/* ===========================================
   INTERACTIVE BEFORE/AFTER SLIDER
   =========================================== */

.before-after-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.before-after-slider .comparison-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.before-after-slider .comparison-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-after-slider .before-img {
    clip-path: polygon(0 0, var(--slider-position, 50%) 0, var(--slider-position, 50%) 100%, 0 100%);
    z-index: 2;
}

.before-after-slider .after-img {
    clip-path: polygon(var(--slider-position, 50%) 0, 100% 0, 100% 100%, var(--slider-position, 50%) 100%);
    z-index: 1;
}

/* Slider Handle */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-position, 50%);
    transform: translateX(-50%);
    width: 4px;
    background: white;
    z-index: 10;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle::before,
.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

.slider-handle::before {
    left: -12px;
    transform: translateY(-50%);
    border-right-color: white;
}

.slider-handle::after {
    right: -12px;
    transform: translateY(-50%);
    border-left-color: white;
}

/* Circular grip in the center */
.slider-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-grip:hover,
.before-after-slider.dragging .slider-grip {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.slider-grip svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    stroke-width: 2;
    fill: none;
}

/* Instruction hint */
.slider-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 52, 54, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 15;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.before-after-slider.interacted .slider-hint {
    opacity: 0;
}

/* Update comparison labels for interactive slider */
.before-after-slider .comparison-labels {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 5;
    pointer-events: none;
}

/* ===========================================
   FORM FLOATING LABELS
   =========================================== */

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 0;
    font-size: 1rem;
    font-family: var(--font-body);
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
    pointer-events: none;
    transition: all 0.2s ease;
    background: white;
    padding: 0 4px;
    margin: 0;
}

/* Float label when input is focused or has value */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:not([value=""]) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group .has-value ~ label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(196, 112, 74, 0.15);
}

/* Validation states */
.form-group.valid input {
    border-color: #4CAF50;
}

.form-group.valid input ~ label {
    color: #4CAF50;
}

.form-group.invalid input {
    border-color: #E57373;
}

.form-group.invalid input ~ label {
    color: #E57373;
}

.form-error {
    font-size: 0.8rem;
    color: #E57373;
    margin-top: 0.25rem;
    display: none;
}

.form-group.invalid .form-error {
    display: block;
}

/* ===========================================
   PRINT STYLESHEET
   =========================================== */

/* ===========================================
   DARK MODE
   =========================================== */

/* Dark mode toggle button */
.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.dark-mode-toggle.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dark-mode-toggle:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 112, 74, 0.3);
}

.dark-mode-toggle:hover svg {
    stroke: white;
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

/* Sun icon (shown in dark mode) */
.dark-mode-toggle .sun-icon {
    display: none;
}

/* Moon icon (shown in light mode) */
.dark-mode-toggle .moon-icon {
    display: block;
}

/* Dark mode variables */
[data-theme="dark"] {
    --color-background: #1a1a1a;
    --color-surface: #252525;
    --color-surface-dark: #0f0f0f;
    --color-text: #e8e8e8;
    --color-text-muted: #a0a0a0;
    --color-text-light: #f5f5f5;
    --color-border: #3a3a3a;
    --color-shadow: rgba(0, 0, 0, 0.3);
    --color-shadow-hover: rgba(0, 0, 0, 0.4);
}

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

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

[data-theme="dark"] .dark-mode-toggle {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .dark-mode-toggle svg {
    stroke: #ffd93d;
}

/* Dark mode specific overrides */
[data-theme="dark"] header {
    background: var(--color-surface-dark);
}

[data-theme="dark"] .hero {
    background: linear-gradient(165deg, rgba(15, 15, 15, 0.95) 0%, rgba(25, 25, 25, 0.85) 100%),
                url('/images/stock/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

[data-theme="dark"] .trust-bar,
[data-theme="dark"] .footer-trust-badges {
    background: var(--color-surface);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .sidebar-card,
[data-theme="dark"] .info-box,
[data-theme="dark"] .info-callout {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .service-card:hover {
    background: var(--color-surface);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--color-surface);
}

[data-theme="dark"] .dropdown-menu a {
    color: var(--color-text);
    border-color: var(--color-border);
}

[data-theme="dark"] .dropdown-menu a:hover {
    background: var(--color-background);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border);
}

[data-theme="dark"] .form-group label {
    background: var(--color-surface);
}

[data-theme="dark"] .badge {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .process-step {
    background: var(--color-surface);
}

[data-theme="dark"] .gallery-item {
    background: var(--color-surface);
}

[data-theme="dark"] .back-to-top {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

[data-theme="dark"] .fab-label {
    background: var(--color-surface);
}

[data-theme="dark"] .fab-label::after {
    border-left-color: var(--color-surface);
}

[data-theme="dark"] .slider-grip {
    background: var(--color-surface);
}

[data-theme="dark"] .slider-grip svg {
    stroke: var(--color-text);
}

/* Smooth transition when toggling */
body,
header,
.hero,
.trust-bar,
.service-card,
.testimonial-card,
.dropdown-menu,
input,
select,
textarea,
.badge,
.process-step {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 768px) {
    .dark-mode-toggle {
        bottom: 76px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
}

/* ===========================================
   HERO GAP FIX
   =========================================== */

.hero + section,
.service-hero + section,
.location-hero + section,
.page-hero + section {
    padding-top: 3rem;
}

@media (max-width: 768px) {
    .hero + section,
    .service-hero + section,
    .location-hero + section,
    .page-hero + section {
        padding-top: 2rem;
    }
}

/* ===========================================
   PRINT STYLESHEET
   =========================================== */

@media print {
    /* Hide interactive elements */
    .fab-container,
    .back-to-top,
    .sticky-cta,
    .urgency-banner,
    .menu-toggle,
    header,
    .footer-cta-bar,
    .slider-handle,
    .slider-hint,
    .cta-buttons,
    .nav-cta {
        display: none !important;
    }

    /* Reset backgrounds for printing */
    body {
        background: white !important;
        color: black !important;
    }

    .hero,
    .why-choose,
    .cta-section,
    .footer-trust-badges {
        background: white !important;
        color: black !important;
    }

    .hero h1 span {
        -webkit-text-fill-color: black !important;
        background: none !important;
    }

    /* Ensure text is readable */
    * {
        color: black !important;
        background: white !important;
        box-shadow: none !important;
    }

    /* Show URLs for links */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }

    /* Page breaks */
    .section-header,
    h2, h3 {
        page-break-after: avoid;
    }

    .service-card,
    .testimonial-card,
    .feature {
        page-break-inside: avoid;
    }
}
