/* ==========================================================================
   exchange-program.css — Exchange Program page styles
   Figma node: 659:4745
   ========================================================================== */

.exchange-hero-title-em {
    font-style: italic;
    color: #f16522;
}

.exchange-section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

.exchange-section-label-line {
    width: 39px;
    height: 2px;
    background: #f16522;
    flex-shrink: 0;
}

.exchange-section-label-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.1967em;
    text-transform: uppercase;
    color: #f16522;
}

.exchange-section-label--compact .exchange-section-label-line {
    width: 32px;
}

.exchange-section-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: -0.0246em;
    color: #0d1b2a;
}

.exchange-section-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.exchange-section-text p {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(13, 27, 42, 0.6);
}

.exchange-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 34px;
    background: #f16522;
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.exchange-btn-primary:hover {
    background: #e25a1e;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   ABOUT  (node 668:4889)
   -------------------------------------------------------------------------- */

.exchange-about {
    padding: 0 160px;
    background: #ffffff;
}

.exchange-about-inner {
    display: grid;
    grid-template-columns: minmax(0, 782px) minmax(0, 763px);
    gap: 64px;
    align-items: center;
    width: min(1642px, 100%);
    margin: 0 auto;
    padding: 120px 0;
}

.exchange-about-media {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.exchange-about-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 27, 42, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.exchange-about-media img {
    display: block;
    width: 100%;
    height: 587px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   GUIDELINES  (node 669:4922)
   -------------------------------------------------------------------------- */

.exchange-guidelines {
    padding: 0 160px 1px;
    background: #f8f9fa;
}

.exchange-guidelines-inner {
    width: min(1608px, 100%);
    margin: 0 auto;
    padding: 120px 0;
}

.exchange-guidelines-board {
    display: grid;
    grid-template-columns: minmax(0, 782px) minmax(0, 763px);
    gap: 63px;
    align-items: start;
}

.exchange-guidelines-left .exchange-section-title {
    margin-bottom: 20px;
}

.exchange-guidelines-intro {
    margin: 0 0 32px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(13, 27, 42, 0.6);
}

.exchange-guidelines-media {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.exchange-guidelines-media::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3.69px;
    height: 100%;
    background: #f16522;
}

.exchange-guidelines-media img {
    display: block;
    width: 100%;
    height: 344px;
    object-fit: cover;
}

.exchange-guidelines-right p {
    margin: 0 0 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(13, 27, 42, 0.6);
}

.exchange-guidelines-columns {
    display: grid;
    grid-template-columns: minmax(0, 339px) minmax(0, 339px);
    gap: 84px;
    margin: 8px 0 32px;
}

.exchange-guidelines-list-heading {
    margin: 0 0 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #6e767f;
}

.exchange-guidelines-list {
    margin: 0;
    padding-left: 1.25em;
    list-style-type: disc;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #6e767f;
}

.exchange-guidelines-list li {
    margin-bottom: 4px;
}

.exchange-guidelines-closing {
    margin-bottom: 32px !important;
}

.exchange-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 510px;
    max-width: 100%;
    height: 54px;
    padding: 15px 34px;
    border: 2px solid #1c2b4a;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #1c2b4a;
    text-decoration: none;
    box-sizing: border-box;
}

.exchange-pdf-link span {
    white-space: nowrap;
}

.exchange-pdf-link-muted {
    font-weight: 400;
    color: #6b747d;
}

.exchange-pdf-link:hover {
    background: #1c2b4a;
    color: #ffffff;
}

.exchange-pdf-link:hover .exchange-pdf-link-muted {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   PARTNERS  (node 669:5074)
   -------------------------------------------------------------------------- */

.exchange-partners {
    padding: 120px 156px;
    background: #ffffff;
}

.exchange-partners-inner {
    width: min(1610px, 100%);
    margin: 0 auto;
}

.exchange-partners-header {
    margin-bottom: 15px;
}

.exchange-partners-title {
    margin: 0;
    max-width: 801px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 50.4px;
    color: #1c2b4a;
}

.exchange-partners-title-em {
    font-style: italic;
    color: #f16522;
}

.exchange-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.exchange-partner-card {
    display: flex;
    flex-direction: column;
    background: #f8f7f4;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    height: 100%;
}

.exchange-partner-card-img {
    overflow: hidden;
    flex-shrink: 0;
}

.exchange-partner-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.exchange-partner-card-body {
    padding: 16px 16px 24px;
}

.exchange-partner-card-body h3 {
    margin: 0 0 7px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    color: #1c2b4a;
}

.exchange-partner-card-body p {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5;
    color: #6b7280;
}

/* --------------------------------------------------------------------------
   ELIGIBILITY  (node 669:5166)
   -------------------------------------------------------------------------- */

.exchange-eligibility {
    padding: 0 160px 1px;
    background: #f8f9fa;
}

.exchange-eligibility-inner {
    width: min(1608px, 100%);
    margin: 0 auto;
    padding: 120px 0;
}

.exchange-eligibility-board {
    display: grid;
    grid-template-columns: minmax(0, 782px) minmax(0, 789px);
    gap: 36px;
    align-items: start;
}

.exchange-eligibility-inner .exchange-section-label {
    margin-bottom: 30px;
}

.exchange-eligibility-inner .exchange-section-title {
    margin-bottom: 20px;
}

.exchange-eligibility-intro {
    margin: 0 0 32px;
    width: 100%;
    max-width: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(13, 27, 42, 0.6);
}

.exchange-eligibility-media {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.exchange-eligibility-media::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: #f16522;
}

.exchange-eligibility-media img {
    display: block;
    width: 100%;
    height: 499px;
    object-fit: cover;
}

.exchange-eligibility-right {
    padding-top: 0;
}

.exchange-eligibility-lists {
    display: grid;
    grid-template-columns: minmax(0, 449px) minmax(0, 294px);
    gap: 46px;
    margin-bottom: 16px;
}

.exchange-eligibility-list-heading {
    margin: 0 0 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #6b747d;
}

.exchange-eligibility-list {
    margin: 0;
    padding-left: 1.25em;
    list-style-type: disc;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #6b747d;
}

.exchange-eligibility-list li {
    margin-bottom: 4px;
}

.exchange-eligibility-note {
    padding: 18px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
}

.exchange-eligibility-note-label {
    margin: 0 0 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f16522;
}

.exchange-eligibility-note-title {
    margin: 0 0 6px;
    padding-top: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 33px;
    color: #111827;
}

.exchange-eligibility-note-text {
    margin: 0;
    padding-top: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12.5px;
    line-height: 20.63px;
    color: #6b7280;
}

.exchange-eligibility-confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 18px;
    background: #f16522;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 18.75px;
    color: #ffffff;
    text-decoration: none;
}

.exchange-eligibility-confirm:hover {
    background: #e25a1e;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   APPLICATION DATES  (node 669:6511)
   -------------------------------------------------------------------------- */

.exchange-dates {
    padding: 0 156px;
    background: #ffffff;
}

.exchange-dates-inner {
    width: min(1608px, 100%);
    margin: 0 auto;
    padding: 80px 0;
}

.exchange-dates-box {
    padding: 15px 60px;
    min-height: 181px;
    background: #f9fafb;
    border: 2px solid #e9ebef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.exchange-dates-title {
    margin: 0 0 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.5;
    color: #1c2b4a;
}

.exchange-dates-box p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #1c2b4a;
}

.exchange-dates-box strong {
    font-weight: 500;
    color: #1c2b4a;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS  (node 669:5228)
   -------------------------------------------------------------------------- */

.exchange-testimonials {
    --exchange-testimonial-card-width: 343px;
    --exchange-testimonial-edge-inset: 54px;

    position: relative;
    padding: 120px 0 100px;
    background: #f9fafb;
    overflow: hidden;
}

.exchange-testimonials-inner {
    position: relative;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.exchange-testimonials-header {
    text-align: center;
    margin-bottom: 15px;
}

.exchange-testimonials-label-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0px;
}

.exchange-testimonials-label-line {
    width: 32px;
    height: 2px;
    background: #f16522;
}

.exchange-testimonials-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f16522;
}

.exchange-testimonials-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
    color: #1c2b4a;
}

.exchange-testimonials-carousel-wrap {
    position: relative;
    width: 100%;
}

.exchange-testimonials-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 138px;
    z-index: 2;
    pointer-events: none;
}

.exchange-testimonials-fade--left {
    left: 0;
    background: linear-gradient(90deg, #f9fafb 0%, rgba(249, 250, 251, 0) 100%);
}

.exchange-testimonials-fade--right {
    right: 0;
    background: linear-gradient(270deg, #f9fafb 0%, rgba(249, 250, 251, 0) 100%);
}

.exchange-testimonials-nav {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
    pointer-events: auto;
}

.exchange-testimonials-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.exchange-testimonials-nav--prev {
    background: #ffffff;
    color: #6b7280;
    box-shadow: 0 1px 4px rgba(28, 43, 74, 0.12);
}

.exchange-testimonials-nav--prev:hover:not(:disabled) {
    background: #f3f4f6;
}

.exchange-testimonials-nav--next {
    background: #f16522;
    color: #ffffff;
}

.exchange-testimonials-nav--next:hover:not(:disabled) {
    background: #e25a1e;
}

.exchange-testimonials-nav svg {
    display: block;
    flex-shrink: 0;
}

.exchange-testimonials-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 8px var(--exchange-testimonial-edge-inset);
    scroll-padding-inline: var(--exchange-testimonial-edge-inset);
}

.exchange-testimonials-track::-webkit-scrollbar {
    display: none;
}

.exchange-testimonial-card {
    flex: 0 0 343px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.exchange-testimonial-card-img {
    overflow: hidden;
    flex-shrink: 0;
}

.exchange-testimonial-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #edecea;
}

.exchange-testimonial-card-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px 16px 24px;
    flex: 1;
}

.exchange-testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.exchange-testimonial-meta h3 {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    color: #1c2b4a;
}

.exchange-testimonial-role {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5;
    color: #6b7280;
}

.exchange-testimonial-batch {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 1.5;
    color: #f16522;
}

.exchange-testimonial-card blockquote {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

/* --------------------------------------------------------------------------
   CTA  (node 669:6490)
   -------------------------------------------------------------------------- */

.exchange-cta {
    padding: 56px 156px;
    background: #1e7b74;
}

.exchange-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: min(1614px, 100%);
    margin: 0 auto;
}

.exchange-cta-title {
    margin: 0 0 8px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    color: #ffffff;
}

.exchange-cta-desc {
    margin: 0;
    max-width: 776px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24.5px;
    color: rgba(255, 255, 255, 0.6);
}

.exchange-cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.exchange-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 19.5px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.exchange-cta-btn--primary {
    background: #f16522;
    color: #ffffff;
}

.exchange-cta-btn--primary:hover {
    background: #e25a1e;
    color: #ffffff;
}

.exchange-cta-btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.7);
}

.exchange-cta-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1399px) {
    .exchange-about,
    .exchange-guidelines,
    .exchange-eligibility,
    .exchange-dates,
    .exchange-partners,
    .exchange-cta {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 1199px) {
    .exchange-about-inner,
    .exchange-guidelines-board,
    .exchange-eligibility-board {
        grid-template-columns: 1fr;
    }

    .exchange-partners {
        padding-top: 80px;
        padding-bottom: 80px;
    }

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

    .exchange-eligibility-lists,
    .exchange-guidelines-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .exchange-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991px) {
    .exchange-about-inner,
    .exchange-guidelines-inner,
    .exchange-eligibility-inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .exchange-about-media img {
        height: auto;
        min-height: 280px;
        max-height: 480px;
    }

    .exchange-guidelines-media img,
    .exchange-eligibility-media img {
        height: auto;
        min-height: 220px;
        max-height: 360px;
    }

    .exchange-partners {
        padding: 80px 24px;
    }

    .exchange-partners-header {
        margin-bottom: 40px;
    }

    .exchange-dates-inner {
        padding: 64px 0;
    }

    .exchange-testimonials {
        padding: 80px 0 72px;
    }

    .exchange-testimonials-inner {
        width: min(1280px, calc(100% - 32px));
    }

    .exchange-cta {
        padding: 48px 24px;
    }

    .exchange-section-label-text {
        letter-spacing: 0.12em;
    }

    .exchange-section-text p,
    .exchange-guidelines-intro,
    .exchange-guidelines-right p,
    .exchange-eligibility-intro {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .exchange-testimonials {
        --exchange-testimonial-edge-inset: 16px;
        padding: 64px 0 56px;
    }

    .exchange-about,
    .exchange-guidelines,
    .exchange-eligibility,
    .exchange-dates,
    .exchange-partners,
    .exchange-cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .exchange-about-inner,
    .exchange-guidelines-inner,
    .exchange-eligibility-inner {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .exchange-section-title,
    .exchange-partners-title,
    .exchange-testimonials-title,
    .exchange-cta-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .exchange-section-label {
        margin-bottom: 20px;
    }

    .exchange-section-label-text {
        font-size: 12px;
        letter-spacing: 0.08em;
    }

    .exchange-section-label-line {
        width: 28px;
    }

    .exchange-btn-primary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .exchange-pdf-link {
        width: 100%;
        height: auto;
        min-height: 54px;
        padding: 14px 20px;
    }

    .exchange-partners {
        padding: 64px 16px 72px;
    }

    .exchange-partners-grid {
        grid-template-columns: 1fr;
    }

    .exchange-partners-header {
        margin-bottom: 32px;
    }

    .exchange-dates-inner {
        padding: 48px 0;
    }

    .exchange-dates-box {
        padding: 20px 20px;
        min-height: 0;
    }

    .exchange-dates-title {
        font-size: 24px;
    }

    .exchange-dates-box p {
        font-size: 16px;
    }

    .exchange-eligibility-note-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .exchange-eligibility-list,
    .exchange-guidelines-list,
    .exchange-eligibility-list-heading,
    .exchange-guidelines-list-heading {
        font-size: 16px;
    }

    .exchange-cta {
        padding: 40px 16px;
    }

    .exchange-cta-title {
        line-height: 1.3;
    }

    .exchange-cta-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .exchange-cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .exchange-cta-btn {
        justify-content: center;
    }

    .exchange-testimonials-inner {
        width: calc(100% - 32px);
    }

    .exchange-testimonials-header {
        margin-bottom: 32px;
    }

    .exchange-testimonials-fade {
        width: 56px;
    }

    .exchange-testimonial-card {
        flex: 0 0 min(343px, calc(100vw - 32px));
    }

    .exchange-testimonials-nav {
        display: none;
    }
}

@media (max-width: 479px) {
    .exchange-testimonials-title,
    .exchange-section-title,
    .exchange-partners-title,
    .exchange-cta-title {
        font-size: 28px;
    }

    .exchange-dates-title {
        font-size: 22px;
    }
}
