/* ============================================
   SELF-HOSTED INTER FONT
   ============================================ */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/Inter-4.1/web/Inter-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/Inter-4.1/web/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/Inter-4.1/web/Inter-Bold.woff2') format('woff2');
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

/* ============================================
   COLOR PALETTE - Custom Properties
   ============================================ */
:root {
    /* === PRIMARY — brand authority, trust === */
    --color-navy: #0a1628;
    --color-navy-light: #132240;

    /* === ACCENT — CTA, conversion, energy === */
    --color-pink: #AA0144;
    --color-pink-dark: #8a0038;
    --color-pink-light: #F8E5ED;

    /* === SECONDARY — development, growth, methodology === */
    --color-sage: #5c7b6b;
    --color-sage-light: #EEF3F0;
    --color-secondary: #1e3a5f;

    /* === NEUTRALS (warm slate scale) === */
    --color-warm-white: #FAFAF8;
    --color-beige: #f5f0eb;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-500: #6b7280;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* === SEMANTIC === */
    --color-success: #16a34a;
    --color-error: #dc2626;

    --transition-base: all 0.3s ease;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

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

p {
    line-height: 1.7;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
}

.section-compact {
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .section-compact {
        padding-top: 2rem;
    }
}

@media (min-width: 1024px) {
    .section-compact {
        padding-top: 2.5rem;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-pink);
    color: white;
}

.btn-primary:hover {
    background: var(--color-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(205, 114, 190, 0.3);
}

.btn-primary:active {
    background: #8a0038;
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(163, 77, 150, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-secondary:active {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0.98);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--color-navy);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    height: 26px;
    width: auto;
    transition: opacity 0.2s ease;
}

.logo:hover svg {
    opacity: 0.85;
}

.nav-list {
    display: none;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-list {
        display: flex;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition-base);
    position: relative;
}

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

.nav-link:active {
    color: #ff69b4;
    transform: scale(0.95);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.25rem;
    background: rgba(92, 123, 107, 0.3);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.lang-btn:hover {
    background: rgba(92, 123, 107, 0.4);
}

.lang-btn:active {
    background: rgba(92, 123, 107, 0.6);
    transform: scale(0.95);
}

.lang-btn.active {
    background: var(--color-pink);
    color: white;
}

.lang-btn.active:hover {
    background: var(--color-pink-dark);
}

.lang-btn.active:active {
    background: #8a0038;
    transform: scale(0.95);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu-list {
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu-list li {
    padding: 0.75rem 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 4rem 0 3rem 0;
    background:
        linear-gradient(180deg, rgba(50, 50, 50, 0.85) 0%, rgba(50, 50, 50, 0.85) 100%),
        url('/assets/pictures/hero-training.jpg') top/cover no-repeat;
    color: white;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0 5rem 0;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0 6rem 0;
    }
}

@media (min-width: 2160px) {
    .hero {
        background:
            linear-gradient(180deg, rgba(50, 50, 50, 0.85) 0%, rgba(50, 50, 50, 0.85) 100%),
            url('/assets/pictures/hero-training.jpg') center/cover no-repeat;
    }
}

/* Animated background pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-kicker {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.hero-title {
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        align-items: flex-start;
    }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--color-gray-50);
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .trust-bar {
        padding: 3rem 0;
    }
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
}

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

.trust-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-navy);
    opacity: 0;
    animation: trust-reveal 0.3s ease 1s forwards;
}

.trust-label {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--color-gray-700);
    line-height: 1.4;
    opacity: 0;
    animation: trust-reveal 0.3s ease 1s forwards;
}

@keyframes trust-reveal {
    to { opacity: 1; }
}

/* JS active: disable CSS fallback animation, control visibility manually */
.count-init .trust-number,
.count-init .trust-label {
    animation: none;
    opacity: 0;
}

.count-init .trust-number.count-ready,
.count-init .trust-number.count-ready + .trust-label {
    opacity: 1;
}

.trust-subtext {
    font-size: 0.75rem;
    color: var(--color-gray-700);
    margin-top: 0.25rem;
    font-style: italic;
    opacity: 0.85;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
#partners {
    padding: 2.5rem 0;
    background: var(--color-beige);
}

@media (min-width: 768px) {
    #partners {
        padding: 3rem 0;
    }
}

/* Partners title — replaces inline font-size style */
.partners-title {
    font-size: 1.5rem;
}

/* ============================================
   CARDS & CONTENT SECTIONS
   ============================================ */
.card {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    cursor: default;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 85, 161, 0.15);
}

.card:active {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(59, 85, 161, 0.2);
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.card-header .icon-wrapper {
    margin-bottom: 0;
}

.card-header h3 {
    margin-bottom: 0;
}

.card ul {
    padding-left: 1rem;
    padding-right: 1rem;
}

.grid {
    display: grid;
    gap: 1rem;
}

.card-featured {
    order: -1;
}

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

    .card-featured {
        order: 0;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.section-title {
    color: var(--color-navy);
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-gray-700);
}

.section-description {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--color-gray-700);
    margin-top: 1rem;
    max-width: 800px;
}

/* ============================================
   SPECIFIC SECTIONS
   ============================================ */
.bg-gradient {
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-beige) 100%);
}

/* Process Roadmap Stepper */
.process-stepper {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .process-stepper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }
}

/* Mobile < 400px: circles left-aligned */
.process-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    align-items: center;
    padding: 0.75rem 0;
}

.process-step .step-content {
    padding-left: 1.25rem;
}

/* Mobile 400px-640px: circles with 2rem left margin */
@media (min-width: 400px) {
    .process-step {
        grid-template-columns: 2rem 3rem 1fr;
    }

    .process-step .step-number {
        grid-column: 2;
    }

    .process-step .step-content {
        grid-column: 3;
    }
}

/* Mobile >= 640px: circles centered */
@media (min-width: 640px) {
    .process-step {
        grid-template-columns: 1fr 3rem 1fr;
    }
}

@media (min-width: 992px) {
    .process-step {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 0;
        flex-shrink: 0;
    }

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

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Changed from h4 to h3 — heading hierarchy fix */
.step-content h3 {
    color: var(--color-navy);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.3;
}

@media (min-width: 992px) {
    .step-content {
        margin-top: 0.75rem;
        width: 144px;
        margin-right: -35px;
        margin-left: -35px;
    }
}

@media (min-width: 1024px) {
    .step-content {
        width: 150px;
    }
}

@media (min-width: 1260px) {
    .step-content {
        width: 170px;
        margin-right: -30px;
        margin-left: -30px;
    }
}

/* Mobile < 400px: connector left-aligned */
.step-connector {
    width: 3px;
    height: 1.25rem;
    background: var(--color-secondary);
    margin-left: calc(1.5rem - 1.5px);
    opacity: 0.3;
}

/* Mobile 400px-640px: connector with 2rem left margin */
@media (min-width: 400px) {
    .step-connector {
        margin-left: calc(3.5rem - 1.5px);
    }
}

/* Mobile >= 640px: connector centered */
@media (min-width: 640px) {
    .step-connector {
        margin-left: calc(50% - 1.5px);
    }
}

@media (min-width: 992px) {
    .step-connector {
        width: 60px;
        height: 3px;
        margin: 0;
        position: relative;
        top: 1.5rem;
        flex-shrink: 0;
    }
}

.methodology-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

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

.methodology-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f5f0eb 0%, #d3c6b9 100%);
    min-height: 400px;
    object-fit: cover;
}

/* Method Pillars Accordion */
.method-pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillars-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    padding: 0 1.25rem;
}

.method-pillar {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--color-pink);
    transition: height 0.4s ease;
    overflow: hidden;
}

.pillar-title {
    color: var(--color-navy);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.pillar-text {
    color: var(--color-gray-700);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.pillar-more {
    cursor: pointer;
    white-space: nowrap;
}

.pillar-more::before {
    content: '\2060';
}

.pillar-link {
    color: var(--color-pink);
    transition: color 0.2s ease;
}

.pillar-link:hover {
    color: var(--color-pink-dark);
    text-decoration: underline;
}

.pillar-details {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.method-pillar.expanded .pillar-more {
    display: none;
}

.method-pillar.expanded .pillar-details {
    display: inline;
}

.method-pillar.expanded .pillar-details.fade-in {
    opacity: 1;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonial {
    display: none;
    background: white;
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
    animation: testimonialFadeIn 0.4s ease;
}

.testimonial.active {
    display: block;
}

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

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 0.25rem;
    left: 1.5rem;
    font-size: 4.5rem;
    color: var(--color-pink);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.25;
}

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

.testimonial-avatar {
    width: 3.5rem;
    min-width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-pink);
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.testimonial-name {
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-gray-700);
}

.testimonial-text {
    font-style: italic;
    color: var(--color-gray-700);
    line-height: 1.8;
    padding-top: 2rem;
}

.testimonial-text .break {
    display: block;
    height: 0.5rem;
}

/* ============================================
   CAREERS SECTION
   ============================================ */
.careers {
    background: var(--color-navy);
    color: white;
}

.careers-benefits {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   FEATURE LIST & CONTACT SECTION
   ============================================ */
.feature-list { list-style: none; margin-bottom: 1rem; }
.feature-list li { padding: 0.5rem 0; display: flex; align-items: start; }
.feature-list .mark { color: var(--color-gray-500); margin-right: 0.5rem; flex-shrink: 0; }

.contact-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-two-col {
        grid-template-columns: 3fr 2fr;
    }
}

/* Changed from h3 to h2 — heading hierarchy fix */
.contact-cta-col h2 {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-cta-col .contact-supporting {
    color: var(--color-gray-700);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-cta-col .contact-secondary-link {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-gray-700);
}

.contact-cta-col .contact-secondary-link a {
    color: var(--color-navy);
    font-weight: 500;
}

.contact-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-gray-200);
    border-top: 3px solid var(--color-pink);
}

.contact-card strong {
    color: var(--color-navy);
}

.contact-card a {
    color: var(--color-gray-700);
}

.contact-card a:hover {
    color: var(--color-pink);
}

.contact-grid {
    display: grid;
    gap: 2rem;
    justify-items: center;
}

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

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

.contact-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(10, 22, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--color-navy);
}

.contact-label {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.contact-value {
    color: var(--color-gray-700);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-navy);
    color: white;
    padding: 2.5rem 0 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.footer-logo svg {
    width: 140px;
    height: auto;
    transition: opacity 0.2s ease;
}

.footer-logo:hover svg {
    opacity: 0.85;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 1.5rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.footer-registered {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Partners slider container with fade edges */
.partners-slider {
    overflow: hidden;
    position: relative;
}

.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--color-beige), transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--color-beige), transparent);
}

/* Partners auto-scroll */
.partners-scroll {
    display: flex;
    gap: 4rem;
    will-change: transform;
}

.partner-logo {
    flex-shrink: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    height: 100%;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
}

/* Loading optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ============================================
   SVG ICONS STYLING
   ============================================ */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.icon-wrapper svg {
    width: 2.5rem;
    height: 2.5rem;
    transition: var(--transition-base);
}

.card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.card:hover .icon-wrapper svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.contact-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: var(--transition-base);
}

.contact-icon-wrapper svg {
    width: 2rem;
    height: 2rem;
}

.contact-item:hover .contact-icon-wrapper {
    transform: scale(1.1);
}

.social-link {
    color: var(--color-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--color-pink);
    text-decoration: underline;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-navy);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    position: relative;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 0.375rem;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    background: white;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-pink);
    box-shadow: 0 0 0 3px rgba(170, 1, 68, 0.1);
}

.contact-form button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success svg {
    color: #16a34a;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.form-message {
    margin-top: 0.75rem;
    padding: 0;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-error {
    padding: 0.75rem 1rem;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-success-msg {
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ============================================
   HERO TRUST BADGES
   ============================================ */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 639px) {
    .hero-trust-badges {
        justify-content: center;
    }
}

/* ============================================
   FEATURED CARD BADGE
   ============================================ */
.card-badge {
    position: absolute;
    top: -0.75rem;
    right: 1.5rem;
    background: var(--color-pink);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-featured {
    box-shadow: 0 4px 20px rgba(170, 1, 68, 0.15);
    transform: scale(1.02);
}

.card-featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.card-response-time {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin-top: 0.75rem;
}

/* ============================================
   TESTIMONIAL CAROUSEL
   ============================================ */
.testimonial-carousel {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    padding: 0 3.5rem;
}

@media (max-width: 879px) {
    .testimonial-carousel {
        padding: 0 1rem;
    }
}

.testimonial-container {
    position: relative;
}

/*
 * Initial vertical position of carousel arrows = half the height of the first
 * testimonial card at desktop width (measured: 574px / 2 = 287px).
 * JS (ResizeObserver on container) overrides this on resize for desktop,
 * so the value here only prevents a visible jump on first load.
 * On mobile JS clears the inline style and CSS top: 50% takes over.
 * Do not change without updating the JS fallback in script.js.
 */
.carousel-arrow--initial-top {
    top: 287px;
}

@media (max-width: 879px) {
    .carousel-arrow--initial-top {
        top: 50%;
    }
}

.carousel-arrow {
    position: absolute;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: var(--color-navy);
}

.carousel-arrow:hover:not(.is-disabled) {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: var(--color-gray-50);
}

.carousel-arrow.is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow--prev {
    left: 0;
}

.carousel-arrow--next {
    right: 0;
}

.carousel-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}

@media (max-width: 879px) {
    .carousel-arrow {
        width: 2rem;
        height: 2rem;
    }

    .carousel-arrow--prev {
        left: -0.25rem;
    }

    .carousel-arrow--next {
        right: -0.25rem;
    }

    .carousel-arrow svg {
        width: 1rem;
        height: 1rem;
    }
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dots .dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: none;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.testimonial-dots .dot.active {
    background: var(--color-pink);
    transform: scale(1.3);
}

/* ============================================
   CAREERS COMPACT BANNER
   ============================================ */
.careers-banner {
    background: var(--color-navy);
    color: white;
    padding: 3rem 0;
}

.careers-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.careers-banner-content h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.careers-banner-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    max-width: 500px;
}

.careers-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ============================================
   CAREERS SUBPAGE
   ============================================ */
.careers-hero {
    background: var(--color-navy);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.careers-hero h1 {
    margin-bottom: 1rem;
}

.careers-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.careers-cta {
    background: var(--color-navy);
    color: white;
    padding: 3rem 0;
}

.careers-cta h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    text-align: left;
    gap: 1rem;
}

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

.faq-chevron {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--color-gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
}
