/* ==========================================================================
   FivePoint Ventures — Main Stylesheet
   Design: Classic & Professional | Sage & Cream Palette
   Mobile-first responsive design
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors */
    --sage-dark: #606C38;
    --sage-light: #9BA17B;
    --gold: #DDA15E;
    --cream: #FEFAE0;

    /* Extended Palette */
    --sage-darker: #4A5429;
    --sage-medium: #7A8558;
    --gold-light: #E8BE8A;
    --gold-dark: #C4883A;
    --cream-dark: #F5EFD0;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-100: #F7F7F5;
    --gray-200: #E8E8E3;
    --gray-300: #D1D1C9;
    --gray-400: #9E9E95;
    --gray-500: #6B6B63;
    --gray-600: #4A4A44;
    --gray-700: #333330;
    --gray-800: #222220;

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

    /* Font Sizes (mobile-first) */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 900px;
    --header-height: 72px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26,26,26,0.06), 0 1px 2px rgba(26,26,26,0.04);
    --shadow-md: 0 4px 12px rgba(26,26,26,0.08), 0 2px 4px rgba(26,26,26,0.04);
    --shadow-lg: 0 10px 30px rgba(26,26,26,0.1), 0 4px 8px rgba(26,26,26,0.04);
    --shadow-xl: 0 20px 50px rgba(26,26,26,0.12), 0 8px 16px rgba(26,26,26,0.06);

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-in-out);
}

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

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

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

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

a {
    color: var(--sage-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus-visible {
    color: var(--gold-dark);
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-800);
}

ul, ol { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--sage-dark);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    z-index: 10000;
    font-weight: 600;
    transition: top var(--transition-fast);
}

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

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

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

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

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

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

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

@media (min-width: 1024px) {
    .section { padding: var(--space-24) 0; }
}

.section-grid {
    display: grid;
    gap: var(--space-10);
}

@media (min-width: 768px) {
    .section-grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
}

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

/* ---------- Section Headers ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    color: var(--gray-800);
}

@media (min-width: 768px) {
    .section-title { font-size: var(--text-4xl); }
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-text {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .section-text { font-size: var(--text-lg); }
}

.text-accent {
    color: var(--sage-dark);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    white-space: nowrap;
    min-height: 44px;
    min-width: 44px;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover, .btn-primary:focus-visible {
    background-color: var(--sage-darker);
    border-color: var(--sage-darker);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover, .btn-outline:focus-visible {
    background-color: var(--white);
    color: var(--sage-dark);
    transform: translateY(-1px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    min-height: 52px;
}

.btn-full {
    width: 100%;
}

.btn-text { display: inline-block; }

.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn.loading .btn-text { opacity: 0; }
.btn.loading .btn-loader { display: inline-block; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: transparent;
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    background-color: rgba(254, 250, 224, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    z-index: 1001;
}

.logo-icon {
    font-size: var(--text-xl);
    color: var(--gold);
    transition: color var(--transition-fast);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition-base);
}

.site-header.scrolled .logo-text { color: var(--gray-800); }
.site-header.scrolled .logo-icon { color: var(--sage-dark); }

.main-nav { display: none; }

@media (min-width: 1024px) {
    .main-nav { display: block; }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link:focus-visible {
    color: var(--white);
    background-color: rgba(255,255,255,0.1);
}

.site-header.scrolled .nav-link { color: var(--gray-600); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link:focus-visible { color: var(--sage-dark); background-color: rgba(96,108,56,0.08); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.site-header:not(.scrolled) .header-cta {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.site-header:not(.scrolled) .header-cta:hover {
    background-color: var(--white);
    color: var(--sage-dark);
    border-color: var(--white);
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    z-index: 1001;
}

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

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.site-header.scrolled .hamburger-line { background-color: var(--gray-700); }

.mobile-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: rgba(26,26,26,0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.mobile-nav-link {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--white);
    transition: color var(--transition-fast);
}

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

.mobile-cta {
    font-size: var(--text-base);
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--gray-800);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sage-darker) 0%, var(--sage-dark) 40%, var(--sage-medium) 100%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(221,161,94,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(155,161,123,0.2) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.2) 0%, rgba(26,26,26,0.1) 50%, rgba(26,26,26,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-16);
    max-width: 720px;
}

.hero-subtitle {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.15;
}

@media (min-width: 768px) {
    .hero-title { font-size: var(--text-5xl); }
}

@media (min-width: 1024px) {
    .hero-title { font-size: var(--text-6xl); }
}

.hero-title .text-accent { color: var(--gold-light); }

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-8);
    max-width: 560px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ---------- About Section ---------- */
.about { background-color: var(--cream); }

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

.image-placeholder {
    background: linear-gradient(135deg, var(--sage-light), var(--sage-dark));
    border-radius: var(--border-radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: rgba(255,255,255,0.6);
    overflow: hidden;
}

.image-placeholder.tall { aspect-ratio: 3/4; }

.placeholder-icon { font-size: 3rem; }
.placeholder-text { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--gold);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-image,
.why-us-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    display: block;
}

.about-image { aspect-ratio: 4/3; }
.why-us-image { aspect-ratio: 3/4; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-200);
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--sage-dark);
    margin-bottom: var(--space-1);
}

@media (min-width: 768px) {
    .stat-number { font-size: var(--text-3xl); }
}

.stat-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}

/* ---------- Services Section ---------- */
.services {
    background-color: var(--white);
}

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

.services-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    background-color: var(--cream);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--sage-dark), var(--sage-medium));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-description {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Why Us Section ---------- */
.why-us { background-color: var(--cream); }

.why-us-list {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.why-us-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--sage-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    margin-top: 2px;
}

.why-us-item strong {
    display: block;
    font-size: var(--text-base);
    color: var(--gray-800);
    margin-bottom: var(--space-1);
}

.why-us-item p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .why-us-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.why-us-image-wrapper { position: relative; }

/* ---------- Careers Section ---------- */
.careers { background-color: var(--white); }

.careers-grid {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .careers-grid { grid-template-columns: repeat(3, 1fr); }
}

.career-path-card {
    background-color: var(--cream);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    position: relative;
    border-left: 3px solid var(--sage-dark);
    transition: all var(--transition-base);
}

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

.path-step {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--sage-light);
    opacity: 0.4;
    margin-bottom: var(--space-3);
    line-height: 1;
}

.path-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.path-desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
}

.careers-cta {
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-200);
}

.cta-text {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage-darker) 100%);
    color: var(--white);
}

.testimonials .section-label { color: var(--gold-light); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-title .text-accent { color: var(--gold-light); }
.testimonials .section-subtitle { color: rgba(255,255,255,0.7); }

.testimonials-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
}

.author-name {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--white);
    font-size: var(--text-sm);
}

.author-role {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
}

/* ---------- Contact Section ---------- */
.contact { background-color: var(--cream); }

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

.contact-details {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

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

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--sage-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--gray-800);
    margin-bottom: var(--space-1);
}

.contact-item p, .contact-link {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.contact-link:hover { color: var(--sage-dark); }

/* ---------- Forms ---------- */
.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

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

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.required { color: var(--gold-dark); }

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--gray-700);
    background-color: var(--cream);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    min-height: 48px;
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--sage-dark);
    box-shadow: 0 0 0 3px rgba(96,108,56,0.12);
}

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

.form-input.error { border-color: #C0392B; }

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

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

.form-error {
    display: none;
    font-size: var(--text-xs);
    color: #C0392B;
    margin-top: var(--space-1);
}

.form-error.visible { display: block; }

.form-status {
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(96,108,56,0.1);
    color: var(--sage-dark);
    border: 1px solid rgba(96,108,56,0.2);
}

.form-status.error-msg {
    display: block;
    background-color: rgba(192,57,43,0.08);
    color: #C0392B;
    border: 1px solid rgba(192,57,43,0.15);
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--gray-800);
    color: rgba(255,255,255,0.7);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

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

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-logo .logo-text { color: var(--white); }

.footer-description {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    margin-top: var(--space-4);
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}

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

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-fast);
}

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

.footer-contact p, .footer-contact a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

.copyright { font-size: var(--text-sm); color: rgba(255,255,255,0.4); }

.footer-legal {
    display: flex;
    gap: var(--space-3);
    font-size: var(--text-sm);
}

.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--gold); }
.footer-legal span { color: rgba(255,255,255,0.2); }

/* ---------- Page Template (for Privacy, Terms, Apply) ---------- */
.page-header {
    background: linear-gradient(135deg, var(--sage-darker) 0%, var(--sage-dark) 100%);
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
    text-align: center;
}

.page-header .section-label { color: var(--gold-light); }

.page-header-title {
    font-size: var(--text-3xl);
    color: var(--white);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .page-header-title { font-size: var(--text-4xl); }
}

.page-header-subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.7);
}

.page-content {
    padding: var(--space-12) 0 var(--space-16);
    background-color: var(--cream);
}

.page-content .container {
    max-width: var(--container-narrow);
}

.page-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    color: var(--gray-800);
}

.page-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    color: var(--gray-700);
}

.page-content p {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.page-content strong { color: var(--gray-700); }

/* Page Header for subpages - scrolled state always */
.page-site-header {
    background-color: rgba(254, 250, 224, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.page-site-header .logo-text { color: var(--gray-800); }
.page-site-header .logo-icon { color: var(--sage-dark); }
.page-site-header .nav-link { color: var(--gray-600); }
.page-site-header .nav-link:hover { color: var(--sage-dark); background-color: rgba(96,108,56,0.08); }
.page-site-header .hamburger-line { background-color: var(--gray-700); }
.page-site-header .header-cta {
    background-color: var(--sage-dark);
    border-color: var(--sage-dark);
    color: var(--white);
}

/* ---------- Application Form (apply.html) ---------- */
.apply-form-wrapper {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    max-width: 720px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .apply-form-wrapper { padding: var(--space-12); }
}

.form-row {
    display: grid;
    gap: var(--space-5);
}

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

.form-row-3 {
    display: grid;
    gap: var(--space-5);
}

@media (min-width: 640px) {
    .form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--gray-800);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--sage-light);
    margin-top: var(--space-8);
}

.form-section-title:first-child { margin-top: 0; }

.file-upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    padding: var(--space-8);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background-color: var(--cream);
}

.file-upload-area:hover {
    border-color: var(--sage-dark);
    background-color: rgba(96,108,56,0.04);
}

.file-upload-area.has-file {
    border-color: var(--sage-dark);
    background-color: rgba(96,108,56,0.06);
}

.file-upload-icon { font-size: 2rem; color: var(--gray-400); margin-bottom: var(--space-2); }
.file-upload-text { font-size: var(--text-sm); color: var(--gray-500); }
.file-upload-text strong { color: var(--sage-dark); }
.file-upload-hint { font-size: var(--text-xs); color: var(--gray-400); margin-top: var(--space-2); }
.file-name { font-size: var(--text-sm); color: var(--sage-dark); font-weight: 600; margin-top: var(--space-2); }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin: var(--space-6) 0;
}

.checkbox-group input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--sage-dark);
    cursor: pointer;
}

.checkbox-group label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1.6;
}

/* ---------- Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

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

/* ---------- Print Styles ---------- */
@media print {
    .site-header, .mobile-nav-overlay, .hero-scroll, .site-footer { display: none; }
    body { color: #000; background: #fff; }
    .section { padding: 1rem 0; }
    .hero { min-height: auto; background: #f0f0f0; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
