/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #f2f4f8;
  color: #111827;
  line-height: 1.6;
}

/* BASE */

a {
  color: #1252b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* LAYOUT */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1 0 auto;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TOP BAR */

.top-bar {
  background: #0b3b91;
  color: #e5f0ff;
  font-size: 13px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.top-bar a {
  color: #e5f0ff;
}

/* HEADER */

.main-header {
  background: #ffffff;
  border-bottom: 1px solid #d1d5db;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #facc15, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-weight: 800;
  font-size: 18px;
}

.logo-text-title {
  font-weight: 700;
  font-size: 18px;
}

.logo-text-sub {
  font-size: 12px;
  color: #6b7280;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.header-nav a {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
  color: #111827;
}

.header-nav a:hover {
  background-color: #e5efff;
  text-decoration: none;
}

/* HERO */

.hero-section {
  background: #ffffff;
  border-bottom: 1px solid #d1d5db;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 16px 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 28px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(28px, 3vw, 34px);
  margin: 0 0 10px;
}

.hero-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin: 0 0 18px;
  max-width: 520px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-fact {
  background: #f3f4f6;
  border-radius: 14px;
  padding: 6px 10px;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: #0b3b91;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0f51c2;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f9fafb;
  text-decoration: none;
}

.hero-image-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
  background-color: #0f172a;
}

.hero-image-box img {
  width: 100%;
  display: block;
}

/* GENERIC SECTIONS */

.section {
  padding: 28px 0;
}

.section--white {
  background: #ffffff;
}

.section--gray {
  background: #f9fafb;
}

.section-title-block {
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.section-title {
  font-size: 22px;
  margin: 4px 0;
}

.section-lead {
  font-size: 14px;
  color: #4b5563;
  max-width: 620px;
}

/* FEATURES GRID */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-box {
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 16px;
}

.feature-box h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feature-box p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #4b5563;
}

.feature-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e5efff;
  color: #1d4ed8;
  margin-bottom: 6px;
}

/* TWO COLUMNS */

.columns-2 {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 24px;
}

/* LISTS */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  margin-bottom: 6px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: #15803d;
  margin-top: 2px;
}

/* TABLES */

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
}

.data-table th {
  background: #eff6ff;
  text-align: left;
  font-weight: 600;
}

/* BREADCRUMBS */

.breadcrumbs {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #4b5563;
}

/* CARD / PANEL */

.panel {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 16px;
}

.panel-highlight {
  border-left: 4px solid #0b3b91;
}

/* FORM */

.form-grid {
  display: grid;
  gap: 12px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

input,
textarea,
select {
  width: 100%;
  padding: 8px 9px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0b3b91;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* MAP */

.map-frame {
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* FOOTER */

.main-footer {
  background: #111827;
  color: #e5e7eb;
  border-top: 1px solid #1f2933;
  padding: 14px 16px 18px;
  margin-top: 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: #e5e7eb;
}

/* SMALL UTILS */

.text-muted {
  color: #6b7280;
}

.mt-sm {
  margin-top: 8px;
}
.mt-md {
  margin-top: 16px;
}
.mt-lg {
  margin-top: 24px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-layout,
  .columns-2,
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  z-index: 80;
  pointer-events: none; /* сам банер активний, але фон не чіпаємо */
}

.cookie-banner__inner {
  pointer-events: auto;
  max-width: 960px;
  width: calc(100% - 32px);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-banner__text {
  font-size: 13px;
  color: #374151;
}

.cookie-banner__text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #111827;
}

.cookie-banner__text a {
  color: #0b3b91;
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__buttons .btn-primary,
.cookie-banner__buttons .btn-secondary {
  font-size: 13px;
  padding-inline: 12px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner__buttons {
    width: 100%;
    justify-content: flex-start;
  }
}
