/* SEO: скрытый заголовок для доступности и поисковиков */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Общие стили */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #e0f7fa;
  }
  
  .nav-categories {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 8vw;
    margin-right: 1vw;
    margin-top: -1vh; /* прилипают к заголовку */
    gap: 0.3em;
  }
  
  .nav-categories a {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(90deg, #ffffff, #2196f3, #ffffff);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: textShine 3s ease-in-out infinite;
  }
  
  /* Анимация цвета текста */
  @keyframes textShine {
    0% {
      background-position: 0% center;
    }
    50% {
      background-position: 100% center;
    }
    100% {
      background-position: 0% center;
    }
  }
  
  header.site-header {
    background: #00796b;
    color: #fff;
    padding: 2vh 2vw;
    position: fixed;
    box-sizing: border-box;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
  }
  
  /* Логотип адаптивно масштабируется */
  header.site-header img {
    height: clamp(60px, 10vw, 120px); /* авто-масштаб по экрану */
    width: auto;
    margin-left: 4vw;
    transform: scaleX(2); /* увеличь значение, если нужно сильнее */

  }
  
  /* Контейнер */
  header.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
  }
  
  /* Логотип и текст */
  .logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 2vw;
  }
  .logo {
    font-size: clamp(20px, 3vw, 50px);
    font-weight: bold;
    margin-left: 5vw;
    color: #fff;
    text-decoration: none;
  }
  
  header.site-header .logo {
    font-size: clamp(20px, 3vw, 50px); /* от 20px до 50px */
    font-weight: bold;
    margin-left: 1vw;
  }
  
  .right-block {
    display: flex;
    align-items: center;
    margin-left: auto; /* прижимает к правому краю */
    gap: 2vw;
  }
  
  header.site-header .contact {
    font-size: clamp(20px, 3vw, 36px);
  }
  
  
  header.site-header .contact a {
    color: #fff;
    text-decoration: none;
  }
  
  header.site-header .language-selector {
    display: flex;
    gap: 0.5vw;         /* расстояние между RU и UK — минимальное */
    flex-wrap: wrap;     /* если мало места — перенос */
    justify-content: flex-end;
    max-width: 100%;
    overflow: hidden;
  }
  
  header.site-header .language-selector a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(12px, 1.2vw, 16px); /* чуть компактнее */
    white-space: nowrap; /* не переносить RU/UK на две строки */
  }
  /* Мобильная версия */
  @media (max-width: 768px) {

    /* Скрыть логотип (картинку) */
    .site-header img {
      display: none;
    }
  
/* Заголовок по центру и крупнее */
.site-header .logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
    display: block;
    line-height: 2.5;
  }

  /* Центрируем номер телефона */
  .site-header .contact {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
    display: block;
  }

  /* Убираем правый блок или перестраиваем */
  .right-block {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vh;
    margin-left: 0 !important;
    width: 100%;
  }

  
    /* Языковой переключатель — правый верхний угол */
    .site-header .language-selector {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 4vw;
    }
  
    .site-header .language-selector a {
      color: #fff;
      text-decoration: none;
      margin: 0 1vw;
    }
  
    .site-header {
      flex-direction: column;
      align-items: center;
      position: relative;
      padding: 2vh 4vw;
    }
  
    .right-block {
      flex-direction: column;
      align-items: center;
      margin: 0;
      width: 100%;
    }
  }
  .hero {
    position: relative;
    min-height: 100vh;
    background: url('/images/index2.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 2vw 60px;
    overflow: hidden;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,121,107,0.5) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 0;
  }
  
  .hero__inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
  
  .hero__cubes-label {
    font-size: clamp(14px, 1.5vw, 16px);
    color: rgba(255,255,255,0.9);
    margin: 0 0 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  
  .hero__title {
    font-size: clamp(24px, 4vw, 38px);
    color: #fff;
    margin: 0 0 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
  }
  
  .hero__subtitle {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,255,255,0.95);
    margin: 0 0 2rem;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  }
  
  .hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }
  
  .btn--primary {
    background: linear-gradient(145deg, #fff 0%, #e0f7fa 100%);
    color: #00695c;
    box-shadow: 0 4px 16px rgba(0, 121, 107, 0.25);
  }
  
  .btn--secondary {
    background: linear-gradient(145deg, #00897b 0%, #00796b 100%);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 16px rgba(0, 121, 107, 0.4);
  }
  
  .btn--outline {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid #fff;
    backdrop-filter: blur(4px);
  }
  
  .hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .hero__links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
  }
  
  .hero__links a:hover {
    text-decoration: underline;
  }
  
  /* Контейнер с кубиками */
  .hero__inner .cube-grid {
    margin-top: 1.5rem;
  }
  .cube-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3vw;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Кнопка-кубик */
  .ice-cube {
    width: clamp(120px, 20vw, 200px);
    height: clamp(120px, 20vw, 200px);
    background-image: url('/images/ice1.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    position: relative;
    animation: swing 4s infinite ease-in-out;
    transform-origin: center center;
    overflow: hidden;
  }
  @keyframes swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }
  
  /* Текст с дыханием */
  .ice-cube span {
    font-weight: bold;
    font-size: clamp(14px, 1.5vw, 20px);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    animation: textBreathing 4s infinite ease-in-out;
    display: inline-block;
  }
  

  
  /* Дыхание текста */
  @keyframes textBreathing {
    0% {
      transform: scale(1);
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }
    50% {
      transform: scale(1.3);
      text-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
    }
    100% {
      transform: scale(1);
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }
  }
  
  /* Снежинки */
  .ice-cube::after {
    content: '❄';
    position: absolute;
    top: -10px;
    left: 50%;
    font-size: 1em;
    color: #fff;
    opacity: 0.8;
    animation: fallSnow 3s infinite linear;
  }
  
  @keyframes fallSnow {
    0% {
      transform: translateX(0) translateY(0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateX(-10px) translateY(130%) rotate(360deg);
      opacity: 0;
    }
  }
  
  
  /* Секции страницы — в стиле «лёд/прохлада» */
  .page-section {
    padding: 56px 20px;
  }
  
  .page-section:nth-child(even) {
    background: linear-gradient(180deg, rgba(224, 247, 250, 0.6) 0%, rgba(178, 223, 219, 0.15) 100%);
  }
  
  .page-section:nth-child(odd) {
    background: linear-gradient(180deg, #fff 0%, rgba(224, 247, 250, 0.3) 100%);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: clamp(22px, 3vw, 28px);
    color: #00695c;
    margin: 0 0 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00796b, #4dd0e1);
    border-radius: 2px;
    margin: 0.75rem auto 0;
  }
  
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  
  .card {
    background: linear-gradient(145deg, #ffffff 0%, #e0f7fa 100%);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 121, 107, 0.12), 0 0 0 1px rgba(0, 121, 107, 0.08);
    border: 1px solid rgba(77, 208, 225, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 121, 107, 0.18), 0 0 0 1px rgba(0, 121, 107, 0.12);
  }
  
  .card--clickable {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .card--clickable:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 121, 107, 0.2);
  }
  
  .card__title {
    font-size: 1.15rem;
    color: #00695c;
    margin: 0 0 0.5rem;
    font-weight: 700;
  }
  
  .card__text {
    font-size: 14px;
    color: #455a64;
    margin: 0 0 1rem;
    line-height: 1.55;
  }
  
  .card__link {
    font-weight: 600;
    color: #00897b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .card__link:hover {
    color: #00695c;
    text-decoration: underline;
  }
  
  .card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00796b;
    margin: 0.5rem 0 0;
    background: linear-gradient(90deg, #00796b, #00897b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
  }
  
  .why-list__item {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(145deg, #fff 0%, #e0f7fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 121, 107, 0.1);
    font-weight: 600;
    color: #00695c;
    border-left: 5px solid #00796b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .why-list__item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 24px rgba(0, 121, 107, 0.15);
  }
  
  .steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
  }
  
  .steps-list::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(180deg, #00796b, #4dd0e1);
    border-radius: 2px;
    z-index: 0;
  }
  
  .steps-list__item {
    padding: 1rem 1rem 1rem 4.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    background: linear-gradient(145deg, #fff 0%, rgba(224, 247, 250, 0.5) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 121, 107, 0.1);
    border: 1px solid rgba(77, 208, 225, 0.25);
    z-index: 1;
    transition: transform 0.2s ease;
  }
  
  .steps-list__item:hover {
    transform: translateX(6px);
  }
  
  .steps-list__num {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00796b, #00897b);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 121, 107, 0.35);
  }
  
  .districts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }
  
  .districts-list li {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(145deg, #fff 0%, #e0f7fa 100%);
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0, 121, 107, 0.12);
    font-size: 15px;
    font-weight: 500;
    color: #00695c;
    border: 1px solid rgba(77, 208, 225, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .districts-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.18);
  }
  
  .faq-list {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .faq-item {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #fff 0%, rgba(224, 247, 250, 0.4) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 121, 107, 0.1);
    border: 1px solid rgba(77, 208, 225, 0.2);
    transition: box-shadow 0.2s ease;
  }
  
  .faq-item:hover {
    box-shadow: 0 8px 28px rgba(0, 121, 107, 0.14);
  }
  
  .faq-item__q {
    font-size: 1.05rem;
    color: #00695c;
    margin: 0 0 0.5rem;
    font-weight: 700;
  }
  
  .faq-item__a {
    font-size: 14px;
    color: #455a64;
    line-height: 1.65;
    margin: 0;
  }
  
  .faq-item__a p {
    margin: 0;
  }
  
  .seo-text.content-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 20px 64px;
    font-size: 16px;
    line-height: 1.75;
    color: #37474f;
    background: linear-gradient(180deg, rgba(224, 247, 250, 0.25) 0%, transparent 100%);
    border-radius: 0 0 24px 24px;
  }
  
  .seo-text h2 {
    font-size: 1.5rem;
    color: #00695c;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    font-weight: 700;
  }
  
  .seo-text h2:first-child {
    margin-top: 0;
  }
  
  .seo-text h3 {
    font-size: 1.2rem;
    color: #00897b;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
  }
  
  .seo-text p {
    margin: 0 0 1rem;
  }
  
  /* Футер */
  footer {
    background-color: #00796b;
    color: #fff;
    padding: 20px;
  }
  footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  footer a {
    color: #80deea;
    text-decoration: none;
    margin-right: 15px;
  }
  
  /* Эффект падающего снега */
  .snowflake {
    position: fixed;
    top: -10px;
    color: #fff;
    font-size: 1em;
    user-select: none;
    z-index: 1000;
    animation: fall linear infinite;
  }
  @keyframes fall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
  }
  
  /* Адаптивность */
  @media (max-width: 768px) {
    header.site-header .container {
      flex-direction: column;
      text-align: center;
    }
    section.hero h1,
    .hero__title {
      font-size: 22px;
    }
    .hero__buttons {
      flex-direction: column;
    }
    .hero__links {
      flex-direction: column;
    }
    section.services .container {
      flex-direction: column;
      align-items: center;
    }
    .page-section {
      padding: 35px 15px;
    }
    .cards-grid {
      grid-template-columns: 1fr;
    }
    .why-list {
      grid-template-columns: 1fr;
    }
    .nav-categories {
      margin-left: 0vw;
      margin-right: 0vw;
      margin-top: 2vh;
      display: block;
      text-align: center;
    }
  }
  