﻿:root {
  --bg: #0e1622;
  --bg2: #121d2c;
  --panel: #192638;
  --line: #2a3a52;
  --text: #e8edf5;
  --muted: #b6c2d4;
  --accent: #f2b544;
  --accent2: #d28f22;
  --ok: #2ca66a;
  --container: 1160px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #1d2f47 0%, var(--bg) 42%) fixed;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent 42px, rgba(255,255,255,0.02) 43px);
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(14, 22, 34, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-name { letter-spacing: 0.2px; }

.menu {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.menu a,
.phone {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.menu a:hover,
.phone:hover { color: var(--text); }

.hero {
  padding: 74px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.9px;
}

h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 12px 18px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1b1610;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stats div {
  min-width: 140px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.stats strong { display: block; font-size: 24px; color: var(--accent); }
.stats span { color: var(--muted); font-size: 13px; }

.hero-card,
.card {
  border-radius: 14px;
  background: rgba(25, 38, 56, 0.8);
  border: 1px solid var(--line);
  padding: 18px;
}

.hero-card h3,
.card h3 {
  margin: 0 0 10px;
}

.hero-card ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }

.section {
  padding: 44px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 36px);
}

.cards {
  display: grid;
  gap: 14px;
}

.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card p { color: var(--muted); line-height: 1.6; margin: 0; }

.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(242,181,68,0.16);
  color: #ffd88f;
  font-size: 12px;
  font-weight: 700;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-box {
  background: rgba(242,181,68,0.08);
  border: 1px solid rgba(242,181,68,0.25);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-box p { font-size: 22px; line-height: 1.4; margin: 0 0 12px; }
.quote-box span { color: var(--muted); }

.map {
  width: 100%;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px;
  background: #111;
}

.form { display: grid; gap: 12px; margin-top: 12px; }
.form label { display: grid; gap: 6px; }
.form span { color: var(--muted); font-size: 14px; }

input, textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #121d2c;
  color: var(--text);
  padding: 12px;
  font: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid rgba(242,181,68,0.4);
  border-color: rgba(242,181,68,0.5);
}

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status {
  border-radius: 10px;
  border: 1px solid rgba(44,166,106,0.4);
  background: rgba(44,166,106,0.14);
  color: #d4ffe7;
  padding: 10px 12px;
  font-size: 14px;
}

.footer {
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.footer-row a { color: var(--text); text-decoration: none; }

@media (max-width: 1040px) {
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; padding: 10px 0; }
  .menu { order: 3; width: 100%; justify-content: space-between; margin-left: 0; }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards.three,
  .cards.four { grid-template-columns: 1fr; }
  .phone { margin-left: auto; }
  h1 { font-size: 34px; }
}
