/* ========================================
   Aptcover24 Healthcare - Main Styles
   Clinical Elegance Design System
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #F6F8FA;
    --bg-secondary: #0B1E25;
    --accent-gold: #D4A03A;
    --accent-sage: #8FA896;
    --text-primary: #0B1E25;
    --text-secondary: #6B7D85;
    --text-light: #F6F8FA;
    --border-light: rgba(11, 30, 37, 0.08);
    --border-medium: rgba(11, 30, 37, 0.12);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 10vh 8vw;
    --container-max: 1440px;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Shadows */
    --shadow-soft: 0 18px 50px rgba(11, 30, 37, 0.10);
    --shadow-hover: 0 24px 60px rgba(11, 30, 37, 0.15);
}

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

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

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

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   CURTAIN REVEAL ANIMATION
   ======================================== */
.curtain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.curtain-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a3a47 50%, var(--accent-gold) 100%);
    transition: transform 1.4s var(--transition-smooth);
}

.curtain-left {
    left: 0;
    transform-origin: left center;
}

.curtain-right {
    right: 0;
    transform-origin: right center;
}

.curtain-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.curtain-logo {
    margin-bottom: 2rem;
}

.curtain-logo .logo-text {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.curtain-logo .logo-tagline {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.curtain-tagline {
    overflow: hidden;
}

.pulsing-text {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: pulseText 2s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.curtain-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 3s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 0.9;
    }
}

/* Curtain Animation States */
.curtain-container.revealed .curtain-left {
    transform: translateX(-100%);
}

.curtain-container.revealed .curtain-right {
    transform: translateX(100%);
}

.curtain-container.revealed {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease 1s;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 4vw;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    transform: translateY(-20px);
}

.nav-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-header.scrolled {
    background: rgba(246, 248, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 4vw;
    box-shadow: 0 2px 20px rgba(11, 30, 37, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo .logo-main {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.nav-logo .logo-sub {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 0.125rem;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s var(--transition-smooth);
}

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

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transform: translateX(-100%);
    transition: transform 0.3s var(--transition-smooth);
    z-index: -1;
}

.nav-cta:hover::before {
    transform: translateX(0);
}

.nav-cta:hover {
    color: var(--bg-secondary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--transition-smooth);
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }

.mobile-cta {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    border: none;
    color: var(--bg-secondary);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth) 0.5s;
}

.mobile-menu.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transform: translateX(-100%);
    transition: transform 0.4s var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    color: var(--bg-secondary);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 1rem 0;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s var(--transition-smooth);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
}

.link-arrow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s var(--transition-smooth);
}

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

/* ========================================
   SECTIONS - COMMON
   ======================================== */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: var(--section-padding);
    gap: 4vw;
}

/* Arc Backgrounds */
.arc-background {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

.arc-bottom-left {
    bottom: -30%;
    left: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle at 30% 70%, var(--bg-secondary) 0%, var(--accent-gold) 50%, transparent 70%);
    border-radius: 50%;
}

.arc-top-right {
    top: -30%;
    right: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle at 70% 30%, var(--accent-gold) 0%, var(--bg-secondary) 50%, transparent 70%);
    border-radius: 50%;
}

.arc-top-left {
    top: -20%;
    left: -15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle at 30% 30%, var(--bg-secondary) 0%, var(--accent-gold) 40%, transparent 65%);
    border-radius: 50%;
}

.arc-bottom-right {
    bottom: -25%;
    right: -15%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle at 70% 70%, var(--accent-gold) 0%, var(--bg-secondary) 45%, transparent 70%);
    border-radius: 50%;
}

.arc-muted {
    opacity: 0.08;
}

/* Section Typography */
.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-headline.stacked {
    display: flex;
    flex-direction: column;
}

.section-headline.stacked span {
    display: block;
}

.section-body {
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin-top: 1.5rem;
}

/* Image Frames */
.image-frame {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.image-frame:hover img {
    transform: scale(1.03);
}

/* ========================================
   HERO SECTION
   ======================================== */
.section-hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 8vw;
    gap: 4vw;
}

.hero-text {
    flex: 0 0 45%;
    max-width: 540px;
}

.hero-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.headline-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.hero-subheadline {
    font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 2rem;
    max-width: 420px;
    opacity: 0;
    transform: translateY(24px);
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(24px);
}

.hero-image-container {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-end;
}

.hero-image-frame {
    width: 100%;
    max-width: 520px;
    height: 70vh;
    max-height: 640px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    opacity: 0;
    transform: translateX(12vw) scale(1.06);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.03);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.section-about .section-content {
    min-height: 100vh;
}

.about-image-container {
    flex: 0 0 45%;
}

.about-image-frame {
    width: 100%;
    max-width: 540px;
    height: 72vh;
    max-height: 600px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 0 0 48%;
    max-width: 520px;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-medium);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.stat-item i {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

.transition-line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
    transform: translateY(-50%);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.section-services .section-content {
    min-height: 100vh;
}

.services-text {
    flex: 0 0 45%;
    max-width: 480px;
}

.services-image-container {
    flex: 0 0 48%;
    position: relative;
}

.services-image-frame {
    width: 100%;
    max-width: 460px;
    height: 68vh;
    max-height: 560px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.services-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-list {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: rgba(246, 248, 250, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
    width: 24px;
}

.service-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   STAFFING SECTION
   ======================================== */
.section-staffing .section-content {
    min-height: 100vh;
}

.staffing-image-container {
    flex: 0 0 42%;
}

.staffing-image-frame {
    width: 100%;
    max-width: 480px;
    height: 68vh;
    max-height: 540px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.staffing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staffing-text {
    flex: 0 0 50%;
    max-width: 520px;
}

.staffing-options {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.staffing-option {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--transition-smooth);
}

.staffing-option:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transform: translateX(8px);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.5rem;
}

.option-header i {
    width: 22px;
    height: 22px;
    color: var(--accent-gold);
}

.option-header h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.staffing-option p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 2rem;
}

.staffing-text .btn-primary {
    margin-top: 2rem;
}

/* ========================================
   PROFESSIONALS SECTION
   ======================================== */
.section-professionals .section-content {
    min-height: 100vh;
}

.professionals-text {
    flex: 0 0 48%;
    max-width: 520px;
}

.benefit-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.chip {
    padding: 0.625rem 1.25rem;
    background: rgba(11, 30, 37, 0.05);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
}

.chip:hover {
    background: var(--accent-gold);
    color: var(--bg-secondary);
}

.professionals-ctas {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.professionals-image-container {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-end;
}

.professionals-image-frame {
    width: 100%;
    max-width: 480px;
    height: 70vh;
    max-height: 580px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.professionals-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.section-testimonials {
    padding: 12vh 8vw;
    min-height: auto;
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header .section-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.testimonials-header .section-body {
    max-width: 500px;
    margin: 1rem auto 0;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.4s var(--transition-smooth);
}

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

.quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-gold);
    opacity: 0.4;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ========================================
   COMPLIANCE SECTION
   ======================================== */
.section-compliance .section-content {
    min-height: 100vh;
}

.compliance-image-container {
    flex: 0 0 42%;
}

.compliance-image-frame {
    width: 100%;
    max-width: 460px;
    height: 64vh;
    max-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.compliance-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compliance-text {
    flex: 0 0 50%;
    max-width: 500px;
}

.checklist {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.checklist-item i {
    width: 22px;
    height: 22px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.compliance-text .btn-primary {
    margin-top: 2.5rem;
}

/* ========================================
   COVERAGE SECTION
   ======================================== */
.section-coverage .section-content {
    min-height: 100vh;
}

.coverage-text {
    flex: 0 0 48%;
    max-width: 500px;
}

.coverage-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.pill {
    padding: 0.625rem 1.25rem;
    background: rgba(11, 30, 37, 0.06);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
}

.pill:hover {
    background: var(--bg-secondary);
    color: var(--text-light);
}

.coverage-text .btn-primary {
    margin-top: 2.5rem;
}

.coverage-image-container {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-end;
}

.coverage-image-frame {
    width: 100%;
    max-width: 480px;
    height: 68vh;
    max-height: 540px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.coverage-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   CAREERS SECTION
   ======================================== */
.section-careers {
    padding: 12vh 8vw;
    min-height: auto;
}

.careers-content {
    max-width: 1200px;
    margin: 0 auto;
}

.careers-header {
    text-align: center;
    margin-bottom: 4rem;
}

.careers-header .section-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.careers-header .section-body {
    max-width: 550px;
    margin: 1rem auto 0;
}

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

.job-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--transition-smooth);
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-header h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.job-type {
    padding: 0.375rem 0.875rem;
    background: rgba(212, 160, 58, 0.15);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.job-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    flex-grow: 1;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.job-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.job-location i {
    width: 14px;
    height: 14px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.section-contact {
    background: var(--bg-secondary);
    min-height: auto;
    padding: 10vh 8vw 0;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 4vw;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 8vh;
}

.contact-info {
    flex: 0 0 42%;
}

.contact-info .section-headline {
    color: var(--text-light);
}

.contact-info .section-body {
    color: rgba(246, 248, 250, 0.7);
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(246, 248, 250, 0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-gold);
}

.contact-item i {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

.contact-form-container {
    flex: 0 0 50%;
    max-width: 480px;
}

.contact-form {
    background: rgba(246, 248, 250, 0.06);
    border: 1px solid rgba(212, 160, 58, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(246, 248, 250, 0.7);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(246, 248, 250, 0.08);
    border: 1px solid rgba(246, 248, 250, 0.15);
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(246, 248, 250, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(246, 248, 250, 0.12);
}

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

.contact-form .btn-primary {
    border-color: var(--accent-gold);
    color: var(--text-light);
    margin-top: 0.5rem;
}

.contact-form .btn-primary:hover {
    color: var(--bg-secondary);
}

/* Submit Success State */
.btn-primary.success {
    background: var(--accent-sage);
    border-color: var(--accent-sage);
    color: var(--text-light);
}

.btn-primary.success::before {
    display: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid rgba(246, 248, 250, 0.1);
    padding: 4vh 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(246, 248, 250, 0.5);
    margin-top: 0.125rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(246, 248, 250, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Footer social icons – brand colors on hover */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    display: block;
    color: currentColor;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    color: rgba(246, 248, 250, 0.8);
    text-decoration: none;
}

/* LinkedIn */
.footer-social a[aria-label="LinkedIn"]:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
}

/* Facebook */
.footer-social a[aria-label="Facebook"]:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-2px);
}

/* Instagram */
.footer-social a[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 110%, #ffdb7e, #ff9a5e, #d6249f, #2851a3);
    color: white;
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    padding: 2vh 0;
    margin-top: 2vh;
    border-top: 1px solid rgba(246, 248, 250, 0.06);
}

.footer-copyright p {
    font-size: 0.75rem;
    color: rgba(246, 248, 250, 0.4);
}

/* ========================================
   CHATBOT
   ======================================== */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: none;
    color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 160, 58, 0.4);
    transition: all 0.3s var(--transition-smooth);
    animation: chatbotPulse 2s ease-in-out infinite;
}

@keyframes chatbotPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(212, 160, 58, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(212, 160, 58, 0.6); }
}

.chatbot-toggle:hover {
    transform: scale(1.05);
}

.chatbot-toggle i {
    width: 24px;
    height: 24px;
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    height: 480px;
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s var(--transition-smooth);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.chatbot-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.chatbot-close:hover {
    color: var(--text-primary);
}

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 1rem;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.bot-message {
    background: rgba(11, 30, 37, 0.06);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: var(--accent-gold);
    color: var(--bg-secondary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-light);
}

.chatbot-input input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: rgba(11, 30, 37, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-primary);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-gold);
    border: none;
    color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .section-content {
        flex-direction: column;
        padding: 8vh 6vw;
        gap: 3rem;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        padding: 100px 6vw 6vh;
        text-align: center;
    }
    
    .hero-text {
        flex: none;
        max-width: 100%;
    }
    
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-subheadline {
        max-width: 100%;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-image-container {
        flex: none;
        justify-content: center;
    }
    
    .hero-image-frame {
        max-width: 400px;
        height: 50vh;
    }
    
    .about-image-container,
    .services-image-container,
    .staffing-image-container,
    .professionals-image-container,
    .compliance-image-container,
    .coverage-image-container {
        flex: none;
        width: 100%;
        max-width: 500px;
    }
    
    .about-image-frame,
    .services-image-frame,
    .staffing-image-frame,
    .professionals-image-frame,
    .compliance-image-frame,
    .coverage-image-frame {
        height: 50vh;
        max-height: 450px;
    }
    
    .about-text,
    .services-text,
    .staffing-text,
    .professionals-text,
    .compliance-text,
    .coverage-text {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
    
    .services-list {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 1.5rem;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .staffing-options {
        max-width: 500px;
        margin: 2rem auto 0;
    }
    
    .benefit-chips,
    .coverage-pills {
        justify-content: center;
    }
    
    .professionals-ctas {
        justify-content: center;
    }
    
    .checklist {
        max-width: 400px;
        margin: 2rem auto 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info,
    .contact-form-container {
        flex: none;
        max-width: 100%;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-form {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 8vh 5vw;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    
    .section-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .chatbot-window {
        width: calc(100vw - 2rem);
        right: -1rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .staffing-option:hover {
        transform: none;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .curtain-container {
        display: none;
    }
    
    .headline-line,
    .hero-subheadline,
    .hero-ctas,
    .hero-image-frame {
        opacity: 1;
        transform: none;
    }
}