/* =========================================================
   Home / Data size guide
   Palette: #03346B / pseudo gold / white
   ========================================================= */
.home-data-guide {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 9vw, 128px) 0;
    background:
        radial-gradient(circle at 8% 16%, rgba(201, 164, 93, .13), transparent 28%),
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 58%, #f4f7fb 100%);
}

.home-data-guide::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -210px;
    top: -150px;
    border: 1px solid rgba(3, 52, 107, .08);
    border-radius: 50%;
    box-shadow:
        0 0 0 52px rgba(3, 52, 107, .025),
        0 0 0 104px rgba(3, 52, 107, .018);
    pointer-events: none;
}

.home-data-guide__inner {
    position: relative;
    z-index: 1;
}

.home-data-guide__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: clamp(32px, 7vw, 94px);
    align-items: end;
    margin-bottom: clamp(38px, 5vw, 66px);
}

.home-data-guide__eyebrow,
.home-data-guide__result-kicker {
    margin: 0 0 13px;
    color: #b28a42;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .19em;
}

.home-data-guide__header h2 {
    margin: 0;
    color: #03346B;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.16;
    letter-spacing: -.035em;
}

.home-data-guide__intro {
    margin: 0 0 4px;
    color: #536579;
    font-size: 15px;
    line-height: 1.9;
}

.home-data-guide__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
    gap: clamp(24px, 3vw, 42px);
    align-items: stretch;
}

.home-data-guide__controls {
    overflow: hidden;
    border: 1px solid rgba(3, 52, 107, .10);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 60px rgba(9, 35, 66, .08);
}

.home-data-guide__step {
    padding: clamp(28px, 3.4vw, 42px);
}

.home-data-guide__step + .home-data-guide__step {
    border-top: 1px solid rgba(3, 52, 107, .08);
}

.home-data-guide__step-head {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 27px;
}

.home-data-guide__step-number {
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #03346B;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 7px 18px rgba(3, 52, 107, .18);
}

.home-data-guide__step-head > div {
    min-width: 0;
}

.home-data-guide__step-head > div > span {
    display: block;
    margin-bottom: 4px;
    color: #b28a42;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.home-data-guide__step-head h3 {
    margin: 0;
    color: #193651;
    font-size: 18px;
    line-height: 1.25;
}

.home-data-guide__days-output {
    margin-left: auto;
    color: #03346B;
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.home-data-guide__range-wrap {
    padding: 7px 2px 0;
}

.home-data-guide__range {
    --range-progress: 20.7%;
    width: 100%;
    height: 5px;
    margin: 0;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #03346B 0 var(--range-progress), #dfe6ee var(--range-progress) 100%);
    cursor: pointer;
}

.home-data-guide__range::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    appearance: none;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #c9a45d;
    box-shadow: 0 2px 0 1px #03346B, 0 5px 14px rgba(3, 52, 107, .2);
}

.home-data-guide__range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #c9a45d;
    box-shadow: 0 2px 0 1px #03346B, 0 5px 14px rgba(3, 52, 107, .2);
}

.home-data-guide__range:focus-visible {
    outline: 3px solid rgba(201, 164, 93, .35);
    outline-offset: 8px;
}

.home-data-guide__range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
    color: #8a98a7;
    font-size: 11px;
    font-weight: 700;
}

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

.home-data-guide__profile {
    position: relative;
    min-height: 128px;
    padding: 19px 18px 18px 43px;
    border: 1px solid rgba(3, 52, 107, .11);
    border-radius: 17px;
    background: #fff;
    color: #193651;
    text-align: left;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.home-data-guide__profile:hover {
    transform: translateY(-2px);
    border-color: rgba(3, 52, 107, .28);
    box-shadow: 0 10px 24px rgba(9, 35, 66, .08);
}

.home-data-guide__profile.is-active {
    border-color: rgba(201, 164, 93, .72);
    background: linear-gradient(145deg, rgba(201, 164, 93, .09), rgba(255, 255, 255, .98) 55%);
    box-shadow: inset 0 0 0 1px rgba(201, 164, 93, .22), 0 9px 24px rgba(9, 35, 66, .07);
}

.home-data-guide__profile-dot {
    position: absolute;
    left: 17px;
    top: 20px;
    width: 14px;
    height: 14px;
    border: 2px solid #aab7c3;
    border-radius: 50%;
    background: #fff;
}

.home-data-guide__profile.is-active .home-data-guide__profile-dot {
    border-color: #03346B;
    box-shadow: inset 0 0 0 3px #fff;
    background: #c9a45d;
}

.home-data-guide__profile strong,
.home-data-guide__profile small,
.home-data-guide__profile > span:last-child {
    display: block;
}

.home-data-guide__profile strong {
    margin-bottom: 2px;
    color: #03346B;
    font-size: 16px;
}

.home-data-guide__profile small {
    margin-bottom: 8px;
    color: #b28a42;
    font-size: 11px;
    font-weight: 800;
}

.home-data-guide__profile > span:last-child {
    color: #718093;
    font-size: 12px;
    line-height: 1.6;
}

.home-data-guide__country-field {
    position: relative;
    display: block;
}

.home-data-guide__country-field select {
    width: 100%;
    min-height: 56px;
    padding: 0 48px 0 18px;
    appearance: none;
    border: 1px solid rgba(3, 52, 107, .15);
    border-radius: 14px;
    background: #f8fafc;
    color: #18334f;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.home-data-guide__country-field select:focus {
    outline: 0;
    border-color: #c9a45d;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 164, 93, .14);
}

.home-data-guide__country-chevron {
    position: absolute;
    right: 18px;
    top: 50%;
    color: #03346B;
    font-size: 18px;
    transform: translateY(-56%);
    pointer-events: none;
}

.home-data-guide__result {
    position: sticky;
    top: 108px;
    align-self: start;
    padding: clamp(31px, 3.2vw, 46px);
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0, rgba(201, 164, 93, .20), transparent 30%),
        linear-gradient(145deg, #063f7c, #022b59 72%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(3, 52, 107, .22);
}

.home-data-guide__result::after {
    content: "";
    position: absolute;
    right: -78px;
    bottom: -78px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(255, 255, 255, .025), 0 0 0 64px rgba(255, 255, 255, .018);
    pointer-events: none;
}

.home-data-guide__result-kicker {
    color: #d8bd83;
}

.home-data-guide__result-label {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.home-data-guide__result-value {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding-bottom: 23px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.home-data-guide__result-value strong {
    font-size: clamp(58px, 6vw, 86px);
    line-height: .95;
    letter-spacing: -.055em;
    font-variant-numeric: tabular-nums;
}

.home-data-guide__result-value span {
    color: #d8bd83;
    font-size: 18px;
    font-weight: 800;
}

.home-data-guide__result-note {
    /* min-height: 78px; */
    margin: 23px 0;
    color: rgba(255, 255, 255, .90);
    font-size: 14px;
    line-height: 1.8;
}

.home-data-guide__estimate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.home-data-guide__estimate > div {
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
}

.home-data-guide__estimate span,
.home-data-guide__estimate strong {
    display: block;
}

.home-data-guide__estimate span {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    font-weight: 700;
}

.home-data-guide__estimate strong {
    font-size: 13px;
}

.home-data-guide__cta {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 56px;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 0 9px 0 19px;
    border: 1px solid rgba(216, 189, 131, .72);
    border-radius: 999px;
    background: #fff;
    color: #03346B;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.home-data-guide__cta:not(.is-disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.home-data-guide__cta-icon {
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: #c9a45d;
    color: #fff;
    transition: transform .22s ease;
}

.home-data-guide__cta:not(.is-disabled):hover .home-data-guide__cta-icon {
    transform: translateX(3px);
}

.home-data-guide__cta.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.home-data-guide__cta.is-no-results {
    opacity: .78;
    border-color: rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .88);
    justify-content: center;
}

.home-data-guide__cta.is-checking {
    opacity: .68;
    justify-content: center;
}

.home-data-guide__cta-icon[hidden] {
    display: none;
}

.home-data-guide__cta-help {
    position: relative;
    z-index: 1;
    margin: 10px 3px 0;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    line-height: 1.5;
}

.home-data-guide__disclaimer {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .46);
    font-size: 9px;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .home-data-guide__header,
    .home-data-guide__layout {
        grid-template-columns: 1fr;
    }

    .home-data-guide__header {
        gap: 18px;
    }

    .home-data-guide__result {
        position: relative;
        top: auto;
    }
}

@media (max-width: 640px) {
    .home-data-guide {
        padding: 70px 0;
    }

    .home-data-guide__header h2 {
        font-size: 35px;
    }

    .home-data-guide__controls,
    .home-data-guide__result {
        border-radius: 20px;
    }

    .home-data-guide__step {
        padding: 25px 19px;
    }

    .home-data-guide__profiles {
        grid-template-columns: 1fr;
    }

    .home-data-guide__profile {
        min-height: auto;
    }

    .home-data-guide__step-head {
        align-items: flex-start;
    }

    .home-data-guide__days-output {
        padding-top: 9px;
        font-size: 20px;
    }

    .home-data-guide__result {
        padding: 31px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-data-guide__profile,
    .home-data-guide__cta,
    .home-data-guide__cta-icon {
        transition: none;
    }
}
