/* ============================================ */
/* ОБЩИЕ НАСТРОЙКИ                              */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Цвета сайта — в одном месте, чтобы легко менять */
:root {
    /* Молочно-зелёный «Пантон тайга» */
    --bg: #eef3ec;             /* светлый фон страницы */
    --accent: #5a7d5a;         /* основной зелёный — шапка, кнопки */
    --accent-dark: #3f5c3f;    /* тёмный зелёный для наведения */
    --card: #ffffff;           /* белые карточки */
    --text: #2f3a2f;           /* основной текст */
    --muted: #7a8a7a;          /* вторичный текст */
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================ */
/* ШАПКА                                        */
/* ============================================ */
header {
    background: var(--accent);
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    /* Заголовок — шрифтом Playfair Display, крупно, с засечками */
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Подзаголовок «С любовью к Алтаю» — прописными */
.subtitle {
    /* Тот же размер, что и был бы у обычного p, но прописными */
    font-size: 15px;
    /* ПРОПИСНЫЕ БУКВЫ */
    text-transform: uppercase;
    /* Разрядка между буквами — так прописные читаются легче */
    letter-spacing: 4px;
    /* Другой шрифт — лёгкий курсив */
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    /* Прозрачность — чуть мягче */
    opacity: 0.9;
}

/* ============================================ */
/* ВКЛАДКИ                                      */
/* ============================================ */
.tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 2px solid #d8e0d6;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: #dde5db;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s;
}

.tab-btn:hover {
    background: #ccd6c9;
}

.tab-btn.active {
    background: var(--accent);
    color: white;
}

/* ============================================ */
/* СОДЕРЖИМОЕ ВКЛАДОК                           */
/* ============================================ */
.tab-content {
    display: none;
    background: var(--card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 20px;
}

.tab-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: var(--accent-dark);
    margin: 20px 0 10px;
}

.tab-content p {
    margin-bottom: 12px;
}

/* ============================================ */
/* КНОПКА-ПРИЗЫВ                                */
/* ============================================ */
.cta-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: var(--accent-dark);
}

/* ============================================ */
/* КАРТОЧКИ ПРОГРАММ                            */
/* ============================================ */
.program-card {
    background: #f7faf6;
    border-left: 4px solid var(--accent);
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Особая карточка — «Всё включено» */
.highlight-card {
    background: #eef3ec;
    border-left-color: #c9a961;   /* золотой акцент */
}

.program-duration {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.program-label {
    font-weight: 500;
    margin-bottom: 6px;
}

.program-card ul {
    margin: 10px 0 15px 20px;
}

.program-card li {
    margin-bottom: 4px;
}

.program-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 15px;
}

.program-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
}

/* ============================================ */
/* ТАБЛИЦА ЦЕН                                  */
/* ============================================ */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.price-table th,
.price-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5ebe3;
}

.price-table th {
    background: var(--accent);
    color: white;
    font-weight: 500;
}

.price-table tr:hover td {
    background: #f7faf6;
}

/* ============================================ */
/* ГАЛЕРЕЯ                                      */
/* ============================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.gallery img,
.gallery video,
.gallery iframe {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: none;
    margin: 0;
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* ============================================ */
/* ОБЪЯВЛЕНИЯ                                   */
/* ============================================ */
.announcement {
    background: #f7faf6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #c9a961;
}

.announcement-date {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* ============================================ */
/* СОТРУДНИЧЕСТВО                               */
/* ============================================ */
.tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 20px;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent-dark);
    margin-top: 25px;
}

.tab-content ol {
    margin: 10px 0 15px 25px;
}

.tab-content ol li {
    margin-bottom: 8px;
}

/* ============================================ */
/* КОНТАКТЫ                                     */
/* ============================================ */
.contacts-list {
    list-style: none;
    margin-top: 15px;
}

.contacts-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5ebe3;
    font-size: 16px;
}

/* ============================================ */
/* ССЫЛКИ                                       */
/* ============================================ */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================================ */
/* ПОДВАЛ                                       */
/* ============================================ */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: var(--muted);
    font-size: 14px;
}

.footer-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* ============================================ */
/* ТЕЛЕФОН                                      */
/* ============================================ */
@media (max-width: 600px) {
    header h1 { font-size: 26px; }
    .subtitle { font-size: 12px; letter-spacing: 2px; }
    .tab-btn { padding: 10px 12px; font-size: 13px; }
    .tab-content { padding: 20px; }
    .tab-content h2 { font-size: 22px; }
    .program-price { font-size: 20px; }
}