/* ===========================
   S-INSTALL — ЛЕНДИНГ СТИЛЬ
   Продающие страницы без меню
   =========================== */

:root {
  --bg:        #f7f5f1;
  --bg-soft:   #ffffff;
  --bg-card:   #ffffff;
  --bg-elev:   #f1ede5;
  --bg-dark:   #1a1a1f;
  --line:      #e2dccf;
  --line-soft: #ece7dc;
  --text:      #1a1a1f;
  --text-mut:  #5c5a55;
  --text-dim:  #9a958a;
  --accent:    #a8814a;
  --accent-2:  #8a6738;
  --accent-soft: rgba(168, 129, 74, 0.12);
  --green:     #2d8659;
  --green-soft: rgba(45, 134, 89, 0.12);
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 8px 24px rgba(60, 50, 30, 0.08);
  --shadow-lg: 0 16px 48px rgba(60, 50, 30, 0.14);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   МИНИ-ШАПКА ЛЕНДИНГА
   =========================== */
.land-header {
  padding: 20px 0;
  background: linear-gradient(180deg, #d8d6ce 0%, #c4c2ba 100%);
  border-bottom: 1px solid #a8a6a0;
}
.land-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.land-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1f;
  letter-spacing: -0.02em;
}
.land-logo-dot { color: var(--accent); }
.land-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.land-phone:hover { background: var(--accent-2); transform: translateY(-1px); }

/* ===========================
   HERO ЛЕНДИНГА
   =========================== */
.land-hero {
  padding: 60px 0 50px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(168, 129, 74, 0.10), transparent 60%);
}
.land-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.land-hero h1 em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 500;
}
.land-hero .lead {
  font-size: 18px;
  color: var(--text-mut);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.land-hero .price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.land-hero .price-tag .label {
  font-size: 13px;
  color: var(--text-mut);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.land-hero .price-tag .value {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-2);
}
.land-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 129, 74, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--bg-elev);
  border-color: var(--accent);
}
.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

/* ===========================
   СЕКЦИИ
   =========================== */
.land-section {
  padding: 56px 0;
}
.land-section.dark {
  background: var(--bg-elev);
}
.land-section-head {
  text-align: center;
  margin-bottom: 36px;
}
.land-section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.land-section-head p {
  font-size: 17px;
  color: var(--text-mut);
  max-width: 620px;
  margin: 0 auto;
}

/* ===========================
   БЛОКИ "ЧТО ВХОДИТ"
   =========================== */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}
.include-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.include-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.include-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.include-item p {
  font-size: 14px;
  color: var(--text-mut);
  line-height: 1.5;
}

/* ===========================
   ПРОЦЕСС
   =========================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: var(--text-mut);
  line-height: 1.5;
}

/* ===========================
   ТАРИФЫ / ПАКЕТЫ
   =========================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}
.pricing-card.featured::before {
  content: 'Рекомендуем';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pricing-card .desc {
  font-size: 14px;
  color: var(--text-mut);
  margin-bottom: 16px;
}
.pricing-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.pricing-card .price small {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}
.pricing-card .price-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  flex: 1;
}
.pricing-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-mut);
  line-height: 1.5;
}
.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}
.pricing-card .btn {
  width: 100%;
}

/* ===========================
   ФОРМА ЗАЯВКИ
   =========================== */
.land-form-section {
  padding: 60px 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(168, 129, 74, 0.06), transparent 70%),
    var(--bg-elev);
}
.land-form {
  max-width: 540px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.land-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}
.land-form .form-lead {
  text-align: center;
  color: var(--text-mut);
  font-size: 15px;
  margin-bottom: 24px;
}
.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-row textarea {
  min-height: 100px;
  resize: vertical;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 8px;
}
.form-note {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--green-soft);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  color: var(--green);
}
.form-success.show { display: block; }
.form-success h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ===========================
   ГАРАНТИИ / ДОВЕРИЕ
   =========================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-item .label {
  font-size: 14px;
  color: var(--text-mut);
}

/* ===========================
   ФАК / ВОПРОСЫ
   =========================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent-2); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-mut);
  font-size: 15px;
  line-height: 1.6;
}

/* ===========================
   ФИНАЛЬНЫЙ CTA
   =========================== */
.final-cta {
  padding: 60px 0;
  background: var(--bg-dark);
  color: #f5f3ed;
  text-align: center;
}
.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  margin-bottom: 12px;
}
.final-cta p {
  font-size: 17px;
  color: rgba(245, 243, 237, 0.7);
  max-width: 540px;
  margin: 0 auto 28px;
}
.final-cta .btn-accent {
  background: var(--accent);
}
.final-cta .btn-ghost {
  color: #f5f3ed;
  border-color: rgba(245, 243, 237, 0.3);
}
.final-cta .btn-ghost:hover {
  background: rgba(245, 243, 237, 0.1);
  border-color: var(--accent);
}

/* ===========================
   ФУТЕР ЛЕНДИНГА (МИНИ)
   =========================== */
.land-footer {
  padding: 24px 0;
  background: var(--bg-dark);
  color: rgba(245, 243, 237, 0.5);
  font-size: 13px;
  text-align: center;
}
.land-footer a {
  color: rgba(245, 243, 237, 0.7);
}
.land-footer a:hover {
  color: var(--accent-2);
}

/* ===========================
   АДАПТИВ
   =========================== */
@media (max-width: 768px) {
  .land-hero { padding: 40px 0 32px; }
  .land-section { padding: 40px 0; }
  .land-form { padding: 28px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .land-hero-actions { flex-direction: column; }
  .land-hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .land-form { padding: 24px 16px; }
  .pricing-card { padding: 24px 20px; }
}
