/* ==========================================
 Земля и Лоза - Main Styles
 Premium Editorial Design System
 ========================================== */
@import url('mobile-app.css');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

/* CSS Variables */
:root {
 /* 1. Фоны: Благородная Бронза и Шампань */
 --bg-main: #F5F1E9; /* Легкая бронза - основной фон сайта */
 --bg-white: #FFFDF5; /* Шампань - цвет для блоков и карточек */
 --bg-dark: #1A1F1C; /* Глубокий темно-зеленый (для футера) */

 /* 2. Текст: Отказ от обычного серого/черного */
 --text-main: #2C2A28; /* Цвет теплого графита/земли для основного чтения */
 --text-muted: #75706B; /* Приглушенный цвет для второстепенного текста */
 
 /* 3. Фирменные акценты: Лоза, Вино и Солнце */
 --accent-vine: #214031; /* Глубокий, сочный цвет темного виноградного листа */
 --accent-wine: #7C2A35; /* Благородный бордовый - для главных кнопок и ховеров */
 --accent-gold: #C5A059; /* Приглушенное золото для иконок и тонких линий */
 
 /* 4. Тени: Теплые и объемные */
 --shadow-premium: 0 12px 32px rgba(44, 42, 40, 0.08);
 --shadow-card: 0 4px 12px rgba(124, 42, 53, 0.04);
 
 /* Legacy Mapping to prevent layout breaking on untouched elements */
 --graphite: var(--text-main);
 --deep-slate: var(--bg-dark);
 --mineral-grey: var(--text-muted);
 --fog-grey: #E5E7EB;
 
 --vine-dark: var(--accent-vine);
 --vine-medium: #3D6B56;
 --cold-sage: var(--accent-gold);
 --light-sage: var(--bg-main);
 --pale-sage: #F6E6E8; /* Нежно-винный для бледных элементов */
 
 --warm-cream: var(--bg-main);
 --soft-ivory: var(--bg-main);
 --honey-gold: var(--accent-gold);
 --terracotta: var(--accent-wine);
 --warm-brown: var(--text-main);
 
 --ice-white: var(--bg-white);
 --pure-white: var(--bg-white);
 --bg-gradient-light: var(--bg-main);
 --bg-gradient-warm: var(--bg-main);
 
 --accent-silver: rgba(255, 255, 255, 0.68);
 --vine-gradient: var(--accent-vine);
 --gold-gradient: var(--accent-gold);
 --sage-gradient: var(--accent-vine);
 --button-premium-fill:
 radial-gradient(circle at 28% 24%, rgba(255, 245, 214, 0.34) 0%, transparent 26%),
 linear-gradient(145deg, rgba(164, 109, 63, 0.92) 0%, rgba(122, 62, 69, 0.94) 48%, rgba(191, 148, 67, 0.92) 100%);
 --button-premium-fill-hover:
 radial-gradient(circle at 30% 22%, rgba(255, 245, 214, 0.42) 0%, transparent 28%),
 linear-gradient(145deg, rgba(177, 120, 72, 0.96) 0%, rgba(136, 70, 76, 0.96) 48%, rgba(205, 158, 74, 0.96) 100%);
 --button-premium-soft:
 radial-gradient(circle at 28% 24%, rgba(255, 245, 214, 0.28) 0%, transparent 26%),
 linear-gradient(145deg, rgba(164, 109, 63, 0.52) 0%, rgba(122, 62, 69, 0.46) 48%, rgba(191, 148, 67, 0.52) 100%);
 --button-premium-border: rgba(255, 233, 181, 0.36);
 --button-premium-text: #f7f1dd;
 --button-premium-shadow:
 inset 0 1px 0 rgba(255, 247, 221, 0.42),
 0 14px 26px rgba(109, 67, 54, 0.18);
 --bronze-frame: #b8835c;
 --bronze-frame-strong: #8f633f;
 --card-unified-bg:
 radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0) 34%),
 linear-gradient(145deg, rgba(252, 246, 235, 0.97) 0%, rgba(246, 235, 216, 0.9) 52%, rgba(238, 222, 198, 0.82) 100%);
 --card-unified-bg-hover:
 radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 36%),
 linear-gradient(145deg, rgba(255, 249, 238, 0.99) 0%, rgba(249, 237, 218, 0.94) 52%, rgba(239, 222, 196, 0.86) 100%);
 --card-unified-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.76),
 0 14px 30px rgba(98, 61, 47, 0.07);
 --card-unified-shadow-hover:
 inset 0 1px 0 rgba(255, 255, 255, 0.86),
 0 18px 38px rgba(127, 73, 83, 0.11);
 --image-frame-bg:
 radial-gradient(circle at 25% 20%, rgba(255, 246, 218, 0.42) 0%, transparent 36%),
 linear-gradient(135deg, rgba(184, 131, 92, 0.24) 0%, rgba(127, 73, 83, 0.16) 48%, rgba(143, 99, 63, 0.24) 100%);
 
 --shadow-sm: var(--shadow-card);
 --shadow-md: var(--shadow-card);
 --shadow-lg: var(--shadow-premium);
 --shadow-xl: var(--shadow-premium);
 --shadow-glow: 0 0 40px rgba(124, 42, 53, 0.15);
 
 /* Typography */
 --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
 --font-accent: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
 --brand-logo-font: 'Lobster', 'Bodoni 72', Didot, Georgia, serif;
 
 /* Font Sizes */
 --text-xs: 0.75rem; /* 12px */
 --text-sm: 0.875rem; /* 14px */
 --text-base: 1rem; /* 16px */
 --text-lg: 1.125rem; /* 18px */
 --text-xl: 1.25rem; /* 20px */
 --text-2xl: 1.5rem; /* 24px */
 --text-3xl: 2rem; /* 32px */
 --text-4xl: 3rem; /* 48px */
 --text-5xl: 4rem; /* 64px */
 
 /* 5. Отступы (Spacings) - УПЛОТНЯЕМ САЙТ */
 --space-xs: 0.25rem;
 --space-sm: 0.5rem;
 --space-md: 1rem;
 --space-lg: 1.25rem; /* Было 1.5rem */
 --space-xl: 1.5rem; /* Было 2rem */
 --space-2xl: 2rem; /* Было 3rem */
 --space-3xl: 3rem; /* Было 4.5rem */
 --space-4xl: 4rem; /* Было 6rem */

 /* 6. Контейнер - УЛЬТРА МАСШТАБ */
 --container-max: 1440px; 
 --container-padding: 2rem;
 
 /* Transitions */
 --transition-fast: 150ms ease;
 --transition-base: 250ms ease;
 --transition-slow: 400ms ease;
 
 /* Border Radius */
 --radius-sm: 6px;
 --radius-md: 12px;
 --radius-lg: 16px;
 --radius-xl: 24px;
 --radius-full: 9999px;
}

/* Reset */
*,
*::before,
*::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
 background: var(--bg-main);
}

:focus-visible {
 outline: 3px solid rgba(197, 160, 89, 0.72);
 outline-offset: 3px;
}

html::before {
 content: none;
}

body {
 font-family: var(--font-primary);
 background-color: var(--bg-main);
 color: var(--text-main);
 line-height: 1.6;
 min-height: 100vh;
 overflow-x: hidden;
 position: relative;
 display: flex;
 flex-direction: column;
}

.skip-link {
 position: fixed;
 top: 12px;
 left: 12px;
 z-index: 10000;
 transform: translateY(-160%);
 padding: 12px 18px;
 border-radius: var(--radius-full);
 color: var(--button-premium-text);
 background: var(--button-premium-fill);
 box-shadow: var(--button-premium-shadow);
 transition: transform var(--transition-fast);
}

.skip-link:focus {
 transform: translateY(0);
}

/* Элитная текстура бумаги на весь сайт */
body::before {
 content: '';
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-image: 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)'/%3E%3C/svg%3E");
 opacity: 0.04; /* Едва заметная зернистость */
 pointer-events: none;
 z-index: 9999;
}

/* Единый тонкий блеск поверх фона без смешивания с отдельными секциями */
body::after {
 content: none;
}

main {
 flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
 font-weight: 600;
 line-height: 1.2;
 color: var(--accent-vine);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
 margin-bottom: var(--space-md);
 color: var(--text-main);
}

blockquote {
 background: var(--bg-main);
 border-left: 4px solid var(--accent-wine);
 padding: var(--space-md) var(--space-lg);
 margin: var(--space-lg) 0;
 font-size: var(--text-lg);
 font-style: italic;
 color: var(--text-main);
}

a {
 color: inherit;
 text-decoration: none;
 transition: color var(--transition-fast);
}

a:hover {
 color: var(--cold-sage);
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

ul, ol {
 list-style: none;
}

/* Container */
.container {
 width: 100%;
 max-width: var(--container-max);
 margin: 0 auto;
 padding-left: var(--container-padding);
 padding-right: var(--container-padding);
}

/* Screen Reader Only */
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: var(--space-sm);
 padding: 0.875rem 1.75rem;
 font-family: var(--font-primary);
 font-size: var(--text-sm);
 font-weight: 600;
 line-height: 1;
 text-align: center;
 white-space: nowrap;
 border: 1px solid transparent;
 border-radius: var(--radius-sm);
 cursor: pointer;
 transition: all var(--transition-base);
}

.btn:focus-visible {
 outline: 2px solid var(--cold-sage);
 outline-offset: 2px;
}

.btn--primary {
 background: var(--button-premium-fill);
 color: var(--button-premium-text);
 border-color: var(--button-premium-border);
 box-shadow: var(--button-premium-shadow);
 backdrop-filter: blur(10px);
}

.btn--primary:hover {
 background: var(--button-premium-fill-hover);
 transform: translateY(-2px);
 box-shadow:
 inset 0 1px 0 rgba(255, 247, 221, 0.46),
 0 18px 32px rgba(109, 67, 54, 0.24);
 color: var(--button-premium-text);
}

.btn--secondary {
 background: var(--button-premium-fill);
 color: var(--button-premium-text);
 border-color: var(--button-premium-border);
 box-shadow: var(--button-premium-shadow);
 backdrop-filter: blur(10px);
}

.btn--secondary:hover {
 background: var(--button-premium-fill-hover);
 border-color: var(--button-premium-border);
 color: var(--button-premium-text);
 transform: translateY(-1px);
 box-shadow:
 inset 0 1px 0 rgba(255, 247, 221, 0.38),
 0 16px 28px rgba(109, 67, 54, 0.18);
}

.btn--outline {
 background: var(--button-premium-soft);
 color: #71463f;
 border-color: var(--button-premium-border);
 backdrop-filter: blur(8px);
 box-shadow:
 inset 0 1px 0 rgba(255, 247, 221, 0.24),
 0 10px 20px rgba(109, 67, 54, 0.1);
}

.btn--outline:hover {
 background: var(--button-premium-fill-hover);
 border-color: var(--button-premium-border);
 color: var(--button-premium-text);
}

.btn--large {
 padding: 1.25rem 3.5rem;
 font-size: 1.125rem;
 border-radius: var(--radius-md);
}

.btn--full {
 width: 100%;
}

.header {
 position: sticky;
 top: 0;
 z-index: 1000;
 padding: 10px 0;
 background:
 linear-gradient(180deg, rgba(248, 243, 232, 0.9) 0%, rgba(248, 243, 232, 0.24) 100%);
 border-bottom: 1px solid rgba(197, 160, 89, 0.14);
 box-shadow: 0 18px 34px rgba(37, 63, 72, 0.08);
 backdrop-filter: blur(16px) saturate(1.25);
 -webkit-backdrop-filter: blur(16px) saturate(1.25);
}

.header__container {
 position: relative;
 isolation: isolate;
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 76px;
 gap: clamp(0.6rem, 1vw, 1.1rem);
 padding: 0 clamp(0.85rem, 1.6vw, 1.25rem);
 border: 1px solid rgba(197, 160, 89, 0.36);
 border-radius: 26px;
 overflow: hidden;
 background:
 radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 28%),
 radial-gradient(circle at 88% 18%, rgba(232, 214, 176, 0.36) 0%, rgba(232, 214, 176, 0) 31%),
 linear-gradient(135deg, rgba(255, 253, 245, 0.82) 0%, rgba(248, 243, 232, 0.72) 48%, rgba(242, 233, 214, 0.72) 100%);
 box-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.92),
 inset 0 -20px 34px rgba(197, 160, 89, 0.12),
 0 0 0 1px rgba(197, 160, 89, 0.16),
 0 18px 44px rgba(35, 63, 73, 0.16);
 backdrop-filter: blur(22px) saturate(1.45);
 -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

.header__container::before {
 content: '';
 position: absolute;
 inset: 1px;
 z-index: 0;
 pointer-events: none;
 border-radius: inherit;
 background:
 linear-gradient(180deg, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0) 100%),
 linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.36) 46%, rgba(255, 255, 255, 0) 62%);
 mix-blend-mode: screen;
}

.header__container::after {
 content: '';
 position: absolute;
 right: 22px;
 bottom: 9px;
 left: 22px;
 z-index: 0;
 height: 1px;
 pointer-events: none;
 background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
}

.header__logo {
 position: relative;
 z-index: 1;
 display: flex;
 flex-direction: column;
 flex: 0 0 auto;
 align-items: center;
 width: max-content;
 text-decoration: none;
 /* Убрали отрицательный отступ - возвращаем воздух */
}

.header__logo-text {
 font-family: var(--font-accent);
 font-size: 2.5rem;
 font-weight: 700;
 color: #1f4a37;
 line-height: 1;
 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 24px rgba(31, 74, 55, 0.08);
}

.header__logo-region {
 display: block;
 width: auto;
 margin-top: 0.18rem;
 font-size: 1rem;
 color: rgba(151, 111, 45, 0.72);
 letter-spacing: 0.11em;
 font-weight: 700;
 text-align: center;
 text-align-last: auto;
 text-transform: uppercase;
}

.header__nav {
 position: relative;
 z-index: 1;
 display: none;
}

.header__nav-list {
 display: flex;
 align-items: center;
 gap: 0.34rem;
 padding: 0.28rem;
 border: 1px solid rgba(255, 255, 255, 0.44);
 border-radius: 999px;
 background: rgba(255, 255, 255, 0.24);
 box-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.58),
 0 8px 22px rgba(117, 88, 35, 0.08);
 backdrop-filter: blur(14px) saturate(1.3);
 -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.header__nav-link {
 display: inline-flex;
 align-items: center;
 min-height: 34px;
 padding: 0.44rem 0.68rem;
 border-radius: 999px;
 font-size: 0.9rem;
 font-weight: 700;
 color: rgba(42, 68, 79, 0.72);
 line-height: 1;
 white-space: nowrap;
 transition:
 color 0.28s ease,
 background 0.34s ease,
 box-shadow 0.34s ease,
 transform 0.28s ease,
 filter 0.34s ease;
 position: relative;
}

.header__nav-link::after {
 display: none;
}

.header__nav-link:hover,
.header__nav-link--active {
 color: var(--vine-dark);
 background:
 linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 224, 190, 0.54));
 box-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.82),
 0 8px 18px rgba(117, 88, 35, 0.13);
 filter: saturate(1.08);
 transform: translateY(-1px) scale(1.015);
}

.header__nav-link:active {
 transform: translateY(0) scale(0.985);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
 width: 100%;
}

.header__actions {
 position: relative;
 z-index: 1;
 display: none;
 align-items: center;
 justify-content: flex-end;
 gap: 0.55rem;
 white-space: nowrap;
}

.header__phone {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.55rem;
 min-height: 44px;
 padding: 0.6rem 0.95rem;
 color: #214031;
 background:
 radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.92) 0%, transparent 36%),
 linear-gradient(145deg, rgba(255, 255, 255, 0.7) 0%, rgba(246, 238, 219, 0.58) 54%, rgba(224, 208, 169, 0.54) 100%);
 border: 1px solid rgba(151, 111, 45, 0.36);
 border-radius: 999px;
 box-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.8),
 inset 0 -10px 18px rgba(197, 160, 89, 0.11),
 0 10px 24px rgba(117, 88, 35, 0.14);
 text-decoration: none;
 font-weight: 800;
 font-size: 0.95rem;
 line-height: 1;
 transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.header__phone-icon {
 width: 18px;
 height: 18px;
 flex: 0 0 auto;
}

.header__phone:hover {
 color: #214031;
 background:
 radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.94) 0%, transparent 36%),
 linear-gradient(145deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 240, 222, 0.72) 54%, rgba(232, 216, 176, 0.66) 100%);
 box-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.86),
 0 14px 28px rgba(117, 88, 35, 0.2);
 transform: translateY(-1px);
}

.header__socials,
.mobile-menu__socials {
 display: flex;
 align-items: center;
 gap: 0.45rem;
}

.header__social {
 width: 36px;
 height: 36px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 color: var(--vine-dark);
 background:
 linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(238, 224, 190, 0.44));
 border: 1px solid rgba(151, 111, 45, 0.24);
 border-radius: 12px;
 box-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.76),
 0 8px 18px rgba(117, 88, 35, 0.13);
 transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header__social:hover {
 color: #ffffff;
 background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 224, 190, 0.64));
 border-color: rgba(151, 111, 45, 0.36);
 box-shadow:
 inset 0 1px 0 rgba(255, 255, 255, 0.9),
 0 12px 24px rgba(117, 88, 35, 0.2);
 transform: translateY(-1px);
}

.header__social img {
 width: 24px;
 height: 24px;
 display: block;
 object-fit: contain;
 border-radius: 6px;
}

.header__cta {
 display: none;
}

.header__burger {
 position: relative;
 z-index: 1;
 display: flex;
 flex-direction: column;
 justify-content: center;
 gap: 5px;
 width: 32px;
 height: 32px;
 background: none;
 border: none;
 cursor: pointer;
 padding: 4px;
}

.header__burger span {
 display: block;
 width: 100%;
 height: 2px;
 background-color: var(--vine-dark);
 border-radius: 2px;
 transition: all var(--transition-fast);
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
 transform: rotate(45deg) translate(5px, 5px);
}

.header__burger[aria-expanded="true"] span:nth-child(2) {
 opacity: 0;
}

.header__burger[aria-expanded="true"] span:nth-child(3) {
 transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
 position: fixed;
 top: 76px;
 left: 0;
 right: 0;
 bottom: 0;
 background: var(--bg-gradient-warm);
 padding: var(--space-xl);
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: opacity var(--transition-base), visibility var(--transition-base);
 z-index: 99;
 overflow-y: auto;
}

.mobile-menu.is-open {
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
}

.mobile-menu__list {
 display: flex;
 flex-direction: column;
 gap: var(--space-lg);
 margin-bottom: var(--space-2xl);
}

.mobile-menu__link {
 font-size: var(--text-xl);
 font-weight: 500;
 color: var(--graphite);
 display: block;
 padding: var(--space-sm) 0;
}

.mobile-menu__link--active {
 color: var(--cold-sage);
}

.mobile-menu__actions {
 display: flex;
 flex-direction: column;
 gap: var(--space-md);
 padding-top: var(--space-xl);
 border-top: 1px solid var(--pale-sage);
}

.mobile-menu__phone {
 font-size: var(--text-lg);
 font-weight: 600;
 color: var(--vine-dark);
 text-align: center;
}

.mobile-menu__socials {
 justify-content: center;
}

/* Footer */
.footer {
 background-color: #1C1A16; /* Более мягкий, теплый тон с каплей бронзы */
 color: rgba(255, 255, 255, 0.6);
 padding: 34px 0 28px; /* Подтянутый, аккуратный премиум-вид */
 border-top: 1px solid rgba(229, 213, 181, 0.2); /* Тончайшая сепарация */
 position: relative;
 overflow: hidden;
}

.footer::before {
 content: '';
 position: absolute;
 top: 0; left: 0; width: 100%; height: 100%;
 background-image: 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)'/%3E%3C/svg%3E");
 opacity: 0.03; /* Фактура бумаги и в подвале */
 pointer-events: none;
}

.footer__main {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 1.05rem 0.95rem;
 margin-bottom: var(--space-lg);
}

.footer__brand {
 grid-column: 1 / -1;
 max-width: 320px;
}

.footer__logo {
 font-family: var(--font-primary);
 font-size: 1.95rem;
 font-weight: 600;
 color: #E5D5B5;
 line-height: 1;
 display: block;
 margin-bottom: 0.55rem;
 letter-spacing: 0.02em;
}

.footer__region {
 font-size: 0.7rem;
 color: rgba(229, 213, 181, 0.5); /* Приглушенное золото */
 margin: 0.35rem 0 0.95rem;
 letter-spacing: 0.24em;
 text-transform: uppercase;
}

.footer__desc {
 font-size: var(--text-sm);
 line-height: 1.55;
 margin: 0;
 color: var(--bg-main);
 opacity: 0.7;
}

.footer__nav {
 display: contents; /* Позволяет колонкам меню стать частью основной сетки footer__main */
}

.footer__nav-group {
 display: flex;
 flex-direction: column;
}

.footer__nav-title {
 font-family: var(--font-primary);
 font-size: 0.95rem;
 font-weight: 700;
 color: #E5D5B5;
 margin-bottom: 0.75rem;
 letter-spacing: 0.13em;
 text-transform: uppercase; /* Строго, но изысканно */
}

.footer__nav-list {
 display: flex;
 flex-direction: column;
 gap: 0.15rem;
}

.footer__nav-list a {
 font-size: 0.92rem;
 color: rgba(255, 255, 255, 0.6);
 text-decoration: none;
 transition: all var(--transition-fast);
 display: inline-block;
 padding: 0.08rem 0;
}

.footer__nav-list a:hover {
 color: var(--accent-gold);
 transform: translateX(5px);
 opacity: 1;
}

.footer__bottom {
 padding-top: var(--space-lg);
 border-top: 1px solid rgba(197, 160, 89, 0.15); /* Деликатнейшая нить */
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: var(--space-sm);
}

.footer__copyright,
.footer__disclaimer {
 font-size: 0.78rem;
 color: #E5D5B5;
 letter-spacing: 0.03em;
 margin: 0;
 opacity: 0.8; /* Чуть мягче для баланса */
}

/* Section */
.section {
 padding: var(--space-3xl) 0;
 background: transparent;
}

.section__header {
 position: relative;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 margin-bottom: var(--space-2xl);
}

.section__label {
 display: inline-block;
 font-size: var(--text-xs);
 font-weight: 700;
 color: var(--cold-sage);
 letter-spacing: 0.15em;
 text-transform: uppercase;
 margin-bottom: var(--space-md);
 padding: 6px 14px;
 background: linear-gradient(135deg, rgba(107, 144, 128, 0.12) 0%, rgba(164, 195, 178, 0.12) 100%);
 border-radius: var(--radius-full);
}

@media (min-width: 992px) {
.section__label {
 position: absolute;
 left: 0;
 top: 50%;
 transform: translateY(-50%);
 margin-bottom: 0;
 }
}

.section__title {
 font-family: var(--font-accent);
 font-size: var(--text-3xl);
 font-weight: 600;
 margin-bottom: var(--space-md);
 color: var(--vine-dark);
}

.section__subtitle {
 font-size: var(--text-lg);
 color: var(--mineral-grey);
 max-width: 600px;
 margin: 0 auto;
 line-height: 1.7;
}

.section__subtitle--promo {
 max-width: none;
 font-weight: 700;
 color: var(--accent-vine); /* Deep premium green */
 font-size: 1.25rem;
}

.section__subtitle--promo strong {
 font-weight: 800;
}

.hero {
 position: relative;
 min-height: 60vh; /* Микро-корректировка для идеальной плотности */
 display: flex;
 align-items: center;
 color: var(--pure-white);
 overflow: hidden;
 background: none!important;
 border-bottom: 2px solid #c5a059;
}

.hero__bg-img {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: 1; /* Поднимаем в видимую зону */
 animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
 from { transform: scale(1); }
 to { transform: scale(1.1); }
}

.hero__overlay {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.15); /* Очень легкое затемнение - картинка теперь яркая! */
 z-index: 2;
}

.hero__container {
 position: relative;
 z-index: 3;
 padding: var(--space-2xl) var(--container-padding);
 text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Increased for extra punch */
}

.hero__content {
 max-width: 900px;
 margin: 0 auto;
 text-align: center;
 transform: translateY(-40px); /* Raise the content block higher */
}

.hero__badge {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-size: var(--text-sm);
 font-weight: 700;
 letter-spacing: 0.15em;
 text-transform: uppercase;
 padding: 12px 24px;
 background: rgba(255, 255, 255, 0.05); /* True glass look */
 backdrop-filter: blur(12px); /* Strong glass blur */
 border-radius: var(--radius-full);
 margin-bottom: var(--space-xl);
 color: #ffffff;
 position: relative;
 border: 1px solid rgba(197, 160, 89, 0.4); /* Bronze border base */
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 animation: gold-pulse 3s infinite alternate ease-in-out;
 overflow: hidden;
}

@keyframes gold-pulse {
 0% {
 border-color: rgba(197, 160, 89, 0.3);
 box-shadow: 0 0 10px rgba(166, 124, 0, 0.1);
 }
 50% {
 border-color: #c5a059; /* Bright gold shimmer */
 box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
 }
 100% {
 border-color: #a67c00; /* Deep bronze shimmer */
 box-shadow: 0 0 12px rgba(166, 124, 0, 0.2);
 }
}

.hero__badge::after {
 content: '';
 position: absolute;
 inset: -1px;
 border-radius: inherit;
 background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.5), transparent);
 animation: gold-shimmer 2.5s infinite linear;
 z-index: 1;
 pointer-events: none;
}

@keyframes gold-shimmer {
 0% { transform: translateX(-100%); }
 100% { transform: translateX(100%); }
}

.hero__title {
 font-family: var(--font-primary);
 font-size: clamp(3rem, 10vw, 5rem);
 line-height: 1;
 margin-bottom: var(--space-xl);
 font-weight: 700;
 color: #FFFFFF;
 text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (max-width: 480px) {
.hero__title {
 font-size: clamp(2rem, 11vw, 2.65rem);
 line-height: 1.05;
 }

.hero__subtitle {
 font-size: 1rem;
 line-height: 1.55;
 }
}

.hero__title-accent {
 display: block;
 margin-top: 0.5rem;
 font-style: italic; /* Добавим капельку изящества */
 background: linear-gradient(90deg, #E5D5B5 0%, #FFFFFF 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.hero__subtitle {
 font-family: 'Manrope', sans-serif;
 font-size: 1.25rem;
 line-height: 1.7;
 margin: 0 auto 3rem;
 max-width: 800px;
 color: rgba(255, 255, 255, 0.9);
 text-align: center;
 letter-spacing: 0.01em;
}

.hero__actions {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: var(--space-md);
}

.hero__actions.btn--primary {
 background: var(--button-premium-fill);
 color: var(--button-premium-text);
 box-shadow: var(--button-premium-shadow);
 border: none;
 transition: all 0.3s ease;
}

.btn--primary:hover {
 transform: translateY(-2px);
 box-shadow:
 inset 0 1px 0 rgba(255, 247, 221, 0.46),
 0 18px 32px rgba(109, 67, 54, 0.24);
 background: var(--button-premium-fill-hover);
}

/* Trust Strip */
.trust-strip {
 background: linear-gradient(to right, var(--bg-main), #F6E6E8, var(--bg-main));
 padding: var(--space-xl) 0;
 border-bottom: 1px solid rgba(197, 160, 89, 0.4);
}

.trust-strip__container {
 display: flex;
 justify-content: space-around;
 align-items: center;
 gap: var(--space-xl);
}

.trust-strip__item {
 text-align: center;
 position: relative;
 flex: 1;
}

.trust-strip__item:not(:last-child)::after {
 content: '';
 position: absolute;
 right: -10%;
 top: 20%;
 height: 60%;
 width: 1px;
 background: linear-gradient(to bottom, transparent, #c5a059, transparent);
 opacity: 0.5;
}

.trust-strip__value {
 display: block;
 font-size: 1.15rem;
 font-weight: 800;
 background: linear-gradient(135deg, #a67c00 0%, #c5a059 50%, #8e6a3a 100%);
 -webkit-background-clip: text;
 background-clip: text;
 -webkit-text-fill-color: transparent;
 margin-bottom: 4px;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 white-space: nowrap;
}

.trust-strip__label {
 display: block;
 font-size: var(--text-sm);
 color: var(--vine-dark);
 font-weight: 600;
 opacity: 0.8;
}

/* Form Styles */
.form__group {
 margin-bottom: var(--space-lg);
}

.form__label {
 display: block;
 font-size: var(--text-sm);
 font-weight: 600;
 color: var(--vine-dark);
 margin-bottom: var(--space-sm);
}

.form__required {
 color: var(--terracotta);
}

.form__input,
.form__textarea,
.form__select {
 width: 100%;
 padding: 1rem 1.25rem;
 font-family: var(--font-primary);
 font-size: var(--text-base);
 color: var(--graphite);
 background-color: var(--pure-white);
 border: 1px solid rgba(197, 160, 89, 0.3); /* Gold border by default */
 border-radius: var(--radius-md);
 transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
 outline: none;
 border-color: #c5a059;
 box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
 color: var(--mineral-grey);
}

.form__select-wrap {
 position: relative;
 width: 100%;
}

.form__select {
 appearance: none;
 -webkit-appearance: none;
 -moz-appearance: none;
 display: block;
 min-height: 56px;
 padding: 0.9rem 3.5rem 0.9rem 1.25rem;
 cursor: pointer;
 color: var(--vine-dark);
 background-color: var(--pure-white);
 line-height: 1.2;
}

.form__select-wrap::after {
 content: "";
 position: absolute;
 top: 50%;
 right: 1.35rem;
 width: 10px;
 height: 10px;
 border-right: 2px solid #7d866f;
 border-bottom: 2px solid #7d866f;
 transform: translateY(-65%) rotate(45deg);
 pointer-events: none;
}

.form__select option {
 color: var(--graphite);
 background: #fffdfa;
}

.form__textarea {
 resize: vertical;
 min-height: 120px;
}

.form__consent {
 font-size: var(--text-xs);
 color: var(--mineral-grey);
 margin-top: var(--space-md);
 text-align: center;
 line-height: 1.6;
}

.form-success {
 text-align: center;
 padding: var(--space-2xl);
}

.form-success__icon {
 margin-bottom: var(--space-lg);
 color: var(--cold-sage);
}

.form-success__title {
 font-size: var(--text-2xl);
 margin-bottom: var(--space-md);
 color: var(--vine-dark);
}

.form-success__text {
 color: var(--mineral-grey);
 margin-bottom: var(--space-xl);
}

/* Breadcrumb */
.breadcrumb {
 margin-bottom: var(--space-lg);
}

.breadcrumb__list {
 display: flex;
 align-items: center;
 gap: var(--space-sm);
 font-size: var(--text-sm);
 color: var(--mineral-grey);
}

.breadcrumb__item a {
 color: var(--mineral-grey);
}

.breadcrumb__item a:hover {
 color: var(--vine-dark);
}

.breadcrumb__item:not(:last-child)::after {
 content: '/';
 margin-left: var(--space-sm);
 color: var(--fog-grey);
}

.breadcrumb__item--current {
 color: var(--vine-dark);
}

.page-root {
 padding-top: var(--space-2xl);
}

/* Media Queries */
@media (min-width: 768px) {
.footer {
 padding: 42px 0 34px;
 }

.header__nav {
 display: none;
 }
 
.header__phone {
 display: flex;
 }
 
.header__cta {
 display: inline-flex;
 }
 
.header__burger {
 display: flex;
 }
 
.trust-strip__container {
 grid-template-columns: repeat(4, 1fr);
 }
 
.footer__main {
 flex-direction: row;
 grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Сбалансированные колонки без дыр */
 gap: clamp(1.5rem, 3vw, var(--space-2xl));
 margin-bottom: var(--space-xl);
 justify-content: space-between;
 }

.footer__brand {
 grid-column: auto;
 max-width: 260px;
 }
 
.footer__nav {
 grid-template-columns: repeat(3, auto);
 gap: var(--space-3xl);
 }
 
.footer__bottom {
 text-align: left;
 }
}

@media (min-width: 1100px) {
.header__nav {
 display: block;
 }

.header__actions {
 display: flex;
 }

.header__cta {
 display: inline-flex;
 }

.header__burger {
 display: none;
 }
}

@media (min-width: 1100px) and (max-width: 1260px) {
.header__container {
 height: 78px;
 gap: 0.54rem;
 padding-inline: 0.82rem;
 }

.header__logo-text {
 font-size: 2.32rem;
 }

.header__logo-region {
 font-size: 0.92rem;
 letter-spacing: 0.1em;
 }

.header__nav-list {
 gap: 0.06rem;
 padding: 0.16rem;
 }

.header__nav-link {
 min-height: 32px;
 padding: 0.36rem 0.34rem;
 font-size: 0.78rem;
 }

.header__phone {
 min-height: 40px;
 padding: 0.5rem 0.6rem;
 font-size: 0.8rem;
 }

.header__social {
 width: 34px;
 height: 34px;
 }
}

@media (min-width: 1024px) {
:root {
 --container-padding: 2rem;
 }
 
.hero__title {
 font-size: 6.5rem; /* Increased size for desktop */
 }
 
.hero__container {
 padding: var(--space-4xl) var(--container-padding);
 }
}

/* Focus Visible */
:focus-visible {
 outline: 2px solid var(--cold-sage);
 outline-offset: 2px;
}

/* Selection */
::selection {
 background-color: var(--cold-sage);
 color: var(--pure-white);
}

/* Scrollbar */
::-webkit-scrollbar {
 width: 8px;
 height: 8px;
}

::-webkit-scrollbar-track {
 background: var(--warm-cream);
}

::-webkit-scrollbar-thumb {
 background: var(--light-sage);
 border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
 background: var(--cold-sage);
}

/* 2026-06-09 BRAND LOGO FORCE ALL DESKTOP PAGES */
@keyframes zemlozaNeuroRainbow {
 0% {
  background-position: 135% 50%, 0% 50%;
  filter: drop-shadow(0 4px 8px rgba(9, 45, 31, 0.2)) saturate(1.12);
 }
 50% {
  background-position: 0% 50%, 100% 50%;
  filter: drop-shadow(0 5px 12px rgba(91, 63, 211, 0.26)) saturate(1.32);
 }
 100% {
  background-position: -135% 50%, 0% 50%;
  filter: drop-shadow(0 4px 8px rgba(9, 45, 31, 0.2)) saturate(1.12);
 }
}

html body .header a.header__logo .header__logo-text,
html body a.header__logo .header__logo-text,
html body .header__logo .header__logo-text {
 display: block!important;
 max-width: 100%!important;
 overflow: visible!important;
 color: #0d3324!important;
 background:
  linear-gradient(102deg,
   rgba(11, 51, 35, 0) 0%,
   rgba(11, 51, 35, 0) 18%,
   #ffffff 29%,
   #00e5ff 36%,
   #5d3fd3 44%,
   #ff2fb3 52%,
   #ffd166 60%,
   #31e981 69%,
   rgba(11, 51, 35, 0) 82%,
   rgba(11, 51, 35, 0) 100%),
  linear-gradient(94deg,
   #0b3323 0%,
   #0fa36b 13%,
   #00d5ff 25%,
   #5d3fd3 38%,
   #ff2fb3 51%,
   #ffd166 64%,
   #31e981 77%,
   #007ab8 89%,
   #0b3323 100%)!important;
 background-size: 180% 100%, 220% 100%!important;
 -webkit-background-clip: text!important;
 background-clip: text!important;
 -webkit-text-fill-color: transparent!important;
 -webkit-text-stroke: 0.45px rgba(7, 43, 29, 0.54)!important;
 font-family: 'Lobster', 'Bodoni 72', Didot, Georgia, serif!important;
 font-size: clamp(2.35rem, 3.05vw, 3.55rem)!important;
 font-weight: 400!important;
 line-height: 0.88!important;
 letter-spacing: 0!important;
 text-align: left!important;
 text-shadow:
  0 1px 0 rgba(255, 255, 255, 0.88),
  0 10px 22px rgba(9, 45, 31, 0.26),
  0 0 16px rgba(214, 165, 46, 0.22)!important;
 white-space: nowrap!important;
 animation: zemlozaNeuroRainbow 2.8s cubic-bezier(0.45, 0, 0.2, 1) infinite!important;
}

html body .header a.header__logo,
html body a.header__logo,
html body .header__logo {
 align-items: flex-start!important;
 min-width: clamp(210px, 18vw, 320px)!important;
 max-width: clamp(210px, 22vw, 340px)!important;
 gap: 0!important;
}

html body .header a.header__logo .header__logo-region,
html body a.header__logo .header__logo-region,
html body .header__logo .header__logo-region {
 display: block!important;
 width: 100%!important;
 max-width: 100%!important;
 margin-top: 0.12rem!important;
 overflow: hidden!important;
 color: #bc8a20!important;
 font-family: var(--font-primary)!important;
 font-size: clamp(0.94rem, 1.02vw, 1.18rem)!important;
 font-weight: 900!important;
 line-height: 1.1!important;
 letter-spacing: 0.03em!important;
 text-align: left!important;
 text-align-last: auto!important;
 text-overflow: ellipsis!important;
 text-transform: none!important;
 text-shadow:
  0 1px 0 rgba(255, 255, 255, 0.82),
  0 8px 18px rgba(188, 138, 32, 0.2)!important;
 white-space: nowrap!important;
}

@media (min-width: 1100px) and (max-width: 1260px) {
 html body .header a.header__logo .header__logo-text,
 html body a.header__logo .header__logo-text,
 html body .header__logo .header__logo-text {
  font-size: clamp(2.08rem, 2.75vw, 2.42rem)!important;
 }

 html body .header a.header__logo .header__logo-region,
 html body a.header__logo .header__logo-region,
 html body .header__logo .header__logo-region {
  font-size: 0.72rem!important;
 }
}
