/* ============================================
   MAIN.CSS — ГЛОБАЛЬНЫЕ СТИЛИ VILIYA PARK
   Шрифты, цвета, кнопки, формы, утилиты
============================================ */

/* ============================================
   1. ИМПОРТ ШРИФТОВ
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================
   2. ПЕРЕМЕННЫЕ (ЦВЕТА ИЗ БРЕНДБУКА)
============================================ */
:root {
    /* === ОСНОВНЫЕ ФОНЫ (60%) === */
    --bg-mist: #f5f3ee;        /* Туманный белый */
    --bg-wood: #e4d5bc;        /* Светлое дерево */
    
    /* === ПРИРОДНЫЕ АКЦЕНТЫ (30%) === */
    --pine: #4a5d4e;           /* Сосновая хвоя */
    --frost: #a8b5b4;          /* Морозный туман */
    --bark: #8e725d;           /* Кора */
    
    /* === ТЕКСТ (10%) === */
    --coal: #3a3834;           /* Уголь (тёмно-серый) */
    --text-white: #ffffff;
    --text-light: rgba(255,255,255,0.7);
    --text-muted: rgba(58,56,52,0.5);
    
    /* === ДОПОЛНИТЕЛЬНЫЕ === */
    --winter: #d4dcdf;         /* Морозная зима */
    --amber: #c49a6c;          /* Янтарный закат */
    
    /* === ТЕНИ === */
    --shadow-sm: 0 2px 15px rgba(58,56,52,0.06);
    --shadow-md: 0 8px 35px rgba(58,56,52,0.08);
    --shadow-lg: 0 20px 60px rgba(58,56,52,0.10);
    
    /* === РАДИУСЫ (ВСЁ КВАДРАТНОЕ!) === */
    --radius: 0px;
    
    /* === ШРИФТЫ === */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* === АНИМАЦИИ === */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   3. ГЛОБАЛЬНЫЕ СТИЛИ
============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--coal);
    background: var(--bg-mist);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ============================================
   4. КОНТЕЙНЕР
============================================ */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}
@media (max-width: 1200px) { .container { padding: 0 40px; } }
@media (max-width: 992px) { .container { padding: 0 30px; } }
@media (max-width: 768px) { .container { padding: 0 20px; } }
@media (max-width: 480px) { .container { padding: 0 16px; } }

.section-padding { padding: 100px 0; }
@media (max-width: 768px) { .section-padding { padding: 70px 0; } }
@media (max-width: 480px) { .section-padding { padding: 50px 0; } }

/* Фоны секций */
.bg-mist { background: var(--bg-mist); }
.bg-wood { background: var(--bg-wood); }
.bg-white { background: #ffffff; }
.bg-pine { background: var(--pine); color: var(--text-white); }
.bg-coal { background: var(--coal); color: var(--text-white); }

.text-center { text-align: center; }

/* ============================================
   5. ЗАГОЛОВКИ
============================================ */
h1, h2, h3, h4, h5, h6,
.section-title,
.logo-text,
.hero-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--coal);
}

.section-title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
}
.section-title .gold { color: var(--amber); }
@media (max-width: 768px) { .section-title { font-size: 36px; } }
@media (max-width: 480px) { .section-title { font-size: 28px; } }

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pine);
    font-weight: 500;
    margin-bottom: 14px;
    position: relative;
    padding-left: 28px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 1.5px;
    background: var(--pine);
}

.section-subtitle {
    font-family: var(--font-sans);
    color: var(--coal);
    opacity: 0.6;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}
@media (max-width: 768px) { .section-subtitle { font-size: 15px; } }

/* ============================================
   6. КНОПКИ (ВСЁ КВАДРАТНОЕ!)
============================================ */
.btn-primary {
    display: inline-block;
    padding: 16px 42px;
    background: var(--pine);
    color: var(--text-white);
    border: none;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--amber);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 42px;
    background: transparent;
    color: var(--coal);
    border: 1px solid var(--coal);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}
.btn-secondary:hover {
    background: var(--coal);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-white-outline {
    display: inline-block;
    padding: 16px 42px;
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.25);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}
.btn-white-outline:hover {
    background: var(--text-white);
    color: var(--coal);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-amber {
    display: inline-block;
    padding: 16px 42px;
    background: var(--amber);
    color: var(--text-white);
    border: none;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}
.btn-amber:hover {
    background: var(--pine);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   7. УТИЛИТЫ
============================================ */
.gold { color: var(--amber); }
.text-white { color: var(--text-white); }
.text-coal { color: var(--coal); }
.text-bark { color: var(--bark); }
.text-muted { color: var(--text-muted); }

/* Убираем outline для фокуса, но оставляем доступность */
*:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}