﻿:root {
  --bg: #f3fbfd;
  --surface: #ffffff;
  --ink: #133032;
  --muted: #5b6d70;
  --line: #d9e7e7;
  --primary: #0e7490;
  --primary-dark: #164e63;
  --accent: #dc2626;
  --blue: #2563eb;
  --rose: #db2777;
  --shadow: 0 18px 42px rgba(18, 48, 50, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  background: var(--primary-dark);
  color: #e8fffc;
  font-size: 0.88rem;
}

.topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand img {
  width: 52px;
  height: 52px;
}

.brand__name {
  display: block;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand__domain {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

.nav__link:hover,
.nav__button:hover,
.nav__link:focus-visible,
.nav__button:focus-visible {
  background: #e6f7fb;
  outline: none;
}

.nav__button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-top: -4px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 238px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: 0.18s ease;
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 10px;
  color: var(--ink);
  border-radius: 6px;
  font-weight: 650;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: #f1f8f8;
  outline: none;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: #b7d6d4;
  background: #f3faf9;
}

.hero {
  background: linear-gradient(180deg, #e8f8fb 0%, #f3fbfd 100%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  min-height: calc(100vh - 118px);
  padding: 52px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 99px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

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

.stat {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
}

.stat strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.45rem;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.9rem;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  box-shadow: var(--shadow);
}

.notice-band {
  margin-top: -22px;
  position: relative;
  z-index: 3;
}

.notice-band__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.notice {
  min-height: 116px;
  padding: 20px;
  background: #fff;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.notice p {
  color: var(--muted);
  margin-bottom: 0;
}

.section {
  padding: 82px 0;
}

.section--white {
  background: var(--surface);
}

.section--muted {
  background: #eef7f6;
}

.section__head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section__head p {
  color: var(--muted);
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.about-grid img {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.news-card,
.plain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 48, 50, 0.07);
}

.service-card img,
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e6f4f2;
}

.service-card__body,
.news-card__body,
.plain-card {
  padding: 20px;
}

.service-card p,
.news-card p,
.plain-card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 850;
}

.text-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.program-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.program-item {
  padding: 24px;
  border-left: 5px solid var(--primary);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 48, 50, 0.07);
}

.program-item:nth-child(2) {
  border-color: var(--accent);
}

.program-item:nth-child(3) {
  border-color: var(--blue);
}

.page-hero {
  padding: 70px 0 58px;
  background: linear-gradient(135deg, #e3f6f4 0%, #ffffff 64%, #fff7e6 100%);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--primary-dark);
  font-weight: 750;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.article p,
.article li {
  color: var(--muted);
}

.article img {
  margin: 22px 0;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.sidebar {
  display: grid;
  gap: 16px;
}

.sidebar .plain-card {
  padding: 18px;
}

.list-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-links a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 750;
}

.list-links li:last-child a {
  border-bottom: 0;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 750;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #c9dcdd;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

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

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  border-color: var(--primary);
}

.form__status {
  min-height: 24px;
  color: var(--primary-dark);
  font-weight: 750;
}

.footer {
  color: #eafffc;
  background: #164e63;
}

.footer__top {
  padding: 58px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 1fr;
  gap: 28px;
}

.footer h3 {
  color: #fff;
}

.footer p,
.footer li {
  color: #cde5e3;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  color: #cde5e3;
  font-size: 0.92rem;
}

.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 850;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top.is-visible {
  display: inline-flex;
}

.back-to-top::before {
  content: "";
  width: 11px;
  height: 11px;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: rotate(45deg);
  margin-top: 7px;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav__link,
  .nav__button {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 6px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border-color: #edf3f3;
  }

  .nav__item.is-open .dropdown {
    display: block;
  }

  .hero__inner,
  .about-grid,
  .content-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

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

  .program-strip,
  .notice-band__inner,
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .topbar__inner {
    padding: 8px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand__domain {
    display: none;
  }

  .hero__stats,
  .card-grid,
  .program-strip,
  .notice-band__inner,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .article {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }
}

