:root {
  --blue: #00a7df;
  --blue-dark: #0079a6;
  --black: #02080c;
  --ink: #0a1720;
  --white: #ffffff;
  --soft: #edf7fb;
  --line: rgba(5, 28, 39, 0.14);
  --shadow: 0 24px 70px rgba(0, 75, 105, 0.16);
  --radius-lg: 34px;
  --radius-md: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(2,8,12,.94);
}
.header__inner {
  display: flex;
  align-items: center;
  min-height: 84px;
  gap: 28px;
}
.header__logo { width: min(285px, 40vw); }
.header__logo img { width: 100%; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: rgba(255,255,255,.86);
  font-weight: 700;
}
.nav a { padding: 10px 0; transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--blue); }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 3px;
  background: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(0,167,223,.36), transparent 24%),
    linear-gradient(135deg, #02080c 0%, #071c27 58%, #02080c 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 90px 0;
  gap: 70px;
}
.hero__content, .hero__logo-card { animation: enter .7s ease both; }
.hero__logo-card { animation-delay: .12s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tag {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .21em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; line-height: 1.03; letter-spacing: -.045em; }
h1 { font-size: clamp(3.5rem, 8vw, 7.2rem); }
h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.hero__phone {
  margin: 24px 0 34px;
  color: rgba(255,255,255,.74);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}
.hero__phone a { color: #fff; font-weight: 900; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button--primary { color: #021018; background: var(--blue); box-shadow: 0 16px 35px rgba(0,167,223,.28); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.hero__logo-card {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 55px 44px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 46px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: 0 32px 90px rgba(0,0,0,.33);
}
.hero__logo-card img { position: relative; z-index: 2; width: min(100%, 540px); height: auto; }
.hero__shine {
  position: absolute;
  top: -70%;
  left: -80%;
  width: 42%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: rotate(27deg);
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%, 30% { left: -80%; } 65%, 100% { left: 145%; } }
.hero__decor { position: absolute; right: -6%; bottom: -3%; z-index: -1; width: min(54vw, 760px); aspect-ratio: 2 / 1; opacity: .15; }
.hero__decor span { position: absolute; top: 8%; width: 42%; aspect-ratio: 1; border: 18px solid var(--blue); border-radius: 50%; }
.hero__decor span:first-child { left: 1%; }
.hero__decor span:nth-child(2) { right: 1%; }
.hero__decor i { position: absolute; top: 38%; left: 42%; width: 16%; border-top: 14px solid var(--blue); }

.section { padding: 105px 0; }
.section__heading { margin-bottom: 46px; }
.section__heading--light { color: #fff; }
.gallery {
  background:
    radial-gradient(circle at 12% 8%, rgba(0,167,223,.10), transparent 24%),
    var(--soft);
}
.gallery__grid {
  display: grid;
  grid-auto-rows: 245px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.gallery__item {
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,48,68,.09);
  cursor: zoom-in;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery__item:hover, .gallery__item:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,80,112,.18); outline: 3px solid rgba(0,167,223,.28); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: contain; border-radius: 13px; }

.video-section {
  color: #fff;
  background:
    radial-gradient(circle at 76% 25%, rgba(0,167,223,.25), transparent 26%),
    linear-gradient(135deg, #02080c, #0a2735);
}
.video-section__grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  align-items: center;
  gap: 80px;
}
.video-frame {
  display: grid;
  min-height: 650px;
  place-items: center;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 40px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
}
.video-frame video {
  width: min(100%, 375px);
  aspect-ratio: 478 / 850;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.contact { background: #fff; }
.contact__panel {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(0,167,223,.42), transparent 30%),
    linear-gradient(135deg, #02080c, #092735);
  box-shadow: var(--shadow);
}
.contact__panel h2 { margin-bottom: 40px; }
.contact__links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__links a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-width: 0;
  padding: 22px;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  transition: transform .2s ease, border-color .2s ease;
}
.contact__links a:hover, .contact__links a:focus-visible { transform: translateY(-4px); border-color: var(--blue); }
.contact__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #021018;
  background: var(--blue);
  font-size: 1.5rem;
  font-weight: 900;
}
.contact__icon--facebook { font-family: Arial, sans-serif; font-size: 2rem; }
.contact__links small, .contact__links strong { display: block; }
.contact__links small { color: rgba(255,255,255,.64); }
.contact__links strong { overflow-wrap: anywhere; font-size: clamp(1rem, 2vw, 1.35rem); }

.footer { padding: 38px 0 95px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.footer__inner img { width: 190px; height: auto; }
.footer__inner p { margin: 0; font-weight: 900; }
.footer__inner a { font-weight: 800; }
.mobile-actions { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 24px;
  background: rgba(0,5,8,.96);
}
.lightbox.is-open { display: grid; }
.lightbox img { justify-self: center; max-width: 100%; max-height: calc(100vh - 70px); object-fit: contain; border-radius: 16px; }
.lightbox button { border: 1px solid rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.08); cursor: pointer; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; font-size: 2rem; }
.lightbox__prev, .lightbox__next { width: 52px; height: 66px; border-radius: 18px; font-size: 3rem; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { max-width: 760px; }
  .hero__logo-card { max-width: 760px; }
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-section__grid { grid-template-columns: 1fr; gap: 35px; }
  .section__heading--light { text-align: center; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header__inner { min-height: 74px; }
  .header__logo { width: min(230px, 68vw); }
  .menu-button { display: block; }
  .nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 14px 18px;
    background: #02080c;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero__grid { padding: 72px 0; gap: 44px; }
  h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero__logo-card { min-height: 245px; padding: 38px 24px; border-radius: 30px; }
  .hero__decor { width: 92vw; }
  .section { padding: 78px 0; }
  .gallery__grid { grid-auto-rows: 225px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .gallery__item { padding: 8px; border-radius: 17px; }
  .gallery__item--wide { grid-column: span 2; }
  .video-frame { min-height: 570px; padding: 20px; border-radius: 28px; }
  .contact__panel { padding: 42px 24px; border-radius: 26px; }
  .contact__links { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 15px; }
  .footer { padding-bottom: 110px; }
  .mobile-actions {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(2,8,12,.96);
    box-shadow: 0 16px 45px rgba(0,0,0,.3);
  }
  .mobile-actions a { display: grid; min-height: 55px; place-items: center; color: #fff; font-weight: 900; }
  .mobile-actions a:first-child { color: #021018; background: var(--blue); }
  .lightbox { grid-template-columns: 48px minmax(0,1fr) 48px; padding: 12px; }
  .lightbox__prev, .lightbox__next { width: 44px; height: 58px; }
}

@media (max-width: 460px) {
  .gallery__grid { grid-auto-rows: 210px; grid-template-columns: 1fr; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 1; }
  .hero__buttons { display: grid; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
