* {
    font-family: 'Jost', sans-serif;
}

        /* Стили для видео с акулой на весь экран */
        .shark-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            overflow: hidden;
        }
        
		.shark-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(55px) opacity(0.3);
    opacity: 0; /* Очень прозрачное */
    transition: all 2s ease-in-out;
}
        
        /* Эффект частичного затемнения видео */
        .video-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(
                circle at 30% 50%, 
                transparent 0%, 
                rgba(0, 0, 0, 0.4) 100%
            );
            z-index: -1;
            pointer-events: none;
        }

.gallery-section {
  width: 100%;
  max-width: 820px;
  margin: 0px auto 0px auto;
  text-align: center;
  font-family: 'Jost', sans-serif;
  background: rgba(193, 195, 245, 0);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0);
  padding: 32px 0 0px 0;
}

@media (max-width: 900px) {
.gallery-section {
  width: 100%;
  max-width: 820px;
  margin: 0px auto 0px auto;
  text-align: center;
  font-family: 'Jost', sans-serif;
  background: rgba(193, 195, 245, 0);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0);
  padding: 3px 0 0px 0;
	}
}

@media (max-width: 600px) {
.gallery-section {
  width: 100%;
  max-width: 820px;
  margin: 0px auto 0px auto;
  text-align: center;
  font-family: 'Jost', sans-serif;
  background: rgba(193, 195, 245, 0);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0);
  padding: 3px 0 0px 0;
	}
}

@media (max-width: 480px) {
.gallery-section {
  width: 100%;
  max-width: 820px;
  margin: 0px auto 0px auto;
  text-align: center;
  font-family: 'Jost', sans-serif;
  background: rgba(193, 195, 245, 0);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0);
  padding: 3px 0 0px 0;
	}
}

@media (max-width: 300px) {
.gallery-section {
  width: 100%;
  max-width: 820px;
  margin: 0px auto 0px auto;
  text-align: center;
  font-family: 'Jost', sans-serif;
  background: rgba(193, 195, 245, 0);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0);
  padding: 3px 0 0px 0;
	}
}

.gallery-title {
  font-size: 2em;
  margin-bottom: 22px;
  color: #333;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.gallery-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}



.gallery-arrow {
  background: linear-gradient(135deg, #c1c3f500 60%, #fde5e200 100%);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 4em;
  color: #ac9fec;
  cursor: pointer;
  margin: 0 12px;
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.gallery-viewport {
  overflow: hidden;
  width: 810px; /* 3 фото по 260px + отступы */
  border-radius: 18px;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.gallery-photo {
  width: 260px;
  height: 185px;
  object-fit: cover;
  border-radius: 14px;
  background: #c1c3f5;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  margin-right: 15px;
  margin: 5px 5px 5px 5px;
}
.gallery-photo:last-child {
  margin-right: 0;
}
.gallery-photo:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(11, 124, 249, 0);
  border-color: #fff0;
}

@media (max-width: 900px) {
  .gallery-viewport { width: 540px; }
  .gallery-photo { width: 168px; height: 110px; margin: 0 5px; }
}
@media (max-width: 600px) {
  .gallery-viewport { 
  width: 300px; 
  }
  .gallery-photo { 
  width: 245px; 
  height: 245px; 
  margin: 0 2px; 
  }
}

/* Модальное окно */
.modal-gallery {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.65);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-gallery.active {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(11,124,249,0.18);
  background: #fff;
  animation: scaleIn 0.2s;
}
@keyframes scaleIn { from { transform: scale(0.9); } to { transform: scale(1); } }

.modal-close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: #fff;
  font-size: 2.5em;
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 2px 8px #000;
  z-index: 10;
  transition: color 0.2s;
}
.modal-close:hover { color: #0b7cf9; }

@media (max-width: 700px) {
  .modal-close { top: 12px; right: 18px; font-size: 2em; }
  .modal-content { max-width: 98vw; max-height: 70vh; }
}


    body {
      font-family: 'Jost', sans-serif;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background-color: #f0fff0;
      background-image:
        linear-gradient(to right, var(--color1), var(--color2), var(--color3), var(--color4), var(--color1)),
        url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAAAgMAAABinFQ6AAAACVBMVEUAAAD///9fX1/S0ecCAAAAI0lEQVQI12NgwAkAAAT8AA99kSMJAAAAAElFTkSuQmCC");
      background-size: 400% 100%, 200px;
      background-blend-mode: multiply;
      animation: gradientShift 5s linear infinite alternate;
    }

    :root {
      --color1: #F0FFF0;
      --color2: #befddb;
      --color3: #e1e6c4;
      --color4: #f3e4d7;
    }

    @keyframes gradientShift {
      0% {
        background-position: 0% 0%, 0 0;
      }
      100% {
        background-position: 100% 0%, 0 0;
      }
    }
	

.map-container {
    width: 100%; /* Занимает всю доступную ширину */
    max-width: 762px; /* Ограничиваем максимальную ширину на больших экранах */
    height: 600px;
    overflow: hidden;
    position: relative;
    margin: 0 auto; /* Центрируем контейнер по горизонтали */
}

/* Медиа-запрос для экранов шириной до 768px (обычно мобильные) */
@media (max-width: 768px) {
    .map-container {
        height: 600px; /* Уменьшаем высоту на мобильных */
    }

    .map-container iframe {
        height: 100%;  /* iframe занимает всю высоту контейнера */
    }
}

/* Медиа-запрос для маленьких экранов (например, телефонов) */
@media (max-width: 480px) {
    .map-container {
        height: 600px; /* Еще уменьшаем высоту на совсем маленьких экранах */
    }
}

/* Навигация */
.navbar {
    background-color: rgba(255, 255, 255, 0.07);
    padding: 10px 20px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 830px;
    border-radius: 20px;
	border-color: black;
    display: flex;
    justify-content: space-between; /* Важно! */
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(30px);
    transition: all 0.3s ease;
    box-shadow: 0px 0px 1px rgb(134, 134, 134);
}

.navbar:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar-logo .logo-image {
    max-height: 40px;
    max-width: 150px;
    vertical-align: middle;
}

.navbar-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.navbar-menu a {
    color: #373737;
    text-decoration: none;
    margin: 0 20px;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: #3498db;
}

/* Стиль для кнопок на БОЛЬШИХ экранах */
.navbar-buttons {
    display: flex; /* Важно! */
    align-items: center; /* Важно! */
    margin-left: auto; /* Важно: прижимает к правому краю */
}

.navbar-button {
    border: none;
    padding: 10px 20px;
    border-radius: 45px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blue-button {
    background: linear-gradient(to right, #0b7cf9, #0b7cf9);
    color: #fff;
}

.grey-button {
    background-color: #f0f0f0;
    color: #555;
}

.blue-button:hover {
    background: linear-gradient(to right, #3494FF, #429BFE);
}

.grey-button:hover {
    background-color: #e0e0e0;
}

/* Кнопка-гамбургер */
.navbar-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.navbar-toggle span {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Главный контент */
.main-content {
    margin-top: 100px;
    text-align: center;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
    max-width: 1200px;
    margin-bottom: 30px;
}

.content-container {
    text-align: left;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.content-container h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.content-container p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 15px;
}

.content-button {
    background: linear-gradient(to right, #0b7cf9, #0b7cf9);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 45px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    box-shadow: rgba(4, 94, 193, 0.69) 0px 16px 32px 0px;
	margin-bottom: 20px;
}

.content-button:hover {
    background: linear-gradient(to right, #2089FC, #2288FA);
}

.phone-image {
    width: 25%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.44));
}

.phone-video-container {
    width: 100%;
    padding-bottom: 177.78%; /* 16:9 ratio */
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.44));
}

.phone-video {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 98%;
    height: 98%;
    object-fit: cover;
}

.phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .phone-image {
        width: 60%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .phone-video-container {
        border-radius: 65px;
    }
	
	.under-text2::after {
		left: 0px !important;
		bottom: -36px !important;
	}
}

@media (max-width: 480px) {
    .phone-image {
        width: 10%;
        max-width: 250px;
    }
    
    .phone-video-container {
        border-radius: 55px;
    }
	
	.under-text2::after {
		left: 0px !important;
		bottom: -36px !important;
	}
}

/* Кнопка внизу */
.bottom-button {
    padding: 25px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2em;
    text-decoration: none;
    display: block;
    margin: 30px auto;
    width: 50%;
	min-width: 260px;
    max-width: 760px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, #c1c3f5, #fde5e2);
    border: none;
    color: #000;
    box-sizing: border-box;
    box-shadow: rgba(183, 92, 218, 0.2) 0px 16px 32px 0px;
}

.bottom-button:hover {
    background-color: #fde5e273;
    color: #000;
    border: none;
    box-shadow: rgba(146, 42, 186, 0.37) 0px 16px 32px 0px;
}

.telegram-icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    margin-right: 1px;
    display: inline-block;
}

.rocket-icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block;
}

h1 {
    line-height: 46px;
}

/* Нижняя информация */
.footer-info {
    text-align: center;
    font-size: 0.8em;
    color: #555;
    margin-top: 5px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-info a {
    color: #3498db;
    text-decoration: none;
}

.payment-info {
    margin-top: 10px;
}

.payment-info img {
    max-height: 18px;
    vertical-align: middle;
    filter: grayscale(100%);
    opacity: 0.5;
    margin-bottom: 10px;
}

/* Медиазапросы */
@media (max-width: 970px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        padding: 10px;
    }

    .navbar-logo {
        margin-bottom: 10px;
    }

    /* Скрываем кнопки на большом экране */
    .navbar-buttons {
        display: none;
    }

    .navbar-toggle {
        display: flex;
        top: 20px;
        right: 20px;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu a {
        margin: 10px 0;
        display: block;
    }
    /* Стили для кнопок в меню */
    .navbar-menu .navbar-button {
        display: block;
        width: 80%;
        margin: 10px auto;
    }

    .main-content {
        margin-top: 80px;
        padding: 10px;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
        width: 95%;
        padding: 10px;
    }

    .content-container {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .content-container h1 {
        font-size: 2em;
    }

    .content-container p {
        font-size: 1em;
    }

    .phone-image {
        width: 70%;
        max-width: none;
        margin-top: 20px;
    }

    .bottom-button {
        width: 100%;
        padding: 15px;
        font-size: 1em;
    }

    .footer-info {
        font-size: 0.7em;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .navbar {
        width: 95%;
        padding: 5px;
    }

    .navbar-logo img {
        max-width: 80%;
        height: auto;
    }

    .navbar-toggle {
        top: 20px;
        right: 10px;
    }

    .content-wrapper {
        width: 100%;
        padding: 0;
    }

    .content-container {
        padding: 10px;
    }

    .content-container h1 {
        font-size: 1.75em;
        line-height: 1.2;
    }

    .content-container p {
        font-size: 0.9em;
    }

    .phone-image {
        width: 90%;
        margin-top: 10px;
    }

    .bottom-button {
        width: 95%;
        padding: 10px;
        font-size: 0.9em;
    }

    .footer-info {
        font-size: 0.65em;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .content-wrapper {
        width: 90%;
    }

    .content-container {
        width: 60%;
    }

    .phone-image {
        width: 35%;
    }

    .bottom-button {
        width: 80%;
    }
}

.under-text {
  position: relative;
  font-weight: bold;
}

.under-text::after {
  content: "";
  position: absolute;
  left: 0;
  color: #0b7cf9;
  bottom: -20px; /*  Расстояние от текста до картинки  */
  width: 120%;
  background-image: url('img.svg'); /* Путь к вашему SVG файлу */
  background-repeat: no-repeat;
  background-size: contain; /*  Чтобы SVG помещался в ширину контейнера  */
  z-index: -1; /*  Помещает SVG под текст  */
  height: 20px; /*  Попробуйте фиксированную высоту */
}

.under-text2 {
  position: relative;
	color: #333;
}

.under-text2::after {
  content: "";
  position: absolute;
  left: 0;
  color: #0b7cf9;
  bottom: -16px; /*  Расстояние от текста до картинки  */
  width: 100%;
  background-image: url('img2.svg'); /* Путь к вашему SVG файлу */
  background-repeat: no-repeat;
  background-size: contain; /*  Чтобы SVG помещался в ширину контейнера  */
  z-index: -1; /*  Помещает SVG под текст  */
  height: 80px; /*  Попробуйте фиксированную высоту */
  left: 10px
}

        .floating-popup {
            position: fixed;
            bottom: 20px;
            right: 20px;
                background: linear-gradient(135deg, 
        rgba(30, 136, 229, 0.85), 
        rgba(13, 71, 161, 0.9));
            color: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            max-width: 300px;
            animation: vibrate 0.5s ease-in-out 3, fadeIn 0.5s ease-out;
            transform-origin: center;
            font-family: 'Jost', sans-serif;
            display: none;
			
			    /* Прозрачность и блюр */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Текстура - легкий шум/гранулярность */
    background-image: 
        linear-gradient(135deg, 
            rgba(30, 136, 229, 0.85), 
            rgba(13, 71, 161, 0.9)),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.1'/%3E%3C/svg%3E");
			
        }
        
        .floating-popup.show {
            display: block;
        }
        
        .popup-content {
            text-align: center;
        }
        
        .popup-title {
            font-weight: 600;
            font-size: 18px;
            margin-bottom: 10px;
        }
        
        .popup-text {
            font-size: 14px;
            margin-bottom: 15px;
            line-height: 1.4;
        }
        
        .popup-button {
            background: white;
            color: #0d47a1;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Jost', sans-serif;
            width: 100%;
        }
        
        .popup-button:hover {
            background: #f5f5f5;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .popup-close {
            position: absolute;
            top: 8px;
            right: 12px;
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
            font-weight: bold;
        }
        
        @keyframes vibrate {
            0% { transform: translateX(0); }
            25% { transform: translateX(-3px); }
            50% { transform: translateX(3px); }
            75% { transform: translateX(-3px); }
            100% { transform: translateX(0); }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; transform: translateY(0); }
            to { opacity: 0; transform: translateY(20px); }
        }
        
        .floating-popup.hide {
            animation: fadeOut 0.5s ease-out forwards;
        }
		
		/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .floating-popup {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        width: auto;
        padding: 15px;
        margin: 0;
    }
    
    .popup-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .popup-text {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .popup-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .popup-close {
        top: 5px;
        right: 8px;
        font-size: 16px;
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .floating-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        padding: 12px;
    }
    
    .popup-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .popup-text {
        font-size: 12px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .popup-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .popup-close {
        top: 4px;
        right: 6px;
        font-size: 14px;
        width: 22px;
        height: 22px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .floating-popup {
        bottom: 8px;
        right: 8px;
        left: 8px;
        padding: 10px;
    }
    
    .popup-title {
        font-size: 14px;
    }
    
    .popup-text {
        font-size: 11px;
    }
    
    .popup-button {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Портретная ориентация на мобильных */
@media (max-height: 600px) and (max-width: 768px) {
    .floating-popup {
        bottom: 10px;
        padding: 10px 15px;
    }
    
    .popup-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .popup-text {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

@keyframes vibrate {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

.floating-popup.hide {
    animation: fadeOut 0.5s ease-out forwards;
}