/* ===================== BASE ===================== */
:root {
  --bg: #060912;
  --bg-2: #0a1020;
  --panel: #0d1526;
  --panel-2: #111c33;
  --line: rgba(90, 130, 200, 0.18);
  --blue: #1e7fff;
  --blue-bright: #3a9bff;
  --blue-deep: #0b4fb8;
  --silver: #d7dde6;
  --silver-dim: #9aa6b8;
  --text: #c7d0de;
  --text-dim: #8b97a8;
  --white: #f4f7fc;
  --radius: 14px;
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===================== HELPERS ===================== */
.line-silver {
  background: linear-gradient(180deg, #ffffff 0%, #c2cad6 45%, #7d8794 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.line-blue {
  background: linear-gradient(180deg, #5aa8ff 0%, #1e7fff 50%, #0b4fb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  padding: 16px 30px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(30, 127, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(30, 127, 255, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-ghost .btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
}
.btn-full { width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 9, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(6, 9, 18, 0.96);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.55);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}

/* Brand / logo */
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, #ffffff, #9aa4b2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub {
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.52em;
  color: var(--blue-bright);
  margin-top: 4px;
}

/* Nav */
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: var(--silver-dim);
  padding: 6px 0;
  transition: color 0.18s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-deep));
  transition: width 0.22s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 13px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  box-shadow: 0 8px 22px rgba(30, 127, 255, 0.4);
  transition: transform 0.18s ease;
}
.phone-btn:hover { transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding-top: 78px;
  background:
    radial-gradient(900px 500px at 78% 22%, rgba(30, 127, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #060912 0%, #0a1224 60%, #060912 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 127, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 127, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 56px;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-title span { display: block; }
.hero-text {
  margin: 28px 0 34px;
  font-size: 1.06rem;
  color: var(--text);
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-badges {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--silver);
}
.hero-badges svg { color: var(--blue-bright); flex-shrink: 0; }
.hero-badges li + li { padding-left: 34px; border-left: 1px solid var(--line); }

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 460px;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 48%, rgba(6, 9, 18, 0.62)),
    radial-gradient(ellipse 75% 65% at 62% 38%, transparent, rgba(6, 9, 18, 0.4));
}
.hero-visual-tag {
  position: absolute;
  z-index: 2;
  right: 22px; top: 24px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: rgba(220, 235, 255, 0.72);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

/* ===================== CONTACT BAR ===================== */
.contact-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 26px 18px;
  margin-bottom: 64px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
}
.cb-item {
  display: flex;
  gap: 14px;
  padding: 4px 18px;
  align-items: flex-start;
}
.cb-item + .cb-item { border-left: 1px solid var(--line); }
.cb-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(30, 127, 255, 0.12);
  border: 1px solid var(--line);
  color: var(--blue-bright);
  flex-shrink: 0;
}
.cb-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.cb-big {
  display: block;
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--white);
}
.cb-big-strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
}
.cb-text { display: block; font-size: 0.92rem; font-weight: 600; color: var(--silver); word-break: break-word; }
.cb-note { display: block; font-size: 0.76rem; color: var(--text-dim); margin-top: 2px; }

/* ===================== SECTIONS ===================== */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, #060912, #0a1020, #060912); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-lead { margin-top: 16px; color: var(--text-dim); font-size: 1.02rem; }

/* ===================== SERVICES GRID ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.sc-img {
  width: calc(100% + 52px);
  height: 188px;
  margin: -30px -26px 0;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.service-card:hover .sc-img { transform: scale(1.05); }
.sc-icon {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 14px;
  margin: -52px 0 18px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--blue);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  color: var(--blue-bright);
}
.service-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 16px; }
.sc-list { display: flex; flex-direction: column; gap: 8px; }
.sc-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: var(--text);
}
.sc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
}

/* ===================== ABOUT ===================== */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(30, 127, 255, 0.28), transparent 65%),
    linear-gradient(135deg, #0e1626, #05080f);
  border: 1px solid var(--line);
}
.about-logo {
  width: 80%;
  max-width: 360px;
  height: auto;
}
.about-text .section-title { text-align: left; }
.about-text p { margin-top: 16px; color: var(--text-dim); }
.about-points { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.about-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.94rem; color: var(--text);
}
.about-points .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  flex-shrink: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.stat {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  background: linear-gradient(180deg, #5aa8ff, #0b4fb8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 0.86rem; color: var(--text-dim); }

/* ===================== PRICES ===================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.price-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--blue); }
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 16px 38px rgba(30, 127, 255, 0.22);
}
.price-tag {
  position: absolute;
  top: -12px; right: 22px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: var(--white);
}
.price-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.price-list { display: flex; flex-direction: column; gap: 12px; }
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.price-row .price { font-weight: 800; color: var(--blue-bright); white-space: nowrap; }
.price-save {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(74, 222, 128, 0.16);
  color: #4ade80;
  vertical-align: middle;
  white-space: nowrap;
}
.price-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(30, 127, 255, 0.16), transparent 70%),
    linear-gradient(135deg, #0e1626, #05080f);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.gallery-item:hover { transform: translateY(-4px); border-color: var(--blue); }
.gallery-item img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gi-label {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 22px 18px 14px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(6, 9, 18, 0.92));
}

/* ===================== CONTACT ===================== */
.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
.contact-form, .contact-info {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--white);
  padding: 13px 14px;
  border-radius: 9px;
  background: rgba(6, 9, 18, 0.6);
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5e6a7c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 127, 255, 0.15);
}
.field textarea { resize: vertical; }
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: #ff5c5c;
}
.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.ok { color: #45d68a; }
.form-status.err { color: #ff6b6b; }

.contact-info h3 {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
.ci-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ci-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(30, 127, 255, 0.12);
  border: 1px solid var(--line);
  color: var(--blue-bright);
  flex-shrink: 0;
}
.ci-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.ci-row strong { color: var(--white); font-size: 0.94rem; word-break: break-word; }
.ci-cta {
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 127, 255, 0.16), rgba(11, 79, 184, 0.08));
  border: 1px solid var(--line);
}
.ci-cta strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.ci-cta span { font-size: 0.86rem; color: var(--text-dim); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.18s ease;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-contact a { font-size: 0.9rem; color: var(--silver); font-weight: 600; }
.footer-contact a:hover { color: var(--blue-bright); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; order: -1; }
  .contact-bar { grid-template-columns: repeat(2, 1fr); }
  .cb-item:nth-child(odd) { border-left: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 9, 18, 0.99);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .phone-btn { padding: 11px 16px; font-size: 0.85rem; }
  .header-inner { gap: 12px; }
  .hero-badges { gap: 18px; }
  .hero-badges li + li { padding-left: 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .footer-bottom .container { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .contact-bar { grid-template-columns: 1fr; }
  .cb-item { border-left: none !important; }
  .services-grid, .price-grid, .stats-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .brand-name { font-size: 1.2rem; }
  .hero-badges li { font-size: 0.72rem; }
}
