
/* ============================================
   COMPLETE FIXED CSS FOR 201 LYVN
   Elegant, Professional Design
   ============================================ */

/* ========== CUSTOM PROPERTIES ========== */
:root {
    /* Brand Colors */
    --primary-brown: #7A3725;      /* Main brand color */
    --dark-brown: #5C2A1C;         /* Darker brown for hover states */
    --light-beige: #F2EEEB;        /* Light background */
    --medium-beige: #D5CABC;       /* Medium beige */
    --dark-charcoal: #3E3A33;      /* Main text color */
    --medium-gray: #7A7266;        /* Secondary text */
    --light-gray: #9C968D;         /* Borders, subtle elements */
    
    /* Semantic Colors */
    --white: #FFFFFF;
    --black: #000000;
    --footer-bg: #F8F5F2;
    
    /* Enhanced Spacing System */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */
    --space-4xl: 8rem;     /* 128px */
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Enhanced Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE STYLES ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--dark-charcoal);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ========== TYPOGRAPHY ENHANCEMENTS ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark-charcoal);
}

h1 {
    font-family: var(--font-serif);
    font-size: var(--text-6xl);
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
}

h2 {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-weight: 400;
    margin-bottom: var(--space-md);
    position: relative;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: var(--text-xl);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    color: var(--medium-gray);
    line-height: 1.8;
}

.lead {
    font-size: var(--text-lg);
    color: var(--dark-charcoal);
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* ========== LAYOUT & CONTAINERS ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-lg);
}

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

.section-sm {
    padding: var(--space-xl) 0;
}

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

/* ========== UTILITY CLASSES ========== */
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mb-6 { margin-bottom: var(--space-2xl); }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mt-6 { margin-top: var(--space-2xl); }

.py-1 { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-2 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-3 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-4 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-5 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.bg-light { background-color: var(--light-beige); }
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--dark-charcoal); color: var(--white); }
.bg-brown { background-color: var(--primary-brown); color: var(--white); }

/* ========== ENHANCED HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

/* Transparent state (home at top) */
.header.header-transparent {
    background-color: transparent;
    box-shadow: none;
}

/* Solid state (scrolled or other pages) */
.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: var(--space-sm) 0;
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3xl);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
}

.logo img {
    height: 90px;
    width: auto;
    transition: height var(--transition-normal);
}

.header.scrolled .logo img,
body:not(.home) .header .logo img {
    height: 72px;
}

/* Navigation - pushed to the right */
.nav-primary {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

@media (min-width: 1100px) {
    .nav-links {
        gap: var(--space-lg);
    }
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

/* White text on transparent header */
.header.header-transparent .nav-link {
    color: var(--white);
}

/* Dark text on solid header */
.header.scrolled .nav-link {
    color: var(--dark-charcoal);
}

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

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

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

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-sm));
    left: -20px;
    min-width: 240px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    padding: var(--space-sm) 0;
    border-radius: var(--radius-md);
}

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

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--dark-charcoal);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--light-beige);
    color: var(--primary-brown);
    padding-left: var(--space-xl);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: all var(--transition-normal);
}

.header.scrolled .mobile-toggle span {
    background-color: var(--dark-charcoal);
}

.header.header-transparent .mobile-toggle span {
    background-color: var(--white);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

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

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

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

/* ========== HERO SECTION ENHANCEMENT ========== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh; /* dynamic viewport for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-lg);
}

.hero h1 {
    font-size: var(--text-6xl);
    color: var(--white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -1px;
}

.hero p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.scroll-indicator,
.hero .scroll-down {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    font-size: var(--text-xl);
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.hero .scroll-down:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.hero .scroll-down i {
    animation: bounce 2s ease-in-out infinite;
}

/* ========== ENHANCED BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none;
    gap: var(--space-xs);
}

.btn-primary {
    background-color: var(--primary-brown);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(122, 55, 37, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-brown);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(122, 55, 37, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-brown);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(122, 55, 37, 0.3);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-brown);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background-color: var(--light-beige);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-link {
    color: var(--primary-brown);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0;
    background: none;
    position: relative;
}

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

.btn-link:hover {
    color: var(--dark-brown);
    gap: var(--space-sm);
}

.btn-link:hover::after {
    width: 100%;
}

/* ========== SECTION HEADERS ENHANCEMENT ========== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.section-header h2 {
    display: inline-block;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-md);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-brown);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--medium-gray);
    font-size: var(--text-lg);
    line-height: 1.7;
}

/* ========== ENHANCED SECTORS SECTION (3-col, same-size, full-bleed cards) ========== */
@keyframes sectorSlideIn {
    from {
        transform: translateX(-40px);
    }
    to {
        transform: translateX(0);
    }
}

.sectors-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, #f5f3f0 0%, var(--white) 30%, var(--white) 100%);
    position: relative;
}

.sectors-section .container {
    overflow-x: hidden;
}

.sectors-section .section-header {
    opacity: 1;
    transform: translateX(-24px);
    transition: transform 0.6s ease 0.1s;
}

.sectors-section.sectors-reveal .section-header {
    transform: translateX(0);
}

/* Max 3 cards per row, same-size cards (aspect-ratio keeps them uniform) */
.sectors-section .sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px; /* room for card slide-in so first column isn't clipped */
}

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

/* Card: full-bleed image + overlay + text bottom-left (always visible) */
.sectors-section .sector-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    opacity: 1;
    transform: translateX(-40px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.sectors-section.sectors-reveal .sector-card {
    animation: sectorSlideIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(1)  { animation-delay: 0.06s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(2)  { animation-delay: 0.12s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(3)  { animation-delay: 0.18s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(4)  { animation-delay: 0.24s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(5)  { animation-delay: 0.30s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(6)  { animation-delay: 0.36s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(7)  { animation-delay: 0.42s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(8)  { animation-delay: 0.48s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(9)  { animation-delay: 0.54s; }
.sectors-section.sectors-reveal .sectors-grid .sector-card:nth-child(10) { animation-delay: 0.60s; }

.sectors-section .sector-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.sectors-section .sector-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
}

.sectors-section .sector-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sectors-section .sector-card:hover .sector-card-bg img {
    transform: scale(1.08);
}

.sectors-section .sector-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
}

.sectors-section .sector-card-placeholder i {
    font-size: 3rem;
    color: var(--primary-brown);
    opacity: 0.35;
}

.sectors-section .sector-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    transition: background 0.4s ease;
}

.sectors-section .sector-card:hover .sector-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 100%);
}

.sectors-section .sector-card-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sectors-section .sector-card h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.sectors-section .sector-card-cta {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap 0.25s ease, color 0.25s ease;
}

.sectors-section .sector-card:hover .sector-card-cta {
    color: var(--white);
    gap: var(--space-sm);
}

/* Legacy sector icon (hidden when using image cards) */
.sector-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    transition: transform var(--transition-normal);
}

.sector-card:hover .sector-icon {
    transform: scale(1.1);
}

.sector-icon i {
    font-size: var(--text-2xl);
    color: var(--primary-brown);
}

/* ========== ENHANCED SERVICES SECTION ========== */
.services-section {
    padding: var(--space-4xl) 0;
    background-color: var(--light-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: var(--text-2xl);
    color: var(--primary-brown);
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--dark-charcoal);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: var(--space-xl);
    flex-grow: 1;
    font-size: var(--text-base);
    line-height: 1.7;
}

/* ========== ENHANCED PROCESS SECTION ========== */
.process-section {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 120px;
    right: 120px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--medium-beige) 10%, 
        var(--medium-beige) 90%, 
        transparent 100%);
    z-index: 1;
}

.process-step {
    text-align: center;
    padding: 0 var(--space-sm);
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-brown);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 500;
    margin: 0 auto var(--space-lg);
    position: relative;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.process-step h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: var(--dark-charcoal);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step p {
    color: var(--medium-gray);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* Process summary spacing (home) - same vertical rhythm as other sections */
.process-summary,
.process-summary.process-summary-spaced {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.process-summary-spaced .section-header {
    margin-bottom: var(--space-3xl);
}

.process-summary-spaced .process-steps {
    margin-top: var(--space-3xl);
}

.process-cta-wrap {
    margin-top: var(--space-lg);
    padding-top: 0;
    padding-bottom: 0;
}

/* ========== ENHANCED WHY SECTION ========== */
.why-section {
    padding: var(--space-4xl) 0;
    background-color: var(--light-beige);
}

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

.why-text h2 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-xl);
}

.why-text p {
    margin-bottom: var(--space-xl);
    font-size: var(--text-lg);
    line-height: 1.7;
}

.why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

/* ========== ENHANCED PROJECTS SECTION ========== */
.projects-section {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.projects-cta-wrap {
    margin-top: var(--space-4xl);
    padding-top: var(--space-xl);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.project-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

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

.project-placeholder {
    height: 280px;
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown);
}

.project-placeholder i {
    font-size: var(--text-4xl);
    opacity: 0.3;
}

.project-info {
    padding: var(--space-xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    display: inline-block;
    background: var(--light-beige);
    color: var(--primary-brown);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
    align-self: flex-start;
    text-transform: uppercase;
}

.project-info h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--dark-charcoal);
}

.project-info p {
    color: var(--medium-gray);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    line-height: 1.7;
}

/* ========== ENHANCED CTA SECTION ========== */
.cta-section,
.sector-cta,
.service-cta,
.process-cta-dark {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.process-cta-dark .cta-content h2 {
    color: var(--white);
}

.process-cta-dark .cta-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Process page: "Ready to start the process?" CTA – better spacing */
.process-cta.process-cta-dark {
    padding: var(--space-4xl) 0;
}
.process-cta-content-spaced h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}
.process-cta-content-spaced p {
    margin-bottom: var(--space-2xl);
}
.process-cta-content-spaced .btn {
    margin-bottom: var(--space-xl);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 55, 37, 0.1) 0%, rgba(62, 58, 51, 0.1) 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-xl);
    font-size: var(--text-5xl);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-xl);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

/* ========== PAGE HERO ENHANCEMENT ========== */
.page-hero {
    padding: 180px 0 120px;
    background-color: var(--medium-beige);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-3xl);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 55, 37, 0.08) 0%, rgba(213, 202, 188, 0.08) 100%);
}

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

.page-hero h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-lg);
    color: var(--dark-charcoal);
}

.page-hero p {
    font-size: var(--text-xl);
    color: var(--dark-charcoal);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========== SECTORS PAGE ENHANCEMENT ========== */
.sectors-grid-section {
    padding: var(--space-3xl) 0;
}

.sectors-grid-section .sectors-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.sectors-grid-section .sectors-intro p {
    font-size: var(--text-lg);
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ========== SERVICES INDEX PAGE ========== */
section.services-intro {
    padding: var(--space-4xl) 0;
}

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

.services-intro .intro-text h2 {
    margin-bottom: var(--space-lg);
    color: var(--dark-charcoal);
}

.services-intro .intro-text p {
    margin-bottom: var(--space-md);
    color: var(--medium-gray);
    line-height: 1.7;
}

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

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

.services-grid-section {
    padding: var(--space-4xl) 0;
}

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

.service-detailed-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.service-detailed-card .service-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.service-detailed-card .service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detailed-card .service-icon i {
    font-size: var(--text-xl);
    color: var(--primary-brown);
}

.service-detailed-card .service-header h3 {
    margin: 0;
    font-size: var(--text-xl);
    color: var(--dark-charcoal);
}

.service-detailed-card .service-body p {
    color: var(--medium-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

/* Tick bullets only – no dots */
.service-features {
    list-style: none;
    padding-left: 0;
    margin: 0 0 var(--space-xl) 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--dark-charcoal);
    line-height: 1.5;
}

.service-features li i.fa-check {
    color: var(--primary-brown);
    flex-shrink: 0;
}

.ideal-for {
    padding: var(--space-4xl) 0;
}

.ideal-for .section-title {
    text-align: center;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-md);
    position: relative;
}

.ideal-for .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-brown);
}

.ideal-for .section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sectors-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.sector-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--dark-charcoal);
    transition: all var(--transition-fast);
}

.sector-item:hover {
    border-color: var(--primary-brown);
    color: var(--primary-brown);
}

.sector-item i {
    color: var(--primary-brown);
}

.sectors-detailed-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.sector-detailed-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: start;
    box-shadow: var(--shadow-sm);
}

.sector-detailed-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.sector-number {
    font-size: var(--text-3xl);
    color: var(--primary-brown);
    font-weight: 400;
    font-family: var(--font-serif);
    min-width: 60px;
}

.sector-content h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    color: var(--dark-charcoal);
}

.sector-content p {
    color: var(--medium-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.sector-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--light-beige);
    border-radius: var(--radius-lg);
}

.highlight-item {
    text-align: center;
    padding: var(--space-lg);
}

.highlight-item i {
    font-size: var(--text-3xl);
    color: var(--primary-brown);
    margin-bottom: var(--space-md);
}

.highlight-item h4 {
    margin-bottom: var(--space-sm);
    color: var(--dark-charcoal);
}

.highlight-item p {
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

/* ========== INDIVIDUAL SECTOR PAGE ========== */
.sector-overview {
    padding: var(--space-3xl) 0;
}

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

.overview-text h2 {
    margin-bottom: var(--space-lg);
}

.overview-text p {
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

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

.challenges-section,
.solutions-section,
.features-section {
    padding: var(--space-3xl) 0;
}

.challenges-grid,
.solutions-grid,
.features-grid {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.challenge-card,
.feature-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--transition-normal);
}

.challenge-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.challenge-card i {
    color: var(--primary-brown);
    font-size: var(--text-xl);
    margin-top: 4px;
}

.solution-card {
    background: linear-gradient(135deg, var(--light-beige), var(--white));
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.solution-card h3 {
    color: var(--dark-charcoal);
}

.feature-card h4 {
    margin-bottom: 0;
    color: var(--dark-charcoal);
}

.projects-placeholder {
    background: var(--light-beige);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    margin-top: var(--space-xl);
}

.placeholder-content i {
    font-size: var(--text-5xl);
    color: var(--primary-brown);
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

.placeholder-content h3 {
    margin-bottom: var(--space-md);
    color: var(--dark-charcoal);
}

.placeholder-content p {
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

/* ========== INDIVIDUAL SERVICE PAGE ========== */
.service-overview {
    padding: var(--space-3xl) 0;
}

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

.overview-text h2 {
    margin-bottom: var(--space-lg);
}

.overview-text p {
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

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

.included-section,
.ideal-for-section,
.service-process {
    padding: var(--space-3xl) 0;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.included-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.included-item i {
    color: var(--primary-brown);
    font-size: var(--text-lg);
    margin-top: 2px;
}

.included-item span {
    color: var(--dark-charcoal);
    line-height: 1.6;
}

/* Only apply to sectors-grid when NOT inside home sectors section (home uses .sectors-section .sectors-grid) */
.sectors-grid-section .sectors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    justify-content: center;
}

.sector-tag {
    background: var(--light-beige);
    color: var(--primary-brown);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    border: 1px solid rgba(122, 55, 37, 0.2);
    transition: all var(--transition-fast);
}

.sector-tag:hover {
    background: var(--primary-brown);
    color: var(--white);
    transform: translateY(-2px);
}

.service-process .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.service-process .process-step {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    text-align: center;
}

.service-process .process-step .step-number,
.service-process .process-step .step-content,
.service-process .process-step .step-content h3 {
    text-align: center;
}
.service-process .process-step .step-content {
    padding-left: 0;
    padding-top: var(--space-md);
}

.service-process .process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* Examples section: spacing above heading and below button */
.examples-section.section-padding {
    padding-top: var(--space-3xl);
}
.examples-section .section-title {
    margin-top: var(--space-2xl);
}
.examples-section .text-center.mt-6 {
    margin-bottom: var(--space-2xl);
    padding-bottom: 0;
}

.examples-placeholder {
    background: var(--light-beige);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    margin-top: var(--space-xl);
}

/* ========== OUR PROCESS PAGE ENHANCEMENT ========== */
.process-intro {
    padding: var(--space-3xl) 0;
}

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

.intro-text h2 {
    margin-bottom: var(--space-lg);
}

.intro-text p {
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

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

.detailed-process {
    padding: var(--space-3xl) 0;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step-detailed {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.process-step-detailed:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.step-number-large {
    width: 60px;
    height: 60px;
    background: var(--primary-brown);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 500;
    flex-shrink: 0;
}

.step-title h3 {
    margin-bottom: var(--space-xs);
    font-size: var(--text-2xl);
}

.step-subtitle {
    color: var(--medium-gray);
    font-size: var(--text-lg);
}

.step-content {
    padding-left: 76px;
}

.step-description p {
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.step-description ul {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.step-description li {
    margin-bottom: var(--space-sm);
    color: var(--medium-gray);
    line-height: 1.6;
}

.step-output h4 {
    color: var(--primary-brown);
    margin-bottom: var(--space-sm);
}

.process-benefits {
    padding: var(--space-3xl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.benefit-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

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

.benefit-icon {
    font-size: var(--text-3xl);
    color: var(--primary-brown);
    margin-bottom: var(--space-lg);
}

.benefit-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--dark-charcoal);
}

.benefit-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ========== WHY 201 PAGE ========== */
.why-differentiators {
    padding: var(--space-4xl) 0;
}

.why-cards-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.why-cards-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.why-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.why-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-beige);
    color: var(--primary-brown);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
}

.why-card h3 {
    margin-bottom: var(--space-md);
    color: var(--dark-charcoal);
    font-size: var(--text-xl);
}

.why-card p {
    color: var(--medium-gray);
    line-height: 1.65;
    margin: 0;
    font-size: var(--text-base);
}

/* ========== PROJECTS PAGE ENHANCEMENT ========== */
.projects-filter {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3xl);
    box-shadow: var(--shadow-md);
}

.filter-container {
    max-width: 1000px;
    margin: 0 auto;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: end;
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--dark-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select,
.filter-input {
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-family: inherit;
    background: var(--white);
    transition: all var(--transition-fast);
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(122, 55, 37, 0.1);
}

.projects-grid-section {
    padding: var(--space-3xl) 0;
}

.projects-count {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--medium-gray);
    font-size: var(--text-lg);
}

.projects-grid-large {
    display: grid;
    gap: var(--space-3xl);
}

.project-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    min-height: 400px;
}

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

.project-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card-large:hover .project-overlay {
    opacity: 1;
}

.project-placeholder-large {
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder-large i {
    font-size: var(--text-5xl);
    color: var(--primary-brown);
    opacity: 0.3;
}

.project-info-large {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.project-sector,
.project-service {
    background: var(--light-beige);
    color: var(--primary-brown);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-info-large h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    color: var(--dark-charcoal);
}

.project-details {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

.detail-item i {
    color: var(--primary-brown);
}

.project-info-large p {
    color: var(--medium-gray);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.no-projects {
    text-align: center;
    padding: var(--space-3xl);
    background: var(--light-beige);
    border-radius: var(--radius-lg);
    margin: var(--space-2xl) 0;
}

.no-projects-content i {
    font-size: var(--text-5xl);
    color: var(--primary-brown);
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

.no-projects-content h3 {
    margin-bottom: var(--space-md);
    color: var(--dark-charcoal);
}

.no-projects-content p {
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

/* ========== INDIVIDUAL PROJECT PAGE ========== */
.project-hero {
    padding: 180px 0 var(--space-3xl);
    background-color: var(--medium-beige);
    position: relative;
    margin-bottom: var(--space-3xl);
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 55, 37, 0.08) 0%, rgba(213, 202, 188, 0.08) 100%);
}

.project-hero-with-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-hero-with-image::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.project-hero-with-image .project-hero-content,
.project-hero-with-image .project-breadcrumb,
.project-hero-with-image .project-breadcrumb a,
.project-hero-with-image h1,
.project-hero-with-image .meta-item {
    color: #fff;
}

.project-hero-with-image .project-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.9);
}

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

.project-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

.project-breadcrumb a {
    color: var(--primary-brown);
    transition: color var(--transition-fast);
}

.project-breadcrumb a:hover {
    color: var(--dark-brown);
}

.project-hero h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-xl);
    color: var(--dark-charcoal);
}

.project-meta-hero {
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--medium-gray);
    font-size: var(--text-lg);
}

.meta-item i {
    color: var(--primary-brown);
}

.project-overview-section {
    padding: var(--space-3xl) 0;
}

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

.overview-main h2 {
    margin-bottom: var(--space-xl);
}

.overview-main h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.overview-main p {
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.key-facts-card {
    background: var(--light-beige);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.key-facts-card h3 {
    margin-bottom: var(--space-xl);
    color: var(--dark-charcoal);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.facts-list {
    display: grid;
    gap: var(--space-lg);
}

.fact-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-key {
    font-weight: 600;
    color: var(--dark-charcoal);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fact-value {
    color: var(--medium-gray);
    line-height: 1.6;
}

.project-services {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.project-services h4 {
    margin-bottom: var(--space-lg);
    color: var(--dark-charcoal);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.service-tag {
    background: var(--light-beige);
    color: var(--primary-brown);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
}

.project-details-section {
    padding: var(--space-3xl) 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.details-column h3 {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--primary-brown);
}

.details-list {
    list-style: none;
}

.details-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.details-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.details-list i {
    color: var(--primary-brown);
    font-size: var(--text-lg);
    margin-top: 2px;
    flex-shrink: 0;
}

.details-list span {
    color: var(--medium-gray);
    line-height: 1.6;
}

.project-gallery {
    padding: var(--space-3xl) 0;
}

/* Project gallery grid (uploaded images) */
.gallery-grid-front {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.gallery-item-front {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.gallery-item-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    background: var(--light-beige);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    margin-top: var(--space-xl);
}

.placeholder-content i {
    font-size: var(--text-5xl);
    color: var(--primary-brown);
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

.placeholder-content h3 {
    margin-bottom: var(--space-md);
    color: var(--dark-charcoal);
}

.placeholder-content p {
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

.related-projects {
    padding: var(--space-3xl) 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.related-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.related-image {
    height: 200px;
    overflow: hidden;
}

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

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-beige);
    color: var(--primary-brown);
    opacity: 0.6;
    font-size: 2.5rem;
}

.related-info {
    padding: var(--space-xl);
}

.related-info h4 {
    margin-bottom: var(--space-sm);
    color: var(--dark-charcoal);
}

.related-info p {
    color: var(--medium-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.no-related {
    text-align: center;
    padding: var(--space-xl);
    color: var(--medium-gray);
}

/* ========== TEAM PAGE & HOME TEAM SECTION ========== */
@keyframes teamCardReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-preview .section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-preview.team-reveal .section-header {
    opacity: 1;
    transform: translateY(0);
}

/* Meet the team section: extra spacing above and below (e.g. on Why 201 page) */
.team-section.team-section-spaced {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.team-section .team-grid,
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.team-preview .team-preview-card {
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.team-preview.team-reveal .team-preview-card {
    animation: teamCardReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.team-preview.team-reveal .team-preview-card:nth-child(1) { animation-delay: 0.08s; }
.team-preview.team-reveal .team-preview-card:nth-child(2) { animation-delay: 0.16s; }
.team-preview.team-reveal .team-preview-card:nth-child(3) { animation-delay: 0.24s; }
.team-preview.team-reveal .team-preview-card:nth-child(4) { animation-delay: 0.32s; }

.team-card,
.team-preview-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.team-preview-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.team-preview-card:hover,
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.team-preview-card {
    color: var(--dark-charcoal);
}

.team-preview-card h4 {
    color: var(--dark-charcoal);
    margin-bottom: var(--space-xs);
}

.team-card-image,
.team-preview-image {
    aspect-ratio: 1;
    min-height: 240px;
    overflow: hidden;
    background: var(--light-beige);
}

.team-card-image img,
.team-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-preview-card:hover .team-preview-image img,
.team-card:hover .team-card-image img {
    transform: scale(1.06);
}

.team-card-content,
.team-preview-card h4 {
    padding: var(--space-xl);
}

.team-preview-card p {
    padding: 0 var(--space-xl) var(--space-xl);
    margin: 0;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.team-position {
    color: var(--primary-brown);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.team-bio {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.team-linkedin {
    color: var(--primary-brown);
    font-size: 1.2rem;
}

.team-linkedin:hover {
    color: var(--dark-charcoal);
}

.team-placeholder {
    padding: var(--space-3xl);
    color: var(--medium-gray);
}

/* ========== CONTACT PAGE – LAYOUT & STYLING ========== */
.contact-form-section {
    padding: var(--space-4xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left column: intro + contact info */
.contact-info h2 {
    font-size: var(--text-3xl);
    color: var(--dark-charcoal);
    margin-bottom: var(--space-lg);
}

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

.info-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-beige);
    color: var(--primary-brown);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
}

.info-content h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-charcoal);
    margin-bottom: var(--space-xs);
}

.info-content p {
    margin: 0;
    color: var(--medium-gray);
    line-height: 1.5;
    font-size: var(--text-base);
}

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

.info-content a:hover {
    color: var(--dark-brown);
}

.process-highlight {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.process-highlight h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-bottom: var(--space-md);
}

.process-highlight ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--medium-gray);
    line-height: 1.8;
}

.process-highlight li {
    margin-bottom: var(--space-xs);
}

/* Right column: form card */
.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-2xl);
    position: sticky;
    top: 100px;
}

.contact-form h2 {
    font-size: var(--text-2xl);
    color: var(--dark-charcoal);
    margin-bottom: var(--space-xl);
}

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

.contact-form .form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-bottom: var(--space-xs);
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-family: inherit;
    color: var(--dark-charcoal);
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(122, 55, 37, 0.1);
}

.contact-form .form-control::placeholder {
    color: var(--light-gray);
}

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

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

.contact-form .form-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
}

.contact-form .form-errors ul {
    margin: var(--space-xs) 0 0 1rem;
    padding: 0;
}

.contact-form .form-submit {
    margin-top: var(--space-xl);
}

.contact-form .form-note {
    font-size: var(--text-sm);
    color: var(--medium-gray);
    margin-top: var(--space-md);
}

.contact-form .btn-large {
    width: 100%;
    padding: 16px 24px;
}

.form-success {
    text-align: center;
    padding: var(--space-lg) 0;
}

.form-success .success-icon {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: var(--space-md);
}

.form-success h3 {
    color: var(--dark-charcoal);
    margin-bottom: var(--space-md);
}

.form-success ul {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.form-success li {
    margin-bottom: var(--space-sm);
}

.form-success a {
    color: var(--primary-brown);
    text-decoration: none;
}

.form-success a:hover {
    text-decoration: underline;
}

.map-section {
    margin: var(--space-3xl) 0;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

.contact-cta {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.contact-cta .cta-content h2 {
    color: var(--dark-charcoal);
}

.contact-cta .cta-content p {
    color: var(--medium-gray);
}

.contact-cta h2 {
    margin-bottom: var(--space-lg);
    color: var(--dark-charcoal);
}

.contact-cta p {
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
    font-size: var(--text-lg);
}

.contact-cta strong {
    color: var(--dark-charcoal);
}

.contact-cta a {
    color: var(--primary-brown);
    text-decoration: none;
}

.contact-cta a:hover {
    text-decoration: underline;
}

/* ========== ENHANCED FOOTER ========== */
.footer {
    background-color: var(--footer-bg);
    padding: var(--space-4xl) 0 var(--space-lg);
    color: var(--dark-charcoal);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: var(--space-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Logo and tagline left-aligned, pushed a bit more to the left */
.footer-col-brand {
    align-items: flex-start;
    text-align: left;
    margin-left: calc(-1 * var(--space-md));
}

.footer-col-brand .footer-logo-container,
.footer-col-brand .footer-text {
    text-align: left;
}

/* Contact column: content aligned right */
.footer-col-contact {
    align-items: flex-end;
    text-align: right;
}

.footer-col-contact .footer-contact {
    text-align: right;
}

.footer-logo-container {
    margin-bottom: var(--space-xl);
}

.footer-logo {
    height: 100px;
    width: auto;
}

.footer-text {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.footer-col h3 {
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xl);
    color: var(--primary-brown);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-brown);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--medium-gray);
    transition: all var(--transition-fast);
    display: inline-block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--primary-brown);
    transform: translateX(4px);
}

.footer-contact address {
    font-style: normal;
    color: var(--medium-gray);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

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

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown);
    transition: all var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.footer-social a:hover {
    background: var(--primary-brown);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

/* ========== ANIMATIONS ========== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    :root {
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
    }
    
    .container {
        padding: 0 var(--space-xl);
    }
    
    .process-steps::before {
        left: 100px;
        right: 100px;
    }
}

@media (max-width: 992px) {
    :root {
        --text-4xl: 2rem;
        --text-5xl: 2.25rem;
        --space-3xl: 4rem;
        --space-4xl: 5rem;
    }
    
    .hero h1 {
        font-size: var(--text-5xl);
    }
    
    .why-content,
    .contact-grid,
    .philosophy-content,
    .overview-content,
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        position: static;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .why-cards-two-cols {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .project-card-large {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        min-height: 300px;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps::before {
        display: none;
    }
    
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .sector-detailed-card {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .sector-number {
        min-width: auto;
        text-align: center;
    }
    
    .sector-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 3rem;
        --space-4xl: 4rem;
        --text-3xl: 1.5rem;
        --text-4xl: 1.75rem;
        --text-5xl: 2rem;
        --text-6xl: 2.5rem;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: var(--text-4xl);
    }
    
    .hero p {
        font-size: var(--text-lg);
    }
    
    .page-hero {
        padding: 160px 0 80px;
    }
    
    .page-hero h1 {
        font-size: var(--text-4xl);
    }
    
    .sectors-grid,
    .services-grid,
    .projects-grid,
    .differentiators-grid,
    .benefits-grid,
    .testimonials-grid,
    .process-steps,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: var(--space-xl);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        gap: 0;
    }
    
    .nav-links.active .nav-link {
        color: var(--dark-charcoal);
        padding: var(--space-md) 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-beige);
        margin-top: var(--space-sm);
        display: none;
        padding: var(--space-sm);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-col-brand {
        margin-left: 0;
    }
    
    .footer-col-contact {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-col-contact .footer-contact {
        text-align: left;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .project-meta-hero {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .step-content {
        padding-left: 0;
    }
    
    .fact-item {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
}

@media (max-width: 576px) {
    :root {
        --text-2xl: 1.25rem;
        --text-3xl: 1.375rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .btn {
        padding: 14px 28px;
    }
    
    .sector-card,
    .service-card,
    .project-card {
        padding: var(--space-lg);
    }
    
    .logo img {
        height: 100px;
    }
    
    .header.scrolled .logo img,
    body:not(.home) .header .logo img {
        height: 80px;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .footer,
    .btn,
    .mobile-toggle,
    .hero-video-container,
    .hero-overlay,
    .scroll-indicator,
    .section-header h2::after {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .container {
        max-width: 100%;
    }
    
    .hero {
        color: var(--dark-charcoal);
        min-height: auto;
        padding-top: 0;
        margin-top: 0;
    }
    
    .hero h1,
    .hero p {
        color: var(--dark-charcoal);
    }
    
    .page-hero {
        background: none;
        padding: 0;
        margin-bottom: var(--space-lg);
    }
}

/* ========== EDITABLE PAGE CONTENT (from Admin) ========== */
.page-editable-content {
    max-width: 800px;
    margin: 0 auto;
}
.page-editable-content h1,
.page-editable-content h2 { margin-top: 1.5em; margin-bottom: 0.5em; font-family: var(--font-serif); color: var(--dark-charcoal); }
.page-editable-content h1:first-child,
.page-editable-content h2:first-child { margin-top: 0; }
.page-editable-content p { margin-bottom: 1em; line-height: 1.7; color: var(--medium-gray); }
.page-editable-content ul, .page-editable-content ol { margin: 1em 0 1em 1.5em; }
.page-editable-content a { color: var(--primary-brown); text-decoration: none; }
.page-editable-content a:hover { text-decoration: underline; }

/* ========== COMPACT SPACING + CAROUSELS (Requested update) ========== */
.section-padding,
.section,
.section-lg,
.services-intro,
.services-grid-section,
.ideal-for,
.sectors-grid-section,
.sector-overview,
.service-overview,
.included-section,
.ideal-for-section,
.service-process,
.projects-section,
.detailed-process,
.challenges-section,
.solutions-section,
.features-section {
    padding-top: clamp(2rem, 4vw, 3.5rem) !important;
    padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

.section-header,
.section-title,
.section-subtitle {
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem) !important;
}

.page-hero {
    margin-bottom: clamp(1.25rem, 3vw, 2rem) !important;
}

.compact-carousel {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    overflow: hidden; /* Slick handles the movement */
    scroll-snap-type: none;
}

.compact-carousel .slick-list {
    overflow: hidden;
}

.compact-carousel .slick-slide {
    padding: 0 8px; /* small gap between cards */
}

.compact-carousel .slick-slide > div {
    height: 100%;
}

.compact-carousel .slick-prev.slick-arrow,
.compact-carousel .slick-next.slick-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(122, 55, 37, 0.35);
    color: var(--primary-brown);
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.25s ease;
}

.compact-carousel .slick-prev.slick-arrow:hover,
.compact-carousel .slick-next.slick-arrow:hover {
    background: var(--primary-brown);
    color: #fff;
}

.compact-carousel .slick-prev.slick-arrow {
    left: -10px;
}

.compact-carousel .slick-next.slick-arrow {
    right: -10px;
}

/* Keep carousel cards consistent size */
.compact-carousel .project-card.carousel-card {
    height: 400px;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.compact-carousel .project-card.carousel-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.compact-carousel .project-card.carousel-card:hover img {
    transform: scale(1.08);
}

.compact-carousel .project-card.carousel-card .project-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-beige), var(--medium-beige));
    color: var(--primary-brown);
    font-size: 60px;
}

.compact-carousel .project-card.carousel-card .project-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.compact-carousel .project-card.carousel-card .project-tag {
    display: inline-block;
    background-color: var(--primary-brown);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compact-carousel .project-card.carousel-card .project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.2;
}

.compact-carousel .project-card.carousel-card .project-info p {
    color: rgba(255,255,255,0.92);
    margin-bottom: 18px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.compact-carousel .project-card.carousel-card .project-info .btn-link {
    color: #fff;
}

.compact-carousel .project-card.carousel-card .project-info .btn-link:hover {
    color: var(--light-beige);
}

.compact-carousel .service-card.carousel-card,
.compact-carousel .service-detailed-card.carousel-card {
    height: 360px;
    min-height: 360px;
    overflow: hidden;
}

/* Slightly reduce text block impact so cards remain equal height */
.compact-carousel .service-card.carousel-card p,
.compact-carousel .service-detailed-card.carousel-card .service-body p {
    margin-bottom: 0;
    max-height: 3.2em;
    overflow: hidden;
}

.compact-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.compact-carousel-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(122, 55, 37, 0.35);
    color: var(--primary-brown);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.compact-carousel-btn:hover {
    background: var(--primary-brown);
    color: #fff;
}

@media (max-width: 640px) {
    .compact-carousel .slick-prev.slick-arrow,
    .compact-carousel .slick-next.slick-arrow {
        display: none !important;
    }

    .compact-carousel .project-card.carousel-card {
        height: 320px;
        min-height: 320px;
    }

    .compact-carousel .service-card.carousel-card,
    .compact-carousel .service-detailed-card.carousel-card {
        height: 310px;
        min-height: 310px;
    }
}

.sectors-grid-section .sector-detailed-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* Restore original tile sizing (avoid any cascade side-effects) */
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: start;
    box-shadow: var(--shadow-sm);
}

.sectors-grid-section .sector-detailed-card.has-bg-image {
    /* Keep the image centered and nicely fitted inside the card */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.sector-card-dark-overlay {
    position: absolute;
    inset: 0;
    /* Stronger overlay for readability */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.45) 55%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 0;
    display: none;
}

.sectors-grid-section .sector-detailed-card.has-bg-image .sector-card-dark-overlay {
    display: block;
}

.sectors-grid-section .sector-detailed-card.has-bg-image .sector-number,
.sectors-grid-section .sector-detailed-card.has-bg-image .sector-content h3,
.sectors-grid-section .sector-detailed-card.has-bg-image .sector-content p {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.sectors-grid-section .sector-detailed-card .sector-number,
.sectors-grid-section .sector-detailed-card .sector-content {
    position: relative;
    z-index: 1;
}

.challenges-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.challenge-tag {
    background: var(--light-beige);
    color: var(--primary-brown);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    border: 1px solid rgba(122, 55, 37, 0.2);
}

.solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.solution-card {
    padding: 0.9rem;
}

.solution-card h3 {
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 0;
}

/* features-grid no longer used for sector "What you receive" (replaced by included-grid) */

.process-timeline {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.process-step-detailed.process-card-with-bg {
    position: relative;
    border-radius: var(--radius-lg);
    min-height: 220px;
    margin: 0;
    padding: 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    grid-column: span 2;
}

/* 3x2 centered composition:
   row 1: 1,2,3
   row 2: 4 centered under 1/2, 5 centered under 2/3 */
.process-step-detailed.process-card-with-bg:nth-child(4) { grid-column: 2 / span 2; }
.process-step-detailed.process-card-with-bg:nth-child(5) { grid-column: 4 / span 2; }

.process-step-detailed.process-card-with-bg.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.process-card-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 0;
}

.process-step-detailed.has-bg-image .process-card-overlay {
    display: block;
}

.process-step-detailed.process-card-with-bg .step-header,
.process-step-detailed.process-card-with-bg .step-content {
    position: relative;
    z-index: 1;
}

.process-step-detailed.process-card-with-bg .step-header {
    margin-bottom: var(--space-sm);
    gap: var(--space-md);
}

.process-step-detailed.process-card-with-bg .step-number-large {
    width: 56px;
    height: 56px;
    font-size: 1.15rem;
}

.process-step-detailed.process-card-with-bg .step-title h3 {
    font-size: var(--text-xl);
    margin-bottom: 0;
}

.process-step-detailed.process-card-with-bg .step-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

.process-step-detailed.has-bg-image .step-title h3,
.process-step-detailed.has-bg-image .step-content p {
    color: #fff;
}

.process-step-detailed .step-content {
    padding-left: 0;
}

@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }
    .process-step-detailed.process-card-with-bg:nth-child(4) { grid-column: auto; }
    .process-step-detailed.process-card-with-bg:nth-child(5) { grid-column: auto; }

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

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

    .process-step-detailed.process-card-with-bg:nth-child(4),
    .process-step-detailed.process-card-with-bg:nth-child(5) {
        grid-column: auto;
    }

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