:root {
    --bg: #02070b;
    --panel: #07131b;
    --panel-strong: #0a1822;
    --line: rgba(153, 190, 210, .18);
    --text: #f6f7f8;
    --muted: #aab5bf;
    --red: #ff242d;
    --red-dark: #bd1119;
    --cyan: #35a8ff;
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 50% -20%, rgba(31, 79, 101, .28), transparent 38rem),
        linear-gradient(180deg, #02060a 0%, #041017 46%, #02070b 100%);
    color: var(--text);
    font-family: "Manrope", Arial, sans-serif;
    letter-spacing: 0;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    width: min(100% - 64px, 1760px);
    margin: 0 auto;
    padding: 24px 0 18px;
    background: linear-gradient(180deg, rgba(2, 7, 11, .96), rgba(2, 7, 11, .72));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    font-size: 21px;
    font-weight: 800;
}

.brand-image img {
    width: auto;
    height: 62px;
    object-fit: contain;
}

.footer-brand.brand-image img {
    height: 54px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 58px);
}

.main-nav a,
.support-link,
.footer-nav a {
    position: relative;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    font-weight: 500;
    transition: color .22s ease;
}

.main-nav a::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
    content: "";
}

.main-nav a:hover,
.main-nav a.is-active,
.support-link:hover,
.footer-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.support-link {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.support-link i {
    color: var(--red);
    font-size: 25px;
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

main {
    width: min(100% - 64px, 1760px);
    margin: 0 auto;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, .86fr) minmax(480px, 1.4fr);
    align-items: stretch;
    min-height: 560px;
    margin-top: 4px;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 48px 0 64px;
}

.hero h1,
.page-hero h1,
.split-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(56px, 6.8vw, 116px);
    line-height: .93;
    font-weight: 800;
}

.hero p,
.page-hero p,
.split-hero p {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(20px, 2.1vw, 27px);
    line-height: 1.36;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 58px;
    padding: 0 36px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 700;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
}

.btn-secondary {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(2, 7, 11, .42);
    color: #fff;
}

.hero-image {
    position: relative;
    min-height: 440px;
    background:
        linear-gradient(90deg, rgba(2, 7, 11, .96) 0%, rgba(2, 7, 11, .58) 6%, rgba(2, 7, 11, 0) 12.5%, rgba(2, 7, 11, 0) 100%),
        linear-gradient(180deg, rgba(2, 7, 11, 0), rgba(2, 7, 11, .36) 100%),
        url("/resources/img/design/hero-city.jpg") center / cover;
}

.hero-image span {
    position: absolute;
    right: 24%;
    bottom: 13%;
    color: var(--cyan);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .04em;
}

.content-band,
.content-panel,
.content-card,
.info-tile,
.contact-tile,
.map-panel,
.cta-panel,
.contact-form-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(220, 244, 255, .22);
    border-radius: 6px;
    background:
        radial-gradient(140% 120% at 0% 0%, rgba(255, 255, 255, .14), transparent 34%),
        radial-gradient(90% 80% at 100% 14%, rgba(78, 158, 185, .11), transparent 46%),
        linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .018) 42%, rgba(255, 255, 255, .07)),
        linear-gradient(135deg, rgba(10, 28, 39, .42), rgba(3, 11, 17, .24));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        inset 12px 0 28px rgba(255, 255, 255, .035),
        inset -18px -22px 42px rgba(0, 0, 0, .18),
        0 24px 80px rgba(0, 0, 0, .36);
    backdrop-filter: blur(28px) saturate(165%) contrast(108%);
    -webkit-backdrop-filter: blur(28px) saturate(165%) contrast(108%);
    transition: border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.content-band::before,
.content-panel::before,
.content-card::before,
.info-tile::before,
.contact-tile::before,
.map-panel::before,
.cta-panel::before,
.contact-form-panel::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 255, 255, .24), transparent 34%),
        radial-gradient(ellipse at 82% 94%, rgba(255, 255, 255, .095), transparent 42%),
        linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 24%, rgba(255, 255, 255, .055) 64%, transparent 100%),
        repeating-linear-gradient(118deg, rgba(255, 255, 255, .032) 0 1px, transparent 1px 18px);
    opacity: .78;
    mix-blend-mode: screen;
    content: "";
}

.content-band::after,
.content-panel::after,
.content-card::after,
.info-tile::after,
.contact-tile::after,
.map-panel::after,
.cta-panel::after,
.contact-form-panel::after {
    position: absolute;
    inset: -45% auto -45% -78%;
    z-index: 1;
    width: 46%;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .04) 24%, rgba(255, 255, 255, .38) 47%, rgba(255, 255, 255, .06) 67%, transparent 100%);
    opacity: 0;
    transform: translateX(0) skewX(-14deg);
    transition: opacity .28s ease, transform .7s ease;
    content: "";
}

.content-band:hover,
.content-panel:hover,
.content-card:hover,
.info-tile:hover,
.contact-tile:hover,
.map-panel:hover,
.cta-panel:hover,
.contact-form-panel:hover {
    border-color: rgba(234, 248, 255, .32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .3),
        inset 14px 0 30px rgba(255, 255, 255, .048),
        inset -18px -22px 42px rgba(0, 0, 0, .16),
        0 28px 88px rgba(0, 0, 0, .4);
}

.content-band:hover::after,
.content-panel:hover::after,
.content-card:hover::after,
.info-tile:hover::after,
.contact-tile:hover::after,
.map-panel:hover::after,
.cta-panel:hover::after,
.contact-form-panel:hover::after {
    opacity: .72;
    transform: translateX(410%) skewX(-14deg);
}

.content-band > *,
.content-panel > *,
.content-card > *,
.info-tile > *,
.contact-tile > *,
.map-panel > *,
.cta-panel > *,
.contact-form-panel > * {
    position: relative;
    z-index: 2;
}

.content-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) .55fr;
    gap: 24px;
    align-items: center;
    min-height: 178px;
    margin: 6px 0 38px;
    padding: 28px 58px;
}

.section-kicker {
    display: block;
    width: 28px;
    height: 2px;
    margin-bottom: 18px;
    background: var(--red);
}

.content-band h2,
.section-title h2,
.content-card h2,
.map-panel h2,
.cta-panel h2,
.contact-form-panel h2 {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.18;
}

.content-band p,
.content-panel p,
.content-card p,
.cta-panel p,
.contact-form-panel p {
    max-width: 850px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    color: var(--cyan);
    font-weight: 600;
}

.ghost-illustration {
    justify-self: end;
    width: min(280px, 100%);
    aspect-ratio: 2 / 1;
    opacity: .28;
    background:
        linear-gradient(85deg, transparent 38%, rgba(255, 255, 255, .12) 39% 46%, transparent 47%),
        repeating-linear-gradient(160deg, transparent 0 19px, rgba(255, 255, 255, .16) 20px 21px, transparent 22px 44px);
    clip-path: polygon(0 70%, 16% 58%, 28% 68%, 38% 48%, 49% 68%, 59% 38%, 68% 71%, 79% 53%, 100% 68%, 100% 100%, 0 100%);
}

.section {
    margin: 32px 0 54px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .28em;
}

.section-title::before {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 2px;
    background: var(--red);
    content: "";
}

.section-title::after {
    display: block;
    flex: 1 1 auto;
    height: 2px;
    background: var(--red);
    content: "";
}

.section-title h2 {
    font-size: 14px;
    font-weight: 700;
}

.section-title .section-kicker {
    margin: 0;
}

.cards-grid {
    display: grid;
    gap: 22px;
}

.cards-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-card {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(220, 244, 255, .22);
    border-radius: 6px;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .11), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015)),
        rgba(7, 19, 27, .46);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset -16px -18px 34px rgba(0, 0, 0, .18),
        0 18px 54px rgba(0, 0, 0, .28);
    backdrop-filter: blur(24px) saturate(155%) contrast(106%);
    -webkit-backdrop-filter: blur(24px) saturate(155%) contrast(106%);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 36, 45, .74);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.location-card::before {
    position: absolute;
    inset: auto auto 18px -72%;
    z-index: 1;
    width: 44%;
    height: 124px;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .035) 24%, rgba(255, 255, 255, .34) 48%, rgba(255, 255, 255, .055) 68%, transparent 100%);
    opacity: 0;
    transform: translateX(0) skewX(-14deg);
    transition: opacity .28s ease, transform .68s ease;
    content: "";
}

.location-card:hover::before {
    opacity: .62;
    transform: translateX(410%) skewX(-14deg);
}

.location-card img {
    z-index: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.location-card:hover img {
    transform: scale(1.045);
}

.location-card::after {
    position: absolute;
    z-index: 1;
    inset: auto 18px 18px;
    height: 124px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    background:
        radial-gradient(120% 75% at 50% 0%, rgba(255, 255, 255, .1), transparent 36%),
        radial-gradient(130% 100% at 50% 105%, rgba(2, 8, 12, .34), transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(7, 19, 27, .18) 20%, rgba(7, 19, 27, .28) 100%);
    backdrop-filter: blur(8px) saturate(130%) contrast(103%);
    -webkit-backdrop-filter: blur(8px) saturate(130%) contrast(103%);
    content: "";
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 4px;
    background: rgba(7, 19, 27, .78);
    color: #fff;
    font-size: 13px;
    line-height: 1.18;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: calc(100% - 36px);
    min-height: 124px;
    margin: auto 18px 18px;
    padding: 22px 20px 18px;
}

.card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.card-title-row strong {
    font-size: clamp(22px, 1.75vw, 28px);
    line-height: 1.1;
}

.card-title-row i {
    color: var(--red);
    font-size: 28px;
}

.card-description {
    min-height: 0;
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
}

.tag-row {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tag-row span {
    min-height: 28px;
    padding: 5px 11px;
    border: 0;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(170, 181, 191, .3);
    color: var(--muted);
    font-size: 12px;
    transform: none;
    transition: none !important;
}

.location-card:hover .tag-row span,
.location-card:hover .tag-row span:first-child {
    border: 0;
    transform: none;
}

.page {
    padding-top: 58px;
}

.page-hero {
    max-width: 760px;
    margin-bottom: 34px;
}

.page-hero.compact h1,
.split-hero h1 {
    font-size: clamp(58px, 6vw, 88px);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.filter-row button {
    min-width: 96px;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 22, 31, .8);
    color: var(--muted);
    font: inherit;
    font-weight: 700;
}

.filter-row button.is-active {
    border-color: var(--red);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
}

.muted-note {
    margin: 24px 0 0;
    color: var(--muted);
}

.split-hero {
    display: grid;
    grid-template-columns: minmax(340px, .8fr) minmax(420px, 1fr);
    align-items: center;
    gap: 38px;
    margin-bottom: 34px;
}

.split-hero .hero-image {
    border-radius: 6px;
}

.about-image,
.contacts-image {
    min-height: 340px;
}

.content-panel {
    padding: 34px 42px;
}

.stats-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-tile,
.contact-tile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 20px;
    align-items: center;
    min-height: 108px;
    padding: 24px;
}

.info-tile i,
.contact-tile i {
    grid-row: span 2;
    color: var(--red);
    font-size: 36px;
}

.info-tile span,
.contact-tile span {
    color: var(--muted);
    font-size: 15px;
}

.info-tile strong,
.contact-tile strong {
    font-size: clamp(21px, 1.65vw, 28px);
    line-height: 1.22;
    font-weight: 500;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.content-card {
    min-height: 190px;
    padding: 34px 42px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 16px 0 52px;
    padding: 28px 36px;
}

.map-panel {
    margin: 16px 0;
    padding: 28px;
}

.map-panel iframe {
    width: 100%;
    height: 260px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    filter: grayscale(1) invert(.92) contrast(.92) brightness(.72) saturate(.65);
}

.map-panel p {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 16px 0 0;
    color: var(--muted);
}

.map-panel i {
    color: var(--red);
}

.contact-form-panel {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 40px;
    margin-bottom: 52px;
    padding: 34px 42px;
}

.contact-form-panel form {
    display: grid;
    gap: 14px;
}

.form-notice {
    border: 1px solid rgba(220, 244, 255, .22);
    border-radius: 6px;
    padding: 14px 16px;
    color: #fff;
    font-weight: 600;
    line-height: 1.45;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015)),
        rgba(7, 19, 27, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.form-notice-success {
    border-color: rgba(53, 168, 255, .42);
}

.form-notice-error {
    border-color: rgba(255, 36, 45, .62);
    color: #ffd7da;
}

.contact-form-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    border: 1px solid rgba(220, 244, 255, .2);
    border-radius: 6px;
    background: rgba(255, 255, 255, .045);
    color: #fff;
    font: inherit;
    font-size: 16px;
    padding: 14px 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        inset -12px -12px 26px rgba(0, 0, 0, .12);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    outline: none;
    border-color: rgba(234, 248, 255, .36);
    background: rgba(255, 255, 255, .075);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset -12px -12px 26px rgba(0, 0, 0, .1),
        0 0 0 3px rgba(255, 36, 45, .12);
}

.contact-form-panel textarea {
    resize: vertical;
}

.checkbox {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
}

.checkbox input {
    width: auto;
    margin-top: 4px;
}

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px 40px;
    align-items: center;
    width: min(100% - 64px, 1760px);
    margin: 36px auto 0;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-brand {
    color: #fff;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px 28px;
}

.site-footer p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 14px;
}

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .support-link {
        display: none;
    }

    .cards-grid-four,
    .cards-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .site-header,
    main,
    .site-footer {
        width: min(100% - 32px, 1760px);
    }

    .site-header {
        position: sticky;
        grid-template-columns: 1fr auto;
    }

    .nav-toggle-label {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 1px solid var(--line);
        border-radius: 6px;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        content: "";
    }

    .nav-toggle-label span::before {
        transform: translateY(-7px);
    }

    .nav-toggle-label span::after {
        transform: translateY(5px);
    }

    .main-nav {
        grid-column: 1 / -1;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 0;
        border-top: 1px solid var(--line);
    }

    .main-nav a {
        padding: 14px 0;
    }

    .main-nav a::after {
        bottom: 6px;
        right: auto;
        width: 62px;
    }

    .nav-toggle:checked ~ .main-nav {
        display: flex;
    }

    .hero,
    .split-hero,
    .content-band,
    .contact-form-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy {
        padding-bottom: 22px;
    }

    .hero-image {
        min-height: 320px;
    }

    .content-band,
    .content-panel,
    .content-card,
    .cta-panel,
    .contact-form-panel {
        padding: 24px;
    }

    .ghost-illustration {
        justify-self: start;
    }

    .cta-panel,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .brand-image img {
        height: 46px;
        max-width: 190px;
    }

    .footer-brand.brand-image img {
        height: 42px;
        max-width: 180px;
    }

    .hero h1,
    .page-hero.compact h1,
    .split-hero h1 {
        font-size: 48px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 0 20px;
    }

    .cards-grid-four,
    .cards-grid-three,
    .stats-grid,
    .contact-grid,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .location-card {
        min-height: 320px;
    }

    .filter-row button {
        flex: 1 1 130px;
    }

    .hero-image span {
        right: 18px;
        bottom: 18px;
        font-size: 13px;
    }
}
