/* ============================================
   JGC Construction — Premium Stylesheet
   Warm, polished, accessible, production-ready
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Rich warm palette — pulled from the logo's wood grain tones */
    --color-primary: #7A3B10;
    --color-primary-dark: #5C2A08;
    --color-primary-light: #A05A2C;
    --color-accent: #C07028;
    --color-accent-light: #D4923A;
    --color-accent-glow: rgba(192, 112, 40, 0.15);

    /* Warm neutrals */
    --color-bg: #FAF7F2;
    --color-bg-alt: #F2EDE4;
    --color-bg-dark: #2A1F14;
    --color-surface: #FFFFFF;
    --color-text: #1E1710;
    --color-text-secondary: #54473A;
    --color-text-light: #8A7B6B;
    --color-border: #DDD4C6;
    --color-border-light: #EBE5DA;

    /* Functional */
    --color-star: #D4923A;
    --color-success: #4A7C59;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;

    /* Sizing — larger base for accessibility */
    --text-xs: 0.875rem;
    --text-base: 1.125rem;
    --text-sm: 1rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.75rem;
    --text-4xl: 3.5rem;
    --text-5xl: 4.25rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --header-height: 76px;

    /* Effects */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;
    --shadow-xs: 0 1px 2px rgba(30, 23, 16, 0.05);
    --shadow-sm: 0 2px 8px rgba(30, 23, 16, 0.06);
    --shadow-md: 0 4px 16px rgba(30, 23, 16, 0.08);
    --shadow-lg: 0 8px 32px rgba(30, 23, 16, 0.1);
    --shadow-xl: 0 16px 48px rgba(30, 23, 16, 0.14);
    --shadow-card: 0 1px 3px rgba(30, 23, 16, 0.04), 0 4px 12px rgba(30, 23, 16, 0.06);
    --shadow-card-hover: 0 8px 30px rgba(30, 23, 16, 0.12), 0 2px 6px rgba(30, 23, 16, 0.06);
    --transition-fast: 0.15s ease;
    --transition: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
}

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

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

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

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Skip link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-primary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus { top: var(--space-md); }

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

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

h1 { font-size: var(--text-5xl); letter-spacing: -0.025em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.015em; }
h3 { font-size: var(--text-xl); letter-spacing: -0.01em; }
h4 { font-size: var(--text-lg); }

.text-accent {
    color: var(--color-accent);
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

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

.section-header .section-label {
    justify-content: center;
}

.section-header .section-label::before {
    display: none;
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-top: var(--space-md);
    line-height: 1.6;
}

/* --- Section Spacing --- */
.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(250, 247, 242, 0.95);
    border-bottom-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}
.logo:hover { opacity: 0.85; color: var(--color-primary); }

.logo-img {
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(122, 59, 16, 0.15);
}

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

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

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-top: 1px;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-list a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    padding: 6px 2px;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-list a:hover { color: var(--color-primary); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-cta {
    background: var(--color-primary) !important;
    color: white !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(122, 59, 16, 0.25);
    transition: all var(--transition-fast) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--color-primary-dark) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(122, 59, 16, 0.3) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}
.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-base);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.3;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(122, 59, 16, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122, 59, 16, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: white;
    color: var(--color-primary);
    border-color: white;
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    background: var(--color-bg);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg { padding: 16px 36px; font-size: var(--text-lg); }
.btn-full { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-5xl)) 0 var(--space-5xl);
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Rich warm gradient field */
    background:
        radial-gradient(ellipse 800px 600px at 15% 45%, rgba(122, 59, 16, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 600px 500px at 75% 25%, rgba(192, 112, 40, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 900px 700px at 50% 90%, rgba(122, 59, 16, 0.04) 0%, transparent 60%);
}

/* Decorative floating shapes */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 8%;
    right: 2%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(192, 112, 40, 0.04) 0%, transparent 70%);
    border: 1.5px solid rgba(192, 112, 40, 0.07);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(122, 59, 16, 0.03) 0%, transparent 70%);
    border: 1.5px solid rgba(122, 59, 16, 0.06);
    border-radius: 50%;
    animation: floatSlow 25s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 59, 16, 0.06);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(122, 59, 16, 0.1);
    letter-spacing: 0.02em;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero h1 {
    margin-bottom: var(--space-lg);
    line-height: 1.08;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    max-width: 580px;
    margin-bottom: var(--space-2xl);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-light);
}
.trust-item svg { color: var(--color-star); flex-shrink: 0; }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image-placeholder {
    background:
        linear-gradient(145deg, #D2A679 0%, #A0704A 40%, #7A4420 100%);
    border-radius: var(--radius-xl);
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    gap: var(--space-md);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

/* Subtle wood-grain texture overlay */
.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -30deg,
        transparent 0px,
        transparent 20px,
        rgba(255,255,255,0.03) 20px,
        rgba(255,255,255,0.03) 22px
    );
}

.about-image-placeholder svg { color: rgba(255,255,255,0.5); position: relative; z-index: 1; }
.about-image-placeholder p { font-weight: 700; font-size: var(--text-sm); position: relative; z-index: 1; }

.about-content .section-label { display: block; }
.about-content h2 { margin-bottom: var(--space-xl); }

.about-lead {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.about-content p + p { margin-top: var(--space-md); }

.about-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border-light);
}

.stat { display: flex; flex-direction: column; }
.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.1;
}
.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(192, 112, 40, 0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(122, 59, 16, 0.08) 0%, rgba(192, 112, 40, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.service-card h3 { margin-bottom: var(--space-sm); }
.service-card p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ============================================
   WHY US / VALUES
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.value-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.value-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(122, 59, 16, 0.1) 0%, rgba(192, 112, 40, 0.06) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.value-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

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

/* ============================================
   PROJECTS / GALLERY
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a1a1a;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-info {
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.project-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent, #B8804E);
    margin-bottom: 8px;
}
.project-info h3 { margin-bottom: 6px; }
.project-info p { color: var(--color-text-light); font-size: var(--text-sm); }

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: var(--color-star);
    margin-bottom: var(--space-lg);
}

.testimonial-card blockquote p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-author strong { color: var(--color-text); }
.testimonial-author span { font-size: var(--text-sm); color: var(--color-text-light); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-light) 100%);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent 0px,
        transparent 60px,
        rgba(255,255,255,0.02) 60px,
        rgba(255,255,255,0.02) 62px
    );
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    color: white;
    margin-bottom: var(--space-sm);
}
.cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
    max-width: 520px;
    line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info h2 { margin-bottom: var(--space-lg); }
.contact-info > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    font-size: var(--text-lg);
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}
.contact-item:hover { background: var(--color-border-light); }

.contact-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item a { color: var(--color-text); }
.contact-item a:hover { color: var(--color-accent); }
.contact-item span { color: var(--color-text-secondary); }

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-xl);
    position: relative;
}

/* Accent line on top of form */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-2xl);
    right: var(--space-2xl);
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    border-radius: 0 0 3px 3px;
}

.contact-form h3 {
    margin-bottom: var(--space-xl);
    text-align: center;
}

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

label {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: 6px;
    color: var(--color-text);
}

.required { color: #B94A3C; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

input:hover, select:hover, textarea:hover {
    border-color: var(--color-text-light);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-glow);
    background: white;
}

input::placeholder, textarea::placeholder { color: var(--color-text-light); }

select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2354473A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea { resize: vertical; min-height: 130px; }

.form-note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-md);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--space-lg);
}
.footer-brand .logo-tagline { color: rgba(255, 255, 255, 0.4); }
.footer-brand > p { font-size: var(--text-sm); line-height: 1.7; }

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: white; }

.footer-contact p { font-size: var(--text-sm); margin-bottom: var(--space-xs); }
.footer-contact a { color: rgba(255, 255, 255, 0.6); }
.footer-contact a:hover { color: white; }

.footer-bottom {
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-5xl: 3.25rem;
        --text-4xl: 2.5rem;
        --text-3xl: 2.25rem;
    }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.5rem;
        --header-height: 68px;
    }

    .container { padding: 0 var(--space-lg); }
    .section { padding: var(--space-3xl) 0; }

    /* Mobile Nav */
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        padding: var(--space-xl);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 99;
    }
    .main-nav.open { transform: translateX(0); }

    .nav-list { flex-direction: column; gap: 0; }
    .nav-list a {
        font-size: var(--text-lg) !important;
        display: block;
        padding: var(--space-md) 0 !important;
        border-bottom: 1px solid var(--color-border-light);
    }
    .nav-list a::after { display: none; }
    .nav-cta {
        text-align: center;
        margin-top: var(--space-md);
        border-bottom: none !important;
        display: block !important;
    }

    .mobile-menu-toggle { display: flex; }
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .hero { min-height: auto; padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: var(--space-md); }

    .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .about-image { order: -1; }
    .about-image-placeholder { aspect-ratio: 16/9; }
    .about-stats { gap: var(--space-lg); }

    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { max-width: none; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text p { max-width: none; }

    .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

@media (max-width: 480px) {
    :root { --text-5xl: 2rem; --text-3xl: 1.5rem; }
    .about-stats { flex-direction: column; }
    .contact-form-wrapper { padding: var(--space-xl); }
}

/* Print */
@media print {
    .site-header, .mobile-menu-toggle, .hero-actions, .cta-banner { display: none; }
    body { font-size: 12pt; color: black; }
}

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