/* ============================================
   PATHWAY SYSTEMS STUDIO - PROFESSIONAL STYLESHEET
   Updated with Portfolio & Project Page Components
   Optimized for conversion, accessibility, and modern UX
   TIGHTENED VERSION - Reduced spacing and font sizes
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Brand Colors */
    --color-primary: #0f4c81;
    --color-primary-dark: #0a3760;
    --color-primary-light: #1a5d99;
    --color-secondary: #2d7da8;
    --color-accent: #ff6b35;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing Scale - TIGHTENED */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

html {
    scroll-behavior: smooth;
    font-size: 15px; /* REDUCED from 16px */
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.55; /* TIGHTENED from 1.7 */
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem; /* REDUCED from 1rem */
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* REDUCED from 2.5rem/4rem */
    font-family: var(--font-display);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-family: var(--font-display);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 0.75rem; /* REDUCED from 1rem */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary-dark);
}

strong {
    font-weight: 600;
    color: var(--color-gray-900);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

section {
    padding: var(--space-2xl) 0; /* REDUCED from var(--space-3xl) */
}

@media (max-width: 768px) {
    section {
        padding: var(--space-xl) 0; /* REDUCED from var(--space-2xl) */
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 1rem 0;
    transition: all var(--transition-base);
}

.navbar.scroll-down {
    transform: translateY(-100%);
}

.navbar.scroll-up {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-gray-900);
    transition: opacity var(--transition-base);
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .logo-text {
        display: none;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* REDUCED from 2rem */
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--color-gray-700);
    font-size: 0.9375rem;
    position: relative;
    transition: color var(--transition-base);
}

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

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-gray-800);
    transition: all var(--transition-base);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px; /* REDUCED from 280px */
        flex-direction: column;
        align-items: flex-start;
        background: var(--color-white);
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--color-primary);
    transition: color var(--transition-base);
}

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

.breadcrumb-separator {
    color: var(--color-gray-400);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

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

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

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

.btn-secondary:hover {
    background: var(--color-gray-50);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-text {
    background: transparent;
    color: var(--color-primary);
    padding: 0.5rem 0;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--color-primary-dark);
    gap: 0.75rem;
}

.btn-small {
    padding: 0.375rem 0;
    font-size: 0.875rem;
}

.btn-large {
    padding: 0.875rem 1.5rem; /* REDUCED from 1rem 2rem */
    font-size: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 90vh; /* REDUCED from 100vh */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 4rem; /* REDUCED */
    padding-bottom: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(15, 76, 129, 0.03) 0%, 
        rgba(45, 125, 168, 0.05) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 850px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 76, 129, 0.08);
    color: var(--color-primary);
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(15, 76, 129, 0.1);
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* REDUCED from 2.5rem/4rem */
    margin-bottom: 1.25rem;
}

.hero-title-accent {
    color: var(--color-primary);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.0625rem; /* REDUCED from 1.125rem */
    line-height: 1.6; /* TIGHTENED from 1.8 */
    color: var(--color-gray-700);
    margin-bottom: 2rem;
    max-width: 680px; /* ADDED reading width limit */
}

.hero-cta {
    display: flex;
    gap: 0.75rem; /* REDUCED from 1rem */
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--color-success);
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding-top: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem; /* REDUCED from 4rem */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding: 0.375rem 1rem;
    background: rgba(15, 76, 129, 0.08);
    border-radius: 2rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: var(--color-gray-900);
    margin-bottom: 0.5em; /* REDUCED */
}

.section-description {
    font-size: 1.0625rem; /* REDUCED from 1.125rem */
    line-height: 1.6; /* TIGHTENED from 1.8 */
    color: var(--color-gray-700);
    max-width: 680px; /* ADDED reading width limit */
    margin: 0 auto;
}

/* ============================================
   STATISTICS / RESULTS SECTION
   ============================================ */

.results-section {
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* REDUCED from 2rem */
    margin-top: 2rem;
}

.stat-card {
    background: var(--color-white);
    padding: 2rem; /* REDUCED from 2.5rem */
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-display);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    gap: 1.5rem; /* REDUCED from 2rem */
    margin-top: 3rem;
}

.service-card {
    background: var(--color-white);
    padding: 2rem; /* REDUCED from 2.5rem */
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--color-primary-light);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 76, 129, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.service-title {
    font-size: 1.375rem; /* SLIGHTLY REDUCED */
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.service-tagline {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

.service-divider {
    height: 1px;
    background: var(--color-gray-200);
    margin: 1.5rem 0;
}

.service-section {
    margin-bottom: 1.5rem;
}

.service-section:last-of-type {
    margin-bottom: 0;
}

.service-section-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.service-problem,
.service-solution {
    font-size: 0.875rem; /* SLIGHTLY REDUCED */
    line-height: 1.6;
    color: var(--color-gray-700);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-gray-700);
}

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

.service-outcomes {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.outcomes-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gray-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.outcomes-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-gray-700);
}

/* ============================================
   PROCESS / METHODOLOGY SECTION
   ============================================ */

.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; /* REDUCED from 2rem */
    margin-top: 3rem;
}

.process-step {
    position: relative;
    background: var(--color-white);
    padding: 2rem; /* REDUCED from 2.5rem */
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

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

.step-number {
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 1.25rem;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.step-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin-bottom: 1rem;
}

.step-deliverables {
    margin-top: 1.25rem;
}

.deliverables-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

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

.deliverables-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-700);
}

.deliverable-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */

.expert-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem; /* REDUCED from 3rem */
    align-items: start;
    margin-top: 3rem;
}

.expert-image-wrapper {
    position: relative;
}

.expert-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.expert-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.expert-content {
    padding-top: 1rem;
}

.expert-name {
    font-size: 2rem;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.expert-title {
    font-size: 1.125rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.expert-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 1.5rem;
}

.expert-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.highlight-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-text {
    font-size: 0.9375rem;
    color: var(--color-gray-700);
    line-height: 1.6;
}

@media (max-width: 968px) {
    .expert-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expert-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ============================================
   FEATURED WORK / PROJECTS SECTION
   ============================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem; /* REDUCED from 2rem */
    margin-top: 3rem;
}

.work-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.work-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--color-gray-100);
}

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

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

.work-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
}

.work-content {
    padding: 1.5rem;
}

.work-title {
    font-size: 1.25rem;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

.work-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin-bottom: 1rem;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.work-tag {
    padding: 0.25rem 0.75rem;
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    font-size: 0.75rem;
    border-radius: 2rem;
    font-weight: 500;
}

.work-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
}

.work-impact {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.work-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap var(--transition-base);
}

.work-link:hover {
    gap: 0.75rem;
}

.link-arrow {
    width: 16px;
    height: 16px;
}

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

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover,
.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

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

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

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-gray-700);
    line-height: 1.7;
}

/* ============================================
   PILLAR CARDS (Three Pillars Section)
   ============================================ */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; /* REDUCED from 2rem */
    margin-top: 3rem;
}

.pillar-card {
    background: var(--color-white);
    padding: 2rem; /* REDUCED from 2.5rem */
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    text-align: center;
    transition: all var(--transition-base);
}

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

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 76, 129, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-lg);
}

.pillar-title {
    font-size: 1.5rem;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
}

.pillar-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-gray-700);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-benefits {
    margin-bottom: 2.5rem;
}

.benefits-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.benefit-check {
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
}

.detail-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--color-gray-900);
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-200);
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

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

.form-field {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.required {
    color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

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

.btn-submit {
    margin-top: 0.5rem;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.privacy-icon {
    color: var(--color-success);
    flex-shrink: 0;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    display: none;
}

.form-status.loading {
    display: block;
    background: var(--color-gray-100);
    color: var(--color-gray-700);
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: 3rem 0 2rem; /* REDUCED from 4rem 0 2rem */
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

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

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

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

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

.footer-menu a {
    color: var(--color-gray-400);
    transition: color var(--transition-base);
    font-size: 0.9375rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copyright {
    color: var(--color-gray-400);
    font-size: 0.875rem;
}

.footer-location {
    color: var(--color-gray-400);
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

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

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.mt-4 {
    margin-top: 2rem;
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .header,
    .hamburger,
    .scroll-indicator,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    h1 { font-size: 24pt; }
    h2 { font-size: 20pt; }
    h3 { font-size: 16pt; }
}
