/* ==========================================================================
   MONTSERRAT
   ========================================================================== */

/* Regular */
@font-face {
  font-family: 'Montserrat';
  src: url('./../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: 'Montserrat';
  src: url('./../fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: 'Montserrat';
  src: url('./../fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Montserrat';
  src: url('./../fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Black */
@font-face {
  font-family: 'Montserrat';
  src: url('./../fonts/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   ROBOTO
   ========================================================================== */

/* Regular */
@font-face {
  font-family: 'Roboto';
  src: url('./../fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: 'Roboto';
  src: url('./../fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: 'Roboto';
  src: url('./../fonts/Roboto-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Roboto';
  src: url('./../fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  /* Brand colors */
  --primary-deep: #071509;  /* тёмный фон, hero */
  --brand: #43b02a;         /* фирменный зелёный */
  --brand-dark: #2d6f20;    /* ховер для brand */
  --accent: #c8fa41;        /* CTA, выделение */

  /* Neutral & Text */
  --ink: #0f172a;           /* основной текст */
  --ink-muted: #4b5663;     /* вторичный текст */
  --border: #e5e7eb;        /* разделители */
  --white: #ffffff;         /* основной фон */

  /* Soft Backgrounds */
  --soft-mid: #dff4d9;      /* светло-зелёный фон */
  --soft-light: #f4faf2;    /* самый светлый фон */

  /* Status colors */
  --error: #f04545;         /* ошибка */
  --info: #00b0f0;          /* info-состояние */
    --font-family: 'Roboto', sans-serif;
  --font-main: 'Montserrat', sans-serif;
  --width: 1440px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --block-sm: 48px;
  --block-md: 80px;
  --block-lg: 120px;
  --block-xl: 160px;
  --lh-tight: 1.1;
  --lh-compact: 1.2;
  --lh-base: 1.5;
  --lh-relaxed: 1.6;
  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-main: 'Roboto', sans-serif;

  /* Display Styles (Montserrat Black) */
  --fs-display-144: 144px; /* Cover hero */
  --fs-display-80: 80px;   /* Page H1 */
  --fs-display-64: 64px;   /* Hero H1 */
  --fs-display-48: 48px;   /* Dark CTA */
  --fw-display: 900;       /* Black */

  /* Headings (Montserrat Bold) */
  --fs-h2: 36px;           /* Section title */
  --fs-h3: 32px;           /* Subsection */
  --fs-h4: 22px;           /* Logo, big card */
  --fs-h5: 18px;           /* Card title */
  --fw-bold: 700;          /* Bold */

  /* Body & UI (Roboto Regular) */
  --fs-body-l: 18px;       /* Lead */
  --fs-body-m: 16px;       /* Body */
  --fs-body-s: 14px;       /* Card body */
  --fs-caption: 13px;      /* Small text */
  --fw-regular: 400;       /* Regular */

  /* Line Height (Шкала кратна 4) */
  --lh-tight: 1.2;
  --lh-base: 1.4;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: 'Roboto', sans-serif; */
}

/* --- БАЗОВЫЕ И ОБЩИЕ СТИЛИ --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif; /* Поменяйте на ваш шрифт */
  background-color: #f8f9fa;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
      background: linear-gradient(45deg, #1FC2D2 0%, #02232C 100%);
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  position: relative;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: #C8FA41;
  text-decoration: none;
  letter-spacing: 1px;
  z-index: 101; /* Выше мобильного меню */
}

/* --- КНОПКИ --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn--mobile {
  background-color: #28a745;
  color: #fff;
  width: 100%;
  margin-top: 30px;
}

/* --- БУРГЕР КНОПКА --- */
.burger {
  display: block; /* По умолчанию на мобильных виден */
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.burger span,
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.burger::before { top: 0; }
.burger span { top: 9px; }
.burger::after { bottom: 0; }

/* Анимация бургера при активации */
.burger.burger--active span { opacity: 0; }
.burger.burger--active::before { transform: rotate(45deg); top: 9px; }
.burger.burger--active::after { transform: rotate(-45deg); bottom: 9px; }


/* --- МОБИЛЬНОЕ МЕНЮ (По умолчанию для экранов < 1024) --- */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #1FC2D2;
  z-index: 100;
  padding: 80px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.nav.nav--active {
  right: 0;
}

.nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav__link {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.arrow {
  display: inline-block;
  margin-left: 5px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  vertical-align: middle;
}

/* На мобильных прячем десктопную кнопку встречи */
.actions {
  display: none;
}


/* --- АДАПТИВНЫЕ МЕДИА-ЗАПРОСЫ --- */

/* 📱 320px (Микро-экраны) */
@media (min-width: 320px) {
  .logo { font-size: 18px; }
  .nav { width: 360px; } /* Делаем меню шторкой, а не на весь экран */
}

/* 📱 480px (Увеличенные смартфоны) */
@media (min-width: 480px) {
  .nav { width: 320px; }
}

/* 🗺️ 640px (Малые планшеты / Горизонтальные телефоны) */
@media (min-width: 640px) {
  .container { padding: 0 20px; }
  /* Показываем кнопку в шапке для средних экранов */
  .actions { 
    display: block; 
    margin-right: 50px; /* Отступ, чтобы не перекрывать бургер */
  }
  .btn-primary { padding: 8px 16px; font-size: 14px; }
}

/* 🪵 800px (Планшеты) */
@media (min-width: 800px) {
  .logo { font-size: 22px; }
  .actions { margin-right: 60px; }
  .actions .btn-primary { padding: 10px 20px; font-size: 16px; }
}

/* 💻 1024px (Ноутбуки — Переломная точка на десктоп) */
@media (min-width: 1024px) {
  .burger {
    display: none; /* Скрываем бургер */
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    display: block;
  }

  .nav__list {
    flex-direction: row; /* Меню в линию */
    gap: 20px;
    align-items: center;
  }

  .nav__link {
    font-size: 15px;
  }

  .nav__link:hover {
    color: #007bff;
  }

  .btn--mobile {
    display: none; /* Скрываем мобильную кнопку */
  }

  .actions {
    display: block;
    margin-right: 0; /* Сбрасываем мобильный отступ */
  }
}

/* 🖥️ 1200px (Широкие мониторы) */
@media (min-width: 1200px) {
  .nav__list {
    gap: 35px; /* Увеличиваем расстояние между ссылками */
  }
  .nav__link {
    font-size: 16px;
  }
}

/* 1. Вне медиа-запросов (стили по умолчанию для мобильных) */
.btn--mobile {
  display: inline-block; /* или block */
  /* остальные стили кнопки */
}

/* 2. Внутри медиа-запроса для десктопа */
@media (min-width: 1024px) {
  .btn--mobile {
    display: none !important;
  }
}

/*********************************/
body {
    /* font-family: 'Montserrat', sans-serif; */
}

/* --- БАЗОВЫЕ СТИЛИ (Мобильные от 320px) --- */
.promo-section {
    color: #ffffff;
    /* padding: 30px 15px; */
    font-family: 'Montserrat', sans-serif;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
}

.timer-container {
    /* background: radial-gradient(ellipse at center, #009cb4 0%, #064e5b 45%, #052630 100%); */
    background: linear-gradient(45deg, #009cb4 0%, #052630 100%);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Таймер падает вниз на мобильных */
    gap: 40px;
    padding: 96px 60px;
}

.content-side, .timer-side {
    width: 100%;
}

/* Элементы контента */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b7ff26;
    margin-bottom: 20px;
}

.live-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #b7ff26;
    border-radius: 50%;
    display: inline-block;
}

.main-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 20px;
}

.blue-text { color: #00b3ff; }
.lime-text { color: #b7ff26; }

.description {
    font-size: 14px;
    line-height: 1.5;
    color: #79c3cb;
    margin-bottom: 30px;
    max-width: 500px;
}

/* --- БАЗОВЫЕ СТИЛИ (Мобильные от 320px) --- */
/* --- БАЗОВЫЕ КОМПАКТНЫЕ СТИЛИ (от 320px до 1200px) --- */
.info-vertical-box {
    width: 100%;
    max-width: 450px;          /* Ограничиваем ширину под компактный вертикальный вид */
    /* height: 120px;             Жестко заданная высота по ТЗ */
background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 30px 20px;
       box-sizing: border-box;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Равномерно распределяет 3 элемента по высоте 200px */
}

.info-vertical-item {
    display: flex;
    align-items: center;
    gap: 12px;                 /* Небольшой отступ между мелкой иконкой и текстом */
}

.info-vertical-icon {
    width: 20px;               /* Уменьшенный размер иконок (мелко) */
    height: 20px;
    color: #b7ff26;            /* Неоново-зеленый цвет */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-vertical-icon svg {
    width: 100%;
    height: 100%;
}

.info-vertical-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;           /* Аккуратный уменьшенный шрифт */
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;       /* Запрещаем перенос строк для сохранения компактности */
}

/* --- ПОШАГОВЫЙ АДАПТИВ (Минорные корректировки) --- */

/* На экранах от 480px и шире чуть увеличиваем читаемость */
@media (min-width: 320px) {
    .info-vertical-box {
        max-width: 340px;
        padding: 22px 26px;
        margin-bottom: 30px;
    }
    .info-vertical-text {
        font-size: 13.5px;
    }
    .info-vertical-icon {
        width: 22px;
        height: 22px;
    }
}
@media (min-width: 480px) {
    .info-vertical-box {
        max-width: 340px;
        padding: 22px 26px;
        margin-bottom: 30px;
    }
    .info-vertical-text {
        font-size: 13.5px;
    }
    .info-vertical-icon {
        width: 22px;
        height: 22px;
    }
}

/* На десктопах (от 1024px) делаем текст чуть четче */
@media (min-width: 1024px) {
    .info-vertical-text {
        font-size: 14px;
        letter-spacing: 0.2px;
    }
}

@media (min-width: 1200px) {
    .info-vertical-box {
        max-width: 550px;
    }
        
    .info-vertical-text {
        font-size: 28px;
        letter-spacing: 0.2px;
    }
}

/* Кнопки слева */
.buttons-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary { background-color: #00b3ff; color: #ffffff; }
.btn-secondary { border: 1.5px solid #b7ff26; color: #b7ff26; }

/* Карточка таймера (Справа) */
.timer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.timer-label { font-size: 12px; text-transform: uppercase; color: #79c3cb; letter-spacing: 1px; }
.timer-days { font-size: 240px; font-weight: 900; line-height: 1; margin: 10px 0 5px; color: #C8FA41 }
.timer-days-label { font-size: 12px; font-weight: 700; color: #C8FA41; }

.timer-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.time-unit { font-size: 15px; font-weight: 500; color: #ffffff; }
.btn-ticket {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background-color: #C8FA41;
    color: #052630;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

/* --- ПОШАГОВЫЙ АДАПТИВ (БРЕЙКПОИНТЫ) --- */

/* Широкие смартфоны (от 480px) */
@media (min-width: 480px) {
    .promo-section { padding: 40px 20px; }
    .main-title { font-size: 34px; }
    .buttons-group { flex-direction: row; }
    .btn { padding: 0 25px; }
}

/* Планшеты вертикальные (от 640px) */
@media (min-width: 640px) {
    .main-title { font-size: 42px; }
    .info-block { flex-direction: row; gap: 25px; }
    .description { font-size: 15px; }
}

/* Планшеты горизонтальные (от 800px) */
@media (min-width: 800px) {
    .promo-section { padding: 60px 30px; }
    .main-title { font-size: 48px; }
    .timer-container { gap: 50px; }
}

/* Ноутбуки (от 1024px) — ПЕРЕКЛЮЧЕНИЕ В ДВЕ КОЛОНКИ */
@media (min-width: 1024px) {
    .timer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        gap: 40px;
    }
    
    .content-side { width: 60%; }
    .timer-side { width: 35%; }
    
    .main-title { font-size: 56px; }
    .timer-card { margin-right: 0; margin-left: auto; width: 100%; }
}

/* Десктопы (от 1200px) */
@media (min-width: 1200px) {
    .promo-section { padding: 0px 0px; }
    .main-title { font-size: 64px; }
    .description { font-size: 16px; max-width: 540px; }
    .timer-container { gap: 80px; }
}

/* Сетка слотов в 4 колонки */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

/* Стили для кнопок слотов */
.slot-btn {
    width: 100%;
    height: 44px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-btn:hover:not(:disabled) {
    background-color: #e0e0e0;
}

/* Выделенный слот — черный фон */
.slot-btn.active {
    background-color: #003644 !important;
    color: #ffffff !important;
    border-color: #003644 !important;
}

/* Занятый/отключенный слот */
.slot-btn:disabled {
    background-color: #eaeaea;
    color: #999999;
    cursor: not-allowed;
    border-color: #eaeaea;
}

/* Адаптив под мобильные: на экранах меньше 480px перестраиваем в 2 колонки */
@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .timer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .live-badge {
        justify-content: center;
    }
    
    .description {
        margin: 0 auto 40px;
    }
    
    .info-block {
        margin: 0 auto 40px;
        text-align: left;
    }
    
    .buttons-group {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/************************************/

/* Обнуление базовых отступов для точного совпадения макета */
.booth-section *, 
.booth-section *::before, 
.booth-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* Основная секция */
.booth-section {
  /* padding: 80px 0; */
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 48px;
  -webkit-font-smoothing: antialiased;
}

.booth-container {
    max-width: 1440px;
    margin: 0 auto;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 96px 60px;
  background-color: #F4FAF2;
}

/* Верхний синий мелкий тег */
.booth-top-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: #00B0F0;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

/* Главный заголовок сжатый межбуквенно */
.booth-main-title {
  font-size: 42px;
  font-weight: 800;
  color: #161c20;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

/* Подзаголовок */
.booth-subtitle {
  font-size: 15px;
  color: #5c646a;
  font-weight: 400;
  margin-bottom: 48px;
}

/* Сетка карточек с фиксированными пропорциями */
.booth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Белая карточка-основа */
.booth-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* Почти незаметная тень для объема */
}

/* Блок для картинки */
.booth-img-holder {
  position: relative;
  height: 240px; /* Фиксированная высота как в дизайне */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.booth-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Картинка заполняет блок без искажений */
}

/* Точные цвета бэкграундов из скриншота */
.bg-hit { background: #004555; }
.bg-new { background: #012932; }
.bg-unique { background: #006085; }

/* Закругленные плашки-бейджи внутри картинок */
.booth-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Индивидуальные стили бейджей по цветам */
.badge-hit { background-color: #00b3a4; color: #ffffff; }
.badge-new { background-color: #cbef00; color: #111b00; }
.badge-unique { background-color: #00a4e4; color: #ffffff; }

/* Нижняя текстовая часть карточки */
.booth-card-body {
  padding: 32px 28px 36px 28px; /* Глубокие аккуратные отступы */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Заголовок карточки */
.booth-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #161c20;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

/* Описание карточки */
.booth-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5c646a;
}

/* Базовый адаптив для мобильных устройств */
@media (max-width: 992px) {
  .booth-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .booth-grid {
    grid-template-columns: 1fr;
  }
  .booth-main-title {
    font-size: 32px;
  }
}

/*************************************************/

/* --- БАЗОВЫЕ СТИЛИ (Экран от 320px) --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #161c20;
  -webkit-font-smoothing: antialiased;
}

.calend-container {

    margin: 0 auto;
    padding: 96px 60px;
    max-width: 1440px;
}

/* Двухколоночный макет по умолчанию идет в один стек (вертикально) */
.booking-layout {
 display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: space-around;
}

/* --- Левая часть --- */
.booking-category {
  font-size: 12px;
  font-weight: 900;
  color: #00B0F0;
  letter-spacing: 1px;
}

.booking-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 24px 0;
  letter-spacing: -0.5px;
}

/* Контейнер дней недели */
.days-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.day-card {
  background: #ffffff;
  border: 1px solid #e1e4e6;
  border-radius: 8px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.day-card .day-name {
  font-size: 11px;
  text-transform: uppercase;
  color: #5c646a;
  margin-bottom: 4px;
}

.day-card .day-number {
  font-size: 32px;
  font-weight: 700;
}

.day-card .day-slots {
  font-size: 9px;
  color: #8c9499;
  margin-top: 4px;
}

/* Активный день */
.day-card.active {
  background: #003644;
  border-color: #003644;
  color: #ffffff;
}
.day-card.active .day-name,
.day-card.active .day-slots {
  color: #C8FA41;
}

.current-date {
  font-size: 11px;
  font-weight: 700;
  color: #00b4d8;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Сетка слотов времени */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.slot-btn {
  background: #ffffff;
  border: 1.5px solid #00a4e4;
  color: #00a4e4;
  font-size: 13px;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
}

.slot-btn.disabled {
  border-color: #e1e4e6;
  color: #a0a6aa;
  cursor: not-allowed;
  font-weight: 400;
}

/* --- Правая часть (Форма) --- */
.booking-sidebar {
  background: #f2f7f4;
  border-radius: 12px;
  padding: 24px 16px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sidebar-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #00a4e4;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e1e4e6;
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff;
}

/* Чекбокс */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #5c646a;
  cursor: pointer;
  margin: 20px 0;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #fff;
  position: relative;
  display: inline-block;
}

.checkbox-custom::after {
  content: " ";
  position: absolute;
  color: white;
  font-size: 11px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-submit {
  width: 100%;
  background: #00a4e4;
  color: #ffffff;
  border: none;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}
  .booking-main {
    flex: 1; /* Занимает все свободное пространство слева */
  }
  .booking-sidebar {
    width: 50%; /* Фиксируем ширину боковой панели */
    flex-shrink: 0;
  }
  .slots-grid {
    grid-template-columns: repeat(2, 1fr); /* На десктопе возвращаем по 4 в ряд, но в рамках узкой колонки */
  }



/* ==========================================================================
   МЕДИА-ЗАПРОСЫ (Адаптивные шаги)
   ========================================================================== */

/* 📱 Контрольная точка: 480px */
@media (max-width: 480px) {
  .booking-title {
    font-size: 28px;
  }
  .slots-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 в ряд */
  }
  .booking-sidebar {
    padding: 32px 24px;
  }
}

/* 📱 Контрольная точка: 640px */
@media (max-width: 640px) {
  .calend-container {
    padding: 40px 24px;
  }
  .day-card {
    padding: 14px 8px;
  }
  .day-card .day-number {
    font-size: 22px;
  }
  .slots-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 в ряд */
  }
}

/* 💻 Контрольная точка: 800px */
@media (max-width: 800px) {
  /* Переключаем макет во флекс-строку (две колонки) */
  .booking-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
  .booking-main {
    flex: 1; /* Занимает все свободное пространство слева */
  }
  .booking-sidebar {
    width: 360px; /* Фиксируем ширину боковой панели */
    flex-shrink: 0;
  }
  .slots-grid {
    grid-template-columns: repeat(2, 1fr); /* На десктопе возвращаем по 4 в ряд, но в рамках узкой колонки */
  }
}

/* 💻 Контрольная точка: 1024px */
@media (max-width: 1024px) {
  .calend-container {
    max-width: 960px;
  }
  .booking-layout {
    gap: 48px;
  }
  .booking-title {
    font-size: 36px;
  }
  .booking-sidebar {
    width: 400px;
    padding: 40px 32px;
  }
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 🖥️ Контрольная точка: 1200px */
@media (max-width: 1200px) {
  .calend-container {
    max-width: 1140px;
    padding: 60px 0;
  }
  .booking-layout {
    gap: 80px; /* Глубокий отступ между календарем и формой */
  }
  .booking-title {
    font-size: 42px;
    letter-spacing: -1px;
  }
  .booking-sidebar {
    width: 450px;
  }
}

/* --- БАЗОВЫЕ СТИЛИ СЕТКИ (Мобильные от 320px) --- */
.calend-container {
    width: 100%;
    padding: 20px 10px;
    background-color: #ffffff; /* Задайте нужный фон сквозного контейнера */
    box-sizing: border-box;
}

.booking-layout {
    display: flex;
    flex-direction: column; /* По умолчанию форма СНИЗУ под слотами */
    gap: 40px;              /* Отступ между блоком слотов и формой */
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.booking-main, 
.booking-sidebar {
    width: 100%;
}

/* Элементы шапки */
.booking-category {
    display: inline-block;
   font-size: 12px;
  font-weight: 900;
  color: #00B0F0;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.booking-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111111;
}

/* Дни недели */
.days-row {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    overflow-x: auto; /* Скролл для совсем маленьких экранов */
    padding-bottom: 5px;
}

.day-card {
    flex: 1;
    min-width: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}



/* Текущая дата */
.current-date {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #43B02A;
}

/* Форма CF7 */
.booking-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.booking-form label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333333;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.btn-submit {
    width: 100%;
    height: 52px;
    background-color: #00b3ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

/* --- ПОШАГОВЫЙ АДАПТИВ (БРЕЙКПОИНТЫ) --- */

/* Широкие смартфоны (от 480px) */
@media (min-width: 480px) {
    .calend-container { padding: 30px 15px; }
    .booking-title { font-size: 28px; }
    .days-row { gap: 12px; }
    .day-card { padding: 14px 10px; }
}

/* Планшеты мини (от 640px) */
@media (min-width: 640px) {
    .booking-title { font-size: 32px; }
    /* Поля формы выстраиваем парами для экономии места по вертикали */
    .booking-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .booking-form .form-group { margin-bottom: 0; }
    .form-checkbox, [type="submit"] { grid-column: span 2; }
}

/* Планшеты стандартные (от 800px) */
@media (min-width: 800px) {
    .calend-container { padding: 40px 20px; }
    .booking-title { font-size: 36px; }
}

/* Ноутбуки (от 1024px) — ПЕРЕКЛЮЧЕНИЕ В ДВЕ КОЛОНКИ */
@media (min-width: 1024px) {
    .booking-layout {
        flex-direction: row; /* Форма становится СПРАВА, слоты СЛЕВА */
        justify-content: space-between;
        gap: 50px;
    }
@media (min-width: 1200px) {
    .calend-container {
        padding: 96px 60px;
    }
}    
    .booking-main {
        width: 55%; /* Левая колонка чуть шире под сетку слотов */
    }
    
    .booking-sidebar {
        width: 40%; /* Правая колонка фиксировано под форму */
        position: sticky;
        top: 20px; /* Форма фиксируется при скролле, если слотов много */
    }

    /* Возвращаем форму в одну колонку внутри правого сайдбара */
    .booking-form {
        display: block;
    }
    .booking-form .form-group { margin-bottom: 18px; }
}

/* Большие мониторы (от 1200px) */
@media (min-width: 1200px) {
    .booking-title { font-size: 48px; font-weight: 900; }
    .booking-layout { gap: 80px; }
    .booking-main { width: 52%; }
    .booking-sidebar { width: 38%; }
}

/************************************************/

/* --- БАЗОВЫЕ СТИЛИ (Экран от 320px) --- */
.team-section *, 
.team-section *::before, 
.team-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.team-section {
  
    margin: 0 auto;
    padding: 96px 60px;
    max-width: 1440px;
    background-color: #F4FAF2;
  
}

.team-container {
   display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-around;
}

/* Мелкий верхний тег */
.team-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: #00B0F0;
  letter-spacing: 1.2px;
  /* margin-bottom: 12px; */
}

/* Массивный заголовок */
.team-main-title {
  font-size: 48px;
  font-weight: 900;
  color: #161c20;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

/* Сетка: на мобильных карточки встают одна под другую */
.team-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 16px;
}

/* Стили карточки */
.team-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex:1;
  flex-direction: column;
}

/* Контейнер для фото с градиентом из макета */
.team-img-holder {
  position: relative;
  height: 220px;
  background: linear-gradient(180deg, #022329 0%, #01506b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* Текстовый блок карточки */
.team-card-body {
  padding: 24px 20px;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: #161c20;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.team-role {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Разные цвета для должностей */
.role-blue { color: #0077b6; }
.role-cyan { color: #00b4d8; }

.team-desc {
  font-size: 13px;
  line-height: 1.4;
  color: #6c757d;
}


/* ==========================================================================
   МЕДИА-ЗАПРОСЫ (Пошаговый адаптив)
   ========================================================================== */

/* 📱 Брейкпоинт: 480px (Крупные смартфоны) */
@media (max-width: 480px) {
  .team-main-title {
    font-size: 32px;
  }
  .team-img-holder {
    height: 240px; /* Фото становятся чуть выше */
  }
}

/* 📱 Брейкпоинт: 640px (Вертикальные планшеты) */
@media (max-width: 640px) {
  .team-container {
    padding: 0 24px;
  }
  /* Переключаем сетку в 2 колонки */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .team-card-body {
    padding: 28px 24px;
  }
}

/* 💻 Брейкпоинт: 800px (Горизонтальные планшеты / Нетбуки) */
@media (max-width: 800px) {
  .team-section {
    padding: 60px 0;
  }
  .team-main-title {
    font-size: 36px;
  }
  .team-img-holder {
    height: 210px; /* Оптимальная высота под пропорции 4-х колонок */
  }
}

/* 💻 Брейкпоинт: 1024px (Ноутбуки и ПК) */
@media (max-width: 1024px) {
  .team-container {
    max-width: 960px; /* Ограничиваем общую ширину */
    padding: 0;
  }
  /* Перестраиваем сетку в финальные 4 колонки */
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .team-main-title {
    font-size: 40px;
    letter-spacing: -0.8px;
  }
  .team-name {
    font-size: 17px;
  }
}

/* 🖥️ Брейкпоинт: 1200px (Широкие мониторы) */
@media (max-width: 1200px) {
  .team-container {
    max-width: 1140px; /* Идеальный размер под сетку всей страницы */
  }
  .team-grid {
    gap: 20px;
  }
  .team-main-title {
    font-size: 42px;
    letter-spacing: -1px;
    margin-bottom: 48px;
  }
  .team-img-holder {
    height: 235px; /* Точные пропорции как на картинке-макете */
  }
  .team-name {
    font-size: 19px;
  }
  .team-card-body {
    padding: 32px 24px;
  }
}

/**************************************************/

/* ==========================================
   1. БАЗОВАЯ МОБИЛЬНАЯ ВЕРСТКА (от 320px)
   ========================================== */
.location-section {
    background-color: #ffffff; /* Светлый фон секции */
    padding: 40px 15px;
    font-family: 'Montserrat', sans-serif;
    color: #111111;
    box-sizing: border-box;
     margin: 0 auto;
    padding: 96px 60px;
    max-width: 1440px;
}

.location-container {
}

.location-badge {
    display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: #00B0F0;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.location-main-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 30px;
}

.location-layout {
    display: flex;
    flex-direction: column; /* На мобильных карта сверху, инфо-карточки снизу */
    gap: 30px;
}

/* --- Контейнер Яндекс.Карты --- */
.location-map-block {
    width: 100%;
}

/* Фикс для адаптивности скрипта конструктора карт */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 350px; /* Фиксированная высота для мобильных */
    border-radius: 12px;
    overflow: hidden;
    background-color: #eaeaea;
}

/* Заставляем iframe скрипта занять всю область родителя */
.map-wrapper ymaps,
.map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
}

/* --- Инфо-карточки --- */
.location-info-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background-color: #f8fafc;
    border-left: 5px solid #cccccc; /* Базовый цвет рамки */
    transition: transform 0.2s ease;
}

/* Кастомные цвета рамок и иконок */
.info-card.border-green { border-left-color: #24b47e; }
.info-card.border-blue { border-left-color: #00b3ff; }
.info-card.border-lime { border-left-color: #b7ff26; }

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
}

.info-icon svg {
    /* width: 24px; */
    /* height: 24px; */
}

.info-icon.bg-green { background-color: #24b47e; }
.info-icon.bg-blue { background-color: #00b3ff; }
.info-icon.bg-lime { background-color: #b7ff26; }

.info-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-text p {
    font-size: 13px;
    line-height: 1.4;
    color: #555555;
}


/* ==========================================
   2. ПОШАГОВЫЙ АДАПТИВ (БРЕЙКПОИНТЫ)
   ========================================== */

/* --- Смартфоны широкие (от 480px) --- */
@media (min-width: 480px) {
    .location-section { padding: 50px 20px; }
    .location-main-title { font-size: 28px; }
    .map-wrapper { height: 400px; }
    .info-text p { font-size: 14px; }
}

/* --- Планшеты вертикальные (от 640px) --- */
@media (min-width: 640px) {
    .location-main-title { font-size: 32px; }
    .map-wrapper { height: 450px; }
    .info-card { padding: 24px; }
}

/* --- Планшеты горизонтальные (от 800px) --- */
@media (min-width: 800px) {
    .location-section { padding: 60px 30px; }
    .location-layout { gap: 40px; }
}

/* --- Ноутбуки (от 1024px) — ДВУХКОЛОНОЧНЫЙ МАКЕТ --- */
@media (min-width: 1024px) {
    .location-layout {
        flex-direction: row; /* Карта СЛЕВА, инфо-карточки СПРАВА */
        align-items: stretch;
        gap: 40px;
    }

.location-map-block {
        width: 50%; /* Ровно половина экрана */
    }

    .map-wrapper {
        height: 100%; /* Карта растягивается на всю высоту колонки карточек */
        min-height: 400px;
    }

    .location-info-block {
        width: 50%;
        justify-content: space-between; /* Распределяем карточки равномерно по высоте карты */
    }
    
    .info-card {
        height: 100%; /* Карточки делят высоту поровну */
    }
}
@media (min-width: 1200px) {
    .location-section {
        padding: 96px 60px;
    }
}


/* --- Десктопы (от 1200px) --- */
@media (min-width: 1200px) {
    .location-main-title { font-size: 38px; line-height: 1.25; margin-bottom: 40px; }
    .location-layout { gap: 60px; }
}

/*************************/

/* Сброс базовых стилей */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Секция с точным эллиптическим градиентом */
.promo {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.promo__container {
    width: 100%;
    padding: 60px 96px;
    margin: 0 auto;
    max-width: 1440px;
    /* background: radial-gradient(ellipse at center, #009cb4 0%, #064e5b 45%, #052630 100%); */
    background: linear-gradient(45deg, #009cb4 0%, #052630 100%);
}

/* Маленький верхний текст */
.promo__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #b7ff26; /* Точный неоново-зеленый оттенок */
    margin-bottom: 32px;
}

/* Главный заголовок */
.promo__title {
    /* font-family: 'Unbounded', sans-serif; */
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

/* Подзаголовок */
.promo__subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #79c3cb; /* Приглушенный бирюзовый */
    max-width: 520px;
    margin: 0 auto 36px auto;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Блок кнопок */
.promo__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

/* Стили кнопок */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    height: 52px;
    padding: 0 24px;
    border-radius: 10px; /* Точный радиус скругления */
    width: 100%;
    max-width: 280px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn--primary {
    background-color: #00b3ff; /* Точный голубой цвет левой кнопки */
    color: #ffffff;
}

.btn--primary:hover {
    background-color: #00a0e6;
}

.btn__arrow {
    margin-left: 6px;
    font-size: 14px;
}

.btn--secondary {
    background-color: transparent;
    color: #b7ff26;
    border: 1.5px solid #b7ff26; /* Тонкая рамка в тон текста */
}

.btn--secondary:hover {
    background-color: rgba(183, 255, 38, 0.08);
}

/* --- Адаптивная сетка (Брейкпоинты) --- */

@media (min-width: 480px) {
    .promo__title { font-size: 40px; }
}

@media (min-width: 640px) {
    .promo__title { font-size: 46px; }
    /* Переключение кнопок в горизонтальный ряд как на макете */
    .promo__actions {
        flex-direction: row;
        gap: 16px;
    }
    .btn { width: auto; max-width: none; }
}

@media (min-width: 800px) {
    .promo__title { font-size: 54px; }
    .promo__subtitle { font-size: 14px; }
}

@media (min-width: 1024px) {
    .promo__title { font-size: 64px; }
}

@media (min-width: 1200px) {
.promo__container {
    width: 100%;
}
}

/***************************************/


.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1050;
}
.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1040;
}
.modal__dialog {
  position: relative;
  background: #fff;
  z-index: 1060;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
}
/* body.modal-open {
  overflow: hidden; /* Запрещает прокрутку сайта под модалкой 
} */

.wpcf7 form .wpcf7-response-output {
  margin: 0;
}

.custom-320  {
  width: 100%;
  overflow-x: auto; /* Добавляет горизонтальную прокрутку */
  -webkit-overflow-scrolling: touch; /* Плавный скролл для iOS */
}

table {
  width: 100%; /* Занимает всю ширину контейнера */
  min-width: 600px; /* Минимальная ширина, чтобы текст не сжимался сильно */
  border-collapse: collapse;
}

td, th {
  padding: 10px;
  border: 1px solid #ccc;
}

[data-modal-open] {
  cursor: pointer;
  touch-action: manipulation;
}

.modal-close {
  position: absolute;
  top: 86px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Создаем линии крестика через псевдоэлементы */
.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 2px;
  width: 20px;
  height: 2px;
  background-color: #333; /* Цвет линий */
  border-radius: 1px;
  transition: background-color 0.2s;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

/* Эффект при наведении */
.modal-close:hover::before,
.modal-close:hover::after {
  background-color: #000; 
}
/* По умолчанию модальное окно скрыто */
.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;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Класс, который делает окно видимым (добавляется через JS) */
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/***********************************/

/* Футер */
.footer {
  background-color: var(--primary-deep);
  color: var(--white);
  padding: var(--block-md) 0 var(--space-xl);
  font-family: var(--font-main);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    margin: 0 auto;
    padding: 20px 16px;
    max-width: 1440px;
}

/* Верхняя часть */
.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--block-md);
}

.footer__col {
  flex: 1;
  min-width: 150px;
}

.footer__col--main {
  flex: 2;
  max-width: 320px;
}

/* Логотип */
.footer__logo {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-display);
  color: var(--brand);
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.footer__text {
  font-size: var(--fs-body-s);
  line-height: var(--lh-base);
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

/* Заголовки списков */
.footer__title {
  font-family: var(--font-main);
  font-size: var(--fs-body-s);
  font-weight: 700;
  color: var(--accent) !important; /* Лаймовый из переменных */
  margin-bottom: var(--space-lg);
  text-transform: none;
}

/* Списки */
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li {
  margin-bottom: var(--space-sm);
}

.footer__list a, 
.footer__list span {
  font-size: var(--fs-body-s);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: var(--accent);
}

.footer__link--bold {
  font-weight: 700;
  color: var(--white) !important;
}

/* Нижняя часть */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--white);
}

/* --- Адаптив --- */

/* Планшеты */
@media (max-width: 992px) {
  .footer__top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--block-sm);
  }
  .footer__col--main {
    grid-column: span 2;
    max-width: 100%;
  }
}

/* Мобильные */
@media (max-width: 576px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__col--main {
    grid-column: span 1;
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/***********************************/

/* Ровняем элементы по вертикали и убираем лишние отступы от тега p */
.form-checkbox p,
.form-checkbox .checkbox-label {
    display: flex;
    align-items: flex-start; /* Выравнивание по верхней линии текста */
    gap: 12px;
    color: #333333;
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 0;
}

/* Принудительно убираем системные брейки <br>, которые CF7 вставляет автоматически */
.form-checkbox br {
    display: none !important;
}

/* Полностью скрываем стандартный дефолтный чекбокс браузера */
.form-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    z-index: -1;
}

/* Позиционируем всю обертку CF7 и кастомный чекбокс */
.form-checkbox .wpcf7-form-control-wrap {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

/* Стилизация вашего кастомного квадратика .checkbox-custom */
.form-checkbox .checkbox-custom {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    margin-top: 1px; /* Легкое смещение вниз для идеального центра с первой строкой текста */
}

/* Подсвечиваем рамку при наведении мыши на текст или квадрат */
.form-checkbox .checkbox-label:hover .checkbox-custom {
    border-color: #00b3ff;
}

/* Скрипт CF7 добавляет класс .wpcf7-not-valid, если форму отправили без галочки */
.form-checkbox .wpcf7-not-valid ~ .checkbox-custom {
    border-color: #ff4d4d; /* Красная рамка при ошибке */
}

/* Смена фона квадрата при АКТИВНОМ чекбоксе (через селектор :has) */
.form-checkbox .wpcf7-form-control-wrap:has(input:checked) ~ .checkbox-custom {
    background-color: #00b3ff;
    border-color: #00b3ff;
}

/* Рисуем внутреннюю белую галочку внутри .checkbox-custom */
.form-checkbox .checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Показываем внутреннюю галочку, когда инпут внутри обертки checked */
.form-checkbox .wpcf7-form-control-wrap:has(input:checked) ~ .checkbox-custom::after {
    display: block;
}

/* Стили для ссылок внутри согласия */
.form-checkbox .checkbox-label a {
    color: #00b3ff;
    text-decoration: none;
    font-weight: 500;
}

.form-checkbox .checkbox-label a:hover {
    text-decoration: underline;
}

/* Прячем всплывающую стандартную ошибку CF7, так как мы подсвечиваем рамку красным */
.form-checkbox .wpcf7-not-valid-tip {
    display: none !important;
}
/* Прячем системный текст значения CF7 внутри лейбла */
.form-checkbox .wpcf7-list-item-label {
    display: none !important;
}

/* Основной контейнер карточки */
.employee-card {
    display: flex;
    gap: 40px; /* Отступ между фото и текстом */
    width: 100%;
    /* max-width: 1000px; */
    margin: 0 auto;
    /* background-color: #ffffff; */
    font-family: system-ui, -apple-system, sans-serif;
    align-items: center;
    box-sizing: border-box;
}

/* Обертка для фото с градиентом */
.employee-card__photo-wrapper {
    flex: 0 0 45%; /* Фото занимает 45% ширины */
    /* aspect-ratio: 470 / 295; Пропорции исходного изображения */
    background: linear-gradient(135deg, #0d6287 0%, #032120 100%); /* Сложный сине-зеленый градиент */
    border-radius: 8px; /* Легкое скругление углов */
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Сдвигает человека к нижнему краю */
    justify-content: center;
}

/* Само изображение сотрудника */
.employee-card__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Контентная часть */
.employee-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Имя сотрудника */
.employee-card__name {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

/* Должность */
.employee-card__position {
    font-size: 13px;
    font-weight: 600;
    color: #00aeef; /* Яркий голубой цвет */
    margin: 0 0 10px 0;
    text-transform: none;
}

/* Блок контактов */
.employee-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 30px; /* Большой отступ перед описанием */
}

/* Ссылки (Email и Телефон) */
.employee-card__link {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.employee-card__link--email {
    text-decoration: underline; /* Подчеркивание только у email */
}

.employee-card__link:hover {
    color: #00aeef; /* Цвет при наведении */
}

/* Описание обязанностей */
.employee-card__description {
    font-size: 14px;
    line-height: 1.6;
    color: #666666; /* Серый приглушенный цвет текста */
    margin: 0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .employee-card {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    
    .employee-card__photo-wrapper {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .employee-card__name {
        font-size: 20px;
    }
    
    .employee-card__contacts {
        margin-bottom: 20px;
    }
}


.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1050;
}
.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1040;
}
.modal__dialog {
  position: relative;
  background: #fff;
  z-index: 1060;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
}
/* ==========================================================================
[data-modal-open] {
  cursor: pointer;
  touch-action: manipulation;
}

.modal-close {
  position: absolute;
  top: 86px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Создаем линии крестика через псевдоэлементы */
.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 2px;
  width: 20px;
  height: 2px;
  background-color: #333; /* Цвет линий */
  border-radius: 1px;
  transition: background-color 0.2s;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

/* Эффект при наведении */
.modal-close:hover::before,
.modal-close:hover::after {
  background-color: #000; 
}
/* По умолчанию модальное окно скрыто */
.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;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Класс, который делает окно видимым (добавляется через JS) */
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   КОМПАКТНАЯ ВЕРТИКАЛЬНАЯ ФОРМА (Все разрешения)
   ========================================================================== */
.reg-form-container {
  font-family: var(--font-main);
  background-color: var(--white);
  padding: var(--space-md);
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  /* Ограничиваем максимальную ширину всей формы для идеального вертикального вида */
  max-width: 480px; 
}

.reg-section__title {
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--primary-deep);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: var(--space-md);
  text-align: left;
}

/* Строго вертикальная сетка — по одному полю в ряд */
.reg-form__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm); /* Минимальный вертикальный отступ между полями */
  margin-bottom: var(--space-lg);
}

.reg-form__field {
  width: 100%;
}
.reg-form__field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Уменьшенные инпуты */
.reg-form__input {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  background-color: var(--soft-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 var(--space-sm);
  font-family: var(--font-main);
  font-size: var(--fs-body-s);
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.reg-form__input:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--brand);
}

.reg-form__input::placeholder {
  color: var(--ink-muted);
}

/* Ошибки валидации CF7 */
.reg-form__input.wpcf7-not-valid {
  border-color: var(--error) !important;
}
.wpcf7-not-valid-tip {
  font-family: var(--font-main);
  font-size: var(--fs-caption);
  color: var(--error);
  margin-top: 2px;
  display: block;
}

/* Вертикальный футер */
.reg-form__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.reg-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.reg-form__checkbox-label {
  display: block;
  font-family: var(--font-main);
  font-size: var(--fs-caption);
  line-height: var(--lh-tight);
  color: var(--ink-muted);
  cursor: pointer;
}

.reg-form__checkbox-label .wpcf7-list-item {
  margin: 0 !important;
  display: inline;
}

.reg-form__checkbox {
  margin-right: var(--space-xs);
  accent-color: var(--brand);
  vertical-align: middle;
}

.reg-form__a {
  color: var(--ink);
  text-decoration: underline;
}

.reg-form__a:hover {
  color: var(--brand-dark);
}

/* Уменьшенная кнопка отправки */
.reg-form__submit-btn {
  width: 100%;
  height: 40px;
  background-color: var(--accent);
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: var(--fs-body-s);
  font-weight: var(--fw-bold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.reg-form__submit-btn:hover {
  background-color: #b4e62b;
}

/* ==========================================================================
   АДАПТИВ ДЛЯ БОЛЬШИХ ЭКРАНОВ (От 640px до 1920px)
   ========================================================================== */
@media (min-width: 640px) {
  .reg-form-container {
    padding: var(--space-lg);
    border-radius: 8px;
    /* Если форма внутри модалки, можно добавить легкую тень */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
  }
}

@media (min-width: 1024px) {
  .reg-form-container {
    padding: var(--space-xl);
  }
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
}

.custom-320  {
  width: 100%;
  overflow-x: auto; /* Добавляет горизонтальную прокрутку */
  -webkit-overflow-scrolling: touch; /* Плавный скролл для iOS */
}

