:root {
  --bg: #f7f2ec;
  --bg-alt: #f0ece7;
  --ink: #1f1b16;
  --muted: #5f5a54;
  --accent: #1e4b86;
  --accent-2: #2b8bb6;
  --accent-3: #f0b24b;
  --surface: #ffffff;
  --shadow: 0 12px 28px rgba(31, 27, 22, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 18px;
  background: radial-gradient(circle at 10% 10%, rgba(30, 75, 134, 0.1), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(43, 139, 182, 0.12), transparent 45%),
    linear-gradient(140deg, #f8f3ed 0%, #f0ebe4 55%, #f9f4ee 100%);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Lora", "Times New Roman", serif;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

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

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

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.link {
  color: inherit;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.link:hover {
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 27, 22, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: 200px;
  height: auto;
  margin-block: 10px;
}

.logo--solo {
  gap: 0;
}

.site-header__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  flex: 1;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(31, 27, 22, 0.15);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.menu-close {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  align-self: flex-end;
}

.nav__link {
  padding: 0.35rem 0.5rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--accent);
  border-color: rgba(30, 75, 134, 0.4);
}

.button {
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(30, 75, 134, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(30, 75, 134, 0.25);
}

.button--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(30, 75, 134, 0.3);
  box-shadow: none;
}

.hero {
  padding: 1.5rem 0 2.2rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  margin: 0.6rem 0 1rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  box-shadow: 0 8px 18px rgba(31, 27, 22, 0.08);
}

.hero__badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(30, 75, 134, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.hero__badge-icon svg {
  width: 14px;
  height: 14px;
}

.hero__panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(30, 75, 134, 0.25), rgba(240, 178, 75, 0.2)),
    url("/assets/img/hero-img.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero__image-caption {
  background: rgba(255, 255, 255, 0.86);
  margin: 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  max-width: 320px;
  font-weight: 600;
}

.hero__media {
  display: grid;
  gap: 0.4rem;
}

.hero__contacts {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.hero__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(31, 27, 22, 0.08);
}

.hero__contact-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(30, 75, 134, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.hero__contact-icon svg {
  width: 14px;
  height: 14px;
}

.map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 27, 22, 0.08);
}

.map iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
}

.hero__panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.hero__panel li {
  background: var(--bg-alt);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.section {
  padding: 2.5rem 0;
}

.section--tight {
  padding-top: 1.2rem;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section__header p {
  max-width: 520px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(31, 27, 22, 0.08);
  border: 1px solid rgba(31, 27, 22, 0.04);
}

.card__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(30, 75, 134, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.card__icon svg {
  width: 18px;
  height: 18px;
}

.section--news {
  background: var(--bg-alt);
  position: relative;
}

.section--news::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(240, 236, 231, 0) 0%, var(--bg-alt) 100%);
}

.section--news > .container {
  position: relative;
  z-index: 1;
}

.news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.news__stack {
  display: grid;
  gap: 1rem;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  box-shadow: var(--shadow);
  position: relative;
}

.news-card h3 {
  color: var(--ink);
}

.news-card--primary {
  padding: 2.4rem 2rem 2rem;
  line-height: 1.7;
}

.news-date {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -0.2rem;
  background: var(--bg-alt);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.card h3 {
  margin-top: 0.2rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.callout {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
}

.placeholder {
  background: repeating-linear-gradient(135deg, rgba(30, 75, 134, 0.08), rgba(30, 75, 134, 0.08) 10px, rgba(240, 178, 75, 0.12) 10px, rgba(240, 178, 75, 0.12) 20px);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  color: var(--ink);
  font-weight: 600;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.menu-embed {
  padding: 0;
  min-height: 80vh;
  background: transparent;
  position: relative;
  overflow: hidden;
  display: block;
  place-items: initial;
  text-align: left;
}

.menu-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 80vh;
  border: 0;
}

.site-footer {
  margin-top: auto;
  background: #12151b;
  color: #f7f5f1;
  padding: 2rem 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem 2rem;
  align-items: start;
}

.footer__col {
  display: grid;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer__col strong {
  color: #fff;
}

.footer__col--center {
  text-align: center;
  justify-items: center;
}

.footer__col--right {
  text-align: right;
  justify-items: end;
}

.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__contact-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.footer__contact-icon svg {
  width: 14px;
  height: 14px;
}

.footer__platform {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer__platform-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer__platform-logo {
  height: 50px;
  width: auto;
  display: block;
  margin-left: 20px;
}

.footer__platform-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 400;
  text-align: center;
  font-size: 11px;
}


.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero__box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.page-hero__box p {
  max-width: 640px;
}

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

.contact-simple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem 2rem;
}

.contact-simple__item {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(31, 27, 22, 0.08);
}

.contact-simple__note {
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.4rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.info-row span {
  font-weight: 600;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 2.6rem;
  }

  .hero__media {
    gap: 0.8rem;
  }

  .hero__contacts {
    order: 2;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 0.4rem;
  }

  .hero__image {
    order: 1;
  }

  .news-date {
    position: static;
    margin: 0.2rem 0 0.6rem;
    align-self: flex-start;
  }

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

  .footer__col,
  .footer__col--center,
  .footer__col--right {
    text-align: left;
    justify-items: start;
  }

  .footer__col--contact {
    order: 1;
  }

  .footer__col--name {
    order: 2;
  }

  .footer__col--legal {
    order: 3;
  }

  .footer__platform {
    order: 4;
    justify-content: center;
    align-items: center;
  }

  .footer__platform-link {
    text-align: center;
  }

  .footer__platform-inner {
    align-items: center;
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.4rem;
    display: none;
    z-index: 20;
    overflow-y: auto;
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
  }

  .site-header__actions {
    width: 100%;
    flex-direction: column;
    max-width: 260px;
  }

  .site-header__actions .button {
    width: 100%;
    justify-content: center;
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
  }
}

.menu-open {
  overflow: hidden;
}
