:root {
  --bg: #fff8d9;
  --surface: #ffffff;
  --text: #1f2a44;
  --accent: #ffd447;
  --accent-hover: #ffea7a;
  --border: #f2e4a7;
  --focus: #334a7d;
  --header-offset: 106px;
  --page-gradient: linear-gradient(180deg, #fffdf2 0%, #fff8dd 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--page-gradient);
  color: var(--text);
}

main {
  padding-top: var(--header-offset);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  padding: 20px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 10px));
  opacity: 0.02;
  pointer-events: none;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(23, 33, 36, 0.08);
  opacity: 0;
  transform: translateY(18px);
  animation: fade-slide-in 0.65s ease-out 0.1s forwards;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-offset));
  display: grid;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  background: var(--page-gradient);
}

.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1660px, calc(100vw - 28px));
  margin: 0 auto;
  display: grid;
  height: calc(100svh - var(--header-offset) - 40px);
  min-height: 560px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: hero-content-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-copy {
  max-width: none;
  height: 100%;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid #ece3bd;
  border-radius: 26px;
  padding: clamp(24px, 3.2vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: hero-panel-left 0.7s ease-out 0.28s forwards;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: clamp(18px, 2.2vw, 30px);
  top: clamp(20px, 2.2vw, 32px);
  bottom: clamp(20px, 2.2vw, 32px);
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd447 0%, #f2bb1b 100%);
  opacity: 0.82;
}

.hero-media {
  justify-self: stretch;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid #ece3bd;
  opacity: 0;
  transform: translateX(20px);
  animation: hero-panel-right 0.7s ease-out 0.36s forwards;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-kicker {
  margin: 0 0 10px;
  margin-left: clamp(18px, 2.2vw, 28px);
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #ead68d;
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445b89;
}

.hero h1 {
  margin: 10px 0 0;
  margin-left: clamp(18px, 2.2vw, 28px);
  font-size: clamp(42px, 5.1vw, 78px);
  line-height: 1;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.015em;
}

.hero-accent {
  color: #f0bd1a;
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: inherit;
  text-transform: none;
}

.hero-tags li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e6d493;
  background: #fffdf4;
  font-size: 13px;
  font-weight: 600;
  color: #324575;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  animation: hero-tag-in 0.45s ease-out forwards;
}

.hero-tags li:nth-child(1) {
  animation-delay: 0.56s;
}

.hero-tags li:nth-child(2) {
  animation-delay: 0.64s;
}

.hero-tags li:nth-child(3) {
  animation-delay: 0.72s;
}

.hero-text {
  margin: 18px 0 0;
  margin-left: clamp(18px, 2.2vw, 28px);
  max-width: 42ch;
  font-size: clamp(17px, 1.25vw, 25px);
  line-height: 1.35;
  color: #273354;
}

.hero-tags {
  list-style: none;
  margin: 20px 0 0;
  margin-left: clamp(18px, 2.2vw, 28px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about {
  padding: 26px 20px 120px;
}

.about-inner {
  width: min(1660px, calc(100vw - 28px));
  margin: 0 auto;
  background:
    radial-gradient(420px 120px at 100% 0%, rgba(255, 212, 71, 0.25) 0%, rgba(255, 212, 71, 0) 75%),
    rgba(255, 255, 255, 0.64);
  border: 1px solid #eadfb3;
  border-radius: 26px;
  padding: clamp(24px, 3.2vw, 48px);
  box-shadow: 0 10px 26px rgba(31, 42, 68, 0.07);
}

.about-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 16px;
  align-items: stretch;
}

.about-intro {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #eadfb3;
  border-radius: 22px;
  padding: clamp(18px, 2.1vw, 30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-kicker {
  margin: 0;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ead68d;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445b89;
}

.about h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.about-lead {
  margin-top: 22px;
  margin-bottom: 0;
  max-width: 68ch;
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.45;
  font-weight: 600;
  color: #24345a;
}

.about-mission {
  background: linear-gradient(160deg, #1f2a44 0%, #2f4576 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: clamp(18px, 2.1vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(31, 42, 68, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-mission-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.about-mission > p:not(.about-mission-kicker) {
  margin: 12px 0 0;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.4;
}

.about-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #eadfb3;
  border-radius: 18px;
  padding: clamp(16px, 1.6vw, 22px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card-title {
  margin: 0;
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1f2a44;
}

.about-card > p:not(.about-card-title) {
  margin: 12px 0 0;
  max-width: 72ch;
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.45;
  color: #2a3a61;
}

.about-intro:hover,
.about-card:hover {
  transform: translateY(-4px);
  border-color: #e6d493;
  box-shadow: 0 14px 30px rgba(31, 42, 68, 0.11);
}

.about-mission:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(31, 42, 68, 0.25);
}

.about-reveal {
  opacity: 0;
  transform: translateY(20px);
}

.about-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.directions {
  padding: 0 20px 110px;
}

.directions-inner {
  width: min(1660px, calc(100vw - 28px));
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(460px 140px at 100% 0%, rgba(255, 212, 71, 0.28) 0%, rgba(255, 212, 71, 0) 72%),
    radial-gradient(520px 120px at 0% 100%, rgba(68, 91, 137, 0.12) 0%, rgba(68, 91, 137, 0) 70%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid #eadfb3;
  border-radius: 26px;
  padding: clamp(22px, 2.8vw, 42px);
}

.directions-head {
  width: 100%;
  max-width: none;
}

.directions-kicker {
  margin: 0;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ead68d;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445b89;
}

.directions h2 {
  margin: 14px 0 0;
  width: 100%;
  font-size: clamp(28px, 2.95vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.directions-sub {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.45;
  color: #2a3a61;
}

.directions-grid {
  margin-top: 24px;
  counter-reset: direction;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.direction-card {
  grid-column: span 3;
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #eadfb3;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  box-shadow: 0 14px 32px rgba(31, 42, 68, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.direction-card::before {
  counter-increment: direction;
  content: "0" counter(direction);
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(24, 36, 66, 0.72);
  backdrop-filter: blur(2px);
  z-index: 2;
}

.direction-card:nth-child(1),
.direction-card:nth-child(2) {
  grid-column: span 6;
}

.direction-card:nth-child(3) {
  grid-column: 1 / span 3;
}

.direction-card:nth-child(4) {
  grid-column: 4 / span 3;
}

.direction-card:nth-child(5) {
  grid-column: 7 / span 3;
}

.direction-card:nth-child(6) {
  grid-column: 10 / span 3;
}

.direction-media {
  aspect-ratio: 4 / 3;
  min-height: 290px;
  overflow: hidden;
  background: #e8ecf5;
}

.direction-card:nth-child(1) .direction-media,
.direction-card:nth-child(2) .direction-media {
  aspect-ratio: 16 / 10;
  min-height: 390px;
}

.direction-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(31, 42, 68, 0.16);
}

.direction-card:hover .direction-media img {
  transform: scale(1.065);
}

.direction-content {
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  height: 100%;
}

.direction-name {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #1f2a44;
}

.direction-card:nth-child(1) .direction-name,
.direction-card:nth-child(2) .direction-name {
  font-size: 20px;
}

.direction-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #2c3d67;
}

.direction-btn {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid #efc000;
  background: var(--accent);
  color: var(--text);
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.direction-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.direction-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.help-ways {
  padding: 0 20px 110px;
}

.help-ways-inner {
  width: min(1660px, calc(100vw - 28px));
  margin: 0 auto;
  background:
    radial-gradient(500px 140px at 100% 0%, rgba(255, 212, 71, 0.22) 0%, rgba(255, 212, 71, 0) 74%),
    rgba(255, 255, 255, 0.68);
  border: 1px solid #eadfb3;
  border-radius: 26px;
  padding: clamp(22px, 2.8vw, 42px);
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.08);
}

.help-ways-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.help-ways-copy {
  position: relative;
  border: 1px solid #eadfb3;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(18px, 2.2vw, 30px);
}

.help-ways-kicker {
  margin: 0;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ead68d;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445b89;
}

.help-ways h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.help-ways-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.help-ways-item {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #eadfb3;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.help-ways-item:hover {
  transform: translateY(-3px);
  border-color: #e6d493;
  box-shadow: 0 14px 28px rgba(31, 42, 68, 0.12);
}

.help-ways-index {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, #1f2a44 0%, #334a7d 100%);
}

.help-ways-item p {
  margin: 0;
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 600;
  line-height: 1.32;
  color: #1f2a44;
}

.help-ways-item::after {
  content: ">";
  justify-self: end;
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f0bd1a;
  line-height: 1;
}

.help-ways-note {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.45;
  color: #223156;
}

.help-ways-copy::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 212, 71, 0.95) 0%, rgba(255, 212, 71, 0.2) 100%);
  opacity: 0.7;
}

.help-ways-copy .help-ways-note {
  padding-bottom: 14px;
}

.feedback {
  padding: 0 20px 120px;
}

.feedback-inner {
  width: min(860px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #eadfb3;
  border-radius: 24px;
  padding: clamp(20px, 2.2vw, 34px);
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.08);
}

.feedback-kicker {
  margin: 0;
  justify-self: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ead68d;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445b89;
}

.feedback h2 {
  margin: 14px 0 0;
  width: min(760px, 100%);
  justify-self: center;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.05;
  text-align: center;
}

.feedback-text {
  margin: 12px 0 0;
  width: min(760px, 100%);
  justify-self: center;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.45;
  color: #2a3a61;
  text-align: center;
}

.feedback-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  justify-self: center;
}

.feedback-form label {
  display: grid;
  gap: 6px;
}

.feedback-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feedback-form span {
  font-size: 13px;
  font-weight: 600;
  color: #25365f;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid #dccb8d;
  background: #fffef8;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
}

.feedback-form textarea {
  resize: vertical;
  min-height: 92px;
}

.feedback-form input:focus-visible,
.feedback-form textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.feedback-form input.is-invalid,
.feedback-captcha.captcha-invalid .smart-captcha {
  border-color: #cb4a3f;
}

.feedback-captcha.captcha-invalid .smart-captcha {
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(203, 74, 63, 0.22);
}

.feedback-captcha {
  display: grid;
  gap: 8px;
}

.feedback-captcha .smart-captcha {
  min-height: 100px;
}

.feedback-error {
  margin: 0;
  min-height: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #cb4a3f;
}

.feedback-error:empty {
  min-height: 0;
}

.feedback-form button {
  justify-self: center;
  border: 1px solid #efc000;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--text);
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.feedback-form button:hover {
  background: var(--accent-hover);
}

.news {
  padding: 0 20px 120px;
}

.news-inner {
  width: min(1660px, calc(100vw - 28px));
  margin: 0 auto;
  background:
    radial-gradient(520px 140px at 100% 0%, rgba(255, 212, 71, 0.22) 0%, rgba(255, 212, 71, 0) 76%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid #eadfb3;
  border-radius: 26px;
  padding: clamp(22px, 2.8vw, 42px);
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.08);
}

.news-kicker {
  margin: 0;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ead68d;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445b89;
}

.news h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.news-text {
  margin: 14px 0 0;
  max-width: 74ch;
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.45;
  color: #2a3a61;
}

.news-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #eadfb3;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 10px 24px rgba(31, 42, 68, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(31, 42, 68, 0.14);
}

.news-media {
  min-height: 200px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #eadfb3;
}

.news-media span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(234, 214, 141, 0.9);
  background: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #334a7d;
  text-transform: uppercase;
}

.news-media--photo {
  background:
    linear-gradient(135deg, rgba(255, 212, 71, 0.36) 0%, rgba(255, 212, 71, 0.12) 45%, rgba(255, 255, 255, 0.9) 100%);
}

.news-media--mixed {
  background:
    linear-gradient(125deg, rgba(46, 64, 104, 0.14) 0%, rgba(46, 64, 104, 0.08) 40%, rgba(255, 212, 71, 0.18) 100%);
}

.news-content {
  padding: 14px 14px 16px;
  display: grid;
  gap: 8px;
}

.news-content h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  color: #1f2a44;
}

.news-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #2a3a61;
}

.site-footer {
  padding: 0 20px 34px;
}

.footer-inner {
  width: min(1660px, calc(100vw - 28px));
  margin: 0 auto;
  border: 1px solid #eadfb3;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(31, 42, 68, 0.08);
  padding: clamp(16px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: clamp(190px, 24vw, 300px);
  height: auto;
}

.footer-info {
  display: grid;
  gap: 12px;
  width: 100%;
}

.footer-title {
  margin: 0;
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.footer-contacts p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: #263559;
  padding: 10px 12px;
  border: 1px solid #eadfb3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.footer-contacts a,
.footer-links a {
  color: #2c426f;
  text-decoration: none;
}

.footer-contacts a:hover,
.footer-links a:hover {
  color: #1e2c4a;
  text-decoration: underline;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border: 1px solid #eadfb3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

body.modal-open {
  overflow: hidden;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  padding: 24px 14px;
  display: grid;
  place-items: center;
  background: rgba(18, 27, 48, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.app-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.app-modal__dialog {
  position: relative;
  width: min(980px, calc(100vw - 24px));
  max-height: 90svh;
  overflow: auto;
  border-radius: 24px;
  border: 1px solid #eadfb3;
  background:
    radial-gradient(440px 140px at 100% 0%, rgba(255, 212, 71, 0.22) 0%, rgba(255, 212, 71, 0) 76%),
    rgba(255, 255, 255, 0.98);
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 24px 50px rgba(17, 28, 48, 0.28);
  transform: translateY(10px) scale(0.99);
  transition: transform 0.25s ease;
}

.app-modal.is-open .app-modal__dialog {
  transform: translateY(0) scale(1);
}

.app-modal__dialog--narrow {
  width: min(860px, calc(100vw - 24px));
}

.app-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #dfd6ae;
  background: #fffdf3;
  color: #263457;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.app-modal__head {
  margin-bottom: 12px;
}

.app-modal__kicker {
  margin: 0;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ead68d;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #445b89;
}

.app-modal__head h2 {
  margin: 12px 0 0;
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #1f2a44;
}

.modal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modal-field {
  display: grid;
  gap: 6px;
}

.modal-field--full {
  grid-column: 1 / -1;
}

.modal-field span {
  font-size: 13px;
  font-weight: 600;
  color: #25365f;
}

.modal-field input,
.modal-field textarea {
  width: 100%;
  border: 1px solid #dccb8d;
  background: #fffef8;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
}

.modal-field textarea {
  resize: vertical;
  min-height: 108px;
}

.modal-field input:focus-visible,
.modal-field textarea:focus-visible,
.app-modal__close:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.modal-captcha {
  display: grid;
  gap: 8px;
}

.modal-captcha .smart-captcha {
  min-height: 100px;
}

.modal-captcha.captcha-invalid .smart-captcha {
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(203, 74, 63, 0.22);
}

.modal-error {
  margin: 0;
  min-height: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #cb4a3f;
}

.modal-error:empty {
  min-height: 0;
}

.consent-group {
  display: grid;
  gap: 8px;
  border: 1px solid #eadfb3;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.consent-checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.35;
  color: #24345a;
}

.consent-checkbox input {
  margin-top: 1px;
  accent-color: #334a7d;
}

.modal-submit {
  justify-self: start;
  border: 1px solid #efc000;
  border-radius: 999px;
  min-height: 44px;
  min-width: 168px;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--text);
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.modal-submit:hover {
  background: var(--accent-hover);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #efc000;
  border-radius: 12px;
  background: #fffdf3;
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  background: #fff7d1;
}

.menu-toggle:active {
  transform: scale(0.98);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.brand img {
  display: block;
  width: clamp(190px, 23vw, 250px);
  max-width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  animation: fade-slide-in 0.55s ease-out 0.3s forwards;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.header-actions button {
  border: 1px solid #efc000;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: fade-slide-in 0.45s ease-out forwards;
}

.header-actions button:nth-child(1) {
  animation-delay: 0.45s;
}

.header-actions button:nth-child(2) {
  animation-delay: 0.58s;
}

.header-actions button:nth-child(3) {
  animation-delay: 0.71s;
}

.header-actions button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(255, 228, 92, 0.35), 0 8px 18px rgba(255, 212, 71, 0.45);
}

.header-actions button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-panel-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-panel-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-tag-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    transition: none;
  }

  .about-reveal {
    opacity: 1;
    transform: none;
  }

  .hero-content,
  .hero-copy,
  .hero-media,
  .hero-tags li {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .header-inner,
  .brand img,
  .header-actions button {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 840px) {
  :root {
    --header-offset: 88px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .hero {
    padding: 16px;
    min-height: auto;
  }

  .hero-content {
    height: auto;
    min-height: 0;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-copy {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .hero-copy::before {
    left: 14px;
    top: 16px;
    bottom: 16px;
  }

  .hero-media {
    justify-self: center;
    width: 100%;
    max-width: 760px;
    height: clamp(290px, 42vh, 440px);
    border-radius: 18px;
  }

  .hero-kicker {
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(34px, 8.4vw, 56px);
    line-height: 0.96;
  }

  .hero-text {
    font-size: clamp(16px, 2vw, 21px);
    margin-top: 14px;
  }

  .hero-tags {
    margin-top: 16px;
  }

  .about {
    padding: 18px 16px 96px;
  }

  .about-inner {
    width: 100%;
    border-radius: 18px;
    padding: 22px 18px;
  }

  .about-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-intro,
  .about-mission {
    border-radius: 16px;
    padding: 18px 16px;
  }

  .about h2 {
    font-size: clamp(30px, 7.8vw, 44px);
  }

  .about-lead,
  .about-mission > p:not(.about-mission-kicker),
  .about-card > p:not(.about-card-title) {
    font-size: clamp(16px, 2.1vw, 20px);
  }

  .about-grid {
    margin-top: 12px;
    grid-template-columns: 1fr;
  }

  .directions {
    padding: 0 16px 96px;
  }

  .directions-inner {
    width: 100%;
    border-radius: 18px;
    padding: 22px 18px;
  }

  .directions h2 {
    font-size: clamp(28px, 7.6vw, 42px);
    white-space: normal;
  }

  .directions-grid {
    margin-top: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .direction-card,
  .direction-card:nth-child(1),
  .direction-card:nth-child(2),
  .direction-card:nth-child(3),
  .direction-card:nth-child(4),
  .direction-card:nth-child(5),
  .direction-card:nth-child(6) {
    grid-row: auto;
    grid-column: span 1;
  }

  .direction-media,
  .direction-card:nth-child(1) .direction-media,
  .direction-card:nth-child(2) .direction-media {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

  .direction-content {
    padding: 14px;
  }

  .direction-name {
    font-size: 17px;
  }

  .direction-text {
    font-size: 14px;
  }

  .feedback {
    padding: 0 16px 96px;
  }

  .help-ways {
    padding: 0 16px 96px;
  }

  .help-ways-inner {
    width: 100%;
    border-radius: 18px;
    padding: 22px 18px;
  }

  .help-ways-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .help-ways-copy {
    border-radius: 16px;
    padding: 18px 16px;
  }

  .help-ways h2 {
    font-size: clamp(30px, 7.9vw, 44px);
  }

  .help-ways-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .help-ways-item {
    min-height: 0;
    padding: 12px 14px;
    border-radius: 14px;
    gap: 10px;
  }

  .help-ways-index {
    min-width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .help-ways-item p {
    font-size: 16px;
  }

  .help-ways-note {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.4;
    max-width: none;
  }

  .news {
    padding: 0 16px 96px;
  }

  .news-inner {
    width: 100%;
    border-radius: 18px;
    padding: 22px 18px;
  }

  .news h2 {
    font-size: clamp(30px, 7.8vw, 44px);
  }

  .news-text {
    font-size: 16px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .news-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .news-media {
    min-height: 190px;
  }

  .site-footer {
    padding: 0 16px 30px;
  }

  .footer-inner {
    width: 100%;
    border-radius: 18px;
    padding: 18px 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-brand img {
    width: clamp(180px, 54vw, 240px);
  }

  .footer-title {
    font-size: 16px;
  }

  .footer-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contacts p {
    font-size: 14px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links a {
    font-size: 13px;
  }

  .app-modal {
    padding: 14px 10px;
  }

  .app-modal__dialog,
  .app-modal__dialog--narrow {
    width: calc(100vw - 20px);
    border-radius: 16px;
    padding: 18px 14px;
    max-height: 92svh;
  }

  .app-modal__head h2 {
    font-size: clamp(27px, 7vw, 40px);
  }

  .modal-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal-submit {
    width: 100%;
    justify-self: stretch;
  }

  .feedback-inner {
    width: 100%;
    border-radius: 18px;
    padding: 22px 18px;
  }

  .feedback-contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feedback h2 {
    font-size: clamp(27px, 7.1vw, 40px);
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 16px;
    padding: 12px;
  }

  .brand {
    width: auto;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    width: 100%;
    gap: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  .header-actions button {
    flex: 1 1 100%;
    text-align: center;
    width: 100%;
  }

  .site-header.menu-open .header-actions {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-offset: 78px;
  }

  .site-header {
    padding: 10px 12px;
  }

  .hero {
    padding: 12px;
  }

  .hero-content {
    max-width: 100%;
    gap: 12px;
  }

  .hero-media {
    width: 100%;
    height: clamp(230px, 36vh, 300px);
  }

  .hero h1 {
    font-size: clamp(28px, 11vw, 42px);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.3;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tags li {
    font-size: 12px;
    padding: 7px 10px;
  }

  .header-inner {
    border-radius: 14px;
    padding: 10px;
  }

  .brand img {
    width: clamp(170px, 52vw, 210px);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions button {
    width: 100%;
    min-height: 44px;
    font-size: 12px;
    padding: 10px 12px;
    flex: 1 1 auto;
  }

  .about {
    padding: 14px 12px 82px;
  }

  .about-inner {
    padding: 18px 14px;
  }

  .about-intro,
  .about-mission {
    padding: 14px 12px;
  }

  .about h2 {
    font-size: clamp(26px, 9.5vw, 34px);
  }

  .about-lead,
  .about-mission > p:not(.about-mission-kicker),
  .about-card > p:not(.about-card-title) {
    font-size: 15px;
    line-height: 1.4;
  }

  .about-card {
    border-radius: 14px;
    padding: 12px;
  }

  .about-card-title {
    font-size: 13px;
  }

  .directions {
    padding: 0 12px 82px;
  }

  .directions-inner {
    padding: 18px 14px;
  }

  .directions h2 {
    font-size: clamp(24px, 9vw, 33px);
    white-space: normal;
  }

  .directions-sub {
    font-size: 15px;
  }

  .directions-grid {
    grid-template-columns: 1fr;
  }

  .direction-card,
  .direction-card:nth-child(1),
  .direction-card:nth-child(2),
  .direction-card:nth-child(3),
  .direction-card:nth-child(4),
  .direction-card:nth-child(5),
  .direction-card:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .direction-media,
  .direction-card:nth-child(1) .direction-media,
  .direction-card:nth-child(2) .direction-media {
    aspect-ratio: 4 / 3;
    min-height: 230px;
  }

  .direction-content {
    padding: 11px;
    gap: 10px;
  }

  .direction-name {
    font-size: 15px;
  }

  .direction-text {
    font-size: 14px;
  }

  .feedback {
    padding: 0 12px 82px;
  }

  .help-ways {
    padding: 0 12px 82px;
  }

  .help-ways-inner {
    padding: 18px 14px;
  }

  .help-ways-copy {
    padding: 14px 12px;
  }

  .help-ways h2 {
    font-size: clamp(25px, 9.4vw, 35px);
  }

  .help-ways-item {
    padding: 11px 10px;
  }

  .help-ways-index {
    min-width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .help-ways-item p {
    font-size: 15px;
  }

  .help-ways-item::after {
    font-size: 16px;
  }

  .help-ways-note {
    font-size: 15px;
  }

  .news {
    padding: 0 12px 82px;
  }

  .news-inner {
    padding: 18px 14px;
  }

  .news h2 {
    font-size: clamp(25px, 9.4vw, 35px);
  }

  .news-text {
    font-size: 15px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card:nth-child(3) {
    grid-column: auto;
  }

  .news-media {
    min-height: 176px;
  }

  .news-content {
    padding: 12px;
  }

  .news-content h3 {
    font-size: 18px;
  }

  .site-footer {
    padding: 0 12px 24px;
  }

  .footer-inner {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .footer-brand img {
    width: clamp(170px, 58vw, 220px);
  }

  .footer-title {
    font-size: 15px;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .app-modal {
    padding: 10px 8px;
  }

  .app-modal__dialog,
  .app-modal__dialog--narrow {
    width: calc(100vw - 16px);
    padding: 16px 12px;
    border-radius: 14px;
  }

  .app-modal__close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .app-modal__head h2 {
    font-size: clamp(22px, 8.5vw, 31px);
  }

  .consent-group {
    padding: 10px;
  }

  .consent-checkbox {
    font-size: 13px;
    gap: 8px;
  }

  .feedback-inner {
    padding: 18px 14px;
  }

  .feedback h2 {
    font-size: clamp(23px, 8.5vw, 31px);
  }

  .feedback-text {
    font-size: 15px;
  }

  .feedback-form button {
    width: 100%;
    justify-content: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .menu-toggle:hover {
    background: #fffdf3;
  }

  .header-actions button:hover {
    transform: none;
    box-shadow: none;
  }

  .header-actions button:active {
    background: var(--accent-hover);
    transform: scale(0.99);
    box-shadow: 0 0 0 3px rgba(255, 228, 92, 0.35), 0 8px 18px rgba(255, 212, 71, 0.45);
  }
}
