/* ============================================================
   EnjoyCar — Design tokens (from Figma variables)
   ============================================================ */
:root {
    /* surfaces */
    --surface-primary: #ffffff;
    --surface-secondary: #f8f7fd;
    --surface-tertiary: #f9f9fa;
    --surface-brand: #675aca;
    --surface-brand-hover: #5248a2;
    --surface-accent-lighting: #d1eefa;
    --surface-accent-orange: #fbd98c;
    --banner-bg: #ece2f3;
    --travel-bg: #dcf2ff;

    /* text */
    --text-headings: #262a46;
    --text-body: #303457;
    --text-signature: #898da9;
    --text-link: #675aca;
    --text-link-gray: #1d1f34;
    --text-link-light-gray: #595d79;
    --text-on-action: #ffffff;
    --text-error: #c93d3d;

    /* borders */
    --border-default: #ebebef;
    --border-secondary: #9394cb;
    --border-secondary-lighting: #e1def4;

    /* radii */
    --r-300: 12px;
    --r-600: 24px;
    --r-900: 32px;
    --r-round: 56px;

    /* shadows */
    --shadow-m: 0 0 20px #f8f7fd, 0 0 12px rgba(122, 121, 121, .1), 0 4px 8px rgba(122, 121, 121, .1);
    --shadow-xs: 0 1px 4px rgba(122, 121, 121, .1), 0 4px 8px rgba(145, 145, 145, .15);
    --shadow-card: 0 0 20px rgba(214, 209, 239, .1), 0 0 12px rgba(214, 209, 239, .1), 0 4px 8px rgba(214, 209, 239, .1);

    /* fonts */
    --font-brand: 'Nunito', sans-serif;
    --font-plain: 'Onest', sans-serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-plain);
    background: var(--surface-primary);
    color: var(--text-body);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

ul {
    list-style: none
}

/* typographic helpers */
.h1 {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 56px;
    line-height: 56px;
    letter-spacing: -.5px;
    color: var(--text-headings)
}

.h2 {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 38px;
    line-height: 42px;
    letter-spacing: -.5px;
    color: var(--text-headings)
}

.h3 {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 38px;
    line-height: 42px;
    letter-spacing: -.5px;
    color: var(--text-headings)
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%
}

.section {
    padding: 120px 0
}

.section--soft {
    background: var(--surface-secondary);
    padding-top: 80px;
    padding-bottom: 80px
}

.section--tertiary {
    background: var(--surface-tertiary);
    padding-top: 80px;
    padding-bottom: 80px
}

/* collapse the doubled gap where same-feel sections stack */
.section--soft + .section--soft {
    padding-top: 0
}

.section--soft + .section--tertiary {
    padding-top: 0
}

/* ============================================================
   Reveal on scroll animation
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal.is-visible {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    html {
        scroll-behavior: auto
    }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 16px;
    line-height: 32px;
    border-radius: 16px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
}

.btn:active {
    transform: scale(.97)
}

.btn--primary {
    background: var(--surface-brand);
    color: var(--text-on-action)
}

.btn--primary:hover {
    background: var(--surface-brand-hover)
}

.btn--outline {
    background: #fff;
    color: var(--text-link);
    border: 1px solid var(--border-secondary)
}

.btn--outline:hover {
    background: var(--surface-secondary)
}

.btn--soft {
    background: var(--surface-secondary);
    color: var(--text-link);
    font-family: var(--font-brand);
    font-weight: 600;
    font-size: 15px;
    line-height: normal;
    letter-spacing: .15px;
    border-radius: 12px;
    padding: 10px 16px
}

.btn--soft:hover {
    background: #efeefb
}

.btn--success {
    background: #4caf7d !important;
    color: #fff
}

/* ============================================================
   Header
   ============================================================ */
.header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    transition: box-shadow .3s var(--ease)
}

.header__spacer {
    height: 120px
}

.header.is-scrolled {
    box-shadow: 0 4px 20px rgba(38, 42, 70, .06)
}

.header__inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    gap: 24px;
    transition: height .3s var(--ease)
}

.header__logo {
    padding-left: 56px;
    transition: padding .3s var(--ease)
}

.logo__img {
    height: 64px;
    width: auto;
    transition: height .3s var(--ease)
}

/* shrink on scroll */
.header.is-scrolled .header__inner {
    height: 64px
}

.header.is-scrolled .logo__img {
    height: 44px
}

.header.is-scrolled .header__logo {
    padding-left: 32px
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0
}

.nav-link {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 16px;
    line-height: 32px;
    color: var(--text-link-light-gray);
    padding: 12px 24px;
    border-radius: 16px;
    transition: color .2s var(--ease), background .2s var(--ease)
}

.nav-link:hover {
    color: var(--text-link);
    background: var(--surface-secondary)
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 32px
}

.phone-block {
    display: flex;
    align-items: center;
    gap: 12px
}

.phone-block__icon {
    display: flex
}

.phone-block__num {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 16px;
    line-height: 32px;
    color: var(--text-link-gray)
}

.icon-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: background .2s var(--ease)
}

.icon-btn:hover {
    background: var(--surface-secondary)
}

.header__burger, .header__phone-icon {
    display: none
}

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    transform: translateX(-100%);
    transition: transform .4s var(--ease);
    padding-bottom: 40px;
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: none
}

.mobile-menu__backdrop {
    display: none
}

.mobile-menu__header {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px
}

.mobile-menu__header .logo__img {
    height: 48px
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0
}

.mm-link {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    color: var(--text-link-light-gray)
}

.mm-link:hover {
    background: transparent;
    color: var(--text-link)
}

.mobile-menu__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px
}

/* ============================================================
   Banner / hero
   ============================================================ */
.banner-wrap {
    padding: 0 60px;
    display: flex;
    justify-content: center
}

.banner {
    position: relative;
    width: 100%;
    max-width: 1320px;
    background: var(--banner-bg);
    border-radius: var(--r-round);
    min-height: 675px;
    display: flex;
    align-items: center;
    padding: 32px 123px 4px 108px;
    gap: 24px;
    overflow: hidden;
}

.banner__text {
    position: relative;
    top: -27px;
    max-width: 372px;
    flex-shrink: 0;
    z-index: 2
}
.banner__text > .h1 {
  margin-bottom: 24px;
}

.banner__sub {
    display: inline-block;
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-headings);
}

.banner__textbox {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.banner__underline {
    display: inline-block;
    padding: 4px 0 10px;
}

.banner__underline img {
    height: auto
}

.banner__cta {
    align-self: flex-start;
    height: 56px
}

.banner__media {
    position: relative;
    flex: 1;
    align-self: stretch;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center
}

.banner__img {
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center bottom
}

.info-chip {
    position: absolute;
    background: #fff;
    border-radius: var(--r-600);
    padding: 22px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-m);
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}
.info-chip.info-chip--bottom {
    padding-right: 15px;
    margin-right: -13px;
}

.info-chip--top {
    left: 2%;
    top: 12%
}

.info-chip--bottom {
    right: 0;
    bottom: 5%;
    animation-delay: 1.5s
}

.info-chip__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--surface-accent-lighting);
    display: flex;
    align-items: center;
    justify-content: center
}

.info-chip__txt {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.info-chip__txt b {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: .32px;
    color: #000
}

.info-chip__txt i {
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    color: #000
}

@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

/* ============================================================
   Intro blocks
   ============================================================ */
.intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 650px;
    margin: 0 auto 76px;
    text-align: center
}
.intro > .h2 {
    margin-bottom: 14px;
}

.intro--center {
    align-items: center
}

.intro--wide {
    max-width: 880px
}

.intro__lead {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-headings)
}

.intro__strong {
    font-family: var(--font-plain);
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: var(--text-headings)
}

/* ============================================================
   Service cards grid
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 32px;
    margin-bottom: 80px
}

.svc {
    border-radius: var(--r-round);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease)
}

.svc:hover {
    transform: translateY(-6px)
}

.svc--feature {
    background: var(--surface-secondary);
    align-items: center;
    justify-content: center;
    gap: 37px;
    padding: 60px 40px;
    text-align: center
}
.svc--feature {
    min-height: 703px;
}

.svc--feature .svc__icon {
    width: 168px;
    height: 122px
}

.svc--feature .svc__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.svc__feature-text {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-headings);
    max-width: 403px
}

.svc__feature-text span {
    display: block;
    margin-top: 20px;
    color: var(--surface-brand)
}

.svc--photo {
    background: var(--svc)
}
.svc--photo.svc--photo-1,
.svc--photo.svc--photo-2 {
    min-height: 624px;
}
.svc--photo.svc--photo-3,
.svc--photo.svc--photo-4 {
    min-height: 672px;
}

.svc__body {
    padding: 80px 80px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #fff
}

.svc__title {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 38px;
    line-height: 42px;
    letter-spacing: -.5px
}

.svc__desc {
    font-size: 16px;
    line-height: 24px
}

.svc__photo {
    width: 100%;
    aspect-ratio: 1676/1068;
    margin-top: 2px
}

.svc__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* alert */
.alert {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface-secondary);
    border-radius: var(--r-600);
    padding: 24px;
    max-width: 800px;
    margin: 0 auto
}

.alert__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--surface-accent-lighting);
    display: flex;
    align-items: center;
    justify-content: center
}

.alert__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #000
}

.alert__text b {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: .32px
}

.alert__text span {
    font-size: 14px;
    line-height: 20px
}

/* ============================================================
   Split section (UAH + travel)
   ============================================================ */
.split-section {
    background: var(--surface-secondary);
    padding: 0 0
}

.split-section__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 48px
}

.split-section__left {
    position: relative;
    flex: 1;
    max-width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    padding-top: 124px;
    padding-left: 80px;
    padding-bottom: 124px;
}
.split-section__left-inner {
    position: relative;
}

.split-section__coins {
    width: 131px;
    height: auto
}

.split-section__arrow {
    position: absolute;
    left: 275px;
    top: 50px;
    width: 109px;
    height: auto
}

.split-section__lead {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-headings)
}

.travel-card {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    perspective: 1200px;
    margin-top: -20px;
    margin-bottom: -20px;
}

.travel-card__inner {
    background: var(--travel-bg);
    border: 12px solid #fff;
    border-radius: var(--r-round);
    width: 576px;
    max-width: 100%;
    overflow: hidden;
    transform: rotate(5.8deg);
    box-shadow: 0 37px 37px rgba(165, 161, 186, .11), 0 9px 20px rgba(165, 161, 186, .13);
    transition: transform .5s var(--ease);
}

.travel-card:hover .travel-card__inner {
    transform: rotate(0deg)
}

.travel-card__body {
    padding: 64px 64px 0;
    display: flex;
    flex-direction: column;
    gap: 39px;
    transform: rotate(-5.8deg);
    transition: transform .5s var(--ease)
}

.travel-card:hover .travel-card__body {
    transform: rotate(0)
}

.travel-card__body h3 {
    font-size: 38px;
    line-height: 42px
}

.travel-card__body p {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-headings)
}

.travel-card__img {
    width: 100%;
    aspect-ratio: 2752/1608;
    object-fit: cover;
    margin-top: 24px
}

/* ============================================================
   Flexibility opts
   ============================================================ */
.opts {
    display: flex;
    gap: 48px;
    align-items: stretch
}

.opt {
    flex: 1;
    background: var(--surface-secondary);
    border-radius: var(--r-600);
    padding: 48px;
    display: flex;
    gap: 40px;
    align-items: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease)
}

.opt:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card)
}

.opt__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0
}

.opt__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.opt p {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: .32px;
    color: var(--text-headings)
}

/* ============================================================
   Pricing table
   ============================================================ */
.pricing {
    position: relative;
    background: #fff;
    border-radius: var(--r-round);
    box-shadow: var(--shadow-m);
    padding: 48px;
    max-width: 1320px;
    margin: 0 auto
}

.pricing__highlight {
    position: absolute;
    top: 48px;
    bottom: 48px;
    left: 50%;
    width: calc(25% - 30px);
    background: var(--surface-secondary);
    border-radius: var(--r-900);
    z-index: 0
}

.pricing__head, .pricing__foot, .pricing__row {
    display: grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1
}

.pricing__head {
    padding: 24px;
    align-items: end
}

.pricing__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px
}

.pricing__cell--label {
    align-items: flex-start;
    justify-content: flex-end;
    font-family: var(--font-plain);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .32px;
    color: var(--text-body)
}

.pricing__plan {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-headings);
    white-space: nowrap
}

.pricing__plan-sub {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-signature)
}

.badge {
    background: var(--surface-accent-orange);
    border-radius: var(--r-round);
    padding: 8px 24px;
    font-family: var(--font-plain);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-headings);
    margin-bottom: 12px
}

.pricing__rows {
    position: relative;
    z-index: 1
}

.pricing__row {
    padding: 16px 24px;
    align-items: center;
    border-top: 1px solid var(--border-default);
    border-radius: 16px;
    transition: background .2s var(--ease)
}

.pricing__row:last-child {
    border-bottom: 1px solid var(--border-default)
}

.pricing__row:hover {
    background: rgba(103, 90, 202, .06)
}

.pricing__row .pricing__cell--label {
    justify-content: center;
    font-weight: 400;
    color: var(--text-body)
}

.pricing__mark {
    display: flex;
    align-items: center;
    justify-content: center
}

.pricing__foot {
    padding: 24px;
    align-items: end
}

.pricing__foot .btn {
    width: 100%
}

.mark {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center
}

/* mobile price cards (hidden on desktop) */
.price-cards {
    display: none;
    flex-direction: column;
    gap: 24px
}

.price-card {
    background: #fff;
    border-radius: var(--r-900);
    box-shadow: var(--shadow-m);
    padding: 24px
}

.price-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px;
    text-align: center
}

.price-card__list {
    margin: 0
}

.price-card__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border-default)
}

.price-card__list li:last-child {
    border-bottom: 1px solid var(--border-default)
}

.price-card__list li span {
    flex: 1;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-body)
}

.price-card .btn {
    width: 100%;
    margin-top: 24px
}

/* ============================================================
   Calculator
   ============================================================ */
.calc {
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: var(--r-round);
    box-shadow: var(--shadow-card);
    padding: 48px;
    display: flex;
    gap: 64px;
    align-items: stretch;
    max-width: 1440px;
    margin: 0 auto
}

.calc__controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px
}

.calc__group {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.calc__label {
    font-family: var(--font-plain);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .32px;
    color: var(--text-body)
}

.calc__slider-block {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.calc__slider-head {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-plain);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .32px;
    color: var(--text-body)
}

.calc__value--accent {
    color: var(--text-link)
}

.calc__minmax {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-signature)
}

/* toggle */
.toggle {
    background: var(--surface-secondary);
    border-radius: var(--r-600);
    padding: 12px;
    display: flex;
    gap: 12px
}

.toggle--wrap {
    flex-wrap: wrap
}

.toggle--wrap > p {
    flex: 1;
    flex-wrap: inherit;
    background: inherit;
    border-radius: inherit;
    padding: inherit;
    display: inherit;
    gap: inherit;
}

.toggle__btn {
    flex: 1;
    min-width: 0;
    height: 56px;
    border-radius: 16px;
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 16px;
    line-height: 32px;
    color: var(--text-link-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease)
}

.toggle__btn.is-active {
    background: #fff;
    color: var(--text-link);
    box-shadow: var(--shadow-xs)
}

#call-send {
    border: none;
    cursor: pointer;
}

/* range slider — golden fill, white thumb (per Figma 6028:370) */
.range {
    --slider-fill: #f5c84a;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    border-radius: 4px;
    background: transparent;
    outline: none;
    cursor: pointer;
    margin: 0
}

.range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(var(--slider-fill), var(--slider-fill)) no-repeat, var(--border-default);
    background-size: var(--fill, 40%) 100%
}

.range::-moz-range-track {
    height: 4px;
    border-radius: 4px;
    background: var(--border-default)
}

.range::-moz-range-progress {
    height: 4px;
    border-radius: 4px;
    background: var(--slider-fill)
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-default);
    margin-top: -14px;
    box-shadow: var(--shadow-xs);
    transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}

.range::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-xs);
    transition: border-color .15s var(--ease), background .15s var(--ease);
}

.range:hover::-webkit-slider-thumb {
    border: 2px solid var(--surface-brand)
}

.range:hover::-moz-range-thumb {
    border: 2px solid var(--surface-brand)
}

.range:active::-webkit-slider-thumb {
    border: 2px solid var(--surface-brand);
    background: #ddd6f5;
    transform: scale(1.04)
}

.range:active::-moz-range-thumb {
    border: 2px solid var(--surface-brand);
    background: #ddd6f5
}

.range:focus-visible::-webkit-slider-thumb {
    border: 2px solid var(--surface-brand)
}

.calc__result {
    background: var(--surface-secondary);
    border-radius: var(--r-900);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 576px;
    max-width: 45%
}

.calc__result-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.calc__result-title {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-headings)
}

.calc__amount {
    font-family: var(--font-brand);
    font-weight: 800;
    color: var(--text-headings);
    line-height: 1
}

.calc__amount span {
    font-size: 64px
}

.calc__amount i {
    font-style: normal;
    font-weight: 600;
    font-size: 32px
}

.calc__note {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-signature)
}

.calc__result .btn {
    width: 100%
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center
}

.contact-section__deco {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(294px - 857px), -50%);
    width: 300px;
    height: auto;
    z-index: 10;
    pointer-events: none
}

.contact {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--r-round);
    box-shadow: var(--shadow-m);
    padding: 56px;
    width: 588px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px
}

.contact .intro {
    margin: 0
}

.contact__form, .contact .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 32px
}

.contact .wpcf7 {
    width: 100%
}

.field {
    position: relative
}

.field input {
    width: 100%;
    height: 56px;
    border: 1px solid var(--border-secondary-lighting);
    border-radius: var(--r-300);
    padding: 24px 16px 8px;
    font-family: var(--font-plain);
    font-size: 16px;
    line-height: 24px;
    color: var(--text-body);
    background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field input:hover {
    box-shadow: 0 0 0 1px var(--border-secondary-lighting) inset
}

.field input:not(:placeholder-shown) {
    border-color: var(--border-default)
}

.field input:focus {
    outline: none;
    border-color: var(--border-secondary);
    box-shadow: 0 0 0 2px var(--border-secondary-lighting)
}

.field label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 24px;
    color: var(--text-signature);
    pointer-events: none;
    transition: .2s var(--ease);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field:focus-within label,
.field:has(input:not(:placeholder-shown)) label {
    top: 9px;
    transform: none;
    font-size: 12px;
    line-height: 16px
}

.field .wpcf7-form-control-wrap {
    display: block
}

.field.is-error input,
.field input.wpcf7-not-valid {
    border-color: var(--text-error);
    box-shadow: 0 0 0 2px #faecec
}

.field.is-error .err {
    display: block
}

.err, .wpcf7-not-valid-tip {
    display: none;
    margin-top: 4px;
    margin-left: 4px;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-error)
}

.field.is-error .err, .field .wpcf7-not-valid-tip {
    display: block
}

.req {
    color: var(--text-error);
    font-size: 14px
}

.contact__pref {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.contact__pref-label {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-body)
}

.contact .btn {
    width: 100%
}

.wpcf7-response-output:empty {
    display: none
}

.wpcf7-spinner {
    margin: 0 auto
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--surface-tertiary);
    padding: 32px 60px
}

.footer__inner {
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--r-round);
    box-shadow: var(--shadow-m);
    padding: 24px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 48px
}

.footer__legal .logo__img {
    height: 48px
}

.footer__legal p {
    font-size: 12px;
    line-height: 16px;
    color: var(--text-signature)
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 340px
}

.footer__links {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0
}

.footer__links a {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .14px;
    color: var(--text-link-light-gray);
    transition: color .2s var(--ease)
}

.footer__links a:hover {
    color: var(--text-link)
}

.footer__copy {
    font-size: 12px;
    line-height: 16px;
    color: var(--text-signature)
}

/* ============================================================
   TABLET  (<= 1024px)  — Figma 834
   ============================================================ */
@media (max-width: 1024px) {
    .h1 {
        font-size: 48px;
        line-height: 48px
    }

    .h2 {
        font-size: 30px;
        line-height: 34px
    }

    .section {
        padding: 56px 0
    }

    .container {
        padding: 0 24px
    }

    /* header -> compact bar with burger */
    .header__inner {
        height: 64px;
        padding: 0 20px
    }

    .header__spacer {
        height: 64px
    }

    .header.is-scrolled .header__inner {
        height: 64px
    }

    .logo__img {
        height: 48px
    }

    .header__logo, .header.is-scrolled .header__logo {
        padding-left: 0
    }

    .header.is-scrolled .logo__img {
        height: 48px
    }

    .header__nav, .header__phone {
        display: none
    }

    .header__burger, .header__phone-icon {
        display: flex
    }

    /* banner */
    .banner-wrap {
        padding: 0 24px
    }

    .banner {
        min-height: 519px;
        padding: 40px
    }

    .banner__text {
        gap: 48px;
        max-width: 336px
    }

    .banner__sub {
        font-size: 24px;
        line-height: 30px;
        margin-top: -28px
    }

    .banner__media {
        min-height: 440px
    }

    .info-chip {
        display: none
    }

    /* split */
    .split-section__inner {
        flex-direction: column;
        gap: 60px
    }

    .split-section__left {
        padding-left: 80px;
        max-width: 600px
    }

    .travel-card__inner {
        width: 560px
    }

    /* opts -> 2 then 1 row */
    .opts {
        flex-wrap: wrap;
        gap: 24px
    }

    .opt {
        flex: 1 1 calc(50% - 12px);
        padding: 32px;
        gap: 24px
    }

    .opt:last-child {
        flex-basis: 100%
    }

    .opt__icon {
        width: 56px;
        height: 56px
    }

    /* calc stacks */
    .calc {
        flex-direction: column;
        gap: 64px;
        padding: 48px
    }

    .calc__result {
        width: 100%;
        max-width: 100%
    }

    /* contact full width */
    .contact {
        width: 100%;
        border-radius: var(--r-900);
        padding: 56px
    }

    .contact-section__deco {
        display: none
    }

    /* footer */
    .pricing {
        border-radius: var(--r-900);
        padding: 24px
    }

    .footer {
        padding: 32px 24px
    }

    .footer__inner {
        border-radius: var(--r-900);
        gap: 32px
    }

    .footer__contact {
        align-items: flex-end
    }

    .footer__contact .footer__links {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px
    }

    .footer__copy {
        text-align: right;
        width: 100%
    }
}

/* ============================================================
   MOBILE  (<= 640px)  — Figma 393
   ============================================================ */
@media (max-width: 640px) {
    .h2 {
        font-size: 30px;
        line-height: 32px
    }

    .container {
        padding: 0 24px
    }

    .section {
        padding: 56px 0
    }

    /* banner column */
    .banner-wrap {
        padding: 0 24px
    }

    .banner {
        flex-direction: column-reverse;
        min-height: 0;
        padding: 20px 24px 48px;
        gap: 24px;
        border-radius: var(--r-round)
    }

    .banner__media {
        width: 100%;
        min-height: 340px;
        align-self: auto;
        justify-content: center
    }

    .banner__img {
        object-fit: contain
    }

    .banner__text {
        max-width: 100%;
        align-items: center;
        text-align: center;
        gap: 24px
    }

    .banner__sub {
        margin-top: 0
    }

    .banner__underline {
        margin-top: 0
    }

    .banner__cta {
        align-self: stretch;
        width: 100%
    }

    .intro {
        text-align: left;
        margin-bottom: 40px;
        gap: 16px
    }

    .intro--center {
        text-align: center
    }

    /* services single column */
    .services-grid {
        grid-template-columns:1fr;
        gap: 24px;
        margin: 0 0 56px
    }

    .svc {
        border-radius: var(--r-900)
    }

    .svc--feature {
        padding: 32px 24px;
        gap: 40px
    }

    .svc__body {
        padding: 32px 32px 0
    }

    .svc__photo {
        margin-top: 12px
    }

    .alert {
        flex-direction: column;
        border-radius: var(--r-600)
    }

    .alert__text b {
        font-size: 14px;
        line-height: 21px;
        letter-spacing: .28px
    }

    /* split */
    .split-section {
        padding: 80px 0
    }

    .split-section__inner {
        padding: 0 24px
    }

    .split-section__left {
        padding-left: 0;
        gap: 32px
    }

    .split-section__arrow {
        left: 182px;
        top: 30px
    }

    .travel-card {
        width: 100%
    }

    .travel-card__inner {
        transform: none;
        border-width: 8px;
        width: 100%
    }

    .travel-card__body {
        transform: none;
        padding: 32px 32px 0;
        gap: 24px
    }

    .travel-card__body h3 {
        font-size: 30px;
        line-height: 32px
    }

    /* opts stack */
    .opts {
        flex-direction: column;
        gap: 24px
    }

    .opt {
        flex-basis: auto;
        width: 100%
    }

    .opt p {
        font-size: 14px;
        line-height: 21px;
        letter-spacing: .28px
    }

    /* pricing -> cards */
    .pricing {
        display: none
    }

    .price-cards {
        display: flex
    }

    /* calc */
    .calc {
        padding: 32px 24px;
        border-radius: var(--r-900);
        gap: 32px
    }

    .calc__result {
        padding: 40px 16px
    }

    .calc__amount span {
        font-size: 48px
    }

    .toggle--wrap {
        flex-direction: column
    }

    .toggle--wrap .toggle__btn {
        width: 100%
    }

    /* contact */
    .contact {
        border-radius: 0;
        box-shadow: none;
        padding: 56px 24px
    }

    .contact-section {
        padding: 0
    }

    /* footer */
    .footer {
        padding: 32px 24px
    }

    .footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
        gap: 32px;
        border-radius: var(--r-900)
    }

    .footer__legal {
        flex-direction: column;
        gap: 24px
    }

    .footer__legal p {
        text-align: center
    }

    .footer__contact {
        width: 100%;
        align-items: center
    }

    .footer__contact .footer__links {
        flex-direction: column;
        align-items: center;
        gap: 16px
    }

    .footer__copy {
        text-align: center
    }
}

body .wpcf7-spinner {
    position: absolute;
    right: 15px;
    bottom: 70px;
}

.wpcf7 form.sent .wpcf7-response-output,
body .wpcf7 form.invalid .wpcf7-response-output,
body .wpcf7 form.unaccepted .wpcf7-response-output,
body .wpcf7 form.payment-required .wpcf7-response-output {
    display: none;
}