/* ============================================
   🌊 МОРСКОЙ ОТЕЛЬ — Liquid Glass Style (Исправлено)
   Файл: /style.css
   ============================================ */

/* 🎨 ПЕРЕМЕННЫЕ */
:root {
  --primary: #0f4c75;
  --primary-light: #1b6ca8;
  --primary-dark: #0a3a5c;
  --accent: #0077b6;
  --accent-hover: #005a8c;
  --bg: rgba(240, 245, 250, 0.6);
  --surface: rgba(255, 255, 255, 0.6);
  --text: #1a1a2e;
  --text-light: #5a5a7a;
  --text-inverse: #ffffff;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 16px 48px rgba(0, 119, 182, 0.12);
  --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.2);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Glass variables */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(28px) saturate(180%);
}

/* 🧹 СБРОС И БАЗА */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: 
    linear-gradient(135deg, rgba(0,119,182,0.12), rgba(27,108,168,0.08)),
    url('/gallery/shells-background.jpg') center/cover fixed;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }
button { cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* 🔘 КНОПКИ — LIQUID GLASS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 
    0 4px 16px rgba(0, 119, 182, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50px 50px 0 0; pointer-events: none;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 119, 182, 0.18);
}

.btn:active { transform: translateY(0) scale(0.98); }
.btn-full { width: 100%; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; border: none;
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.35);
}
.btn-accent::before { background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%); }
.btn-accent:hover { background: linear-gradient(135deg, var(--accent-hover), var(--primary-dark)); color: #fff; }

/* 🧭 ШАПКА — LIQUID GLASS */
.modern-header { 
  background: rgba(15, 76, 117, 0.55);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  position: sticky; top: 0; z-index: 100;
}

.modern-header::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.header-creatures {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}

.nav { 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 0.7rem 0; gap: 1rem; position: relative; z-index: 1;
}

/* Логотип */
.logo { 
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 6px 14px; border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.6);
  margin-left: 0.3rem; transition: var(--transition);
}
.logo:hover { transform: translateY(-2px); }

.logo-img { 
  height: 80px; width: auto; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

/* Меню */
.menu { display: flex; gap: 0.3rem; }
.menu a { 
  font-weight: 500; padding: 0.55rem 1rem; border-radius: 14px;
  color: var(--text-inverse); text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); transition: var(--transition); font-size: 0.95rem;
}
.menu a:hover { 
  background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.btn-header { 
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: #fff; padding: 0.6rem 1.2rem; border-radius: 50px; 
  font-weight: 600; white-space: nowrap; transition: var(--transition);
  position: relative; z-index: 2; border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 16px rgba(0,119,182,0.3); font-size: 0.9rem;
}
.btn-header:hover { transform: translateY(-1px) scale(1.03); }

.menu-btn { 
  display: none; font-size: 1.6rem; color: var(--text-inverse); padding: 0.5rem;
  position: relative; z-index: 102; background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
}

/* 🌊 РЫБКИ (АНИМАЦИЯ В ШАПКЕ) */
.creature {
  position: absolute; left: -60px; animation: swimRight var(--speed) linear infinite;
  animation-delay: var(--delay); opacity: 0; pointer-events: none;
}
.creature svg { fill: rgba(255, 255, 255, 0.4); filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.fish { width: 40px; height: 20px; } .fish svg { width: 100%; height: 100%; }
.shell { width: 25px; height: 20px; } .shell svg { width: 100%; height: 100%; }

@keyframes swimRight {
  0% { transform: translateX(0) scaleX(1); opacity: 0; }
  5% { opacity: 0.4; } 15% { opacity: 0.5; } 50% { opacity: 0.4; }
  85% { opacity: 0.5; } 95% { opacity: 0.4; }
  100% { transform: translateX(calc(100vw + 100px)) scaleX(1); opacity: 0; }
}

.fish-1 { --speed: 10s; --delay: 0s; top: 10px; }
.fish-2 { --speed: 14s; --delay: 3s; top: 35px; }
.fish-3 { --speed: 12s; --delay: 6s; top: 20px; }
.fish-4 { --speed: 16s; --delay: 2s; top: 45px; }
.fish-5 { --speed: 11s; --delay: 9s; top: 28px; }
.shell-1 { --speed: 20s; --delay: 0s; top: 15px; }
.shell-2 { --speed: 24s; --delay: 8s; top: 40px; }
.shell-3 { --speed: 22s; --delay: 4s; top: 5px; }

/* 🌊 HERO — ИСПРАВЛЕННАЯ СТЕКЛЯННАЯ ПАНЕЛЬ */
/* Убираем любые старые синие фоны и оверлеи */
.hero::before, .hero::after, .video-hero::before, .video-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero {
  background: none !important; /* Чистый фон для видео */
  padding: 4rem 1rem;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Видео на заднем плане */
.video-hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Стеклянная панель поверх видео */
.glass-panel {
  background: rgba(255, 255, 255, 0.35); /* Полупрозрачный белый */
  backdrop-filter: blur(16px) saturate(180%); /* Эффект стекла */
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 2.5rem 4rem;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2; /* Строго поверх видео */
  transition: var(--transition);
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.hero h1 { 
  font-size: clamp(2rem, 5vw, 3.2rem); 
  margin-bottom: 0.8rem; 
  font-weight: 800; 
  color: var(--primary); 
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}

.hero p { 
  font-size: 1.15rem; 
  margin-bottom: 1.5rem; 
  color: var(--primary-dark); 
  font-weight: 500;
  line-height: 1.5;
}

.hero .btn {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 76, 117, 0.3);
}
.hero .btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero { padding: 2rem 1rem; min-height: 450px; }
  .glass-panel { padding: 1.5rem; border-radius: 16px; }
  .hero h1 { font-size: 1.8rem; }
}

/* 🌊 ПОДВАЛ — LIQUID GLASS */
.footer-wave-container {
  position: relative;
  background: rgba(15, 76, 117, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-inverse);
  margin-top: 0; z-index: 10; overflow: hidden;
}

.footer-wave-container::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-creatures {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.footer-content { position: relative; z-index: 1; }
.footer-top { padding: 2.5rem 0 1.5rem; }

.footer-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; text-align: left;
}

.footer-column h3 { 
  font-size: 1.1rem; margin-bottom: 1rem; 
  color: rgba(255,255,255,0.9); font-weight: 700; letter-spacing: 0.02em;
}

.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.75); display: block; padding: 0.3rem 0; }
.footer-links a:hover { color: #fff; padding-left: 6px; text-shadow: 0 0 8px rgba(255,255,255,0.3); }

.footer-address, .footer-column p { color: rgba(255,255,255,0.75); line-height: 1.6; }

.footer-phone, .footer-email { color: rgba(255,255,255,0.95); font-weight: 600; }
.footer-phone:hover, .footer-email:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.4); }

.social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.social-link { 
  display: inline-block; padding: 0.45rem 1rem; border-radius: 50px; 
  font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); transition: var(--transition);
}
.social-link:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.social-link.vk { background: rgba(74, 118, 168, 0.7); }
.social-link.twitter { background: rgba(29, 161, 242, 0.7); }
.social-link.instagram { background: rgba(225, 48, 108, 0.7); }
.social-link.youtube { background: rgba(255, 0, 0, 0.7); }

.map-container { 
  border-radius: var(--radius-sm); overflow: hidden; margin: 0.8rem 0; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); width: 100%; border: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom { 
  background: rgba(0,0,0,0.15); backdrop-filter: blur(10px);
  padding: 1rem 0; text-align: center; margin-top: 2rem; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.old-site-link {
  display: inline-block; padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px; font-size: 0.8rem; transition: var(--transition); margin-top: 0.6rem;
}
.old-site-link:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* Рыбки в подвале */
.footer-creature {
  position: absolute; left: -60px; animation: swimRightFooter var(--speed) linear infinite;
  animation-delay: var(--delay); opacity: 0; pointer-events: none; z-index: 0;
}
.footer-creature svg { fill: rgba(255, 255, 255, 0.25); }
.footer-fish { width: 35px; height: 18px; } .footer-fish svg { width: 100%; height: 100%; }
.footer-shell { width: 22px; height: 18px; } .footer-shell svg { width: 100%; height: 100%; }

@keyframes swimRightFooter {
  0% { transform: translateX(0) scaleX(1); opacity: 0; }
  5% { opacity: 0.3; } 15% { opacity: 0.4; } 50% { opacity: 0.3; }
  85% { opacity: 0.4; } 95% { opacity: 0.3; }
  100% { transform: translateX(calc(100vw + 100px)) scaleX(1); opacity: 0; }
}

.footer-fish-1 { --speed: 12s; --delay: 0s; top: 20%; }
.footer-fish-2 { --speed: 16s; --delay: 4s; top: 50%; }
.footer-fish-3 { --speed: 14s; --delay: 8s; top: 35%; }
.footer-fish-4 { --speed: 18s; --delay: 2s; top: 70%; }
.footer-fish-5 { --speed: 13s; --delay: 6s; top: 45%; }
.footer-shell-1 { --speed: 22s; --delay: 0s; top: 15%; }
.footer-shell-2 { --speed: 26s; --delay: 9s; top: 60%; }
.footer-shell-3 { --speed: 24s; --delay: 5s; top: 80%; }

/* 📄 ВНУТРЕННИЕ СТРАНИЦЫ — GLASS CARDS */
.page-wrapper {
  max-width: 920px; margin: 1.5rem auto; padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius); 
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.4); min-height: 60vh; position: relative;
}

.page-wrapper::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0; pointer-events: none;
}

.page-title { 
  font-size: 2rem; color: var(--primary); margin: 2rem 0 1.5rem; 
  text-align: center; font-weight: 800; letter-spacing: -0.5px;
}
.page-content { font-size: 1.05rem; line-height: 1.7; padding-bottom: 2rem; position: relative; }
.page-content h3 { color: var(--primary); margin: 1.5rem 0 0.8rem; font-size: 1.4rem; }

.booking-info { 
  background: rgba(248, 249, 250, 0.5); backdrop-filter: blur(12px);
  padding: 1.2rem 1.5rem; border-radius: var(--radius-sm); 
  border-left: 3px solid var(--accent); margin: 1.5rem 0;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* === Страница "О нас" === */
.about-section { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.about-section:last-child { border-bottom: none; }
.about-img { 
  width: 100%; max-width: 800px; height: auto; 
  border: 6px solid rgba(255,255,255,0.7); border-radius: var(--radius-sm); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.1); margin: 1rem auto; display: block;
}

/* === Страница отзывов === */
.reviews-form-container { margin: 1.5rem 0; }

.old_div_otz {
  font-family: var(--font) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  border-left: 3px solid var(--accent) !important;
  margin: 1rem auto !important; padding: 1.2rem 1.5rem !important;
  color: var(--text) !important; font-style: normal !important;
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important;
  border-radius: var(--radius-sm) !important; text-align: left !important;
  max-width: 100% !important; width: auto !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.6) !important;
  box-sizing: border-box !important; transition: var(--transition) !important;
}

.old_div_otz .nameotz { font-weight: 700 !important; font-size: 1.1rem !important; color: var(--primary) !important; }
.old_div_otz .dataotz { color: var(--text-light) !important; font-size: 0.85rem !important; margin-bottom: 0.8rem !important; display: block !important; }
.old_div_otz .otz { font-size: 0.95rem !important; line-height: 1.6 !important; }

.old_div_otz_rez {
  position: fixed !important; bottom: 1.5rem !important; right: 1.5rem !important;
  background: rgba(0, 119, 182, 0.85) !important; backdrop-filter: blur(16px) !important;
  color: #fff !important; padding: 1rem 1.5rem !important; border-radius: 16px !important; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important; z-index: 999 !important;
  font-family: var(--font) !important; max-width: 320px !important; text-align: center !important;
  border: 1px solid rgba(255,255,255,0.2) !important; animation: slideIn 0.35s ease !important;
}

@keyframes slideIn { from { transform: translateY(20px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

.old_div_otz form { display: flex !important; flex-direction: column !important; gap: 0.8rem !important; margin-top: 1rem !important; }
.old_div_otz .input, .old_div_otz .texter {
  width: 100% !important; padding: 0.9rem 1rem !important;
  border: 1px solid rgba(255,255,255,0.4) !important; border-radius: var(--radius-sm) !important;
  background: rgba(255,255,255,0.6) !important; backdrop-filter: blur(8px) !important;
}
.old_div_otz .texter { min-height: 120px !important; }

.old_div_otz .button_b {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover)) !important;
  color: #fff !important; border: none !important; padding: 0.9rem 1.8rem !important;
  border-radius: 50px !important; font-weight: 600 !important; cursor: pointer !important;
  width: 100% !important; max-width: 280px !important; margin: 0.5rem auto 0 !important;
  box-shadow: 0 4px 16px rgba(0,119,182,0.25) !important;
}

/* 📝 ОБЩИЕ ФОРМЫ */
.booking-form { 
  background: rgba(255,255,255,0.4); backdrop-filter: blur(12px);
  padding: 1.5rem; border-radius: var(--radius); margin: 1.5rem 0;
  border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--primary); }
.form-input { 
  width: 100%; padding: 0.9rem 1rem; border: 1px solid rgba(255,255,255,0.4); 
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px); transition: var(--transition); 
}
.form-input:focus { border-color: var(--accent); outline: none; background: rgba(255,255,255,0.7); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* 🎯 КАРТОЧКИ ПРЕИМУЩЕСТВ — GLASS */
.feature-card { padding: 2rem 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.feature-img img { 
  width: 100%; height: 100%; min-height: 300px; object-fit: cover; 
  border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,0.1); 
  border: 3px solid rgba(255,255,255,0.5);
}
.feature-card:hover .feature-img img { transform: scale(1.02); }

.feature-text {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 2rem; border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; flex-direction: column; justify-content: center; transition: var(--transition);
}

.feature-text:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1); }
.feature-text h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }
.feature-text p { margin-bottom: 1.5rem; line-height: 1.7; }

/* 📍 КОНТАКТЫ */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; text-align: center;
}
.contact-item {
  padding: 1.5rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.contact-item:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); }
.contact-item strong { display: block; margin-bottom: 0.5rem; color: var(--primary); font-size: 1.05rem; }
.contact-item a { color: var(--accent); font-weight: 600; }
.contact-item a:hover { color: var(--accent-hover); }

/* Виджеты расписания */
.rasp-widget {
  background: rgba(255,255,255,0.5); backdrop-filter: blur(12px);
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); margin: 1rem 0;
  border: 1px solid rgba(255,255,255,0.4);
}
.rasp-widget iframe { display: block; width: 100%; height: 360px; }

/* 💰 УСЛУГИ И ЦЕНЫ */
.rules-grid { gap: 1rem; }
.rule-card {
  background: rgba(255,255,255,0.5); backdrop-filter: blur(12px);
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.rule-card:hover { transform: translateY(-2px); }
.rule-card strong { display: block; margin-bottom: 0.3rem; color: var(--primary); }
.rule-card p { margin: 0; font-size: 0.9rem; line-height: 1.6; }

/* 🔔 МОДАЛЬНОЕ ОКНО — GLASS */
.modal-overlay { 
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); z-index: 200; 
  align-items: center; justify-content: center; padding: 1rem; 
}

.modal-window { 
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius); padding: 2rem; max-width: 420px; width: 100%; 
  position: relative; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255,255,255,0.5);
  animation: modalSlide 0.35s ease;
}

@keyframes modalSlide { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-close { 
  position: absolute; top: 1rem; right: 1rem; font-size: 1.4rem; 
  color: var(--text-light); width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0,0,0,0.05); transition: var(--transition);
}
.modal-close:hover { color: var(--primary); background: rgba(0,0,0,0.1); transform: rotate(90deg); }
.modal-window h3 { margin-bottom: 1.5rem; color: var(--primary); text-align: center; font-weight: 700; font-size: 1.3rem; }

/* Плавающая кнопка звонка */
.call-btn { 
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; 
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%; padding: 0.4rem; 
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.35); 
  animation: pulse 2.5s ease infinite; border: 2px solid rgba(255,255,255,0.3);
}
.call-btn:hover { transform: scale(1.1); }
.call-btn img { width: 52px; height: 52px; border-radius: 50%; display: block; }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.4); } 50% { box-shadow: 0 0 0 14px rgba(0, 119, 182, 0); } }

/* 📱 АДАПТАЦИЯ */
@media (max-width: 992px) {
  .feature-grid { grid-template-columns: 1fr; text-align: center; }
  .feature-text h2 { text-align: center; }
  .feature-text .btn { margin: 0 auto; display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-column h3 { text-align: center; }
  .social-links { justify-content: center; }
  .footer-links a { display: inline-block; }
}

@media (max-width: 768px) {
  .menu-btn { display: block; }
  .menu { 
    display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; 
    background: rgba(15, 76, 117, 0.85); backdrop-filter: blur(24px);
    padding: 1rem; box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    border-radius: 0 0 var(--radius) var(--radius); z-index: 99; gap: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .menu.active { display: flex; }
  .menu a { color: var(--text-inverse); padding: 0.7rem 1rem; text-align: center; border-radius: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); }
  .menu a:hover { background: rgba(255,255,255,0.18); }
  
  .btn-header { display: none; }
  .logo { padding: 5px 10px; border-radius: 14px; }
  .logo-img { height: 100px; }
  
  .page-wrapper { margin: 0.8rem; padding: 1rem; }
  .page-title { font-size: 1.5rem; }
  .booking-form { padding: 1rem; }
  
  .call-btn { bottom: 1rem; right: 1rem; } .call-btn img { width: 48px; height: 48px; }
  .creature { transform: scale(0.7); }
  
  .old_div_otz { margin: 0.8rem !important; padding: 1rem !important; }
  .old_div_otz .input, .old_div_otz .texter { font-size: 1rem !important; padding: 0.8rem !important; }
  .old_div_otz_rez { bottom: 1rem !important; right: 1rem !important; left: 1rem !important; }
  .old_div_otz .button_b { padding: 0.8rem 1.4rem !important; font-size: 0.9rem !important; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .rasp-widget iframe { height: 420px; }
  .rules-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .btn { padding: 0.8rem 1.4rem; font-size: 0.9rem; }
  .feature-img img { height: 240px; }
  .page-wrapper { margin: 0.5rem; padding: 0.8rem; }
  .old_div_otz { padding: 0.9rem !important; margin: 0.5rem !important; }
  .old_div_otz .nameotz { font-size: 1rem !important; }
  .old_div_otz .otz { font-size: 0.9rem !important; }
  .feature-text { padding: 1.2rem; }
  .feature-text h2 { font-size: 1.3rem; }
}

/* ♿ ДОСТУПНОСТЬ И ПЕЧАТЬ */
@media (prefers-reduced-motion: reduce) { 
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } 
  html { scroll-behavior: auto; } .creature { display: none; }
}
@media print { 
  .modern-header, .call-btn, .modal-overlay, .footer-wave-container { display: none !important; } 
  body { background: #fff; color: #000; } 
}

/* === АНИМАЦИИ И ЭФФЕКТЫ (ВСТРОЕНО) === */

/* 2. АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ */
.reveal { opacity: 0; transform: translateY(40px) scale(0.95); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 3. 3D TILT-ЭФФЕКТ */
.tilt-card { transform-style: preserve-3d; transform: perspective(1000px); transition: transform 0.1s ease-out; }
.tilt-content { transform: translateZ(30px); }

/* 5. ПУЗЫРЬКИ */
.bubbles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
@keyframes rise {
  0% { bottom: -100px; transform: translateX(0) scale(1); opacity: 0.6; }
  100% { bottom: 110vh; transform: translateX(-30px) scale(0.8); opacity: 0; }
}

/* 9. АНИМИРОВАННЫЕ ИКОНКИ */
.amenity-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; background: rgba(255,255,255,0.6); backdrop-filter: blur(10px);
  border-radius: 50%; font-size: 1.8rem; transition: all 0.3s ease; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.4); box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.amenity-icon:hover { transform: scale(1.2) rotate(10deg); box-shadow: 0 8px 24px rgba(0,119,182,0.2); }
.amenities-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1.5rem 0; }

/* 10. ПЕЧАТАЮЩИЙСЯ ТЕКСТ */
.typing-text { display: inline; border-right: 2px solid rgba(255,255,255,0.8); animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { border-color: transparent; } }

/* 14. ИНТЕРАКТИВНАЯ КАРТА */
.interactive-map { position: relative; width: 100%; height: 400px; background: rgba(255,255,255,0.5); backdrop-filter: blur(10px); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; border: 1px solid rgba(255,255,255,0.4); }
.interactive-map iframe { width: 100%; height: 100%; border: none; filter: saturate(0.8) brightness(1.1); }
.map-marker { position: absolute; transform: translate(-50%, -100%); }
.marker-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: 2px solid rgba(255,255,255,0.6); transition: all 0.3s ease; cursor: pointer; }
.marker-icon:hover { transform: scale(1.2); box-shadow: 0 6px 20px rgba(0,119,182,0.3); }
.marker-label { position: absolute; top: -60px; left: 50%; transform: translateX(-50%) translateY(10px); background: rgba(255,255,255,0.95); padding: 0.5rem 0.8rem; border-radius: 8px; font-size: 0.85rem; white-space: nowrap; opacity: 0; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1); pointer-events: none; }
.marker-label strong { display: block; color: var(--primary); font-size: 0.9rem; }
.marker-label span { color: var(--text-light); font-size: 0.8rem; }

/* 15. КАЛЬКУЛЯТОР СТОИМОСТИ */
.price-calculator { background: rgba(255,255,255,0.5); backdrop-filter: blur(16px); border-radius: var(--radius); padding: 2rem; margin: 2rem 0; border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.price-calculator h3 { text-align: center; margin-bottom: 1.5rem; color: var(--primary); }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.calc-field label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.calc-field input, .calc-field select { width: 100%; padding: 0.8rem 1rem; border: 1px solid rgba(255,255,255,0.4); border-radius: var(--radius-sm); background: rgba(255,255,255,0.6); backdrop-filter: blur(8px); font-size: 1rem; transition: all 0.3s ease; }
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.8); box-shadow: 0 0 0 3px rgba(0,119,182,0.1); }
.calc-result { display: none; background: linear-gradient(135deg, rgba(0,119,182,0.1), rgba(27,108,168,0.1)); border-radius: var(--radius-sm); padding: 1.5rem; margin-top: 1.5rem; border: 1px solid rgba(0,119,182,0.2); animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.calc-details { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; font-size: 0.95rem; }
.calc-details p { margin: 0; color: var(--text); }
.calc-total { text-align: center; padding-top: 1rem; border-top: 1px solid rgba(0,119,182,0.2); }
.calc-total p { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin: 0; }
.calc-total small { color: var(--text-light); font-size: 0.9rem; }

/* === ИНТЕРАКТИВНЫЕ КНОПКИ РАССТОЯНИЙ === */
.distance-buttons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; max-width: 800px; margin: 0 auto; }
.distance-btn { background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius-sm); padding: 1rem; display: flex; align-items: center; gap: 0.8rem; cursor: pointer; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 16px rgba(0,0,0,0.04); position: relative; overflow: hidden; }
.distance-btn:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.75); box-shadow: 0 10px 28px rgba(0, 119, 182, 0.15); border-color: rgba(0, 119, 182, 0.3); }
.dist-icon { font-size: 1.8rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(0, 119, 182, 0.08); border-radius: 14px; transition: all 0.3s ease; flex-shrink: 0; }
.distance-btn:hover .dist-icon { transform: scale(1.15) rotate(8deg); background: rgba(0, 119, 182, 0.15); }
.dist-info { display: flex; flex-direction: column; gap: 0.2rem; }
.dist-info strong { font-size: 0.95rem; color: var(--primary); font-weight: 700; }
.dist-value { font-size: 0.85rem; color: var(--accent); font-weight: 600; opacity: 0; transform: translateY(6px); transition: all 0.3s ease; }
.distance-btn:hover .dist-value { opacity: 1; transform: translateY(0); color: var(--primary); }

@media (max-width: 600px) {
  .distance-buttons-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .distance-btn { padding: 0.8rem; }
  .dist-icon { width: 40px; height: 40px; font-size: 1.5rem; }
}
/* Капча в форме */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.captcha-question {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
}
.captcha-input {
  width: 100px !important;
  max-width: 100px !important;
}