/* Подключаем современный премиальный шрифт Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* Включаем плавную прокрутку по якорям (при клике на меню) */
html {
    scroll-behavior: smooth;
}

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

/* Затемняющий градиент поверх главного фото для идеальной читаемости белого текста */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 15, 30, 0.4) 0%, rgba(0, 15, 30, 0.7) 100%);
}

/* Красивый скроллбар в стиле сайта */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc; 
}
::-webkit-scrollbar-thumb {
    background: #0d9488; /* Цвет brand (teal-600) */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f766e; 
}
/* Скрытие полосы прокрутки для карусели номеров */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Улучшение внешнего вида системных input type="date" */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
  /* Главный контейнер */
  .map-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Общая высота карты на ПК */
    border-radius: 16px;
    overflow: hidden; /* Обрезаем всё, что выходит за скругления */
    background: #f9f9f9;
  }

  /* Сама карта занимает 100% места */
  .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }

  /* Твоя белая карточка */
  .floating-contact-card {
    position: absolute;
    top: 50%; /* Центрируем по вертикали */
    left: 40px; /* Отступ от левого края */
    transform: translateY(-50%); /* Точная балансировка по центру */
    background: #ffffff;
    width: 340px;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    z-index: 10; /* Держим поверх карты */
    box-sizing: border-box;
    font-family: sans-serif;
  }

  .card-title {
    margin: 0 0 24px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
  }

  .card-row {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .icon-wrapper {
    width: 40px;
    height: 40px;
    background: #e8f5f3; /* Тот самый светло-зеленый кружок */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #009688;
  }

  .text-wrapper {
    display: flex;
    flex-direction: column;
  }

  .text-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
  }

  .text-value {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
    font-weight: 500;
  }

  /* АДАПТИВНОСТЬ: На телефонах отлепляем карточку, чтобы она не закрывала карту */
  @media (max-width: 768px) {
    .map-wrapper {
      display: flex;
      flex-direction: column;
      height: auto;
      overflow: visible;
    }
    
    .floating-contact-card {
      position: relative;
      top: 0;
      left: 0;
      transform: none;
      width: 100%;
      border-radius: 16px 16px 0 0; /* Скругляем только верх */
      box-shadow: none;
      border: 1px solid #eee;
      border-bottom: none;
    }

    .map-wrapper iframe {
      height: 400px;
      border-radius: 0 0 16px 16px; /* Скругляем низ карты */
    }
  }