/* =========================================
   ОСНОВНЫЕ НАСТРОЙКИ
   ========================================= */

* {
  box-sizing: border-box;
}

:root {
  --bg: #fbfcff;
  --surface: #ffffff;
  --soft: #eef8fb;

  --text: #253238;
  --muted: #69777d;

  --border: #e0eaee;

  --accent: #ffd34e;
  --accent-light: #fff3bf;
  --accent-dark: #9a7600;

  --blue: #69c8e8;
  --blue-light: #dff5fb;

  --turquoise: #63cfc1;
  --turquoise-light: #e1f8f4;

  --pink: #ee9aae;
  --pink-light: #fce5eb;

  --green: #a9d68f;
  --green-light: #e9f6df;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 92px;

  display: flex;
  align-items: center;

  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  margin-right: auto;
}

.logo img {
  width: 112px;
  height: 76px;

  object-fit: contain;

  display: block;
}

.menu {
  display: flex;
  align-items: center;

  gap: 24px;

  font-size: 15px;
  font-weight: 600;
}

.menu a {
  position: relative;

  color: #53636a;

  white-space: nowrap;

  transition: color 0.2s ease;
}

.menu a:hover {
  color: #159eb3;
}

.menu a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -7px;

  height: 2px;

  background: var(--accent);

  transform: scaleX(0);

  transition: transform 0.2s ease;
}

.menu a:hover::after {
  transform: scaleX(1);
}


/* =========================================
   LANGUAGE BUTTON
   ========================================= */

.lang-btn {
  flex-shrink: 0;

  border: 1px solid #cfe7ed;

  background: #ffffff;

  color: #159eb3;

  padding: 9px 15px;

  border-radius: 999px;

  cursor: pointer;

  font-size: 13px;
  font-weight: 700;

  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: #e9f8fb;
  transform: translateY(-1px);
}


/* =========================================
   MOBILE MENU
   ========================================= */

.mobile-menu-btn {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid #cfe7ed;

  background: #ffffff;

  border-radius: 12px;

  cursor: pointer;

  padding: 0;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  gap: 5px;
}

.mobile-menu-btn span {
  display: block;

  width: 18px;
  height: 2px;

  border-radius: 999px;

  background: #159eb3;
}


/* =========================================
   HERO
   ========================================= */

.hero {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 60px;

  align-items: center;
}

.hero-text {
  max-width: 650px;
}

.eyebrow {
  display: inline-block;

  font-size: 13px;
  font-weight: 700;

  color: #24aeb5;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 14px 0 20px;

  font-size: clamp(42px, 5vw, 64px);

  line-height: 1.04;

  letter-spacing: -0.04em;
}

.hero p {
  max-width: 570px;

  color: var(--muted);

  font-size: 18px;

  margin: 0;
}

.hero-actions {
  display: flex;

  gap: 12px;

  margin-top: 30px;

  flex-wrap: wrap;
}


/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 22px;

  border-radius: 999px;

  font-weight: 700;

  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);

  color: #24333a;

  box-shadow: 0 10px 24px rgba(255, 211, 78, 0.25);
}

.btn-primary:hover {
  background: #efbd32;

  box-shadow: 0 14px 28px rgba(255, 211, 78, 0.32);
}

.btn-secondary {
  background: var(--surface);

  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--blue-light);
}


/* =========================================
   HERO PHOTO
   ========================================= */

.hero-card {
  min-height: 470px;

  border-radius: 32px;

  overflow: hidden;

  padding: 20px;

  background: linear-gradient(135deg, #f8edc5, #e8efdf);

  box-shadow: 0 24px 60px rgba(37, 47, 41, 0.08);
}

.photo-placeholder {
  width: 100%;
  min-height: 430px;

  border-radius: 24px;

  display: grid;
  place-items: center;

  text-align: center;

  padding: 40px;

  color: var(--muted);

  background: linear-gradient(135deg, #fff9df, #eef5e9);

  border: 2px dashed rgba(39, 49, 44, 0.13);
}

.photo-placeholder strong {
  color: var(--text);

  font-size: 20px;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
  padding: 95px 0;
}

.section-soft {
  background: var(--soft);

  border-top: 1px solid rgba(105, 200, 232, 0.12);
  border-bottom: 1px solid rgba(105, 200, 232, 0.12);
}

.section-heading {
  margin-bottom: 36px;

  max-width: 780px;
}

.section-heading h1,
.section-heading h2 {
  margin: 8px 0 0;

  line-height: 1.08;

  letter-spacing: -0.035em;
}

.section-heading h1 {
  font-size: clamp(40px, 5vw, 62px);
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.section-heading p {
  margin: 18px 0 0;

  color: var(--muted);

  font-size: 17px;
}

.row-heading {
  display: flex;

  align-items: end;
  justify-content: space-between;

  gap: 30px;
}

.text-link {
  white-space: nowrap;

  color: var(--muted);

  font-weight: 700;

  transition: all 0.2s ease;
}

.text-link:hover {
  color: #159eb3;

  transform: translateX(3px);
}


/* =========================================
   ABOUT CARDS
   ========================================= */

.about-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.about-card {
  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 24px;

  padding: 30px;

  transition: all 0.2s ease;
}

.about-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(37, 47, 41, 0.06);
}

.icon {
  width: 50px;
  height: 50px;

  border-radius: 16px;

  display: grid;
  place-items: center;

  background: var(--accent-light);

  margin-bottom: 20px;

  font-size: 20px;
}

.about-card h2,
.about-card h3 {
  margin: 0 0 10px;
}

.about-card p {
  color: var(--muted);

  margin: 0;
}


/* =========================================
   GROUPS
   ========================================= */

.cards-2 {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.group-card {
  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 24px;

  padding: 32px;

  transition: all 0.2s ease;
}

.group-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(37, 47, 41, 0.06);
}

.group-age {
  display: inline-block;

  margin-bottom: 8px;

  font-size: 13px;

  color: var(--accent-dark);

  font-weight: 700;
}

.group-card h3 {
  margin: 0 0 8px;

  line-height: 1.25;
}

.group-card p {
  color: var(--muted);

  margin: 0;
}


/* =========================================
   NEWS
   ========================================= */

.news-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.news-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;

  color: inherit;
  text-decoration: none;

  transition: all 0.2s ease;

  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(37, 47, 41, 0.07);
}

.news-image {
  height: 240px;

  display: grid;
  place-items: center;

  overflow: hidden;

  color: var(--muted);

  background:
    linear-gradient(
      135deg,
      #edf1e9,
      #f7edc7
    );
}

.news-image img {
  width: 100%;
  height: 240px;

  display: block;

  object-fit: cover;
}

.news-body {
  padding: 24px;
}

.news-body h3 {
  margin: 8px 0;

  line-height: 1.25;
}

.news-body p {
  color: var(--muted);

  margin: 0;
}

.date {
  font-size: 13px;

  color: var(--accent-dark);

  font-weight: 700;
}


/* =========================================
   GALLERY
   ========================================= */

.gallery-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.gallery-item {
  min-height: 220px;

  border-radius: 22px;

  display: grid;
  place-items: center;

  background: linear-gradient(135deg, #e8eee4, #f7edc7);

  border: 1px solid var(--border);

  color: var(--muted);

  overflow: hidden;

  transition: all 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.015);

  box-shadow: 0 16px 35px rgba(37, 47, 41, 0.08);
}


/* =========================================
   MEDIA TABS
   ========================================= */

.media-tabs {
  display: flex;

  gap: 10px;

  margin-bottom: 30px;
}

.media-tab {
  border: 1px solid #cfe7ed;

  background: #ffffff;

  color: #53636a;

  padding: 11px 20px;

  border-radius: 999px;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.2s ease;
}

.media-tab:hover {
  transform: translateY(-1px);

  background: #e9f8fb;

  color: #159eb3;
}

.media-tab.active {
  background: #ffd34e;

  border-color: #ffd34e;

  color: #253238;

  box-shadow: 0 8px 20px rgba(255, 211, 78, 0.22);
}


/* =========================================
   VIDEO
   ========================================= */

.media-video-section {
  margin-top: 90px;
}

.video-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.video-card {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--border);

  border-radius: 24px;

  transition: all 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(37, 47, 41, 0.08);
}

.video-placeholder {
  min-height: 260px;

  display: grid;

  place-items: center;

  font-size: 34px;

  color: #ffffff;

  background: linear-gradient(135deg, #69c8e8, #63cfc1);
}

.video-body {
  padding: 24px;
}

.video-body h3 {
  margin: 0 0 8px;

  line-height: 1.25;
}

.video-body p {
  margin: 0;

  color: var(--muted);
}


/* =========================================
   CONTACTS
   ========================================= */

.contact-section {
  background: #f6efcf;
}

.contact-card {
  padding: 38px;

  display: grid;

  grid-template-columns: 1fr 0.8fr;

  gap: 40px;

  background: var(--surface);

  border: 1px solid rgba(39, 49, 44, 0.07);

  border-radius: 30px;

  box-shadow: 0 18px 45px rgba(37, 47, 41, 0.05);
}

.contact-card h2 {
  margin: 8px 0 14px;

  font-size: clamp(32px, 4vw, 46px);

  line-height: 1.08;
}

.contact-card p {
  color: var(--muted);

  margin: 0;
}

.contact-list {
  display: grid;

  gap: 18px;

  align-content: center;
}

.contact-list a {
  font-weight: 700;

  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #159eb3;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  padding: 26px 0;

  border-top: 1px solid var(--border);

  background: var(--bg);
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  color: var(--muted);

  font-size: 13px;
}

.footer-inner a {
  font-weight: 700;

  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: #159eb3;
}


/* =========================================
   ПЛАНШЕТ
   ========================================= */

@media (max-width: 1000px) {

  .nav {
    position: relative;

    min-height: 84px;

    gap: 14px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .menu {
    display: none;
  }

  .menu.mobile-open {
    display: flex;

    position: absolute;

    top: 92px;

    left: 0;
    right: 0;

    flex-direction: column;

    align-items: stretch;

    gap: 4px;

    padding: 12px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: 0 20px 40px rgba(37, 47, 41, 0.12);
  }

  .menu.mobile-open a {
    padding: 13px 14px;

    border-radius: 12px;
  }

  .menu.mobile-open a:hover {
    background: var(--blue-light);

    transform: none;
  }

  .menu.mobile-open a::after {
    display: none;
  }

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

  .hero-text {
    max-width: 760px;
  }

  .hero-card {
    min-height: 380px;
  }

  .photo-placeholder {
    min-height: 340px;
  }

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

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

  .contact-card {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   ТЕЛЕФОН
   ========================================= */

@media (max-width: 700px) {

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


@media (max-width: 600px) {
  
  .news-image {
    height: 210px;
  }

  .news-image img {
    height: 210px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    min-height: 78px;
  }

  .logo img {
    width: 92px;
    height: 62px;
  }

  .lang-btn {
    padding: 8px 12px;
  }

  .menu.mobile-open {
    top: 78px;

    left: 6px;
    right: 6px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-card {
    min-height: 300px;

    padding: 12px;

    border-radius: 24px;
  }

  .photo-placeholder {
    min-height: 275px;

    padding: 20px;
  }

  .section {
    padding: 70px 0;
  }

  .row-heading {
    display: block;
  }

  .text-link {
    display: inline-block;

    margin-top: 14px;
  }

  .cards-2 {
    grid-template-columns: 1fr;
  }

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

  .media-tabs {
    flex-wrap: wrap;
  }

  .contact-card {
    padding: 26px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner a {
    display: inline-block;

    margin-top: 8px;
  }

  .media-content[hidden] {
  display: none;}
}