:root {
  --blue-900: #06245b;
  --blue-800: #083278;
  --blue-700: #0a49a9;
  --blue-600: #0f5fd5;
  --blue-100: #eaf2ff;
  --white: #ffffff;
  --text: #0f1c33;
  --muted: #51617f;
  --line: #d6e1f5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #f7faff;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-text {
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.menu-toggle {
  display: none;
  border: 1px solid #c8d9f5;
  background: #ffffff;
  color: var(--blue-800);
  width: 42px;
  height: 42px;
  border-radius: 0.6rem;
  cursor: pointer;
}

.nav-links a {
  text-decoration: none;
  color: var(--blue-800);
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--blue-100);
}

.btn-login {
  color: var(--white) !important;
  font-weight: 600 !important;
  background: var(--blue-700);
}

.btn-login:hover,
.btn-login:focus-visible {
  color: var(--white) !important;
  background: var(--blue-800) !important;
}

.hero {
  padding: 5.3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  color: var(--blue-700);
  background: #d9e8ff;
  border: 1px solid #b9d0ff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1 {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--blue-900);
}

.lead {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  background: var(--blue-600);
  padding: 0.78rem 1.1rem;
  border-radius: 0.75rem;
}

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: #eef5ff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  color: var(--blue-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin: 0 0 0.55rem;
  color: var(--blue-800);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

p {
  margin: 0;
  line-height: 1.7;
}

.cards,
.gallery-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

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

.cards .card {
  min-height: 250px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.cards .card p {
  max-width: 30ch;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manifesto {
  margin-top: 1.1rem;
}

.manifesto-block + .manifesto-block {
  margin-top: 1.35rem;
}

.manifesto-block h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.manifesto-block p {
  max-width: 76ch;
}

.product-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.card,
.panel,
.image-placeholder {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem;
}

.panel {
  background: var(--white);
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.cards .icon-badge {
  margin: 0 auto 0.85rem;
}

.product-card {
  min-height: 220px;
}

.contact-list {
  display: grid;
  gap: 0.6rem;
}

.contact-list p {
  color: #2b3e62;
}

.map-panel {
  padding-bottom: 0.9rem;
}

.map-frame {
  margin-top: 0.7rem;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 320px;
}

.image-placeholder {
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  border-style: dashed;
  color: #3b568a;
  font-weight: 700;
  background: #f2f6ff;
}

.hero-image {
  min-height: 300px;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-wrap a {
  text-decoration: none;
  color: var(--blue-700);
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .gallery-grid,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    min-height: auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.5rem;
    z-index: 60;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    border-radius: 0.6rem;
    padding: 0.65rem 0.8rem;
  }

  .nav-links .btn-login {
    text-align: center;
    margin-top: 0.1rem;
  }

  .hero {
    padding-top: 2.8rem;
  }
}
