  /* --- ОСНОВНЫЕ СТИЛИ (ГЛОБАЛЬНЫЕ) --- */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: 'Raleway', sans-serif;
      font-weight: 300;
      color: #000000;
      background-color: #ffffff;
      line-height: 1.6;
    }
    .container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 20px;
    }
    h2 {
      font-size: 3.5rem;
      font-weight: 300;
      margin-bottom: 40px;
      text-transform: capitalize;
    }
    section {
      padding: 80px 0;
    }
    
    /* Кнопки */
    .btn {
      display: inline-block;
      padding: 12px 30px;
      font-family: 'Raleway', sans-serif;
      font-weight: 400;
      font-size: 1rem;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.3s ease;
      background: none;
    }
    .btn-black {
      background-color: #000000;
      color: #ffffff;
      border: 1px solid #000000;
    }
    .btn-black:hover {
      background-color: #ffffff;
      color: #000000;
    }
    .btn-outline {
      background-color: #ffffff;
      color: #000000;
      border: 1px solid #000000;
    }
    .btn-outline:hover {
      background-color: #000000;
      color: #ffffff;
    }

    /* --- ШАПКА САЙТА (HEADER) --- */
   /* --- ШАПКА САЙТА (HEADER) --- */
    header {
      padding: 20px 0;
      /*border-bottom: 1px solid #f0f0f0;*/
      position: sticky;
      top: 0;
      background-color: rgba(255, 255, 255, 0.95);
      z-index: 100;
    }
    header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
   
    
    nav ul {
      display: flex;
      list-style: none;
      gap: 30px;
    }
    nav ul a {
      color: #000000;
      text-decoration: none;
      font-size: 1.1rem;
      transition: opacity 0.3s;
    }
    nav ul a:hover {
      opacity: 0.6;
    }
    
    .header-right {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .lang-switch {
      display: flex;
      gap: 10px;
      font-size: 0.9rem;
    }
    .lang-switch span {
      cursor: pointer;
    }
    .lang-switch span.active {
      font-weight: 500;
    }
    .burger-menu {
      display: none;
      font-size: 24px;
      cursor: pointer;
      z-index: 102; /* Чтобы бургер был поверх выезжающего меню */
    }

    /* --- БЛОК 1: ГЛАВНЫЙ ЭКРАН (HERO) --- */
    .hero {
      padding: 60px 0;
      padding-top: 0;
      position: relative;
      overflow: hidden;
    }
    .hero .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      /*min-height: 500px;*/
    }
    .hero-text {
      max-width: 500px;
      z-index: 2;
      line-height: 1;
    }
    .hero-text h1 {
      font-size: 5rem;
      font-weight: 300;
      line-height: 1.1;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 5px;
    }
    .hero-text .sub-brand {
      font-size: 3.2rem;
      font-weight: 300;
      letter-spacing: 12px;
      margin-bottom: 25px;
      border-bottom: 1px solid #000;
       padding-bottom: 15px;
       display: inline-block;
    }
    .hero-text p {
      font-size: 1.2rem;
      margin-bottom: 40px;
      display: inline-block;
      letter-spacing: 1px;
    }
    .hero-buttons {
      display: flex;
      gap: 20px;
    }
    .hero-img-wrapper {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      position: relative;
    }
    /* Силуэт на пилоне (замените src на вашу вырезанную картинку силуэта) */
    .hero-silhouette {
      max-width: 100%;
      height: auto;
      max-height: 750px;
    }  

    /* --- БЛОК 2: О СТУДИИ --- */
    .about .about-content {
      display: flex;
      gap: 50px;
      align-items: center;
    }
    .about-text {
      flex: 1;
    }
    .about-text p {
      margin-bottom: 25px;
      font-size: 1.1rem;
      max-width: 500px;
    }
    .about-text .btn {
      margin-top: 15px;
    }
    .about-img {
      flex: 1;
    }
    .about-img img {
      width: 100%;
      height: auto;
      border: 1px solid #eee;
    }
    .about-features {
      display: flex;
      justify-content: space-between;
      margin-top: 60px;
      gap: 20px;
      flex-wrap: wrap;
    }
    .feature-card {
      flex: 1;
      min-width: 220px;
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 1rem;
    }
    .feature-card i {
      font-size: 1.5rem;
    }

    /* --- БЛОК 3: НАПРАВЛЕНИЯ --- */
    .directions {
      background-color: #fafafa;
    }
    .directions-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    .direction-item {
      background: #ffffff;
      padding: 30px;
      display: flex;
      gap: 25px;
      align-items: flex-start;
      border: 1px solid #eaeaea;
    }
    .direction-icon-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 110px;
      text-align: center;
    }
    .direction-icon-box .round-badge {
      border: 1px solid #000;
      padding: 8px 15px;
      border-radius: 50px;
      font-size: 0.8rem;
      margin-top: 10px;
      white-space: nowrap;
    }
    .direction-icon-box i {
      font-size: 2.5rem;
    }
    .direction-info h3 {
      font-size: 1.3rem;
      font-weight: 500;
      margin-bottom: 10px;
    }

    /* --- БЛОК 4: РАСПИСАНИЕ --- */
    .schedule-table-wrapper {
      overflow-x: auto;
    }
    .schedule-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }
    .schedule-table tr {
      border-bottom: 1px solid #e0e0e0;
    }
    .schedule-table td {
      padding: 20px 10px;
      vertical-align: middle;
    }
    .day-name {
      font-size: 1.3rem;
      font-weight: 400;
      width: 15%;
    }
    .schedule-col {
      width: 23%;
    }
    .schedule-col .time-slot {
      margin-bottom: 10px;
    }
    .schedule-col .time-slot:last-child {
      margin-bottom: 0;
    }
    .time-slot span {
      display: inline-block;
      margin-right: 8px;
    }
    .schedule-table .btn-outline {
      padding: 8px 20px;
      font-size: 0.9rem;
    }

    /* --- БЛОК 5: ЦЕНЫ --- */
    .prices {
      background-color: #fafafa;
    }
    .prices-table {
      width: 100%;
      max-width: 900px;
      border-collapse: collapse;
      margin-bottom: 5px;
    }
    .prices-table th {
      font-weight: 400;
      padding: 15px 10px;
      text-align: right;
    }
    .prices-table th:first-child {
      text-align: left;
    }
    .prices-table tr {
      border-bottom: 1px solid #e0e0e0;
    }
    .prices-table td {
      padding: 20px 10px;
      text-align: right;
    }
    .prices-table td:first-child {
      text-align: left;
      font-size: 1.1rem;
    }
    .prices-bottom {
      margin-top: 40px;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      max-width: 900px;
    }
    .additional-info p {
      margin-bottom: 12px;
      font-size: 1.1rem;
    }

    /* --- БЛОК 6: КОНТАКТЫ & ФУТЕР --- */
    .contacts-content {
      display: flex;
      gap: 50px;
      align-items: flex-start;
    }
    .contacts-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .contact-item {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 1.2rem;
    }
    .contact-item i {
      font-size: 1.5rem;
      width: 25px;
    }
    .contacts-map {
      flex: 1;
    }
    .contacts-map iframe {
      width: 100%;
      height: 350px;
      border: 1px solid #eee;
    }
    
    footer {
      border-top: 1px solid #e0e0e0;
      padding: 40px 0;
      font-size: 0.9rem;
    }
    footer .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-credits {
      text-align: center;
    }

    /* --- МОДАЛЬНОЕ ОКНО ФОРМЫ (ЗАПИСЬ) --- */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .modal.active {
      opacity: 1;
      pointer-events: auto;
    }
    .modal-content {
      background-color: #ffffff;
      padding: 40px;
      max-width: 450px;
      width: 90%;
      position: relative;
      border: 1px solid #000;
    }
    .close-modal {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 24px;
      cursor: pointer;
    }
    .modal-content h3 {
      font-size: 2rem;
      margin-bottom: 20px;
      font-weight: 300;
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-group input, .form-group select {
      width: 100%;
      padding: 12px;
      border: 1px solid #000;
      font-family: 'Raleway', sans-serif;
      font-size: 1rem;
    }
    .modal-content .btn {
      width: 100%;
    }

    /* --- АДАПТИВНОСТЬ (MEDIA QUERIES) --- */
    @media (max-width: 992px) {
      h2 { font-size: 2.8rem; }
      .hero .container { flex-direction: column; text-align: center; justify-content: center; gap: 40px;}
      .hero-text { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
      .hero-text h1 { font-size: 3.8rem; }
      .hero-text .sub-brand { font-size: 2rem; }
      .hero-badges { justify-content: center; }
      .about .about-content { flex-direction: column; }
      .directions-grid { grid-template-columns: 1fr; }
      .contacts-content { flex-direction: column; }
      .contacts-map { width: 100%; }
    }

   @media (max-width: 768px) {
      .burger-menu { 
        display: block; 
      }
      
      /* Переделываем навигацию под мобильное выезжающее меню */
      nav {
        position: fixed;
        top: 0;
        right: -100%; /* Изначально прячется за экраном справа */
        width: 70%;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 101;
        transition: right 0.4s ease;
        padding: 100px 40px;
      }
      
      /* Когда меню активно — выдвигаем его */
      nav.active {
        right: 0;
      }
      
      nav ul {
        flex-direction: column;
        gap: 25px;
      }
      
      nav ul a {
        font-size: 1.5rem;
      }

      header .btn { 
           position: absolute;
           left: 0;
           right: 0;
           width: 100px;
           margin-left: auto;
           margin-right: auto;
           padding: 10px;   
           font-size: 12px;
       } 
      
      /* Адаптация таблицы расписания под мобильные карточки */
      .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
        display: block;
        width: 100%;
      }
      .schedule-table tr {
        padding: 20px 0;
      }
      .day-name {
        font-size: 1.5rem;
        margin-bottom: 15px;
        font-weight: 500;
      }
      .schedule-col {
        margin-bottom: 15px;
      }
      
      /* Адаптация цен */
      .prices-table th, .prices-table td {
        padding: 10px 5px;
        font-size: 0.9rem;
      }
      .prices-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
      }
      
      footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
      }
    }
   header .logo {
      width: 150px; 
      transition: all 0.4s;
    -webkit-transition: all  0.4s;
    -o-transition:  all 0.4s;
    -moz-transition: all  0.4s;

    }

    

    header .logo img {
      width: 150px; 
      height: auto;
      position: absolute;
      top: 0;
      left: 20px;
       transition: all 0.4s;
    -webkit-transition: all  0.4s;
    -o-transition:  all 0.4s;
    -moz-transition: all  0.4s;

    }
 @media (max-width: 992px) {
    header .logo {
      width: 50px; 
    }
     header .logo img {
      width: 50px; 
    }
    nav ul a {
    font-size: 0.8rem;
}
.hero-text p {
    font-size: 1rem;
    letter-spacing: 0px;
}
.hero .container {
     min-height: auto; 
}
    }
     header .container {
      position: relative;
     
     }
    @media (min-width: 768px) {
     header   nav ul {
       justify-content: center;
    }
        .hero-text .sub-brand {
        font-size: 2.0rem;
    }
 }
 @media (max-width: 576px) {
   .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}
 .hero-buttons >*{
    display: block !important;
    width: 100% !important;
}

    .hero-silhouette {
    
        display: none;
    }
   .modal-content {
    padding-left: 30px;
    padding-right: 30px;
}

    }

.close-modal {
    font-size: 34px;
    line-height: 1;
    font-weight: bold;
}
   
   /* Добавляем плавность для базового хедера (найдите текущий 'header' и добавьте transition) */
header {
  /* ... ваши старые стили хедера ... */
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Плавность для логотипа, чтобы он уменьшался без рывков */
.logo-title, .logo-subtitle, .logo-icon {
  transition: font-size 0.3s ease, margin 0.3s ease;
}


/* --- СТИЛИ ПРИ СКРОЛЛЕ (КОГДА ДОБАВЛЕН КЛАСС smaller) --- */
header.smaller {
  padding: 10px 0; /* Уменьшаем внутренние отступы хедера (было 20px) */
  background-color: rgba(255, 255, 255, 0.98); /* Делаем чуть более плотным белый фон */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Добавляем легкую тень снизу для объема */
}

/* Уменьшаем элементы логотипа при скролле */
header.smaller .logo-title {
  font-size: 16px; /* Было 20px */
}

header.smaller .logo-subtitle {
  font-size: 8px; /* Было 10px */
}

header.smaller .logo img {
    width: 50px;
    height: auto;
}

.direction-icon-box img {
    width: 150px;
    height: auto;
    margin-right: 10px;
}
/*===========*/
.hero_serv_list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  grid-gap: 20px;
}

.hero_serv_list>li {
   list-style: none;
}

.hero_serv_list>li img {
   width: 150px;
   height: auto;
}

.hero_serv_wrap .container {
  position: relative;
}

.hero_serv {
  position: absolute;
  left: 0;
  top: 0px;
  margin-top: -160px;
  width: 100%;
}

 @media (max-width: 1376px) {
  .hero-silhouette {
    max-height: 500px;
}
.hero-text h1 {
    font-size: 3.7rem;
}
.hero_serv {
    margin-top: -100px;
}

   header .logo img {
    width: 110px;
}
   .hero_serv_list>li img {
    width: 110px;
}
 }

@media (max-width: 992px) {
.hero_serv_list {
    justify-content: center;
}
.hero_serv {
  position: static;
  margin-top: 20px;
}
.hero-silhouette {
       display: none;
    }
}
  @media (max-width: 350px) {
.hero_serv_list>li img {
    width: 120px;
  
}
.feature-card img {
   width: 100px;
   height: auto;
}
}

  @media (max-width: 480px) {
.direction-item {
    display: block;
}
.direction-info h3 {
   display: none;
}
.direction-icon-box img {
   margin-bottom: 15px;
}
.feature-card ,.feature-card span {
   display: block;
   text-align: center;
}
.modal-content h3 {
    font-size: 1.6rem;
    line-height: 1;
}
}

/*============*/

footer .logo {
   width: 100px;
}


footer .logo img {
   width: 100px;
   height: auto;
}


@media (max-width: 992px) {
footer .logo {
   display: none;
}
}
a { 
  color: #000;
  text-decoration: none;
}
    .contact-item a {
  display: block;
    }
    .lang-switch .active {
      border-bottom: 1px solid #000;
      display: inline-block;
    }
        nav ul a {
        font-size: 1.2rem;
        font-weight: 400;
    }
 
    
