@font-face {
    font-family: 'Archivo';
    src: url('../fonts/Archivo.woff2') format('woff2');
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

:root {
    --orange: #E85515;
    --orange-deep: #C7430C;
    --black: #000;
    --white: #fff;
    --concrete: #ECEDEE;
    --steel: #5B636B;
    --gutter: clamp(16px, 4vw, 56px);
    --slash: 12deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font: 400 17px/1.55 'Archivo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 24px; height: 24px; flex: none; }

h1, h2 { font-stretch: 62%; font-weight: 800; line-height: .94; letter-spacing: -.005em; text-transform: uppercase; }
h2 { font-size: clamp(2.5rem, 5.4vw, 5rem); text-wrap: balance; }

.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; background: var(--orange); color: var(--white); font-weight: 700; text-decoration: none; transition: background-color .15s; }
.btn:hover, .btn:focus-visible { background: var(--white); color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.btn--light { background: var(--white); color: var(--orange); }
.btn--light:hover, .btn--light:focus-visible { background: var(--orange); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn--line { background: none; color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.btn--line:hover, .btn--line:focus-visible { background: var(--orange); color: var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--white); box-shadow: 0 1px 0 rgb(0 0 0 / .08); }
.admin-bar .site-head { top: 32px; }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; }
.logo img { width: 158px; }
.site-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.nav-top, .nav-main { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.nav-top { gap: 22px; font-size: 14px; color: var(--steel); }
.nav-main { gap: 26px; font-weight: 700; font-size: 16px; }
.site-nav a { text-decoration: none; }
.nav-top a:hover { color: var(--orange-deep); }
.nav-main a { padding-block: 4px; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .15s; }
.nav-main a:hover { box-shadow: inset 0 -2px 0 var(--orange); }
.head-cta { flex: none; min-height: 46px; padding: 0 24px; }
.burger { display: none; }
.logo { position: relative; }
.logo__white { display: none; }

/* News strip */
.news { display: block; background: var(--orange); color: var(--white); text-decoration: none; transition: background-color .12s, color .12s; }
.news__in { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding-block: 6px; font-stretch: 62%; font-size: 23px; font-weight: 700; letter-spacing: .01em; line-height: 1.1; text-transform: uppercase; }
.news b { padding: 2px 9px 3px; background: var(--white); color: var(--orange); font-weight: 800; transition: background-color .12s, color .12s; }
.news i { padding-bottom: 1px; box-shadow: inset 0 -2px 0 currentColor; font-style: normal; font-weight: 800; }
.news:hover, .news:focus-visible { background: var(--white); color: var(--orange); }
.news:hover b, .news:focus-visible b { background: var(--orange); color: var(--white); }

/* Hero */
.hero { position: relative; display: flex; min-height: min(calc(100svh - 148px), 880px); overflow: hidden; background: var(--black); color: var(--white); isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) brightness(.7); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .8), rgb(0 0 0 / .5) 50%, rgb(0 0 0 / .1) 100%); }
.hero__in { position: relative; display: flex; align-items: center; padding-block: clamp(36px, 6vh, 64px); }
.hero__copy { width: 100%; max-width: 860px; }
.hero__hello { font-weight: 600; font-size: 20px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(3.2rem, 7.4vw, 7rem); text-wrap: balance; }
.hero__lead { max-width: 58ch; margin-block: 18px 24px; font-size: 18px; }

/* Offer */
.offer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 700px; padding: 14px 22px 14px 20px; border-left: 4px solid var(--orange); background: rgb(0 0 0 / .62); color: var(--white); text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .12s; }
.offer:hover, .offer:focus-visible { background: rgb(0 0 0 / .8); }
.offer b { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; }
.offer small { display: block; margin-top: 3px; font-size: 15px; line-height: 1.3; }
.offer strong { flex: none; color: #FF6A2B; font-stretch: 62%; font-size: 4rem; font-weight: 800; line-height: 1; }

/* Hero links */
.hero__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 700px; margin-top: 8px; }
.hero__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 66px; padding: 10px 16px 10px 18px; background: var(--orange); color: var(--white); text-decoration: none; transition: background-color .12s, color .12s; }
.hero__links b { display: block; font-size: 18px; line-height: 1.15; }
.hero__links small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.2; }
.hero__links .ico { width: 20px; height: 20px; }
.hero__links a:hover, .hero__links a:focus-visible { background: var(--white); color: var(--orange); }

/* Features */
.features-band { background: var(--black); color: var(--white); }
.features { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; gap: 18px 24px; padding-block: 28px; font-weight: 600; font-size: 16px; }
.features li { display: flex; align-items: center; gap: 10px; }
.features .ico { color: var(--orange); }

/* Sizes */
.sizes { display: grid; grid-template-columns: 1fr 1fr; background: var(--concrete); }
.sizes__stage { position: relative; min-height: 640px; background: var(--white); }
.sizes__img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 28px; object-fit: contain; opacity: 0; transition: opacity .22s; }
.sizes__img.is-on { opacity: 1; }
.sizes__copy { padding: clamp(40px, 6vw, 88px) var(--gutter); }
.sizes__copy > p { max-width: 58ch; margin-top: 14px; }
.sizes__copy h2 { margin-bottom: 22px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 0; background: var(--white); color: var(--black); font: inherit; text-align: left; cursor: pointer; transition: background-color .12s, color .12s; }
.tile__size { font-stretch: 75%; font-size: 30px; font-weight: 800; line-height: 1; }
.tile__price { font-weight: 700; font-size: 19px; white-space: nowrap; }
.tile:hover, .tile:focus-visible { color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.tile[aria-pressed='true'] { background: var(--orange); color: var(--white); box-shadow: none; }
.sizes .sizes__book { margin-block: 30px 12px; font-weight: 700; }

/* Parking */
.park { background: var(--orange); color: var(--white); }
.park__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 56px; padding-block: clamp(44px, 6vw, 76px); }
.park__in > div { min-width: 0; }
.park h2 { margin-bottom: 12px; }
.park__in > div:first-child > p { max-width: 46ch; font-size: 19px; }
.park__tags { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 28px; margin-top: 18px; font-weight: 700; }
.park__tags li { display: flex; align-items: center; gap: 10px; }
.park__tags .ico { width: 44px; height: 44px; padding: 9px; background: var(--white); color: var(--orange); }
.park__price { display: grid; grid-template-columns: auto auto; align-items: end; gap: 22px 40px; }
.park__price .btn { grid-column: 1 / -1; justify-content: center; }
.park__price p { font-weight: 600; line-height: 1.1; }
.park__price b { font-stretch: 62%; font-size: 4.75rem; font-weight: 800; line-height: .9; }
.park__price small { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; }

/* How it works */
.how { padding-block: clamp(56px, 8vw, 112px); }
.how__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 112px); }
.how__intro p { max-width: 50ch; margin-top: 14px; }
.how__intro h2 { margin-bottom: 20px; }
.how .how__for { font-weight: 700; }
.how__intro .btn { margin-top: 26px; }
.how__list { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; }
.how__list h3 { padding-top: 12px; margin-bottom: 8px; border-top: 3px solid var(--orange); font-size: 21px; font-weight: 700; line-height: 1.2; }
.how__list p { font-size: 16px; color: #3C4248; }

/* Map */
#xp-map { height: clamp(360px, 44vw, 560px); background: var(--concrete); }

/* Footer */
.site-foot { padding-top: clamp(48px, 6vw, 80px); background: var(--black); color: var(--white); font-size: 16px; }
.menu :focus-visible { outline-color: var(--white); }
.site-foot__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { color: var(--orange); }
.site-foot nav { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.site-foot__logo { width: 170px; margin-bottom: 18px; }
.site-foot__tel { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.site-foot__mail { display: block; margin-top: 2px; }
.site-foot__call p { margin-top: 4px; }
.site-foot__place b { display: block; font-weight: 700; }
.site-foot__place + .site-foot__place { margin-top: 14px; }
.site-foot__end { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(36px, 5vw, 56px); padding-block: 20px; box-shadow: 0 -1px 0 rgb(255 255 255 / .2); font-size: 14px; }
.site-foot__end a { text-decoration: underline; text-underline-offset: 3px; }
.plain { padding-block: 48px; }

@media (max-width: 1180px) {
    .site-nav { display: none; }
    .burger { display: block; }
    .logo, .head-cta, .burger summary { position: relative; z-index: 3; }
    .burger summary { display: grid; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; list-style: none; cursor: pointer; }
    .burger summary::-webkit-details-marker { display: none; }
    .burger summary span { height: 2px; background: var(--black); transition: transform .18s, opacity .12s; }
    .burger[open] summary span { background: var(--white); }
    .burger[open] summary span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger[open] summary span:nth-child(2) { opacity: 0; }
    .burger[open] summary span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Full-screen menu */
    .site-head:has(.burger[open]) { background: var(--orange); box-shadow: none; }
    .site-head:has(.burger[open]) .logo img:first-child { display: none; }
    .site-head:has(.burger[open]) .logo__white { display: block; }
    .site-head:has(.burger[open]) .head-cta { background: var(--white); color: var(--orange); }
    .site-head:has(.burger[open]) .head-cta:hover { background: var(--orange); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
    html:has(.burger[open]) { overflow: hidden; }
    .menu { position: fixed; inset: 0; z-index: 2; display: flex; flex-direction: column; height: 100dvh; padding: 112px var(--gutter) 28px; overflow-y: auto; background: var(--orange); color: var(--white); animation: menu-in .18s ease-out; }
    .menu a { color: inherit; text-decoration: none; }
    .menu__book { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 10px; }
    .menu__book a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: min(10vh, 78px); padding: 8px 14px 8px 16px; background: var(--white); color: var(--orange); font-stretch: 62%; font-size: min(5vh, 7.3vw, 2.5rem); font-weight: 800; line-height: 1; text-transform: uppercase; white-space: nowrap; transition: background-color .12s, color .12s; }
    .menu__book a:hover, .menu__book a:focus-visible { background: var(--orange); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
    .menu__book .ico { width: 26px; height: 26px; }
    .menu__book small { display: block; margin-top: 5px; color: var(--black); font-stretch: 100%; font-size: 15px; font-weight: 600; line-height: 1.1; text-transform: none; white-space: normal; }
    .menu__book a:hover small, .menu__book a:focus-visible small { color: var(--white); }
    .menu__main { display: flex; flex-direction: column; }
    .menu__main a { padding-block: 11px; box-shadow: inset 0 -1px 0 rgb(255 255 255 / .4); font-stretch: 62%; font-size: min(6vh, 10.4vw, 3.25rem); font-weight: 800; line-height: 1.02; text-transform: uppercase; transition: color .12s; }
    .menu__main a:hover, .menu__main a:focus-visible { color: var(--black); }
    .menu__small { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 22px; font-size: 18px; font-weight: 600; }
    .menu__small a:hover, .menu__small a:focus-visible { color: var(--black); }
    .menu__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: auto; padding-top: 24px; font-size: 16px; font-weight: 500; }
    .features { grid-template-columns: repeat(3, auto); }
    .head-cta { margin-left: auto; }
    .site-foot__grid { grid-template-columns: 1fr 1fr; }
    .site-foot__call { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .hero { min-height: 0; }
    .hero::after { background: rgb(0 0 0 / .58); }
    .sizes { grid-template-columns: 1fr; }
    .sizes__stage { min-height: 0; aspect-ratio: 1; }
    .how__in { grid-template-columns: 1fr; }
    .park__in { grid-template-columns: 1fr; }
    .park__price { justify-content: start; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .site-head__in { min-height: 76px; }
    .logo img { width: 124px; }
    .features { grid-template-columns: 1fr 1fr; font-size: 14px; }
    .hero__links { grid-template-columns: 1fr; }
    .offer { padding: 12px 14px; gap: 12px; }
    .offer b { font-size: 17px; }
    .offer small { font-size: 14px; }
    .offer strong { font-size: 3.25rem; }
    .site-head__in { gap: 12px; }
    .head-cta { min-height: 42px; padding: 0 18px; }
    .menu { padding-top: 92px; }
    .news__in { min-height: 40px; font-size: 3.85vw; letter-spacing: 0; white-space: nowrap; }
    .news b, .news i { display: none; }
    .park h2 { font-size: 10.4vw; }
    .how__list { grid-template-columns: 1fr; gap: 30px; }
    .tile__size { font-size: 24px; }
    .tile { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 6px; }
    .site-foot__grid { gap: 28px 20px; }
    .site-foot__grid > div:last-child { grid-column: 1 / -1; }
    .park__tags { grid-template-columns: repeat(2, auto); }
}

@keyframes menu-in {
    from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .menu { animation: none; }
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
