/* --- ПРИНУДИТЕЛЬНОЕ ПРИМЕНЕНИЕ ШРИФТОВ --- */
/* Заставляем абсолютно все элементы в этих секциях стать Manrope */
.inner-hero *,
.pools-section *,
.kids-aqua *,
.spa-complex * {
    font-family: var(--sans) !important;
}

/* Точечно возвращаем Playfair Display только заголовкам */
.inner-hero h1,
.pools-section h2, 
.pools-section h4,
.kids-aqua h2, 
.kids-aqua h4,
.spa-complex h2, 
.spa-complex h3,
.section-title,
.highlight-text,
.summer-price h4,
.price-box h3 {
    font-family: var(--serif) !important;
}

/* --- ПАЛИТРА И ПЕРЕМЕННЫЕ --- */
:root {
    --bg-sand: #EFECE1;    
    --dark-brown: #332315; 
    --olive: #4E5941;      
    --red: #a80019;       
    --text-dark: #2A2A2A;  
    --white: #FFFFFF;
    --gold: #d4a373;
    
    --serif: 'Playfair Display', serif;
    --sans: 'Manrope', sans-serif;
    
    --transition: all 0.4s ease;
}

/* Принудительно задаем шрифты для всех секций этой страницы, защищаясь от стилей темы */
.inner-hero,
.pools-section,
.kids-aqua, 
.spa-complex {
    font-family: var(--sans);
    color: var(--text-dark);
}

/* Принудительно задаем шрифты для заголовков */
.section-title, 
.inner-hero h1,
.summer-price h4, 
.how-to-visit h4, 
.spa-feature-card h3, 
.price-box h3,
.highlight-text {
    font-family: var(--serif);
}

/* Общие элементы страницы */
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); margin-bottom: 20px; text-transform: uppercase; color: var(--dark-brown); }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: linear-gradient(45deg, #1f271b, #3a4732); color: rgba(255,255,255,0.4); font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

/* Кастомные загружаемые иконки */
.custom-icon { object-fit: contain; display: block; }
.icon-wrap { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--white); border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); flex-shrink: 0; }
.icon-wrap img { width: 20px; height: 20px; transition: var(--transition); }
.features-list li:hover .icon-wrap { background: var(--red); }
.features-list li:hover .icon-wrap img { filter: brightness(0) invert(1); } /* Делает иконку белой при наведении */

/* --- 2. HERO --- */
.inner-hero { position: relative; height: 60vh; min-height: 450px; display: flex; align-items: center; justify-content: center; text-align: center; }
.inner-hero-bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; }
.inner-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%); }
.inner-hero-content { position: relative; z-index: 3; color: var(--white); max-width: 800px; padding: 0 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); margin-top: 50px; }
.breadcrumbs { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; opacity: 0.8; font-weight: 600; }
.breadcrumbs a { color: var(--white); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { margin: 0 10px; opacity: 0.5; }
.inner-hero h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.1; margin-bottom: 20px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 2px; }
.inner-hero p { font-size: clamp(15px, 2vw, 18px); line-height: 1.6; font-weight: 500; opacity: 0.9; }

/* --- 3. БАССЕЙНЫ --- */
.pools-section { padding: 100px 0; background: var(--bg-sand); }
.zigzag-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.zigzag-row:last-child { margin-bottom: 0; }
.zigzag-text p { font-size: 16px; line-height: 1.7; opacity: 0.8; margin-bottom: 25px; font-weight: 500; }
.highlight-text { display: inline-block; font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--olive); margin-bottom: 25px; padding-left: 15px; border-left: 3px solid var(--gold); }
.features-list { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 30px; }
.features-list li { display: flex; align-items: center; gap: 15px; font-size: 14px; font-weight: 600; color: var(--dark-brown); }
.summer-price { margin-top: 40px; background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 3px solid var(--gold); }
.summer-price h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 20px; color: var(--dark-brown); text-transform: uppercase; }
.price-row { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(0,0,0,0.1); padding: 12px 0; font-size: 14px; font-weight: 600; }
.price-row:last-child { border-bottom: none; padding-bottom: 0; }
.price-row span:last-child { font-weight: 700; color: var(--gold); font-size: 15px; }
.zigzag-img { position: relative; height: 450px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.zigzag-row.reverse .zigzag-text { order: 2; }
.zigzag-row.reverse .zigzag-img { order: 1; }

/* --- 4. ДЕТСКИЙ АКВАПАРК --- */
.kids-aqua { padding: 100px 0; background: var(--white); }
.kids-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.kids-img { height: 500px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.kids-content p { font-size: 16px; line-height: 1.7; opacity: 0.8; margin-bottom: 20px; font-weight: 500; }
.how-to-visit { background: var(--bg-sand); padding: 40px; border-radius: 10px; margin-top: 40px; }
.how-to-visit h4 { font-family: var(--serif); font-size: 20px; margin-bottom: 25px; color: var(--dark-brown); }
.visit-step { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.visit-step:last-child { margin-bottom: 0; }
.step-num { width: 35px; height: 35px; background: var(--red); color: var(--white); font-family: var(--sans); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; box-shadow: 0 5px 15px rgba(168,0,25,0.2); }
.step-text { font-size: 14px; line-height: 1.6; opacity: 0.9; padding-top: 6px; font-weight: 500; }
.step-text b { color: var(--dark-brown); font-weight: 700; display: block; margin-bottom: 3px; font-size: 15px; }

/* --- 5. SPA КОМПЛЕКС И ТАРИФЫ --- */
.spa-complex { background: var(--dark-brown); color: var(--white); padding: 120px 0; position: relative; overflow: hidden; }
.spa-intro { max-width: 800px; margin: 0 auto 80px; text-align: center; }
.spa-intro h2 { color: var(--gold); }
.spa-intro p { font-size: 16px; line-height: 1.7; opacity: 0.9; font-weight: 400; }
.spa-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 80px; }
.spa-feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 40px 30px; text-align: center; border-radius: 10px; transition: var(--transition); display: flex; flex-direction: column; align-items: center; }
.spa-feature-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); border-color: var(--gold); }
.spa-feature-card img.custom-icon { width: 50px; height: 50px; margin-bottom: 20px; transition: var(--transition); filter: brightness(0) saturate(100%) invert(77%) sepia(21%) saturate(760%) hue-rotate(345deg) brightness(91%) contrast(85%); /* Делает иконку золотой */ }
.spa-feature-card:hover img.custom-icon { filter: brightness(0) invert(1); transform: scale(1.1); }
.spa-feature-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.price-box { background: var(--bg-sand); color: var(--dark-brown); padding: 40px; border-radius: 10px; display: flex; flex-direction: column; transition: var(--transition); }
.price-box:hover { transform: translateY(-5px); }
.price-box.highlight { background: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.price-box.dark-box { background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
.price-box h3 { font-family: var(--serif); font-size: 22px; text-align: center; margin-bottom: 5px; color: var(--dark-brown); text-transform: uppercase; }
.price-box.dark-box h3 { color: var(--gold); }
.price-subtitle { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; margin-bottom: 30px; }
.p-row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,0.1); padding: 15px 0; font-size: 14px; font-weight: 600; }
.dark-box .p-row { border-color: rgba(255,255,255,0.1); }
.p-row:last-of-type { border-bottom: none; }
.p-row span:last-child { font-weight: 700; font-size: 16px; }
.price-note { text-align: center; font-size: 11px; margin-top: auto; padding-top: 20px; opacity: 0.6; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.session-times { margin: 20px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.session-times span { display: inline-block; background: rgba(255,255,255,0.1); padding: 8px 15px; font-size: 13px; font-weight: 600; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); }
.rule-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; font-size: 14px; font-weight: 500; opacity: 0.9; line-height: 1.5; }
.rule-item img.custom-icon { width: 18px; height: 18px; margin-top: 2px; filter: brightness(0) saturate(100%) invert(77%) sepia(21%) saturate(760%) hue-rotate(345deg) brightness(91%) contrast(85%); }
.disclaimer { text-align: center; font-size: 12px; font-weight: 500; opacity: 0.5; margin-top: 50px; }

/* --- АДАПТИВ --- */
@media(max-width: 1024px) {
    .zigzag-row, .kids-grid { gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .spa-features { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 768px) {
    .inner-hero { height: auto; padding: 160px 0 100px; }
    .pools-section, .kids-aqua, .spa-complex { padding: 60px 0; }
    .zigzag-row, .kids-grid { grid-template-columns: 1fr; margin-bottom: 60px; gap: 30px; }
    .zigzag-row.reverse .zigzag-text { order: 1; }
    .zigzag-row.reverse .zigzag-img { order: 2; }
    .zigzag-img, .kids-img { height: 300px; }
    .spa-features { grid-template-columns: 1fr; gap: 15px; margin-bottom: 50px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .btn { width: 100%; justify-content: center; }
}