/* /solutions/* — sizes are the Figma 1680px artboard scaled by 0.75 to fit the site's 1170px container. */
.sol-page {
    --sol-orange: #ff4721;
    --sol-orange-dark: #e85d3a;
    --sol-navy: #0d2938;
    --sol-cream: #fff1e7;
    --sol-gray: #66727b;
    --sol-line: #c4c4c4;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: var(--sol-navy);
    letter-spacing: -0.015em;
    overflow: hidden;
}
.sol-page *, .sol-page *::before, .sol-page *::after { box-sizing: border-box; }
.sol-page h1, .sol-page h2, .sol-page h3, .sol-page p, .sol-page ul { margin: 0; padding: 0; }
.sol-page img { max-width: 100%; }

.sol-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
.sol-label {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--sol-orange);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.sol-title {
    font-size: 36px;
    line-height: 54px;
    font-weight: 700;
    color: var(--sol-navy);
    margin-bottom: 10px;
}
.sol-lead {
    font-size: 22px;
    line-height: 30px;
    color: var(--sol-navy);
}
.sol-card-title {
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    color: #000;
}
.sol-card-text {
    font-size: 15px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.8);
}

.sol-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 235px;
    height: 55px;
    padding: 0 30px;
    border-radius: 15px;
    background: var(--sol-orange);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s;
}
.sol-btn:hover, .sol-btn:focus { background: var(--sol-orange-dark); color: #fff; text-decoration: none; }

/* Sections */
.sol-section { padding: 52px 0; }
.sol-section--cream { background: var(--sol-cream); }
.sol-tabs-wrap + .sol-section { padding-top: 60px; }

/* Hero */
.sol-hero {
    min-height: 645px;
    padding: 90px 0 110px;
    background: #fff no-repeat right center / cover;
}
/* 51.2vw = cover height for the 1680x860 art; the cap stops wide screens from cropping the phone / cards,
   and the bottom/top anchor keeps them clear of the tabs overlapping the hero's last 77px. */
.sol-page--b2b .sol-hero {
    background-color: #eeeceb;
    background-image: url(../images/solutions/b2b-hero.webp);
    background-position: right bottom;
    background-size: auto clamp(100%, 51.2vw, 120%);
}
.sol-page--partner .sol-hero { background-image: url(../images/solutions/partner-hero.webp); }
.sol-page--giftcard .sol-hero {
    background-color: #efedee;
    background-image: url(../images/solutions/giftcard-hero.webp);
    background-position: right top;
    background-size: auto clamp(100%, 51.2vw, 115%);
}
.sol-hero__badge {
    display: inline-block;
    min-width: 218px;
    height: 44px;
    padding: 0 30px;
    border: 1px solid var(--sol-orange);
    border-radius: 22px;
    background: var(--sol-cream);
    color: var(--sol-orange);
    font-size: 22px;
    line-height: 42px;
    font-weight: 700;
    text-align: center;
}
.sol-hero__title {
    margin-top: 26px !important;
    font-size: 42px;
    line-height: 60px;
    font-weight: 700;
    color: var(--sol-navy);
    max-width: 640px;
}
.sol-page--giftcard .sol-hero__title { max-width: 900px; }
.sol-hero__accent { color: var(--sol-orange-dark); font-size: 1.16em; }
.sol-hero__desc {
    margin-top: 30px !important;
    max-width: 640px;
    font-size: 22px;
    line-height: 45px;
    color: var(--sol-navy);
}
.sol-page--partner .sol-hero__desc { max-width: 600px; }
.sol-page--giftcard .sol-hero__desc { max-width: 545px; }

/* Tabs */
.sol-tabs-wrap { position: relative; z-index: 2; margin-top: -77px; }
.sol-tabs {
    display: flex;
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--sol-line);
    border-radius: 15px;
}
.sol-tab {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 150px;
    padding: 0 23px;
    border: 2px solid transparent;
    border-radius: 15px;
    color: var(--sol-gray);
    text-decoration: none;
    transition: color .2s;
}
.sol-tab:hover, .sol-tab:focus { color: var(--sol-orange); text-decoration: none; }
.sol-tab.is-active { border-color: var(--sol-orange-dark); color: var(--sol-orange); }
.sol-tab__icon { flex: 0 0 75px; width: 75px; height: 75px; }
.sol-tab__label { font-size: 26px; line-height: 1.2; font-weight: 700; }

/* B2B — needs */
.sol-needs .sol-label { margin-bottom: 19px; }
.sol-needs__list { display: grid; gap: 31px; }
.sol-need { display: flex; align-items: stretch; gap: 21px; }
.sol-need__img { flex: 0 0 237px; width: 237px; height: 134px; object-fit: cover; border-radius: 15px; }
.sol-need__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 11px 23px;
    border-radius: 15px;
    background: var(--sol-cream);
}

/* Steps (purchase process, partner onboarding, why gift cards) */
.sol-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 19px;
    margin-top: 34px;
    text-align: center;
}
.sol-step__icon { display: block; width: 90px; height: 90px; margin: 0 auto 18px; }
.sol-step__icon--lg { width: 101px; height: 101px; margin-top: -6px; margin-bottom: 13px; }
.sol-step .sol-card-title { margin-bottom: 18px; }

/* B2B — delivery methods */
.sol-methods { padding: 35px 0 57px; }
.sol-methods__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 30px;
}
.sol-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 36px 32px 40px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background: #fff;
    text-align: center;
}
.sol-method__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: #ffe8dc;
}
.sol-method__icon img { width: 56px; height: 56px; }
/* Two-line slot so every card's description starts at the same height */
.sol-method .sol-card-title { display: flex; align-items: center; justify-content: center; min-height: 54px; text-wrap: balance; }
.sol-method .sol-card-text { text-wrap: pretty; }

/* Logo grids */
.sol-logos {
    display: grid;
    margin: 30px auto 0;
    column-gap: 63px;
}
.sol-logos img { display: block; width: 100%; height: auto; }
.sol-logos--5 { grid-template-columns: repeat(5, 1fr); max-width: 900px; row-gap: 48px; }
.sol-logos--6 { grid-template-columns: repeat(6, 1fr); max-width: 1092px; row-gap: 41px; margin-top: 41px; }

/* Partner — benefits */
.sol-benefits .sol-title { margin-bottom: 31px; }
.sol-benefits__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 45px;
}
.sol-benefit {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 177px;
    padding: 20px 23px;
    border-radius: 15px;
    background: var(--sol-cream);
}
.sol-benefit__icon { flex: 0 0 90px; width: 90px; height: 90px; }
.sol-benefit .sol-card-title { margin-bottom: 9px; }

/* Gift card — two card types */
.sol-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 98px;
    margin-top: 44px;
}
.sol-type { display: flex; flex-direction: column; }
.sol-type__img { display: block; width: 100%; height: auto; }
.sol-type__body {
    flex: 1;
    padding: 39px 23px 58px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background: #fff;
}
.sol-type__num { display: block; font-size: 22px; line-height: 27px; font-weight: 700; color: var(--sol-orange); }
.sol-type__title { margin-top: 9px !important; font-size: 36px; line-height: 54px; font-weight: 700; color: var(--sol-navy); }
.sol-type__subtitle { margin-top: 9px !important; font-size: 18px; line-height: 22px; font-weight: 700; color: rgba(0, 0, 0, 0.8); }
.sol-type__desc { margin-top: 11px !important; font-size: 18px; line-height: 22px; color: rgba(0, 0, 0, 0.8); }
.sol-type__features { margin-top: 30px !important; list-style: none; }
.sol-type__features li {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 27px;
    padding-left: 9px;
    font-size: 18px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.6);
}
.sol-type__features li + li { margin-top: 27px; }
.sol-type__features img { flex: 0 0 27px; width: 27px; height: 27px; }

/* Gift card — K-Market case */
.sol-case-wrap { padding-bottom: 28px; }
.sol-case {
    position: relative;
    margin-top: 28px;
    aspect-ratio: 1539 / 549;
    border-radius: 15px;
    background: var(--sol-cream);
    overflow: hidden;
}
.sol-case__bg, .sol-case__logo, .sol-case__card { position: absolute; max-width: none !important; object-fit: cover; }
.sol-case__bg { left: -7.67%; top: -31.69%; width: 113.9%; height: 163.39%; }
.sol-case__logo { left: 1.17%; top: -10.2%; width: 29.95%; height: 55.92%; }
.sol-case__card { left: 54.94%; top: 31.57%; width: 37.04%; height: 73.41%; transform: rotate(-0.13deg); }
.sol-case__content { position: absolute; left: 3.44%; top: 28.23%; width: 51%; }
.sol-case__since { font-size: 26px; line-height: 54px; font-weight: 700; color: var(--sol-navy); }
.sol-case__branches {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin-top: 2px !important;
    font-size: 26px;
    line-height: 34px;
    font-weight: 700;
    color: var(--sol-navy);
}
.sol-case__branches img { flex: 0 0 43px; width: 43px; height: 43px; transform: scaleX(-1); }
.sol-case__branches em { font-style: normal; color: var(--sol-orange-dark); }
.sol-case__text { margin-top: 10px !important; padding-left: 22px; max-width: 535px; font-size: 22px; line-height: 30px; color: var(--sol-navy); }

/* CTA boxes */
.sol-cta-wrap { padding: 0 0 60px; }
.sol-cta {
    position: relative;
    border-radius: 15px;
    background: var(--sol-cream);
    overflow: hidden;
}
.sol-cta__content { position: relative; z-index: 1; }
.sol-cta__desc { font-size: 22px; line-height: 37px; color: rgba(0, 0, 0, 0.8); }

.sol-cta--b2b { min-height: 255px; padding: 30px 60px 26px; }
.sol-cta--b2b .sol-cta__content { max-width: 755px; }
.sol-cta--b2b .sol-label { margin-bottom: 12px; }
.sol-cta--b2b .sol-btn { margin-top: 13px; }
.sol-cta__boxes { position: absolute; right: 26px; top: -43px; width: 333px; height: 333px; }
.sol-cta__box { position: absolute; right: 302px; top: 109px; width: 158px; height: 158px; transform: rotate(0.77deg); }

.sol-cta--partner { min-height: 496px; padding: 115px 60px 116px; }
.sol-cta--partner .sol-cta__content { max-width: 735px; }
.sol-cta--partner .sol-cta__desc { max-width: 590px; margin-top: 12px !important; }
.sol-cta--partner .sol-btn { margin-top: 18px; min-width: 334px; }
.sol-cta__phone { position: absolute; left: calc(50% + 33px); top: -52px; width: 760px; height: auto; max-width: none !important; }

.sol-cta--giftcard {
    padding: 46px 30px 39px;
    background: #2a2a2a url(../images/solutions/giftcard-signup-bg.webp) no-repeat center / cover;
    text-align: center;
}
.sol-cta--giftcard .sol-title, .sol-cta--giftcard .sol-cta__desc { color: #fff; margin-bottom: 0; }
.sol-cta--giftcard .sol-btn { margin-top: 18px; }

/* ≤1199: the site container is 960px */
@media (max-width: 1199px) {
    .sol-hero__title { font-size: 38px; line-height: 54px; }
    .sol-tab__label { font-size: 22px; }
    .sol-types { gap: 40px; }
    .sol-methods__list { gap: 30px; }
    .sol-method { padding: 32px 22px 36px; }
    .sol-cta__box { display: none; }
    .sol-cta--b2b .sol-cta__content { max-width: 560px; }
    .sol-cta__phone { left: calc(50% + 80px); width: 620px; }

    .sol-case { aspect-ratio: auto; padding: 30px; }
    .sol-case__bg { left: 0; top: 0; width: 100%; height: 100%; opacity: .25; }
    .sol-case__logo { position: relative; left: auto; top: auto; display: block; width: 230px; height: auto; margin: -20px 0 0 -10px; }
    .sol-case__content { position: relative; left: auto; top: auto; width: auto; }
    .sol-case__card { position: relative; left: auto; top: auto; display: block; width: 100%; max-width: 480px !important; height: auto; margin: 20px auto 0; }
}

/* ≤991: tablets */
@media (max-width: 991px) {
    .sol-label, .sol-lead, .sol-cta__desc, .sol-case__text { font-size: 18px; line-height: 27px; }
    .sol-title, .sol-type__title { font-size: 28px; line-height: 40px; }
    .sol-btn { font-size: 18px; height: 50px; }

    .sol-hero { position: relative; min-height: 0; padding: 60px 0 110px; }
    .sol-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .75) 60%, rgba(255, 255, 255, .2) 100%);
    }
    .sol-hero .sol-container { position: relative; }
    .sol-hero__badge { font-size: 18px; height: 38px; line-height: 36px; }
    .sol-hero__title { font-size: 32px; line-height: 44px; }
    .sol-hero__desc { font-size: 18px; line-height: 32px; margin-top: 20px !important; }

    .sol-tab { min-height: 110px; gap: 12px; padding: 0 14px; }
    .sol-tab__icon { flex-basis: 50px; width: 50px; height: 50px; }
    .sol-tab__label { font-size: 17px; }

    .sol-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .sol-methods__list, .sol-benefits__list, .sol-types { grid-template-columns: 1fr; gap: 24px; }
    .sol-method { padding: 30px; }
    .sol-method .sol-card-title { min-height: 0; }
    .sol-logos { column-gap: 24px; row-gap: 24px; }
    .sol-logos--5, .sol-logos--6 { grid-template-columns: repeat(4, 1fr); }
    .sol-need__img { flex-basis: 180px; width: 180px; height: auto; }

    .sol-case__since, .sol-case__branches { font-size: 22px; line-height: 40px; }

    .sol-cta--b2b, .sol-cta--partner { min-height: 0; padding: 36px 30px; }
    .sol-cta--b2b .sol-cta__content, .sol-cta--partner .sol-cta__content { max-width: none; }
    .sol-cta__boxes, .sol-cta__phone { display: none; }
}

/* ≤767: phones */
@media (max-width: 767px) {
    .sol-section, .sol-methods { padding: 36px 0; }
    .sol-tabs-wrap + .sol-section { padding-top: 40px; }
    .sol-label, .sol-lead, .sol-cta__desc, .sol-case__text { font-size: 16px; line-height: 24px; }
    .sol-title, .sol-type__title { font-size: 24px; line-height: 34px; }
    .sol-btn { width: 100%; max-width: 334px; min-width: 0; font-size: 16px; }

    .sol-hero { padding: 36px 0 70px; }
    .sol-hero__badge { min-width: 0; padding: 0 20px; font-size: 15px; }
    .sol-hero__title { margin-top: 18px !important; font-size: 26px; line-height: 36px; }
    .sol-hero__desc { font-size: 16px; line-height: 27px; }

    .sol-tabs-wrap { margin-top: -40px; }
    .sol-tab { flex-direction: column; justify-content: center; gap: 8px; min-height: 0; padding: 12px 6px; text-align: center; }
    .sol-tab__icon { flex-basis: auto; width: 40px; height: 40px; }
    .sol-tab__label { font-size: 13px; }

    .sol-need { flex-direction: column; gap: 12px; }
    .sol-need__img { flex-basis: auto; width: 100%; height: auto; }
    .sol-steps { column-gap: 12px; }
    .sol-step__icon, .sol-step__icon--lg { width: 72px; height: 72px; margin: 0 auto 12px; }
    .sol-step .sol-card-title { margin-bottom: 8px; }
    .sol-benefit { min-height: 0; padding: 18px; }
    .sol-benefit__icon { flex-basis: 64px; width: 64px; height: 64px; }
    .sol-logos--5, .sol-logos--6 { grid-template-columns: repeat(3, 1fr); column-gap: 12px; row-gap: 12px; }

    .sol-type__body { padding: 24px 18px 30px; }
    .sol-type__subtitle, .sol-type__desc, .sol-type__features li { font-size: 16px; }
    .sol-type__features li + li { margin-top: 16px; }

    .sol-case { padding: 20px; }
    .sol-case__logo { width: 170px; }
    .sol-case__since, .sol-case__branches { font-size: 18px; line-height: 30px; }
    .sol-case__branches img { flex-basis: 32px; width: 32px; height: 32px; }
    .sol-case__text { padding-left: 0; }

    .sol-cta--b2b, .sol-cta--partner, .sol-cta--giftcard { padding: 28px 20px; }
}
