/* =========================================================
   SKYVIEW DELIVERY — Публичная оферта
   Fonts: Stolzl / Wremena (design) → Montserrat / PT Serif (web fallback)
   ========================================================= */

:root {
  --blue: #18263b;
  --white: #ffffff;
  --bg: #f1f3f5;

  --font-sans: "Stolzl", "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-serif: "Wremena", "PT Serif", Georgia, "Times New Roman", serif;

  --content-max: 1280px;
  --gutter: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   LOADER — automatic doors opening from the middle
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}

.loader__panel {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
/* depth only while the doors are moving — keeps the closed screen seamless */
.loader.is-open .loader__panel { box-shadow: 0 0 60px rgba(0, 0, 0, 0.45); }

.loader__panel--left  { left: 0; }
.loader__panel--right { right: 0; }

/* Each half shows the correct portion of one full-viewport image,
   so the seam is dead-center and the logo splits like sliding doors. */
.loader__img {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.loader__panel--left  .loader__img { left: 0; }
.loader__panel--right .loader__img { right: 0; }

.loader__seam {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.25) 55%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.015); }
}
.loader:not(.is-open) .loader__img { animation: loaderPulse 2.4s ease-in-out infinite; }

.loader.is-open .loader__seam { opacity: 1; }
.loader.is-open .loader__panel--left  { transform: translateX(-100%); }
.loader.is-open .loader__panel--right { transform: translateX(100%); }

.loader.is-done { display: none; }

/* =========================================================
   PAGE SHELL  (full-width; content is centred individually)
   ========================================================= */
.page {
  width: 100%;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* =========================================================
   HERO / BANNER  — full screen
   ========================================================= */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #b9c6d1;
}

.banner__media { position: absolute; inset: 0; }

/* base scene (opaque sky) and towers overlay (transparent sky) use the
   SAME cover transform, so the buildings line up exactly at any size and
   the watermark text stays behind them / in front of the sky. */
.banner__sky,
.banner__towers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.banner__sky    { z-index: 1; }
.banner__towers { z-index: 3; }

.banner__watermark {
  position: absolute;
  z-index: 2;
  top: 15vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 1279px);
  height: auto;
}

/* -- top bar / header -- */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--white);
}

.topbar__menu {
  display: flex;
  gap: 20px;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.topbar__menu a { transition: opacity 0.2s ease; }
.topbar__menu a:hover { opacity: 0.7; }
.topbar__menu .is-underline { text-decoration: underline; text-underline-position: from-font; }

.topbar__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.topbar__logo img { width: 120px; height: 54px; }

.topbar__phone {
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.topbar__phone:hover { opacity: 0.7; }

/* -- hero buttons -- */
.banner__buttons {
  position: absolute;
  left: 50%;
  bottom: 8vh;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  padding: 29px 40px;
  border-radius: 10px;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24, 38, 59, 0.25); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--dark  { background: var(--blue); color: var(--white); }

/* =========================================================
   CONTENT / OFFER TEXT
   ========================================================= */
.content {
  width: 100%;
  max-width: var(--content-max);
  padding: 0 var(--gutter);
  margin: 120px auto;
  color: var(--blue);
}

.content__title {
  margin: 0 0 60px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 50px;
  text-transform: uppercase;
}

.content__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  padding: 60px 24px;
}

.footer__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(88.8%, 1279px);
  height: auto;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
  text-transform: uppercase;
}

.footer__logo { width: 150px; height: 68px; }

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.footer__heading { margin: 0; font-size: 24px; font-weight: 500; }
.footer__sub { margin: 0; font-size: 14px; }

.footer__lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  font-size: 32px;
  font-weight: 500;
}
.footer__lines a { transition: opacity 0.2s ease; }
.footer__lines a:hover { opacity: 0.75; }

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

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet landscape */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .content__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.14; }
  .footer__lines { font-size: 28px; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .topbar { height: 68px; padding: 0 32px; }
  .topbar__logo img { width: 100px; height: 45px; }
  .topbar__menu { gap: 14px; font-size: 14px; }
  .topbar__phone { font-size: 14px; }

  .banner__watermark { top: 13vh; width: 92vw; }
  .btn { min-width: 150px; padding: 22px 28px; font-size: 14px; }

  .content { margin: 72px auto; }
  .content__title { margin-bottom: 40px; }
  .content__body { font-size: 15px; }

  .footer__lines { font-size: 24px; }
  .footer__heading { font-size: 20px; }
}

/* Phones */
@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .topbar { height: 60px; padding: 0 16px; }
  .topbar__menu { gap: 12px; font-size: 12px; }
  .topbar__phone { display: none; }               /* keep header clean; phone lives in footer */
  .topbar__logo img { width: 92px; height: 41px; }

  .banner__watermark { top: 16vh; width: 94vw; }

  .banner__buttons { bottom: 6vh; gap: 10px; width: calc(100% - 32px); }
  .btn { flex: 1; min-width: 0; padding: 18px 12px; font-size: 13px; }

  .content { margin: 48px auto; }
  .content__title { font-size: clamp(22px, 6.2vw, 30px); margin-bottom: 28px; }
  .title-br { display: none; }
  .content__body { font-size: 14px; }

  .footer { padding: 48px 20px; }
  .footer__logo { width: 120px; height: auto; }
  .footer__inner { gap: 40px; }
  .footer__contacts { gap: 22px; }
  .footer__lines { font-size: 20px; gap: 18px; }
  .footer__lines a { word-break: break-word; }
}

/* Reduced motion — no pulse, instant fade instead of sliding doors */
@media (prefers-reduced-motion: reduce) {
  .loader__panel { transition: opacity 0.4s ease; }
  .loader:not(.is-open) .loader__img { animation: none; }
  .loader.is-open { opacity: 0; }
  .loader.is-open .loader__panel--left,
  .loader.is-open .loader__panel--right { transform: none; }
}
