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

:root {
    --red: #C41230;
    --red-dark: #9B0F28;
    --red-light: #E8344F;
    --navy: #0A1628;
    --navy-mid: #162A4A;
    --blue: #1E5FA6;
    --blue-light: #EDF4FC;
    --slate: #3D4F6F;
    --gray-100: #F7F8FA;
    --gray-200: #E8ECF1;
    --gray-300: #C9D0DA;
    --gray-500: #7A8599;
    --gray-700: #3A4250;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── PLACEHOLDER STYLING ─── */
.placeholder {
    color: var(--red);
    font-style: italic;
    background: #FFF5F5;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85em;
}
.dark-section .placeholder {
    color: #FCD34D;
    background: rgba(252, 211, 77, 0.12);
    border: 1px dashed rgba(252, 211, 77, 0.3);
}

/* ─── NAV ─── */
.nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(10,22,40,0.08); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
    width: 42px; height: 42px; background: var(--red);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.logo-mark::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border-radius: 50% 50% 0 0;
}
.logo-mark svg { width: 22px; height: 22px; fill: white; position: relative; z-index: 1; }
.logo-text { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; color: var(--navy); letter-spacing: -0.02em; }
.logo-text span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--slate); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
    background: var(--red); color: white !important;
    padding: 10px 22px; border-radius: 8px; font-weight: 600 !important;
    transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 55%, var(--blue) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 800px 600px at 80% 20%, rgba(30,95,166,0.3), transparent),
                radial-gradient(ellipse 600px 400px at 20% 80%, rgba(196,18,48,0.1), transparent);
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px; padding: 8px 18px 8px 10px; margin-bottom: 28px;
    font-size: 0.85rem; color: rgba(255,255,255,0.8);
}
.hero-badge-dot {
    width: 8px; height: 8px; background: #34D399; border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
    font-family: var(--font-display); font-size: 3.4rem; font-weight: 600;
    color: var(--white); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--red-light); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
    border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
    text-decoration: none; transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: white; box-shadow: 0 4px 15px rgba(196,18,48,0.3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,18,48,0.35); }
.btn-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.btn svg { width: 18px; height: 18px; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 28px; backdrop-filter: blur(10px);
    transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-3px); }
.stat-number { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: white; line-height: 1; margin-bottom: 8px; }
.stat-number span { color: var(--red-light); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── TRUST BAR ─── */
.trust-bar { padding: 40px 0; border-bottom: 1px solid var(--gray-200); background: var(--gray-100); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); font-weight: 600; }
.trust-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-logo { font-weight: 700; font-size: 0.95rem; color: var(--gray-300); letter-spacing: 0.04em; transition: color 0.3s; }
.trust-logo:hover { color: var(--slate); }

/* ─── SECTION COMMON ─── */
.section { padding: 100px 0; }
.section-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red); font-weight: 600; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 18px; }
.section-desc { font-size: 1.1rem; color: var(--slate); max-width: 560px; line-height: 1.8; }
.section-header { margin-bottom: 60px; }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px;
    padding: 40px 32px; transition: all 0.35s; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--red); transform: scaleX(0); transition: transform 0.35s;
}
.service-card:hover { border-color: transparent; box-shadow: 0 12px 40px rgba(10,22,40,0.1); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 1.5rem; }
.service-icon.ops { background: #EDF4FC; color: var(--blue); }
.service-icon.comp { background: #FFF1F3; color: var(--red); }
.service-icon.consult { background: #ECFDF5; color: #059669; }
.service-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin-bottom: 14px; font-weight: 600; }
.service-card p { color: var(--slate); font-size: 0.95rem; line-height: 1.75; margin-bottom: 20px; }
.service-list { list-style: none; margin-bottom: 24px; }
.service-list li { padding: 6px 0; font-size: 0.9rem; color: var(--gray-700); display: flex; align-items: flex-start; gap: 10px; }
.service-list li::before { content: '\2192'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.service-link { color: var(--red); text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.service-link:hover { gap: 10px; }

/* ─── WHY WMS ─── */
.why-section { background: var(--gray-100); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.why-features { display: flex; flex-direction: column; gap: 32px; }
.why-feature { display: flex; gap: 20px; }
.why-num { width: 40px; height: 40px; border-radius: 10px; background: var(--red); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.why-feature h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; font-weight: 600; }
.why-feature p { color: var(--slate); font-size: 0.92rem; line-height: 1.7; }
.why-visual {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 20px; padding: 48px; color: white; position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.why-visual::before {
    content: ''; position: absolute; top: -50%; right: -30%;
    width: 300px; height: 300px; border-radius: 50%; background: rgba(196,18,48,0.15);
}
.why-visual-quote {
    font-family: var(--font-display); font-size: 1.6rem; font-style: italic;
    line-height: 1.5; margin-bottom: 28px; position: relative;
    color: rgba(255,255,255,0.95);
}
.why-visual-attr { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: auto; }
.why-visual-attr strong { color: white; display: block; margin-bottom: 2px; }

/* ─── SERVICE AREA ─── */
.coverage {
    background: linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 60%, var(--blue) 100%);
    position: relative; overflow: hidden;
}
.coverage::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 700px 500px at 20% 80%, rgba(30,95,166,0.2), transparent);
}
.coverage .container { position: relative; z-index: 1; }
.coverage .section-label { color: var(--red-light); }
.coverage .section-title { color: white; }
.coverage .section-desc { color: rgba(255,255,255,0.6); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.area-map {
    background: rgba(255,255,255,0.06); border-radius: 20px; padding: 48px; text-align: center;
    min-height: 360px; display: flex; flex-direction: column; align-items: center;
    justify-content: center; border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.area-map svg { width: 100%; height: auto; }
.area-map .county { cursor: pointer; transition: fill 0.2s, stroke 0.2s; }
.area-map .county:hover, .area-map .county.region-highlight { fill: rgba(255,255,255,0.14); stroke: rgba(255,255,255,0.35); }
.area-map .county-active:hover, .area-map .county-active.region-highlight { fill: rgba(196,18,48,0.3); stroke: rgba(255,255,255,0.45); }
.region[data-region] { cursor: pointer; }
.map-tooltip {
    position: absolute; pointer-events: none;
    background: rgba(10,22,40,0.92); border: 1px solid rgba(255,255,255,0.15);
    color: white; font-size: 0.8rem; font-weight: 500;
    padding: 6px 12px; border-radius: 6px;
    backdrop-filter: blur(8px); white-space: nowrap;
    transform: translate(-50%, -100%); margin-top: -10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10; transition: opacity 0.15s;
}
.map-tooltip .tooltip-badge {
    display: block; font-size: 0.7rem; color: var(--red-light); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px;
}
.area-regions { display: flex; flex-direction: column; gap: 16px; }
.region { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 20px 24px; transition: all 0.25s; flex: 1; }
.region:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
.region h4 { color: white; font-size: 1rem; margin-bottom: 4px; }
.region p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--navy); }
.testimonials .section-label { color: var(--red-light); }
.testimonials .section-title { color: white; }
.testimonials .section-desc { color: rgba(255,255,255,0.6); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.test-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 36px 28px; transition: all 0.3s;
    display: flex; flex-direction: column;
}
.test-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
.test-stars { color: #FBBF24; font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 2px; }
.test-quote {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
.test-attr { margin-top: auto; }
.test-author { color: white; font-weight: 700; font-size: 0.95rem; }
.test-role { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 4px; }

/* ─── CTA ─── */
.cta-section { padding: 100px 0; background: linear-gradient(135deg, var(--gray-100) 0%, var(--blue-light) 100%); }
.cta-box {
    background: var(--white); border-radius: 24px; padding: 64px; text-align: center;
    box-shadow: 0 20px 60px rgba(10,22,40,0.08); border: 1px solid var(--gray-200);
}
.cta-box .section-title { max-width: 600px; margin: 0 auto 16px; }
.cta-box .section-desc { margin: 0 auto 36px; text-align: center; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-dark { background: var(--navy); color: white; box-shadow: 0 4px 15px rgba(10,22,40,0.2); }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }
.cta-contact { margin-top: 32px; font-size: 0.9rem; color: var(--slate); }
.cta-contact a { color: var(--red); text-decoration: none; font-weight: 600; }

/* ─── WIZARD ─── */
.wizard {
    background: var(--white); border-radius: 24px; padding: 56px 64px;
    box-shadow: 0 20px 60px rgba(10,22,40,0.08); border: 1px solid var(--gray-200);
    max-width: 720px; margin: 0 auto;
}
.wizard .section-label { text-align: center; }
.wizard .section-title { text-align: center; max-width: 560px; margin: 0 auto 12px; }
.wizard .section-desc { text-align: center; margin: 0 auto 40px; }

.wizard-progress {
    display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px;
}
.wizard-step-indicator {
    display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1;
}
.wizard-step-num {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; border: 2px solid var(--gray-300); color: var(--gray-500); background: var(--white);
    transition: all 0.3s;
}
.wizard-step-indicator.active .wizard-step-num,
.wizard-step-indicator.done .wizard-step-num {
    background: var(--red); border-color: var(--red); color: white;
}
.wizard-step-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s; }
.wizard-step-indicator.active .wizard-step-label,
.wizard-step-indicator.done .wizard-step-label { color: var(--red); }
.wizard-step-line {
    flex: 1; max-width: 80px; height: 2px; background: var(--gray-300); margin: 0 12px; margin-bottom: 22px; transition: background 0.3s;
}
.wizard-step-line.done { background: var(--red); }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: wizFadeIn 0.3s ease; }
@keyframes wizFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wizard-panel-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); font-weight: 600; margin-bottom: 28px; }

.wizard-fields { display: flex; flex-wrap: wrap; gap: 20px; }
.wizard-field { width: 100%; }
.wizard-field-half { width: calc(50% - 10px); }
.wizard-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.wizard-field .required { color: var(--red); }
.wizard-field input,
.wizard-field textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-300); border-radius: 10px;
    font-family: var(--font-body); font-size: 0.95rem; color: var(--gray-700); background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.wizard-field input:focus,
.wizard-field textarea:focus {
    border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,18,48,0.1);
}
.wizard-field input.invalid { border-color: var(--red); }
.field-error { display: none; font-size: 0.8rem; color: var(--red); margin-top: 6px; }
.wizard-field input.invalid ~ .field-error { display: block; }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
    padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--gray-300);
    background: var(--white); color: var(--slate); font-family: var(--font-body); font-size: 0.9rem;
    font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.pill:hover { border-color: var(--red); color: var(--red); }
.pill.selected { background: var(--red); border-color: var(--red); color: white; }

.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill {
    display: flex; align-items: center; cursor: pointer;
}
.check-pill input { display: none; }
.check-pill span {
    padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--gray-300);
    background: var(--white); color: var(--slate); font-size: 0.9rem; font-weight: 500;
    transition: all 0.2s; user-select: none;
}
.check-pill:hover span { border-color: var(--red); color: var(--red); }
.check-pill input:checked + span { background: var(--red); border-color: var(--red); color: white; }

.wizard-summary {
    width: 100%; background: var(--gray-100); border-radius: 12px; padding: 28px;
    font-size: 0.9rem; line-height: 1.8; color: var(--gray-700);
}
.wizard-summary h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 8px; font-weight: 700; }
.wizard-summary h4:not(:first-child) { margin-top: 16px; }
.wizard-summary .summary-row { display: flex; gap: 8px; }
.wizard-summary .summary-label { color: var(--gray-500); min-width: 110px; flex-shrink: 0; }
.wizard-summary .summary-value { color: var(--navy); font-weight: 500; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 16px; }
.wizard-prev { order: 0; }
.wizard-next { margin-left: auto; }
.wizard-footnote { text-align: center; font-size: 0.82rem; color: var(--gray-500); margin-top: 20px; }

/* ─── FOOTER ─── */
.footer { background: var(--navy); padding: 64px 0 32px; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem; line-height: 1.75; margin-top: 16px;
}
.footer h5 { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none; font-size: 0.9rem; transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer-legal { color: rgba(255,255,255,0.4); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-legal:hover { color: white; }
.emergency-strip {
    background: var(--red); color: white; padding: 6px 16px; border-radius: 8px;
    font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}

/* ─── PAGE HERO (shared by subpages) ─── */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 55%, var(--blue) 100%);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 800px 600px at 80% 20%, rgba(30,95,166,0.3), transparent),
                radial-gradient(ellipse 600px 400px at 20% 80%, rgba(196,18,48,0.1), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--red-light); }
.page-hero-title {
    font-family: var(--font-display); font-size: 3rem; font-weight: 600;
    color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.page-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); line-height: 1.8; max-width: 640px; }

/* ─── PROSE (legal/text pages) ─── */
.prose { max-width: 720px; }
.prose-block { margin-bottom: 36px; }
.prose-block h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); font-weight: 600; margin-bottom: 12px; }
.prose-block p { color: var(--slate); font-size: 0.95rem; line-height: 1.8; }
.prose-contact { list-style: none; margin-top: 16px; }
.prose-contact li { padding: 4px 0; font-size: 0.95rem; color: var(--slate); }
.prose-contact a { color: var(--red); text-decoration: none; font-weight: 500; }
.prose-contact a:hover { text-decoration: underline; }

/* ─── CAREERS ─── */

.job-filters { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.job-filter-btn {
    padding: 10px 24px; border-radius: 8px; border: 1px solid var(--gray-200);
    background: var(--white); color: var(--slate); font-family: var(--font-body);
    font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.job-filter-btn:hover { border-color: var(--red); color: var(--red); }
.job-filter-btn.active { background: var(--red); color: white; border-color: var(--red); }

.job-list { display: flex; flex-direction: column; gap: 24px; }
.job-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px;
    padding: 32px; transition: all 0.35s; position: relative; overflow: hidden;
}
.job-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--red); transform: scaleX(0); transition: transform 0.35s;
}
.job-card:hover { border-color: transparent; box-shadow: 0 12px 40px rgba(10,22,40,0.1); transform: translateY(-4px); }
.job-card:hover::before { transform: scaleX(1); }
.job-card.hidden { display: none; }

.job-header { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.job-header h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); font-weight: 600; }
.job-type {
    display: inline-block; padding: 4px 14px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.job-type--ft { background: var(--red); color: white; }
.job-type--pt { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }

.job-deadline { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 12px; }
.job-summary { color: var(--slate); font-size: 0.95rem; line-height: 1.75; margin-bottom: 16px; }

.job-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; color: var(--red); font-family: var(--font-body);
    font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 0; transition: gap 0.2s;
}
.job-toggle:hover { gap: 10px; }
.job-toggle svg { transition: transform 0.3s; }
.job-toggle.open svg { transform: rotate(180deg); }

.job-detail {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.job-detail.open { max-height: 600px; }
.job-detail-inner { padding-top: 24px; border-top: 1px solid var(--gray-200); margin-top: 20px; }
.job-detail h4 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.job-detail h4:nth-of-type(2) { margin-top: 20px; }
.job-detail ul { list-style: none; margin-bottom: 16px; }
.job-detail li { padding: 4px 0; font-size: 0.9rem; color: var(--gray-700); display: flex; align-items: flex-start; gap: 10px; }
.job-detail li::before { content: '\2192'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.job-detail p { color: var(--slate); font-size: 0.92rem; line-height: 1.7; }
.job-actions { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }

.btn-outline-dark {
    background: transparent; color: var(--navy); border: 1px solid var(--gray-300);
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
    border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
    text-decoration: none; transition: all 0.25s; cursor: pointer;
}
.btn-outline-dark:hover { border-color: var(--navy); background: var(--gray-100); }

.apply-section { background: var(--gray-100); }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.apply-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.apply-contact {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 36px;
}
.apply-contact h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 20px; font-weight: 600; }
.apply-contact ul { list-style: none; }
.apply-contact li {
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    font-size: 0.95rem; color: var(--slate); border-bottom: 1px solid var(--gray-200);
}
.apply-contact li:last-child { border-bottom: none; }
.apply-contact li svg { flex-shrink: 0; color: var(--red); }
.apply-contact li a { color: var(--red); text-decoration: none; font-weight: 500; }
.apply-contact li a:hover { text-decoration: underline; }
.apply-cta { margin-top: 20px; font-size: 0.9rem; color: var(--slate); font-style: italic; line-height: 1.7; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.6rem; }
    .services-grid, .test-grid { grid-template-columns: 1fr; }
    .why-grid, .area-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .section-title { font-size: 2rem; }
    .cta-box { padding: 40px 28px; }
    .nav-links {
        display: none; flex-direction: column; gap: 0;
        position: absolute; top: 72px; left: 0; right: 0;
        background: white; border-bottom: 1px solid var(--gray-200);
        padding: 16px 24px; box-shadow: 0 8px 30px rgba(10,22,40,0.1);
    }
    .nav-links.open { display: flex; }
    .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
    .nav-links li:last-child { border-bottom: none; padding-top: 16px; }
    .nav-links .nav-cta { display: inline-block; text-align: center; }
    .mobile-toggle { display: block; }
    .mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.open span:nth-child(2) { opacity: 0; }
    .mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .apply-grid { grid-template-columns: 1fr; }
    .page-hero-title { font-size: 2.4rem; }
    .wizard { padding: 40px 28px; }
    .wizard-field-half { width: 100%; }
    .wizard-step-label { display: none; }
    .wizard-step-line { max-width: 48px; margin-bottom: 0; }
}
@media (max-width: 600px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 120px 0 60px; }
    .page-hero-title { font-size: 2rem; }
}
