/* =========================================================
   AFRICGUIDE — WHY TRAVEL WITH US
   Step 1: Hero section only
   Image: https://res.cloudinary.com/l4sunhik/image/upload/v1793603401/Africa-Travel-Panorama.png
   ========================================================= */

.why-travel-page {
    background: #ffffff;
}

.why-travel-hero {
    position: relative;
    min-height: 520px;
    margin-top: 70px;
    overflow: hidden;
    background: #fffaf5;
    isolation: isolate;
}

.why-travel-hero_background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("https://res.cloudinary.com/l4sunhik/image/upload/v1793603401/Africa-Travel-Panorama.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Very light left wash so the copy stays easy to read without hiding the map. */
.why-travel-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 251, 246, 0.98) 0%,
        rgba(255, 251, 246, 0.90) 31%,
        rgba(255, 251, 246, 0.54) 47%,
        rgba(255, 251, 246, 0.10) 62%,
        rgba(255, 251, 246, 0.00) 76%
    );
}

.why-travel-hero_inner {
    width: 100%;
    max-width: 1300px;
    min-height: 520px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
}

.why-travel-hero_copy {
    width: min(620px, 52%);
    padding: 52px 0;
}

.why-travel-hero_eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #f5650c;
}

.why-travel-hero_eyebrow::before {
    content: "";
    width: 46px;
    height: 2px;
    background: #f5650c;
}

.why-travel-hero h1 {
    margin: 0 0 22px;
    font-family: "Playfair", serif;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.01;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #10233c;
}

.why-travel-hero_lead {
    max-width: 590px;
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #526174;
}

.why-travel-hero_points {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 28px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #10233c;
}

.why-travel-hero_points span {
    position: relative;
    padding: 0 22px;
}

.why-travel-hero_points span:first-child {
    padding-left: 0;
}

.why-travel-hero_points span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 22px;
    background: rgba(245, 101, 12, 0.55);
    transform: translateY(-50%);
}

/* No CTA button in this hero by design. */

@media (max-width: 980px) {
    .why-travel-hero,
    .why-travel-hero_inner {
        min-height: 490px;
    }

    .why-travel-hero_background {
        background-position: 58% center;
    }

    .why-travel-hero_copy {
        width: 58%;
    }

    .why-travel-hero h1 {
        font-size: clamp(44px, 6vw, 60px);
    }
}

@media (max-width: 760px) {
    .why-travel-hero {
        min-height: 650px;
    }

    .why-travel-hero_background {
        background-position: 68% top;
    }

    .why-travel-hero::after {
        background: linear-gradient(
            180deg,
            rgba(255, 251, 246, 0.28) 0%,
            rgba(255, 251, 246, 0.54) 38%,
            rgba(255, 251, 246, 0.96) 65%,
            rgba(255, 251, 246, 1) 100%
        );
    }

    .why-travel-hero_inner {
        min-height: 650px;
        padding: 0 20px;
        align-items: flex-end;
    }

    .why-travel-hero_copy {
        width: 100%;
        padding: 250px 0 42px;
    }

    .why-travel-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .why-travel-hero_lead {
        font-size: 15px;
    }

    .why-travel-hero_points {
        gap: 10px 0;
    }
}

@media (max-width: 520px) {
    .why-travel-hero_eyebrow {
        font-size: 10px;
        letter-spacing: 0.17em;
    }

    .why-travel-hero_eyebrow::before {
        width: 32px;
    }

    .why-travel-hero_points {
        display: grid;
        gap: 8px;
    }

    .why-travel-hero_points span,
    .why-travel-hero_points span:first-child {
        padding: 0;
    }

    .why-travel-hero_points span + span::before {
        display: none;
    }
}


.why-choose{background:#fff;padding:84px 0 96px}.why-choose_inner{width:100%;max-width:1300px;margin:0 auto;padding:0 30px;box-sizing:border-box}.why-choose_heading{max-width:790px;margin:0 auto 56px;text-align:center}.why-choose_eyebrow{display:inline-flex;align-items:center;gap:12px;margin:0 0 13px;font:700 11px/1 "Inter",sans-serif;letter-spacing:.20em;text-transform:uppercase;color:#f5650c}.why-choose_eyebrow:before,.why-choose_eyebrow:after{content:"";width:36px;height:1px;background:#f5650c}.why-choose_heading h2{margin:0 0 14px;font-family:"Playfair",serif;font-size:clamp(38px,4vw,56px);line-height:1.05;letter-spacing:-.025em;color:#10233c}.why-choose_heading>p:last-child{max-width:670px;margin:0 auto;font:16px/1.65 "Inter",sans-serif;color:#687487}.why-choose_layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:64px;align-items:start}.why-choose_sidebar{position:sticky;top:105px;padding-top:6px}.why-choose_sidebar-title{margin:0 0 17px;color:#9a765c;text-transform:uppercase;letter-spacing:.18em;font:700 9px/1.4 "Inter",sans-serif}.why-choose_nav{border-left:1px solid #e7ddd2}.why-choose_nav a{position:relative;display:grid;grid-template-columns:32px 1fr;gap:9px;align-items:baseline;padding:12px 0 12px 18px;color:#566477;text-decoration:none;font:500 13px/1.4 "Inter",sans-serif}.why-choose_nav a:before{content:"";position:absolute;left:-2px;top:10px;width:3px;height:calc(100% - 20px);background:transparent}.why-choose_nav a span{color:#b2a497;font-size:10px;font-weight:700}.why-choose_nav a:hover,.why-choose_nav a.active{color:#10233c}.why-choose_nav a.active:before{background:#f5650c}.why-choose_nav a.active span{color:#f5650c}.why-choose_section{scroll-margin-top:110px;padding:0 0 54px}.why-choose_section+.why-choose_section{border-top:1px solid #f0e9e1;padding-top:38px}.why-choose_section-heading{display:grid;grid-template-columns:45px auto 1fr;gap:12px;align-items:center;margin-bottom:18px}.why-choose_section-heading:after{content:"";height:1px;margin-left:8px;background:linear-gradient(90deg,rgba(245,101,12,.55),#eadfd4)}.why-choose_section-number{color:#f5650c;font-family:"Playfair",serif;font-size:18px;font-weight:600}.why-choose_section h3{margin:0;color:#10233c;font-family:"Playfair",serif;font-size:clamp(31px,3vw,43px);line-height:1.05;letter-spacing:-.02em}.why-choose_section>p{max-width:860px;margin:0 0 0 57px;color:#59697c;font:400 15px/1.75 "Inter",sans-serif}@media(max-width:900px){.why-choose_inner{padding-left:20px;padding-right:20px}.why-choose_layout{grid-template-columns:1fr;gap:38px}.why-choose_sidebar{position:relative;top:auto;overflow-x:auto;padding:0 0 8px}.why-choose_sidebar-title{display:none}.why-choose_nav{display:flex;min-width:max-content;gap:6px;border-left:0;border-bottom:1px solid #eadfd4}.why-choose_nav a{display:block;padding:10px 12px 12px;white-space:nowrap}.why-choose_nav a span{margin-right:5px}.why-choose_nav a:before{left:10px;right:10px;top:auto;bottom:-1px;width:auto;height:2px}}@media(max-width:620px){.why-choose{padding:62px 0 72px}.why-choose_heading{margin-bottom:40px}.why-choose_section-heading{grid-template-columns:38px auto;gap:8px}.why-choose_section-heading:after{grid-column:1/-1;margin:2px 0 0}.why-choose_section h3{font-size:31px}.why-choose_section>p{margin-left:46px;font-size:14px;line-height:1.7}}

/* =========================================================
   USER REFINEMENT
   - Smaller left-side tab typography
   - Smaller tab rows
   - Strong, clearly visible selected-tab triangle
   ========================================================= */

.why-choose_shell {
    grid-template-columns: 300px minmax(0, 1fr);
}

.why-choose_tab {
    min-height: 102px;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    padding: 18px 22px;
    overflow: visible;
}

.why-choose_number {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.why-choose_tab-title {
    font-size: 18px;
    line-height: 1.2;
}

/* Selected item: visible white wedge like the supplied Zimbabwe example. */
.why-choose_tab.is-active {
    z-index: 10;
}

.why-choose_tab.is-active::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: -18px;
    left: auto;
    bottom: auto;
    width: 0;
    height: 0;
    margin: 0;
    transform: translateY(-50%);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 18px solid #ffffff;
    border-right: 0;
    z-index: 30;
    filter: drop-shadow(1px 0 0 rgba(16, 35, 60, .18));
    pointer-events: none;
}

.why-choose_tabs {
    overflow: visible;
}

.why-choose_panels {
    overflow: hidden;
}

@media (max-width: 980px) and (min-width: 761px) {
    .why-choose_shell {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .why-choose_tab {
        min-height: 92px;
        grid-template-columns: 28px 1fr;
        padding: 16px 16px;
    }

    .why-choose_number {
        font-size: 12px;
    }

    .why-choose_tab-title {
        font-size: 16px;
    }

    .why-choose_tab.is-active::after {
        right: -15px;
        border-top-width: 15px;
        border-bottom-width: 15px;
        border-left-width: 15px;
    }
}

@media (max-width: 760px) {
    .why-choose_tab-title {
        font-size: 13px;
        line-height: 1.2;
    }

    .why-choose_number {
        font-size: 11px;
    }

    /* On mobile the selected pointer points downward into the content panel. */
    .why-choose_tab.is-active::after {
        display: block;
        top: auto;
        right: auto;
        left: 50%;
        bottom: -13px;
        transform: translateX(-50%);
        border-left: 13px solid transparent;
        border-right: 13px solid transparent;
        border-top: 13px solid #ffffff;
        border-bottom: 0;
        filter: drop-shadow(0 1px 0 rgba(16, 35, 60, .15));
    }
}

@media (max-width: 480px) {
    .why-choose_tab {
        min-height: 66px;
        padding: 12px 14px;
    }

    .why-choose_tab-title {
        font-size: 13px;
    }

    /* Keep the selector visible even on the smallest screens. */
    .why-choose_tab.is-active::after {
        display: block;
    }
}


/* =========================================================
   BALANCE REFINEMENT
   Match right panel height to the reduced left menu
   and reduce panel typography.
   ========================================================= */

.why-choose_shell {
    min-height: 408px;
}

.why-choose_panel {
    min-height: 408px;
    padding: 38px 52px;
}

.why-choose_panel-copy {
    width: min(545px, 62%);
}

.why-choose_panel h3 {
    margin-bottom: 18px;
    font-size: clamp(36px, 3.2vw, 48px);
    line-height: 1.03;
}

.why-choose_panel-copy > p:last-child {
    font-size: 15px;
    line-height: 1.62;
}

.why-choose_panel-label {
    margin-bottom: 12px;
    font-size: 10px;
}

@media (max-width: 980px) and (min-width: 761px) {
    .why-choose_shell,
    .why-choose_panel {
        min-height: 368px;
    }

    .why-choose_panel {
        padding: 32px 34px;
    }

    .why-choose_panel h3 {
        font-size: clamp(32px, 4vw, 42px);
    }

    .why-choose_panel-copy > p:last-child {
        font-size: 14px;
        line-height: 1.58;
    }
}

@media (max-width: 760px) {
    .why-choose_shell {
        min-height: 0;
    }

    .why-choose_panel {
        min-height: 470px;
    }

    .why-choose_panel h3 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .why-choose_panel-copy > p:last-child {
        font-size: 14px;
        line-height: 1.6;
    }
}


/* =========================================================
   STEP 3 — UNDERSTAND AFRICA BEFORE YOU BOOK AFRICA
   Image:
   /images/why-travel-with-us/Giraffes-Over-the-Savannah.png
   ========================================================= */

.understand-africa {
    background: #fffdf9;
    padding: 86px 0 92px;
    overflow: hidden;
}

.understand-africa_inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;
    min-height: 430px;
}

.understand-africa_visual {
    position: relative;
    height: 430px;
    overflow: visible;
}

.understand-africa_visual img {
    width: 112%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    transform: translateX(-8%);
    mix-blend-mode: multiply;
}

.understand-africa_content {
    position: relative;
    z-index: 2;
    max-width: 570px;
    padding: 30px 0 30px 42px;
}

.understand-africa_eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #f5650c;
}

.understand-africa_eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: #f5650c;
}

.understand-africa h2 {
    margin: 0 0 22px;
    font-family: "Playfair", serif;
    font-size: clamp(42px, 4.5vw, 60px);
    line-height: 1.02;
    letter-spacing: -.03em;
    color: #10233c;
}

.understand-africa_content > p:last-child {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.72;
    color: #4d5d70;
}

@media (max-width: 980px) {
    .understand-africa_inner {
        grid-template-columns: 48% 52%;
    }

    .understand-africa_visual {
        height: 380px;
    }

    .understand-africa_content {
        padding-left: 28px;
    }

    .understand-africa h2 {
        font-size: clamp(38px, 5vw, 52px);
    }
}

@media (max-width: 760px) {
    .understand-africa {
        padding: 60px 0 68px;
    }

    .understand-africa_inner {
        padding: 0 20px;
        display: block;
        min-height: 0;
    }

    .understand-africa_visual {
        height: 300px;
        margin-bottom: 30px;
    }

    .understand-africa_visual img {
        width: 120%;
        transform: translateX(-10%);
    }

    .understand-africa_content {
        max-width: none;
        padding: 0;
    }

    .understand-africa h2 {
        font-size: clamp(38px, 10vw, 50px);
    }

    .understand-africa_content > p:last-child {
        font-size: 15px;
        line-height: 1.65;
    }
}


/* =========================================================
   SECTION SPACING FIX
   Keep the "Understand Africa" section vertically consistent
   with the rest of the page.
   ========================================================= */

.why-choose {
    padding-bottom: 42px;
}

.understand-africa {
    padding-top: 42px;
}

@media (max-width: 760px) {
    .why-choose {
        padding-bottom: 32px;
    }

    .understand-africa {
        padding-top: 32px;
    }
}


/* =========================================================
   ALIGNMENT FIX
   - Align this section to the exact same 1300px / 30px grid
   - Remove the visual's left shift/oversizing
   - Reduce the gap between sections
   ========================================================= */

.why-choose {
    padding-bottom: 24px;
}

.understand-africa {
    padding-top: 24px;
}

.understand-africa_inner {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.understand-africa_visual {
    width: 100%;
    overflow: hidden;
}

.understand-africa_visual img {
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
    object-position: left center;
}

@media (max-width: 760px) {
    .why-choose {
        padding-bottom: 20px;
    }

    .understand-africa {
        padding-top: 20px;
    }

    .understand-africa_inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .understand-africa_visual img {
        width: 100%;
        transform: none;
    }
}


/* =========================================================
   SECTION 3 COPY REFINEMENT
   Smaller type + richer write-up
   ========================================================= */

.understand-africa h2 {
    font-size: clamp(36px, 3.6vw, 50px);
    line-height: 1.04;
    margin-bottom: 18px;
}

.understand-africa_content {
    max-width: 600px;
}

.understand-africa_body {
    max-width: 590px;
}

.understand-africa_body p {
    margin: 0 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.62;
    color: #4d5d70;
}

.understand-africa_body p:last-child {
    margin-bottom: 0;
}

.understand-africa_closing {
    font-weight: 700;
    color: #10233c !important;
}

@media (max-width: 980px) {
    .understand-africa h2 {
        font-size: clamp(34px, 4.3vw, 46px);
    }

    .understand-africa_body p {
        font-size: 13.5px;
        line-height: 1.58;
    }
}

@media (max-width: 760px) {
    .understand-africa h2 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .understand-africa_body p {
        font-size: 13px;
        line-height: 1.58;
    }
}


/* =========================================================
   FINAL CTA — START PLANNING
   Image:
   https://res.cloudinary.com/l4sunhik/image/upload/v1793603402/Bay-Paradise.png
   ========================================================= */

.why-travel-cta {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background:
        url("https://res.cloudinary.com/l4sunhik/image/upload/v1793603402/Bay-Paradise.png")
        center center / cover no-repeat;
    isolation: isolate;
}

.why-travel-cta_overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(6, 36, 55, .96) 0%,
            rgba(6, 36, 55, .88) 30%,
            rgba(6, 36, 55, .66) 48%,
            rgba(6, 36, 55, .24) 70%,
            rgba(6, 36, 55, .06) 100%
        );
}

.why-travel-cta_inner {
    width: 100%;
    max-width: 1300px;
    min-height: 360px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
}

.why-travel-cta_content {
    width: min(560px, 50%);
    padding: 54px 0;
    color: #ffffff;
}

.why-travel-cta_line {
    display: block;
    width: 42px;
    height: 2px;
    margin-bottom: 18px;
    background: #f5650c;
}

.why-travel-cta h2 {
    margin: 0 0 16px;
    font-family: "Playfair", serif;
    font-size: clamp(38px, 3.8vw, 52px);
    line-height: 1.02;
    letter-spacing: -.025em;
    color: #ffffff;
}

.why-travel-cta p {
    max-width: 520px;
    margin: 0 0 26px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .90);
}

.why-travel-cta_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: #f5650c;
    color: #ffffff;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
    box-shadow: 0 8px 20px rgba(245, 101, 12, .24);
}

.why-travel-cta_button:hover {
    background: #e95d08;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 101, 12, .32);
}

.why-travel-cta_button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .95);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .why-travel-cta {
        background-position: 62% center;
    }

    .why-travel-cta_content {
        width: 58%;
    }
}

@media (max-width: 760px) {
    .why-travel-cta {
        min-height: 420px;
        background-position: 66% center;
    }

    .why-travel-cta_overlay {
        background:
            linear-gradient(
                90deg,
                rgba(6, 36, 55, .96) 0%,
                rgba(6, 36, 55, .88) 56%,
                rgba(6, 36, 55, .52) 78%,
                rgba(6, 36, 55, .20) 100%
            );
    }

    .why-travel-cta_inner {
        min-height: 420px;
        padding: 0 20px;
    }

    .why-travel-cta_content {
        width: min(520px, 88%);
        padding: 44px 0;
    }

    .why-travel-cta h2 {
        font-size: clamp(34px, 9vw, 46px);
    }

    .why-travel-cta p {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .why-travel-cta {
        min-height: 440px;
        background-position: 72% center;
    }

    .why-travel-cta_content {
        width: 100%;
    }

    .why-travel-cta_button {
        min-height: 44px;
        padding: 0 20px;
        font-size: 12px;
    }
}


/* Final CTA — keep Bay Paradise visible with readable text */
.why-travel-cta {
    isolation: isolate;
}

.why-travel-cta_overlay {
    display: block;
}

.why-travel-cta_content {
    color: #ffffff;
}

.why-travel-cta h2 {
    color: #ffffff;
}

.why-travel-cta p {
    color: rgba(255, 255, 255, .90);
}

.why-travel-cta_button {
    background: #f5650c;
    color: #ffffff;
}

.why-travel-cta_button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .95);
}

/* Keep expanded editorial copy comfortably spaced */
.why-choose_section > p + p {
    margin-top: 15px;
}

/* HOW AFRICGUIDE HELPS YOU PLAN */
.why-plan-flow {
    position: relative;
    overflow: hidden;
    padding: 112px 0 118px;
    background:
        radial-gradient(circle at 86% 18%, rgba(245, 101, 12, .09), transparent 27%),
        #f7f2e9;
    color: #10233c;
}

.why-plan-flow_inner {
    width: min(1240px, calc(100% - 60px));
    margin: 0 auto;
}

.why-plan-flow_head {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 66px;
}

.why-plan-flow_eyebrow {
    margin: 0 0 16px;
    color: #f5650c;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.why-plan-flow_head h2 {
    margin: 0;
    color: #10233c;
    font-family: "Playfair", serif;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}

.why-plan-flow_intro {
    max-width: 470px;
    margin: 0 0 8px;
    color: #667487;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.why-plan-flow_stage {
    position: relative;
    min-height: 555px;
    padding-right: 31%;
}

.why-plan-flow_path {
    position: absolute;
    top: 74px;
    left: 0;
    right: 30%;
    height: 130px;
    pointer-events: none;
}

.why-plan-flow_line {
    position: absolute;
    top: 48px;
    left: 22px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, #e4a67d 0%, #e8c3aa 55%, #f5650c 100%);
    transform: rotate(-2.2deg);
    transform-origin: left center;
}

.why-plan-flow_line::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -4px;
    width: 9px;
    height: 9px;
    border-top: 1px solid #f5650c;
    border-right: 1px solid #f5650c;
    transform: rotate(45deg);
}

.why-plan-flow_dot {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 3px solid #f7f2e9;
    border-radius: 50%;
    background: #f5650c;
    box-shadow: 0 0 0 1px rgba(245, 101, 12, .24);
}

.why-plan-flow_dot-one { left: 2%; top: 43px; }
.why-plan-flow_dot-two { left: 33%; top: 35px; }
.why-plan-flow_dot-three { left: 64%; top: 27px; }
.why-plan-flow_dot-four { right: 1%; top: 19px; }

.why-plan-flow_steps {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding-top: 146px;
}

.why-plan-flow_step {
    min-height: 240px;
    padding-right: 12px;
}

.why-plan-flow_icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid #ead9c9;
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    color: #f5650c;
    font-size: 16px;
    box-shadow: 0 10px 28px rgba(44, 54, 68, .05);
}

.why-plan-flow_step h3 {
    margin: 0 0 12px;
    color: #10233c;
    font-family: "Playfair", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.1;
}

.why-plan-flow_step p {
    margin: 0;
    color: #68768a;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.75;
}

.why-plan-flow_step-final h3 {
    color: #f5650c;
}

.why-plan-flow_visual {
    position: absolute;
    top: 24px;
    right: 0;
    width: 27%;
    height: 455px;
    margin: 0;
    overflow: hidden;
    border-radius: 150px 150px 18px 18px;
    background: #d7d0c6;
    box-shadow: 0 28px 55px rgba(31, 42, 57, .14);
}

.why-plan-flow_visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.why-plan-flow_visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(8, 24, 41, .76) 0%,
        rgba(8, 24, 41, .12) 46%,
        rgba(8, 24, 41, 0) 72%
    );
}

.why-plan-flow_visual figcaption {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 26px;
    z-index: 2;
    color: #fff;
}

.why-plan-flow_visual figcaption span {
    display: block;
    margin-bottom: 7px;
    color: #ffc59e;
    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.why-plan-flow_visual figcaption strong {
    font-family: "Playfair", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
}

.why-plan-flow_link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(16, 35, 60, .25);
    color: #10233c;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease, border-color .2s ease;
}

.why-plan-flow_link span {
    color: #f5650c;
    transition: transform .2s ease;
}

.why-plan-flow_link:hover {
    color: #f5650c;
    border-color: #f5650c;
}

.why-plan-flow_link:hover span {
    transform: translateX(4px);
}

@media (max-width: 1040px) {
    .why-plan-flow_stage {
        padding-right: 0;
        padding-bottom: 420px;
    }

    .why-plan-flow_path {
        right: 0;
    }

    .why-plan-flow_visual {
        top: auto;
        bottom: 0;
        width: min(430px, 56%);
        height: 360px;
        border-radius: 120px 120px 18px 18px;
    }
}

@media (max-width: 760px) {
    .why-plan-flow {
        padding: 82px 0 88px;
    }

    .why-plan-flow_inner {
        width: min(100% - 40px, 1240px);
    }

    .why-plan-flow_head {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 46px;
    }

    .why-plan-flow_head h2 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .why-plan-flow_stage {
        min-height: 0;
        padding: 0;
    }

    .why-plan-flow_path {
        top: 20px;
        left: 23px;
        right: auto;
        width: 1px;
        height: 520px;
    }

    .why-plan-flow_line {
        top: 0;
        left: 0;
        right: auto;
        width: 1px;
        height: 100%;
        transform: none;
        background: linear-gradient(180deg, #e3a87f 0%, #e8c8b0 55%, #f5650c 100%);
    }

    .why-plan-flow_line::after {
        right: -4px;
        top: auto;
        bottom: 0;
        transform: rotate(135deg);
    }

    .why-plan-flow_dot {
        left: -6px !important;
    }

    .why-plan-flow_dot-one { top: 0; }
    .why-plan-flow_dot-two { top: 33%; }
    .why-plan-flow_dot-three { top: 66%; }
    .why-plan-flow_dot-four { top: calc(100% - 10px); }

    .why-plan-flow_steps {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 0 0 0 64px;
    }

    .why-plan-flow_step {
        min-height: 0;
    }

    .why-plan-flow_icon {
        margin-bottom: 16px;
    }

    .why-plan-flow_visual {
        position: relative;
        width: 100%;
        height: 380px;
        margin-top: 56px;
        border-radius: 110px 110px 18px 18px;
    }

    .why-plan-flow_link {
        margin-top: 34px;
    }
}

@media (max-width: 480px) {
    .why-plan-flow_inner {
        width: min(100% - 30px, 1240px);
    }

    .why-plan-flow_visual {
        height: 320px;
        border-radius: 90px 90px 16px 16px;
    }
}

/* EDITORIAL FINALE */
.why-editorial-finale {
    position: relative;
    overflow: hidden;
    background: #e8ddcf;
    color: #17202a;
}

.why-editorial-finale_inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    align-items: center;
    min-height: 500px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 54px max(5vw, 48px);
}

.why-editorial-finale_copy {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.why-editorial-finale_kicker-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.why-editorial-finale_kicker {
    color: #f26722;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .24em;
}

.why-editorial-finale_kicker-line {
    width: 92px;
    height: 1px;
    background: #f26722;
}

.why-editorial-finale_copy h2 {
    margin: 0;
    color: #17202a;
    font-family: "Playfair", serif;
    font-size: clamp(48px, 4.6vw, 74px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}

.why-editorial-finale_copy h2 em {
    color: #f26722;
    font-style: normal;
}

.why-editorial-finale_copy p {
    max-width: 520px;
    margin: 26px 0 0;
    color: #4e4a45;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.why-editorial-finale_gallery {
    position: relative;
    height: 390px;
    min-width: 0;
}

.why-editorial-finale_card {
    position: absolute;
    z-index: 2;
    overflow: hidden;
    margin: 0;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(54, 42, 31, .14);
}

.why-editorial-finale_card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.why-editorial-finale_card--one {
    left: 8%;
    top: 78px;
    width: 24%;
    height: 265px;
    transform: rotate(-7deg);
}

.why-editorial-finale_card--two {
    left: 35%;
    top: 8px;
    width: 30%;
    height: 340px;
}

.why-editorial-finale_card--three {
    right: 9%;
    top: 62px;
    width: 24%;
    height: 275px;
    transform: rotate(5deg);
}

.why-editorial-finale_curve {
    position: absolute;
    left: -12%;
    top: 48%;
    width: 122%;
    height: 160px;
    border-top: 3px solid #f26722;
    border-radius: 50%;
    transform: rotate(-7deg);
    opacity: .9;
}

@media (max-width: 1050px) {
    .why-editorial-finale_inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 58px 28px 48px;
    }

    .why-editorial-finale_copy {
        max-width: 720px;
    }

    .why-editorial-finale_gallery {
        height: 365px;
        margin-top: 34px;
    }

    .why-editorial-finale_card--one {
        left: 7%;
    }

    .why-editorial-finale_card--three {
        right: 7%;
    }
}

@media (max-width: 680px) {
    .why-editorial-finale_inner {
        padding: 48px 18px 38px;
    }

    .why-editorial-finale_kicker-row {
        gap: 14px;
        margin-bottom: 18px;
    }

    .why-editorial-finale_kicker-line {
        width: 56px;
    }

    .why-editorial-finale_copy h2 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .why-editorial-finale_copy p {
        margin-top: 20px;
        font-size: 15px;
    }

    .why-editorial-finale_gallery {
        height: 285px;
        margin-top: 28px;
    }

    .why-editorial-finale_card {
        border-radius: 16px;
    }

    .why-editorial-finale_card--one {
        left: 0;
        top: 58px;
        width: 31%;
        height: 190px;
    }

    .why-editorial-finale_card--two {
        left: 34%;
        top: 0;
        width: 34%;
        height: 240px;
    }

    .why-editorial-finale_card--three {
        right: 0;
        top: 48px;
        width: 29%;
        height: 195px;
    }

    .why-editorial-finale_curve {
        left: -20%;
        width: 140%;
        top: 52%;
        height: 110px;
        border-top-width: 2px;
    }
}
