﻿:root {
  --bg-top: #233a90;
  --bg-bottom: #0f1f5e;
  --card: rgba(23, 39, 106, 0.78);
  --text: #f7f3de;
  --muted: #bcc7f2;
  --primary: #f0bf2d;
  --primary-strong: #d9a114;
  --primary-soft: rgba(240, 191, 45, 0.18);
  --line: rgba(198, 208, 255, 0.2);
  --link: #f7d45a;
  --danger: #ff9d9d;
  --shadow: 0 20px 60px rgba(4, 9, 31, 0.42);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(240, 191, 45, 0.22), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(118, 142, 255, 0.24), transparent 36%),
    linear-gradient(180deg, var(--bg-top), #16286f 34%, var(--bg-bottom) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); }

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
  opacity: 0.45;
}

.shape-a { width: 320px; height: 320px; background: #f0bf2d; left: -120px; top: 20vh; }
.shape-b { width: 260px; height: 260px; background: #5d75d9; right: -80px; top: 60vh; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(13, 24, 76, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 2vw, 2.4rem);
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand strong {
  display: block;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand small { color: var(--muted); font-size: 0.75rem; }

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7d45a, var(--primary-strong));
  color: #20357e;
  font-weight: 800;
  box-shadow: var(--shadow);
}

nav { display: flex; gap: 1rem; align-items: center; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease, background 0.2s ease;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
}

nav a.active,
nav a:hover { color: var(--text); background: rgba(240, 191, 45, 0.14); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(24, 40, 104, 0.72);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
}

main {
  flex: 1;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 4rem;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1rem, 2.4vw, 2.6rem) 0;
}

.hero h1 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 4.5vw, 4rem);
  margin: 0 0 1rem;
}

.hero-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  transition: transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #f7d45a, var(--primary-strong));
  color: #1c2e73;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(25, 40, 104, 0.48);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-media { overflow: hidden; }

.hero-media img,
.object-card img,
.map-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.section { margin-top: clamp(2.2rem, 6vw, 5rem); }
.first { margin-top: 1rem; }

.section-head { margin-bottom: 1rem; }

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4cf57;
  font-size: 0.74rem;
  font-weight: 800;
}

.section h2 {
  margin: 0.2rem 0 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
}

.content-grid,
.stats,
.service-grid,
.timeline,
.objects-grid {
  display: grid;
  gap: 1rem;
}

.content-grid { grid-template-columns: 1.2fr 0.8fr; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid, .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.objects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }

.prose, .list-card, .service-item, .timeline-item, .article-card { padding: 1.1rem; }

.prose p { margin: 0; color: #e4e9fb; }
.prose p + p { margin-top: 0.9rem; }

.stat { padding: 1rem; }
.stat h3 { margin: 0; font-size: clamp(1.2rem, 2.6vw, 2rem); color: #f4cf57; }
.stat p, .service-item p, .timeline-item p, .article-card p, .list-card ul { color: var(--muted); }

.list-card ul { margin: 0; padding-left: 1.1rem; }
.timeline-item span {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #f7d45a;
  font-weight: 800;
  font-size: 0.85rem;
}

.object-card { overflow: hidden; }
.object-card img { aspect-ratio: 4 / 3; }
.object-card h3 { margin: 0; padding: 0.75rem 0.85rem 0.9rem; font-size: 0.95rem; }

.map-card { padding: 0; overflow: hidden; min-height: 280px; }
.map-card-large { margin-top: 1rem; min-height: 520px; }

.form-wrap {
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.form-wrap h3 {
  margin: 0 0 0.75rem;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.3rem;
}

.request-form {
  display: grid;
  gap: 0.75rem;
}

.request-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.request-form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.request-form .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: rgba(13, 24, 76, 0.62);
  color: var(--text);
}

.request-form textarea {
  resize: vertical;
  min-height: 110px;
}

.request-status {
  margin: 0;
  min-height: 1.3rem;
  color: var(--muted);
}

.request-status.ok { color: #f7d45a; }
.request-status.error { color: var(--danger); }

footer {
  width: min(1200px, calc(100% - 2rem));
  margin: 2.5rem auto 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.92rem;
  padding-top: 1rem;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .content-grid, .stats, .service-grid, .timeline, .objects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  nav {
    position: absolute;
    right: 1rem;
    top: 64px;
    width: min(260px, calc(100% - 2rem));
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    background: rgba(13, 24, 76, 0.97);
    border-radius: 14px;
    padding: 0.65rem;
    gap: 0.25rem;
  }
  nav.open { display: flex; }
  nav a { padding: 0.55rem; }

  .content-grid, .stats, .service-grid, .timeline, .objects-grid { grid-template-columns: 1fr; }
}
