:root {
    --bg1: #eef5ff;
    --bg2: #f6f9ff;
    --text: #0b1220;
    --muted: #5b6477;
    --line: rgba(15, 23, 42, .10);
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, .10);
    --shadow2: 0 10px 25px rgba(15, 23, 42, .10);
    --blue: #1d4ed8;
    --blue2: #2563eb;
    --radius: 18px;
    --radius2: 26px;
    --container: 1160px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg1), var(--bg2));
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.material-symbols-rounded {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
    font-size: 20px;
    line-height: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(238, 245, 255, .75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.topbar__inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    font-weight: 800;
}

.brand__mark--small {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 13px;
}

.brand__name {
    letter-spacing: -0.02em
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav__link {
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 0;
    position: relative;
    opacity: .85;
}

.nav__link:hover {
    opacity: 1
}

.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: #111827;
    opacity: .8;
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang {
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .65);
    border-radius: 999px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 56px 0 30px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 52px;
    align-items: start;
}

.hero__left {
    padding: 22px 0;
}

.hero__title {
    font-size: clamp(44px, 4.6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 16px;
}

.hero__subtitle {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 16px;
    max-width: 52ch;
}

.hero__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 26px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
}

.contact-line:hover {
    opacity: .9
}

.contact-line--link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 34px;
}

.mini__title {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.mini__text {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Card / Form */
.hero__right {
    position: relative;
}

.card {
    background: var(--card);
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    padding: 22px 22px 18px;
}

.card__head {
    padding: 6px 6px 16px;
}

.card__title {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.card__sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

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

.row {
    display: grid;
    gap: 12px;
}

.row--2 {
    grid-template-columns: 1fr 1fr;
}

.row--phone {
    grid-template-columns: 110px 1fr;
    align-items: center;
}

.field {
    position: relative
}

.input,
.textarea,
select.input {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .10);
    background: #fbfcff;
    border-radius: 999px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
}

.input:focus,
.textarea:focus,
select.input:focus {
    border-color: rgba(37, 99, 235, .45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
    background: #fff;
}

.textarea {
    border-radius: 18px;
    min-height: 120px;
    padding: 12px 14px;
    resize: none;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .55;
}

.input--withicon {
    padding-left: 42px;
}

.select {
    display: flex;
    align-items: center;
}

.select select {
    appearance: none;
    padding-right: 36px;
}

.select__chev {
    position: absolute;
    right: 12px;
    pointer-events: none;
    opacity: .6;
}

.counter {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 12px;
    color: rgba(91, 100, 119, .9);
}

button.btn {
    margin-top: 6px;
    background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
    box-shadow: 0 14px 28px var(--btn-shadow-color);
    color: white;
    border: none;
    cursor: pointer;
}

button.btn:hover {
    background: linear-gradient(135deg, var(--btn-hover-from), var(--btn-hover-to));
    box-shadow: 0 14px 28px var(--btn-hover-shadow-color);
    color: #fff;
    filter: none;
}

button.btn:active {
    transform: translateY(1px)
}

.form__fineprint {
    margin: 10px 6px 0;
    color: rgba(91, 100, 119, .95);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.form__fineprint a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(17, 24, 39, .35);
}

.form__fineprint a:hover {
    border-bottom-color: rgba(17, 24, 39, .75)
}

.location {
    padding: 40px 0 80px;
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.map {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #e9eef8;
    box-shadow: var(--shadow2);
    border: 1px solid rgba(15, 23, 42, .06);
    min-height: 360px;
}

.map__frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    min-height: 360px;
    filter: saturate(.9) contrast(.95);
}

.map__pin {
    position: absolute;
    left: 22px;
    top: 22px;
    width: min(320px, calc(100% - 44px));
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
    padding: 14px 14px 12px;
    backdrop-filter: blur(8px);
}

.map__pin-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.map__pin-title {
    font-weight: 800;
    letter-spacing: -0.02em
}

.map__pin-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.map__pin-body {
    font-size: 13px;
    color: var(--muted)
}

.map__pin-strong {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px
}

.map__pin-link {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

.map__pin-link:hover {
    opacity: .9
}

.kicker {
    margin: 0 0 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.location__title {
    margin: 0 0 22px;
    font-size: 40px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.address__title {
    margin: 0 0 8px;
    font-size: 14px;
}

.address__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero__columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card {
        max-width: 560px;
    }

    .location__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .row--2 {
        grid-template-columns: 1fr;
    }

    .row--phone {
        grid-template-columns: 110px 1fr;
    }

    .topbar__inner {
        height: 64px
    }
}