:root {
  --bg: #0b1014;
  --bg-2: #121920;
  --panel: rgba(18, 28, 36, 0.72);
  --line: rgba(148, 163, 184, 0.16);
  --text: #e8eef2;
  --muted: #9aa8b5;
  --blue: #1b6bb0;
  --blue-2: #2f86d0;
  --red: #db4124;
  --green: #166e0e;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100dvh;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(27, 107, 176, 0.22), transparent 50%),
              radial-gradient(900px 500px at 100% 0%, rgba(219, 65, 36, 0.12), transparent 45%),
              var(--bg);
  color: var(--text);
  font-family: Inter, "Open Sans", system-ui, Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus { left: 8px; background: #000; padding: 8px 12px; z-index: 80; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(11, 16, 20, 0.78);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
}
.logo img {
  height: 52px;
  width: auto;
}
.top-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.chip:hover, .chip:focus-visible { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(27,107,176,0.25); }
.chip.call { background: var(--red); border-color: transparent; font-weight: 700; }
.chip.call:hover { filter: brightness(1.08); transform: translateY(-1px); }

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
}
.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  width: 100%;
}
.nav a, .nav-extra a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.nav a:hover, .nav a:focus-visible, .nav a.active {
  color: var(--text);
  background: rgba(27, 107, 176, 0.18);
}
.nav-extra { margin-left: auto; display: flex; gap: 4px; }
.nav-extra a.pay { color: #fff; background: var(--blue); }
.nav-extra a.pay:hover { background: var(--blue-2); }

.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,16,20,0.15) 0%, rgba(11,16,20,0.82) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px 36px;
  width: 100%;
}
.kicker {
  color: #cfe4f7;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero p {
  margin: 0;
  max-width: 720px;
  color: #d7e3ec;
  font-size: 18px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}
.section { margin: 28px 0; }
.section h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
}

.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-services { grid-template-columns: repeat(3, 1fr); }
  .topbar-inner { padding: 12px 24px; }
  .nav-wrap, .hero-copy, .wrap { padding-left: 24px; padding-right: 24px; }
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(47, 134, 208, 0.45);
  box-shadow: 0 18px 40px rgba(27, 107, 176, 0.18);
}
.card .thumb {
  height: 150px;
  width: 100%;
  object-fit: cover;
}
.card .body { padding: 16px; }
.card h3 {
  margin: 0 0 6px;
  color: #f2b8ad;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.prose p { color: #d5dee6; line-height: 1.7; margin: 0 0 14px; }
.prose h3 { margin: 22px 0 8px; font-size: 20px; color: #fff; }
.prose ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
@media (min-width: 700px) {
  .prose ul.services { grid-template-columns: repeat(2, 1fr); }
}
.prose li {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 160px;
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery a:hover img { transform: scale(1.05); }

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(27,107,176,0.35), rgba(219,65,36,0.22));
  border: 1px solid rgba(255,255,255,0.08);
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #dce7ef; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 800;
  transition: all 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }

.form {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8,12,16,0.7);
  color: var(--text);
  padding: 10px 12px;
  transition: all 0.2s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(27,107,176,0.25);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
}
.check input { width: 20px; min-height: 20px; margin-top: 4px; }
.form-note { color: var(--muted); font-size: 13px; }
.form-ok {
  display: none;
  padding: 14px;
  border-radius: 12px;
  background: rgba(22,110,14,0.25);
  border: 1px solid rgba(22,110,14,0.45);
}

.footer {
  border-top: 1px solid var(--line);
  background: #090d11;
  padding: 28px 16px 40px;
  color: var(--muted);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer h4 { margin: 0 0 8px; color: #fff; }
.footer a { color: #9ec9ee; text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover, .footer a:focus-visible { color: #fff; }
.legal a { color: #7eb6e8; font-weight: 700; }
.legal { margin-top: 18px; font-size: 13px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90dvh; max-width: 100%; border-radius: 12px; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav, .nav-extra {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-wrap.open .nav, .nav-wrap.open .nav-extra { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
  .nav-extra { margin-left: 0; }
  .top-meta .chip.email { display: none; }
}
