/* ═══════════════════════════════════════════════════════════
   landing.css — единый шаблон лендинговых страниц arhsloboda.ru
   ═══════════════════════════════════════════════════════════

   КАК ПОДКЛЮЧИТЬ в <head> любой лендинговой страницы:
   <link rel="stylesheet" href="/styles/landing.css">

   Этот файл заменяет отдельные <style> блоки на страницах:
   /romantika/, /semeynyy-otdykh/, /kak-dobratsya/,
   /corporate/timbilding/, /alcove/, /action/ и других.

   Один файл — все лендинги. Подключается один раз и кешируется.
   ═══════════════════════════════════════════════════════════ */


/* ── ПЕРЕМЕННЫЕ — фирменная палитра Архангельской Слободы ── */
:root {
  /* Основные цвета */
  --as-forest:       #1a2e1a;
  --as-forest-mid:   #2d4a2d;
  --as-moss:         #4a7c59;
  --as-sage:         #7aad8a;
  --as-amber:        #c8864a;
  --as-amber-light:  #e8a870;
  --as-cream:        #f5f0e8;
  --as-warm-white:   #faf8f3;

  /* Текст */
  --as-text:         #1c2418;
  --as-text-mid:     #3d5240;
  --as-text-soft:    rgba(245,240,232,0.7);

  /* Служебные */
  --as-border:       rgba(74,124,89,0.18);
  --as-shadow:       rgba(26,46,26,0.12);
  --as-glow-amber:   rgba(200,134,74,0.25);
}


/* ── СБРОС И БАЗА ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.landing-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  background: var(--as-warm-white);
  color: var(--as-text);
  line-height: 1.7;
  overflow-x: hidden;
}


/* ══════════════════════════════════════════════════════════
   HERO — шапка страницы (тёмный фон, белый текст)
   Используется на ВСЕХ лендингах
   ══════════════════════════════════════════════════════════ */
.lp-hero {
  background: var(--as-forest);
  color: var(--as-cream);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Мягкое свечение — без анимации, без тяжёлых фильтров */
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 25% 50%, rgba(74,124,89,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 80% 20%, rgba(200,134,74,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.lp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--as-sage);
  margin-bottom: 16px;
  position: relative;
}

.lp-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 16px;
  position: relative;
}

.lp-hero h1 em {
  font-style: italic;
  color: var(--as-amber-light);
}

.lp-hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--as-text-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  position: relative;
}

/* Ключевой бейдж — акция, специальное предложение */
.lp-badge {
  display: inline-block;
  background: rgba(200,134,74,0.2);
  border: 1px solid var(--as-amber);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--as-amber-light);
  margin-bottom: 32px;
  position: relative;
}

/* Кнопки */
.lp-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.btn-primary {
  background: var(--as-amber);
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px var(--as-glow-amber);
}
.btn-primary:hover { background: var(--as-amber-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(245,240,232,0.35);
  color: var(--as-cream);
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--as-amber); }


/* ══════════════════════════════════════════════════════════
   СЕКЦИИ — общий контейнер
   ══════════════════════════════════════════════════════════ */
.lp-section {
  padding: 64px 24px;
}
.lp-section.bg-cream  { background: var(--as-cream); }
.lp-section.bg-forest { background: var(--as-forest); color: var(--as-cream); }
.lp-section.bg-white  { background: #fff; }

.lp-container {
  max-width: 960px;
  margin: 0 auto;
}

.lp-eyebrow-sm {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--as-amber);
  margin-bottom: 10px;
}

.lp-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--as-forest);
  line-height: 1.25;
  margin-bottom: 14px;
}
.lp-section.bg-forest h2 { color: var(--as-cream); }
.lp-section h2 em { font-style: italic; color: var(--as-amber); }

.lp-lead {
  font-size: 15.5px;
  color: var(--as-text-mid);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.lp-section.bg-forest .lp-lead { color: rgba(245,240,232,0.75); }


/* ══════════════════════════════════════════════════════════
   КАРТОЧКИ ПРЕИМУЩЕСТВ (3 или 4 в ряд)
   ══════════════════════════════════════════════════════════ */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.lp-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--as-shadow); }
.lp-section.bg-cream .lp-card { background: var(--as-warm-white); }
.lp-section.bg-forest .lp-card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }

.lp-card-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.lp-card-title { font-size: 15px; font-weight: 700; color: var(--as-forest); margin-bottom: 6px; }
.lp-section.bg-forest .lp-card-title { color: var(--as-cream); }
.lp-card-text { font-size: 13.5px; color: var(--as-text-mid); line-height: 1.6; }
.lp-section.bg-forest .lp-card-text { color: rgba(245,240,232,0.7); }


/* ══════════════════════════════════════════════════════════
   СРАВНЕНИЕ — два варианта рядом
   ══════════════════════════════════════════════════════════ */
.lp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 32px;
}
.lp-compare-card {
  border-radius: 14px;
  padding: 22px 22px;
}
.lp-compare-card.option-a {
  background: rgba(74,124,89,0.08);
  border: 1px solid rgba(74,124,89,0.25);
}
.lp-compare-card.option-b {
  background: rgba(200,134,74,0.1);
  border: 2px solid var(--as-amber);
}
.lp-compare-title { font-weight: 700; font-size: 15px; color: var(--as-forest); margin-bottom: 10px; }
.lp-compare-list { list-style: none; }
.lp-compare-list li { font-size: 13px; color: var(--as-text-mid); padding-left: 16px; position: relative; margin-bottom: 6px; }
.lp-compare-list li::before { content: '—'; position: absolute; left: 0; color: var(--as-text-soft); }
.lp-compare-card.option-b .lp-compare-list li::before { content: '✓'; color: var(--as-amber); font-weight: 700; }


/* ══════════════════════════════════════════════════════════
   ДВУХКОЛОНОЧНЫЙ БЛОК — текст + визуал
   ══════════════════════════════════════════════════════════ */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.lp-split.reverse { }

.lp-visual {
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.lp-visual.green { background: linear-gradient(135deg, #d8f3dc, #95d5b2); }
.lp-visual.amber { background: linear-gradient(135deg, #fff3b0, #ffd166, #f4a261); }
.lp-visual.dark  { background: linear-gradient(135deg, #1a2e1a, #2d4a2d); }
.lp-visual.blue  { background: linear-gradient(135deg, #caf0f8, #ade8f4); }

.lp-feature-list { list-style: none; margin: 20px 0 28px; }
.lp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--as-text-mid);
  line-height: 1.55;
}
.lp-feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74,124,89,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--as-moss);
  font-weight: 700;
  margin-top: 1px;
}
.lp-feature-list li strong { color: var(--as-forest); }


/* ══════════════════════════════════════════════════════════
   ТАБЛИЦА ЦЕН / ДОМИКОВ
   ══════════════════════════════════════════════════════════ */
.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--as-shadow);
  margin: 20px 0 28px;
}
.lp-table th {
  background: var(--as-forest);
  color: var(--as-cream);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
}
.lp-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--as-border);
  color: var(--as-text-mid);
}
.lp-table tr:last-child td { border-bottom: none; }
.lp-table tr.accent td {
  background: rgba(200,134,74,0.08);
  color: var(--as-forest);
  font-weight: 700;
}


/* ══════════════════════════════════════════════════════════
   FAQ — аккордеон на нативном <details>
   ══════════════════════════════════════════════════════════ */
.lp-faq-item {
  border-bottom: 1px solid var(--as-border);
}
.lp-faq-item:first-child { border-top: 1px solid var(--as-border); }

.lp-faq-item summary {
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--as-forest);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--as-amber);
  flex-shrink: 0;
  transition: transform 0.22s;
}
.lp-faq-item[open] summary::after { transform: rotate(45deg); }
.lp-faq-item p {
  font-size: 14.5px;
  color: var(--as-text-mid);
  line-height: 1.75;
  padding-bottom: 18px;
  margin: 0;
}
.lp-faq-item a { color: var(--as-moss); font-weight: 600; }


/* ══════════════════════════════════════════════════════════
   БЛОК ИНФОРМАЦИИ (совет / важное)
   ══════════════════════════════════════════════════════════ */
.lp-tip {
  background: rgba(200,134,74,0.1);
  border-left: 3px solid var(--as-amber);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--as-text-mid);
}
.lp-tip strong { color: var(--as-forest); }


/* ══════════════════════════════════════════════════════════
   АКЦЕНТНЫЙ ТЁМНЫЙ БЛОК (акция, главная цифра)
   ══════════════════════════════════════════════════════════ */
.lp-accent-block {
  background: linear-gradient(135deg, var(--as-forest) 0%, var(--as-forest-mid) 100%);
  border-radius: 20px;
  padding: 40px 36px;
  color: var(--as-cream);
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}
.lp-accent-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,134,74,0.15) 0%, transparent 70%);
}
.lp-accent-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--as-sage); margin-bottom: 8px;
}
.lp-accent-block h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; line-height: 1.25; margin-bottom: 12px;
}
.lp-accent-block h3 em { font-style: italic; color: var(--as-amber-light); }
.lp-accent-block p {
  font-size: 14.5px; color: rgba(245,240,232,0.8); line-height: 1.7; margin-bottom: 20px;
}
.lp-accent-nums {
  display: flex; gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.lp-accent-num {
  background: rgba(255,255,255,0.1);
  border-radius: 10px; padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
}
.lp-accent-num-val {
  font-size: 1.8rem; font-weight: 700; color: var(--as-amber-light); line-height: 1;
}
.lp-accent-num-label {
  font-size: 11px; color: rgba(245,240,232,0.55); text-transform: uppercase;
  letter-spacing: 0.05em; margin-top: 3px;
}


/* ══════════════════════════════════════════════════════════
   CTA — финальный призыв к бронированию
   ══════════════════════════════════════════════════════════ */
.lp-cta {
  background: var(--as-amber);
  padding: 72px 24px;
  text-align: center;
}
.lp-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.lp-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.btn-cta-dark {
  background: var(--as-forest);
  color: #fff;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin: 6px;
  display: inline-block;
  transition: background 0.2s;
}
.btn-cta-dark:hover { background: var(--as-forest-mid); }
.btn-cta-white {
  background: #fff;
  color: var(--as-amber);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin: 6px;
  display: inline-block;
  opacity: 0.95;
}


/* ══════════════════════════════════════════════════════════
   FOOTER — подвал страницы
   ══════════════════════════════════════════════════════════ */
.lp-footer {
  background: var(--as-forest);
  color: rgba(245,240,232,0.5);
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
  line-height: 1.7;
}
.lp-footer a { color: var(--as-sage); text-decoration: none; }
.lp-footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}


/* ══════════════════════════════════════════════════════════
   АДАПТИВНОСТЬ
   ══════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .lp-hero { padding: 44px 20px 40px; }
  .lp-section { padding: 48px 20px; }
  .lp-split { grid-template-columns: 1fr; gap: 28px; }
  .lp-visual { height: 200px; font-size: 3.5rem; }
  .lp-compare { grid-template-columns: 1fr; }
  .lp-cards { grid-template-columns: 1fr 1fr; }
  .lp-accent-block { padding: 28px 22px; }
  .lp-accent-nums { gap: 10px; }
  .lp-cta { padding: 52px 20px; }
}
@media (max-width: 400px) {
  .lp-cards { grid-template-columns: 1fr; }
}
