/* ==========================================================================
   HIX SERVICES - CSS Design System
   Optimized for PageSpeed 95+ | System Fonts | No Layout Shift
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
    /* Primary Colors - Earth/Construction Theme */
    --primary: #C45C26;           /* Warm burnt orange - earth/excavation */
    --primary-dark: #A34B1F;      /* Hover state */
    --primary-light: #D4764A;     /* Light accent */

    /* Secondary Colors */
    --secondary: #1E3A5F;         /* Navy blue - trust/authority */
    --secondary-dark: #152C47;    /* Darker navy */
    --secondary-light: #2D4A6F;   /* Lighter navy */

    /* Accent */
    --accent: #2E7D32;            /* Forest green - land/nature */
    --accent-dark: #1B5E20;
    --accent-light: #4CAF50;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #DC2626;

    /* Typography - System Font Stack (No Layout Shift) */
    --font-primary: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Font Weights */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* Spacing Scale (8px base) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 80px;
    --space-10: 96px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
    --shadow-primary: 0 4px 14px rgba(196, 92, 38, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;

    /* Header Height */
    --header-height: 72px;
    --header-height-mobile: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: var(--weight-regular);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

input, button, textarea, select {
    font: inherit;
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: 48px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 36px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    margin-bottom: 1em;
}

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

.text-lg { font-size: 18px; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: var(--container-2xl);
}

/* Section Spacing */
.section {
    padding: var(--space-8) 0;
}

.section-lg {
    padding: var(--space-10) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-7) 0;
    }
    .section-lg {
        padding: var(--space-8) 0;
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--white);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 24px;
    font-weight: var(--weight-extrabold);
    color: var(--secondary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    color: var(--primary);
    font-size: 14px;
    font-weight: var(--weight-medium);
}

/* Main Navigation */
.nav-main {
    display: none;
}

@media (min-width: 1024px) {
    .nav-main {
        display: flex;
        align-items: center;
        gap: var(--space-6);
    }
}

.nav-link {
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: var(--gray-700);
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
    position: relative;
}

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

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    margin-top: var(--space-2);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.nav-dropdown a {
    display: block;
    padding: var(--space-3) var(--space-5);
    font-size: 14px;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Header CTA */
.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: flex;
        align-items: center;
        gap: var(--space-4);
    }
}

.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--weight-semibold);
    color: var(--secondary);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-5);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    z-index: 999;
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile-link {
    display: block;
    padding: var(--space-4) 0;
    font-size: 18px;
    font-weight: var(--weight-medium);
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
}

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

.nav-mobile-submenu {
    padding-left: var(--space-4);
}

.nav-mobile-submenu a {
    display: block;
    padding: var(--space-3) 0;
    font-size: 16px;
    color: var(--gray-600);
}

.nav-mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding: var(--space-4);
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-weight: var(--weight-semibold);
    font-size: 18px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: inherit;
    font-weight: var(--weight-semibold);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-sm {
    height: 36px;
    padding: 0 var(--space-4);
    font-size: 14px;
    border-radius: var(--radius-md);
}

.btn-md {
    height: 48px;
    padding: 0 var(--space-5);
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-lg {
    height: 56px;
    padding: 0 var(--space-6);
    font-size: 18px;
    border-radius: var(--radius-lg);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 92, 38, 0.4);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

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

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

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: var(--secondary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(30, 58, 95, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    color: var(--white);
    padding: var(--space-8) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-5);
    backdrop-filter: blur(4px);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-5);
    font-size: 52px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: var(--space-6);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    font-weight: var(--weight-medium);
}

.hero-trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

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

/* Page Hero (Interior Pages) */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--space-3);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 14px;
    margin-bottom: var(--space-4);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.6;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
    background: var(--gray-50);
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: var(--gray-700);
}

.trust-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.trust-item strong {
    color: var(--gray-900);
}

@media (max-width: 768px) {
    .trust-bar-inner {
        gap: var(--space-4);
    }

    .trust-item {
        font-size: 13px;
    }
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-content {
    padding: var(--space-5);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
}

.service-card p {
    color: var(--gray-600);
    font-size: 15px;
    margin-bottom: var(--space-4);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary);
    font-weight: var(--weight-semibold);
    font-size: 15px;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--primary);
    transition: all var(--transition-base);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: var(--space-3);
}

.feature-item p {
    color: var(--gray-600);
    font-size: 15px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-5);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-4);
    color: #FBBF24;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-5);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--weight-bold);
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 14px;
    color: var(--gray-500);
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
    counter-reset: process;
}

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

.process-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--white);
    font-size: 24px;
    font-weight: var(--weight-bold);
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: var(--space-3);
}

.process-step p {
    color: var(--gray-600);
    font-size: 15px;
}

/* ==========================================================================
   Service Areas
   ========================================================================== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-3);
}

.area-tag {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

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

.area-tag svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 17px;
    font-weight: var(--weight-semibold);
    color: var(--gray-800);
    transition: color var(--transition-fast);
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding-bottom: var(--space-5);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-section p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

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

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: 14px;
    font-weight: var(--weight-medium);
    color: var(--gray-700);
}

.form-label.required::after {
    content: ' *';
    color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    height: 48px;
    padding: 0 var(--space-4);
    font-size: 16px;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.15);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    height: auto;
    min-height: 120px;
    padding: var(--space-3) var(--space-4);
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 48px;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    margin-bottom: var(--space-5);
}

/* ==========================================================================
   Gallery Grid
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

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

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-4);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-item-overlay span {
    color: var(--white);
    font-weight: var(--weight-medium);
    font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-9) 0 var(--space-6);
}

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

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 24px;
    font-weight: var(--weight-extrabold);
    color: var(--white);
    margin-bottom: var(--space-4);
}

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

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: 15px;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: 15px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-800);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: 14px;
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-5);
}

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

/* ==========================================================================
   Floating CTA (Mobile)
   ========================================================================== */
.floating-cta {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    z-index: 998;
    display: none;
}

@media (max-width: 768px) {
    .floating-cta {
        display: block;
    }
}

.floating-cta a {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
    animation: pulse 2s infinite;
}

.floating-cta svg {
    width: 28px;
    height: 28px;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(46, 125, 50, 0.6); }
    100% { box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4); }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--gray-500); }

.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }

.pt-0 { padding-top: 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    color: var(--gray-600);
    font-size: 17px;
}

.section-header .overline {
    display: block;
    font-size: 14px;
    font-weight: var(--weight-semibold);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

.two-col-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.two-col-content h2 {
    margin-bottom: var(--space-4);
}

.two-col-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

.check-list {
    margin: var(--space-5) 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: 16px;
    color: var(--gray-700);
}

.check-list svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

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

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Service Detail Page */
.service-detail-content {
    padding: var(--space-8) 0;
}

.service-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--space-6);
}

.service-features {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.service-features h3 {
    margin-bottom: var(--space-4);
}

.service-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 15px;
    color: var(--gray-700);
}

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

/* Service Gallery */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.service-gallery img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Related Services */
.related-services {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-200);
}

/* Stats Section */
.stats-section {
    background: var(--secondary);
    color: var(--white);
}

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

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

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

.stat-number {
    font-size: 48px;
    font-weight: var(--weight-extrabold);
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* About Page Team */
.team-section {
    background: var(--gray-50);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-8);
}

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

.contact-info-card {
    background: var(--secondary);
    color: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    height: fit-content;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: var(--space-5);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
}

.contact-info-text h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: var(--space-1);
}

.contact-info-text p,
.contact-info-text a {
    color: var(--gray-300);
    font-size: 15px;
}

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