/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f2a44;
  color: #ffffff;
}

/* =========================
   CONTAINER
========================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  height: 72px;
  filter:
    drop-shadow(0 4px 10px rgba(0,0,0,0.45))
    drop-shadow(0 0 14px rgba(242,201,76,0.18));
}

/* =========================
   MESSENGERS
========================= */
.header-messengers a {
  font-size: 30px;
  margin-left: 22px;
  text-decoration: none;
}

.header-messengers .tg { color: #229ED9; }
.header-messengers .vb { color: #7360F2; }

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 88px;
  overflow: hidden;
}

/* =========================
   VIDEO
========================= */
.video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-video.mobile { display: none; }

@media (max-width: 768px) {
  .bg-video.desktop { display: none; }
  .bg-video.mobile { display: block; }
}

/* =========================
   OVERLAY
========================= */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15, 42, 68, 0.72),
    rgba(15, 42, 68, 0.88)
  );
  z-index: 2;
}

/* =========================
   CONTENT
========================= */
.content {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
}

.content-inner {
  width: 100%;
  text-align: center;
}

/* =========================
   TEXT (FIXED H1)
========================= */
h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.location {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* =========================
   PHONE BUTTON (VIBE)
========================= */
.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,42,68,0.96);
  color: #f2c94c;
  font-size: 34px;
  font-weight: 800;
  padding: 22px 36px;
  border-radius: 14px;
  border: 2px solid #f2c94c;
  text-decoration: none;
  margin-bottom: 28px;
  transition: all .2s ease;
}

.phone-button:hover {
  background: #f2c94c;
  color: #0f2a44;
}

/* =========================
   SERVICES / TRUST
========================= */
.services {
  font-size: 18px;
  margin-bottom: 18px;
}

.trust {
  font-size: 16px;
  opacity: 0.85;
}

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

/* ≤ 1024px */
@media (max-width: 1024px) {
  .site-logo { height: 64px; }

  h1 {
    font-size: 46px;
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  .header-messengers a {
    font-size: 26px;
    margin-left: 18px;
  }

  .phone-button {
    font-size: 28px;
    padding: 18px 26px;
  }
}

/* ≤ 500px */
@media (max-width: 500px) {
  .site-logo { height: 56px; }

  h1 {
    font-size: 32px;
  }

  .phone-button {
    font-size: 24px;
    padding: 16px 22px;
  }
}

/* ≤ 340px — КРИТИЧЕСКИЙ */
@media (max-width: 340px) {
  h1 {
    font-size: 30px;
  }

  .phone-button {
    font-size: 22px;
    padding: 14px 18px;
  }
}