@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: #18352f;
  background: #eef7f4;
  font-family: "Onest", Arial, sans-serif;
}

a { color: inherit; }
button { font: inherit; }

.scheme-toolbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(199, 220, 213, 0.86);
  background: rgba(249, 253, 251, 0.9);
  backdrop-filter: blur(18px);
}

.scheme-toolbar img {
  display: block;
  width: 104px;
  height: 46px;
  object-fit: contain;
}

.scheme-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scheme-actions a,
.scheme-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9d4cb;
  border-radius: 6px;
  padding: 0 16px;
  text-decoration: none;
  color: #0c6758;
  background: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.scheme-actions button {
  border-color: #0d7867;
  color: #ffffff;
  background: #0d7867;
}

.scheme-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) 0 48px;
}

.scheme-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 28px;
  margin-bottom: 28px;
}

.scheme-heading p {
  grid-column: 1 / -1;
  margin: 0;
  color: #2d7e6f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.scheme-heading h1 {
  margin: 0;
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 1;
}

.scheme-heading span {
  padding-bottom: 9px;
  color: #617b74;
  font-weight: 700;
}

.scheme-map {
  height: min(58vh, 610px);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #c9ded7;
  border-radius: 8px;
  background: #dfeee9;
}

.scheme-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.scheme-facts {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  margin: 0;
  border-bottom: 1px solid #cadfd8;
}

.scheme-facts div {
  min-width: 0;
  padding: 24px 20px 24px 0;
}

.scheme-facts div + div {
  border-left: 1px solid #cadfd8;
  padding-left: 20px;
}

.scheme-facts dt {
  margin-bottom: 7px;
  color: #678079;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.scheme-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.scheme-page footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: #617b74;
}

@media (max-width: 700px) {
  .scheme-actions a { display: none; }
  .scheme-heading { grid-template-columns: 1fr; }
  .scheme-heading span { padding: 0; }
  .scheme-facts { grid-template-columns: 1fr; }
  .scheme-facts div + div { border-top: 1px solid #cadfd8; border-left: 0; padding-left: 0; }
  .scheme-page footer { flex-direction: column; }
}

@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #ffffff; }
  .scheme-toolbar { display: none; }
  .scheme-page { width: 100%; padding: 0; }
  .scheme-heading { margin-bottom: 12px; }
  .scheme-heading h1 { font-size: 42px; }
  .scheme-map { height: 125mm; min-height: 0; }
  .scheme-facts div { padding-top: 13px; padding-bottom: 13px; }
  .scheme-page footer { padding-top: 10px; }
}
