/* NDI — nowe sekcje strony głównej, typografia TDS. */
.ndi-container {
    width: min(1320px, calc(100% - 64px));
    margin-inline: auto;
}

.ndi-section { padding: clamp(72px, 8vw, 112px) 0; }

.ndi-destinations,
.ndi-purposes { background: #f8f6f2; }

.ndi-offers { background: #fff; }

.ndi-kicker {
    margin: 0 0 16px;
    color: #b48b5e;
    font-family: var(--font-ui, sans-serif);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ndi-section-heading { margin-bottom: 36px; }

.ndi-section-heading h2,
.ndi-approach h2,
.ndi-contact-cta h2 {
    margin: 0;
    color: #1b2536;
    font-family: var(--font-heading, sans-serif);
    font-size: clamp(38px, 4.1vw, 62px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.ndi-section-heading > p:not(.ndi-kicker) {
    max-width: 680px;
    margin: 18px 0 0;
    color: #626c7a;
    font-family: var(--font-ui, sans-serif);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.6;
}

.ndi-section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.ndi-inline-link {
    color: #1b2536;
    font-family: var(--font-ui, sans-serif);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.ndi-inline-link:hover { color: #a87e52; }

.ndi-destinations__grid,
.ndi-offers__grid,
.ndi-purposes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ndi-destination {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 350px;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    padding: 34px;
    border-radius: 14px;
    background: #263b50;
    color: #fff;
    text-decoration: none;
}

.ndi-destination::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 30%, rgba(10, 22, 39, .84)),
        var(--ndi-destination-image, linear-gradient(140deg, #667f89, #192b41));
    background-size: cover;
    background-position: center;
    transition: transform .3s ease;
}

a.ndi-destination:hover::before { transform: scale(1.04); }

.ndi-destination--thailand::before {
    background: linear-gradient(145deg, #4c727b, #183d50 70%, #142539);
}

.ndi-destination--poland::before {
    background: linear-gradient(145deg, #887d72, #596775 65%, #1b283b);
}

.ndi-destination__caption {
    margin-bottom: 10px;
    font-family: var(--font-ui, sans-serif);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ndi-destination strong {
    font-family: var(--font-heading, sans-serif);
    font-size: clamp(30px, 2.8vw, 43px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.ndi-destination__arrow {
    position: absolute;
    right: 32px;
    bottom: 35px;
    font-size: 25px;
}

.ndi-offer {
    overflow: hidden;
    border: 1px solid #ebe7e2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(18, 30, 48, .05);
}

.ndi-offer__image {
    display: block;
    height: 245px;
    overflow: hidden;
    background: #eae6e0;
}

.ndi-offer__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.ndi-offer:hover .ndi-offer__image img { transform: scale(1.04); }

.ndi-offer__body { padding: 24px 26px 28px; }

.ndi-offer__eyebrow {
    color: #a77c50;
    font-family: var(--font-ui, sans-serif);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ndi-offer h3 {
    margin: 11px 0 18px;
    font-family: var(--font-heading, sans-serif);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.ndi-offer h3 a { color: #1b2536; text-decoration: none; }

.ndi-offer__price {
    margin: 0 0 19px;
    color: #1b2536;
    font-family: var(--font-heading, sans-serif);
    font-size: 21px;
    font-weight: 700;
}

.ndi-purposes__intro { max-width: 850px; }

.ndi-purpose {
    display: flex;
    min-height: 275px;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border: 1px solid #e5ded6;
    border-radius: 14px;
    background: #fff;
    color: #1b2536;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.ndi-purpose:hover {
    transform: translateY(-4px);
    background: #f0ebe4;
}

.ndi-purpose__number,
.ndi-purpose__link {
    color: #a67d53;
    font-family: var(--font-ui, sans-serif);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ndi-purpose strong {
    max-width: 280px;
    font-family: var(--font-heading, sans-serif);
    font-size: clamp(27px, 2.4vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.ndi-approach {
    padding: clamp(76px, 8vw, 112px) 0;
    background: #172235;
    color: #fff;
}

.ndi-approach h2,
.ndi-contact-cta h2 { font-size: clamp(39px, 4.6vw, 66px); }

.ndi-approach h2 { color: #fff; }

.ndi-approach__lead {
    max-width: 640px;
    margin: 22px 0 65px;
    color: #d0d3d9;
    font-family: var(--font-ui, sans-serif);
    font-size: 18px;
    line-height: 1.65;
}

.ndi-approach__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
}

.ndi-approach__steps > div {
    padding-top: 22px;
    border-top: 1px solid #647081;
}

.ndi-approach__steps span {
    color: #c49a6b;
    font-family: var(--font-ui, sans-serif);
    font-size: 13px;
    font-weight: 750;
}

.ndi-approach__steps h3 {
    margin: 14px 0 9px;
    color: #fff;
    font-family: var(--font-heading, sans-serif);
    font-size: 21px;
    font-weight: 700;
}

.ndi-approach__steps p {
    margin: 0;
    color: #cbd0d8;
    font-family: var(--font-ui, sans-serif);
    font-size: 15px;
    line-height: 1.6;
}

.ndi-contact-cta {
    padding: clamp(70px, 7vw, 95px) 0;
    background: #f1ede7;
}

.ndi-contact-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ndi-contact-cta__action { max-width: 350px; }

.ndi-contact-cta__action p {
    color: #586271;
    font-family: var(--font-ui, sans-serif);
    font-size: 18px;
    line-height: 1.6;
}

.ndi-contact-cta__action a {
    display: inline-block;
    margin-top: 12px;
    padding: 17px 22px;
    border-radius: 6px;
    background: #b58e63;
    color: #fff;
    font-family: var(--font-ui, sans-serif);
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
}

.ndi-contact-cta__action a:hover { background: #9c754b; }

@media (max-width: 900px) {
    .ndi-destinations__grid,
    .ndi-offers__grid,
    .ndi-purposes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ndi-approach__steps { gap: 20px; }
}

@media (max-width: 767px) {
    .ndi-container { width: calc(100% - 40px); }

    .ndi-section,
    .ndi-approach,
    .ndi-contact-cta { padding-block: 64px; }

    .ndi-section-heading { margin-bottom: 27px; }

    .ndi-section-heading h2,
    .ndi-approach h2,
    .ndi-contact-cta h2 {
        font-size: clamp(34px, 8.3vw, 46px);
        line-height: 1.09;
        letter-spacing: -.04em;
    }

    .ndi-section-heading > p:not(.ndi-kicker),
    .ndi-approach__lead,
    .ndi-contact-cta__action p {
        font-size: 16px;
        line-height: 1.6;
    }

    .ndi-destinations__grid,
    .ndi-offers__grid,
    .ndi-purposes__grid,
    .ndi-approach__steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ndi-destination { min-height: 230px; padding: 25px; }

    .ndi-destination strong { font-size: 32px; }

    .ndi-offer__image { height: 225px; }

    .ndi-offer__body { padding: 22px; }

    .ndi-purpose { min-height: 205px; padding: 25px; }

    .ndi-purpose strong { font-size: 30px; }

    .ndi-section-heading--row,
    .ndi-contact-cta__inner { display: block; }

    .ndi-section-heading--row .ndi-inline-link {
        display: inline-block;
        margin-top: 18px;
    }

    .ndi-approach__lead { margin-bottom: 36px; }

    .ndi-approach__steps > div { padding-top: 18px; }

    .ndi-contact-cta__action { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .ndi-destination::before,
    .ndi-offer__image img,
    .ndi-purpose { transition: none; }
}
