:root {
    /* BorderPlus-inspired: navy, ice blue panels, crisp white */
    --navy: #001f3f;
    --navy-soft: #0a2f5c;
    --navy-deep: #00152b;
    --blue: #2563eb;
    --blue-soft: #e3f2fd;
    --text: #1a2332;
    --muted: #5b6478;
    --bg: #f4f7fb;
    --white: #fff;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 4px 24px rgba(0, 31, 63, 0.06);
    --shadow-hover: 0 16px 48px rgba(0, 31, 63, 0.1);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

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

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 31, 63, 0.06);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--navy);
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: radial-gradient(circle at 28% 28%, #7ec8ff 0%, var(--blue) 55%, var(--navy) 100%);
    box-shadow: 0 6px 18px rgba(0, 31, 63, 0.18);
}

.logo-text {
    font-size: 1.15rem;
}

.logo-accent {
    color: var(--blue);
    margin-left: 2px;
}

.header-nav-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px 26px;
    flex-wrap: wrap;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--navy);
}

.nav-links a {
    position: relative;
    padding: 6px 0;
    opacity: 0.88;
}

.nav-links a:hover {
    color: var(--blue);
    opacity: 1;
}

.nav-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-login {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--navy);
    opacity: 0.85;
}

.nav-login:hover {
    color: var(--blue);
    opacity: 1;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 31, 63, 0.1);
    background: var(--white);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle .nav-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-open .nav-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .nav-toggle {
        display: flex;
        grid-column: 2;
    }

    .logo {
        grid-column: 1;
    }

    .header-nav-panel {
        display: none;
        position: fixed;
        left: 16px;
        right: 16px;
        top: 78px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow-hover);
        border: 1px solid rgba(0, 31, 63, 0.08);
        z-index: 60;
    }

    .header-nav-panel.is-open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 8px 12px;
    }

    .nav-links a {
        padding: 10px 8px;
        width: 100%;
    }

    .nav-actions {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 8px 8px;
        border-top: 1px solid rgba(0, 31, 63, 0.08);
    }

    .nav-login {
        text-align: center;
        padding: 8px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.88rem;
}

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

.btn-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
}

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

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

.btn-block {
    width: 100%;
}

.btn-ghost {
    background: var(--navy);
    color: var(--white);
}

.section {
    padding: 72px 0;
}

.section.alt {
    background: var(--bg);
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    color: var(--navy);
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-intro {
    color: var(--muted);
    margin: 0;
}

.hero {
    padding: 56px 0 40px;
    background: linear-gradient(180deg, #fff 0%, #fafcfe 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(2.15rem, 4.2vw, 3.35rem);
    line-height: 1.08;
    color: var(--navy);
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-title em {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--navy-soft);
    letter-spacing: -0.02em;
    margin-top: 0.12em;
}

.hero-text {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0 0 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 14px;
}

.hero-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--blue-soft);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 31, 63, 0.05);
    position: relative;
    min-height: 120px;
}

.hero-card.navy {
    background: linear-gradient(145deg, var(--navy), #0b3b78);
    color: var(--white);
    padding: 18px;
}

.hero-card.navy h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.hero-card.tall {
    grid-row: span 2;
    min-height: 280px;
}

.hero-card img.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: var(--white);
}

.services-swiper {
    padding-bottom: 44px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 31, 63, 0.06);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.service-icon.light {
    background: var(--blue-soft);
    color: var(--navy);
}

.service-icon.accent {
    background: var(--blue);
    color: var(--white);
}

.service-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.1rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    flex: 1;
}

.service-card .learn {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.story-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.story-card-link .thumb {
    display: block;
}

.detail-body {
    line-height: 1.7;
    color: var(--text);
}

.detail-body h3 {
    color: var(--navy);
    margin: 1.25em 0 0.5em;
    font-size: 1.05rem;
}

.detail-body p {
    margin: 0 0 0.75em;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, 0.45);
    cursor: pointer;
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 22px 22px;
    box-shadow: var(--shadow-hover);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #f0f4fb;
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: #e3e9f5;
}

/* Candidate wizard (3 intro screens + apply form) */
.modal-dialog--candidate-wizard {
    width: min(1040px, 100%);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}

.modal--candidate-wizard .modal-close {
    z-index: 4;
    top: 10px;
    right: 10px;
}

.candidate-wizard-viewport {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.candidate-wizard-panel {
    display: none;
    animation: candidateFadeIn 0.22s ease;
}

.candidate-wizard-panel.is-active {
    display: block;
}

@keyframes candidateFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.candidate-slide-visual {
    min-height: 220px;
    border-radius: var(--radius);
    background-color: #0a1f33;
    background-image: var(--slide-img);
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 48px 20px 0;
    overflow: hidden;
}

.candidate-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 20px 20px;
    background: linear-gradient(180deg, rgba(0, 20, 45, 0.05) 0%, rgba(0, 20, 45, 0.82) 55%, rgba(0, 20, 45, 0.92) 100%);
    color: #fff;
}

.candidate-slide-title {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    line-height: 1.25;
    font-weight: 700;
}

.candidate-slide-body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

.candidate-slide-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px 8px;
}

.candidate-step-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a6b82;
}

.candidate-slide-next {
    border-radius: 999px;
    padding-inline: 22px;
}

.apply-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    min-height: 320px;
}

.apply-sidebar {
    background: linear-gradient(165deg, #e8f4ff 0%, #cfe8ff 55%, #b8dcff 100%);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.apply-brand {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    letter-spacing: 0.01em;
}

.apply-sidebar-tag {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #0d2847;
}

.apply-sidebar-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.apply-sidebar-pills span {
    background: var(--navy);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 7px 14px;
    border-radius: 999px;
}

.apply-main {
    padding: 22px 22px 26px;
    background: var(--white);
}

.apply-form-title {
    margin: 0 0 6px;
    font-size: 1.32rem;
    color: var(--navy);
    text-align: left;
}

.apply-form-lead {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 600;
    color: #14263d;
}

.apply-form-sub,
.apply-form-note {
    margin: 0 0 10px;
    line-height: 1.45;
}

.apply-form .apply-field {
    margin-bottom: 14px;
}

.apply-form .apply-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7a90;
    margin-bottom: 6px;
}

.apply-form .apply-field input,
.apply-form .apply-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe4f5;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border 0.15s ease, box-shadow 0.15s ease;
}

.apply-form .apply-field input:focus,
.apply-form .apply-field textarea:focus {
    outline: none;
    border-color: #7eb8ff;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.12);
}

.apply-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.apply-submit {
    flex: 1;
    min-width: 200px;
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.apply-submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

.apply-back {
    border-radius: 12px;
}

.candidate-wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 16px;
    border-top: 1px solid #eef2f8;
    flex-shrink: 0;
}

.candidate-wizard-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #c8d4e6;
    transition: width 0.2s ease, background 0.2s ease;
}

.candidate-wizard-dot.is-active {
    width: 22px;
    background: var(--navy);
}

@media (max-width: 720px) {
    .apply-split {
        grid-template-columns: 1fr;
    }

    .apply-sidebar {
        padding: 20px 18px;
        min-height: auto;
    }

    .candidate-slide-visual {
        margin-top: 44px;
        min-height: 200px;
        margin-left: 14px;
        margin-right: 14px;
    }

    .candidate-slide-actions {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.apply-form--profile .apply-form-grid {
    display: grid;
    gap: 12px 14px;
    margin-bottom: 4px;
}

.apply-form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apply-form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apply-field--full {
    grid-column: 1 / -1;
}

.apply-form--profile select,
.journey-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe4f5;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--text);
}

.apply-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.apply-submit--wide {
    flex: 1;
    min-width: 220px;
    background: #e8ecf2;
    color: var(--navy);
    border: 1px solid #d5dde8;
}

.apply-submit--wide:hover {
    background: #dde3ec;
}

@media (max-width: 720px) {
    .apply-form-grid--3 {
        grid-template-columns: 1fr;
    }

    .apply-form-grid--2 {
        grid-template-columns: 1fr;
    }
}

.projects-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.project-card-image {
    height: 180px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-body {
    padding: 18px 18px 20px;
}

.project-card-body h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    color: var(--navy);
}

.modal--journey {
    z-index: 210;
}

.modal-dialog--journey {
    width: min(760px, 100%);
    max-height: 92vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal--journey .modal-close {
    z-index: 3;
    top: 10px;
    right: 10px;
}

.journey-modal-head {
    padding: 18px 20px 8px;
    border-bottom: 1px solid #eef2f8;
}

.journey-modal-title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: var(--navy);
}

.journey-modal-sub {
    margin: 0 0 12px;
}

.journey-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.journey-stepper-item {
    flex: 1;
    min-width: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 10px;
    background: #f4f7fc;
    font-size: 0.68rem;
    font-weight: 600;
    color: #6b7a90;
    text-align: center;
    line-height: 1.25;
}

.journey-stepper-item.is-active {
    background: #e3eefc;
    color: var(--navy);
    box-shadow: 0 0 0 1px rgba(0, 31, 63, 0.12);
}

.journey-stepper-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c8d4e6;
    color: #fff;
    font-size: 0.75rem;
}

.journey-stepper-item.is-active .journey-stepper-num {
    background: var(--navy);
}

.journey-stepper-label {
    display: block;
}

.journey-panels {
    padding: 16px 20px 8px;
    overflow-y: auto;
    max-height: min(52vh, 420px);
}

.journey-panel {
    display: none;
}

.journey-panel.is-active {
    display: block;
}

.journey-panel-title {
    margin: 0 0 4px;
    font-size: 1.02rem;
    color: var(--navy);
}

.journey-panel-desc {
    margin: 0 0 14px;
}

.journey-form .apply-field {
    margin-bottom: 12px;
}

.journey-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

@media (max-width: 560px) {
    .journey-grid-2 {
        grid-template-columns: 1fr;
    }
}

.journey-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    font-size: 0.88rem;
    cursor: pointer;
}

.journey-check--required {
    font-weight: 600;
}

.journey-modal-aside.compact {
    padding: 8px 20px;
    border-top: 1px solid #eef2f8;
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.journey-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 18px;
    border-top: 1px solid #eef2f8;
    flex-wrap: wrap;
}

.journey-actions-spacer {
    flex: 1;
}

.journey-submit {
    min-width: 200px;
    background: #e8ecf2;
    color: var(--navy);
    border: 1px solid #d5dde8;
}

.journey-submit:hover {
    background: #dde3ec;
}

.swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    opacity: 1 !important;
    background: #c8d4e6 !important;
}

.swiper-pagination-bullet-active {
    background: var(--navy) !important;
    box-shadow: 0 0 0 3px rgba(0, 31, 63, 0.12);
}

.success-grid {
    display: grid;
    gap: 18px;
}

.success-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.success-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (max-width: 900px) {
    .success-row-3,
    .success-row-2 {
        grid-template-columns: 1fr;
    }
}

.story-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--navy);
}

.story-card .thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.story-card.wide .thumb {
    height: 220px;
}

.story-card .thumb img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Watermark on success story photos (privacy + branding) */
.story-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        125deg,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 22px,
        rgba(255, 255, 255, 0.07) 22px,
        rgba(255, 255, 255, 0.07) 44px
    );
}

.story-thumb-watermark {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    pointer-events: none;
}

.story-thumb-watermark-inner {
    display: block;
    max-width: 94%;
    transform: rotate(-14deg);
    font-size: clamp(0.5rem, 2vw, 0.75rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.5),
        0 1px 4px rgba(0, 0, 0, 0.45);
    word-break: break-word;
}

.story-hero-thumb {
    position: relative;
}

.story-hero-thumb > img {
    position: relative;
    z-index: 0;
}

.story-hero-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: repeating-linear-gradient(
        125deg,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 26px,
        rgba(255, 255, 255, 0.08) 26px,
        rgba(255, 255, 255, 0.08) 52px
    );
}

.story-hero-thumb .story-thumb-watermark--hero .story-thumb-watermark-inner {
    font-size: clamp(0.65rem, 2.4vw, 0.95rem);
    color: rgba(255, 255, 255, 0.5);
}

.story-body {
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(45, 91, 255, 0.35) 40%, var(--navy));
    color: var(--white);
}

.story-body h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.story-body p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.stories-cta {
    text-align: center;
    margin-top: 28px;
}

.team-card,
.testimonial-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #e3e9f5;
    background: var(--white);
    box-shadow: var(--shadow);
}

.team-photo {
    height: 240px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-meta {
    padding: 16px;
}

.team-meta strong {
    display: block;
    color: var(--navy);
}

.team-meta span {
    color: var(--muted);
    font-size: 0.9rem;
}

#team .swiper {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}

.testimonial-card {
    padding: 22px;
}

.testimonial-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.process-step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid #e7ecf5;
    box-shadow: var(--shadow);
}

.process-step strong {
    color: var(--blue);
    font-size: 0.85rem;
}

.process-step h4 {
    margin: 6px 0 4px;
    color: var(--navy);
}

.partners {
    text-align: center;
}

.partners .section-kicker {
    display: block;
    width: 100%;
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.partner-badge {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(0, 31, 63, 0.08);
    background: var(--white);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Partners: infinite auto-scroll marquee */
.partners-marquee {
    --partners-marquee-sec: 40s;
    margin-top: 8px;
    position: relative;
}

.partners-marquee-mask {
    display: flex;
    justify-content: center;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    width: max-content;
    padding: 8px 0 14px;
    animation: partners-marquee-x var(--partners-marquee-sec) linear infinite;
}

.partners-marquee:hover .partners-marquee-track {
    animation-play-state: paused;
}

@keyframes partners-marquee-x {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.partner-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-marquee-logo {
    display: block;
    height: clamp(44px, 7vw, 64px);
    width: auto;
    max-width: min(220px, 38vw);
    object-fit: contain;
    filter: grayscale(1) contrast(0.95) opacity(0.88);
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.partner-marquee-item:hover .partner-marquee-logo {
    filter: grayscale(0) contrast(1) opacity(1);
}

.partner-marquee-fallback.partner-badge {
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee-mask {
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }

    .partners-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        max-width: 100%;
        margin-inline: auto;
    }
}

.cta-panel {
    border-radius: calc(var(--radius) + 4px);
    padding: 48px;
    background: linear-gradient(120deg, var(--navy), #123a7a);
    color: var(--white);
    text-align: center;
}

.cta-panel h2 {
    margin: 0 0 10px;
}

.cta-panel p {
    margin: 0 0 22px;
    opacity: 0.92;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

@media (max-width: 960px) {
    .contact-split {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.input,
textarea.input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d5deef;
    padding: 10px 4px;
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
}

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

.label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 720px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

.info-block {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon-square {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy);
    color: var(--white);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.9rem;
}

.divider {
    height: 1px;
    background: #e3e9f5;
    margin: 18px 0;
}

.flash {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #e8fff1;
    color: #0b5c2e;
    border: 1px solid #b8f5cb;
}

.flash.error {
    background: #fff0f0;
    color: #8a1f1f;
    border-color: #ffc9c9;
}

.site-footer {
    background: var(--white);
    border-top: 1px solid #e7ecf5;
    margin-top: 48px;
}

.footer-top {
    padding: 40px 0 24px;
}

.footer-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .footer-cards {
        grid-template-columns: 1fr;
    }
}

.footer-mini-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: #f3f6fb;
    border: 1px solid #e7ecf5;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

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

@media (max-width: 560px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

.footer-columns h4 {
    margin: 0 0 10px;
    color: var(--navy);
}

.footer-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-columns li {
    margin-bottom: 8px;
}

.footer-columns a {
    color: var(--muted);
}

.footer-columns a:hover {
    color: var(--blue);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid #e7ecf5;
    padding: 16px 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.socials {
    display: flex;
    gap: 8px;
}

.social {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.about-page section {
    margin-bottom: 32px;
}

.about-body p,
.about-body ul {
    margin: 0 0 12px;
}

.about-body ul {
    padding-left: 1.2rem;
}

.about-page h2 {
    color: var(--navy);
}

.blog-hero {
    border-radius: calc(var(--radius) + 6px);
    min-height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 36px;
}

.blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 31, 63, 0.88), rgba(0, 31, 63, 0.35));
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 48px;
    max-width: 640px;
}

.blog-grid-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .blog-grid-featured {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    border-radius: var(--radius);
    border: 1px solid #e3e9f5;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.blog-card.horizontal {
    display: grid;
    grid-template-columns: 140px 1fr;
}

.blog-thumb {
    height: 200px;
    overflow: hidden;
}

.blog-thumb.sm {
    height: 100%;
    min-height: 120px;
}

.blog-card-body {
    padding: 16px;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.admin-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-nav a {
    padding: 8px 12px;
    border-radius: 10px;
    background: #eef2fb;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf1f8;
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

.admin-table th {
    background: #f3f6fb;
    color: var(--navy);
}

.admin-dl {
    display: grid;
    grid-template-columns: minmax(0, 200px) 1fr;
    gap: 8px 16px;
    max-width: 720px;
    background: var(--white);
    padding: 16px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-dl dt {
    margin: 0;
    font-weight: 600;
    color: #5a6b82;
    font-size: 0.85rem;
}

.admin-dl dd {
    margin: 0;
    font-size: 0.92rem;
}

.admin-form {
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.admin-form label {
    display: grid;
    gap: 4px;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d5deef;
    font-family: inherit;
}
