/* ============================================================
   ОсОО «АРФАРЕЙ» — сайт-визитка (Кыргызская Республика)
   Общие стили всех страниц. Правки палитры — в :root ниже.
   Шрифты хостятся локально (папка fonts/) — без запросов к Google.
   ============================================================ */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/playfair-display-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pine:       #1e4d3b;   /* основной тёмно-зелёный */
  --pine-dark:  #12332a;   /* тёмные секции, футер   */
  --pine-deep:  #0c241d;
  --moss:       #2e6b50;
  --gold:       #d9a441;   /* акцент, кнопки          */
  --gold-dark:  #b9852b;
  --gold-soft:  #f6e3bb;
  --cream:      #faf6ec;   /* фон страницы            */
  --paper:      #ffffff;
  --ink:        #1d2b25;   /* основной текст          */
  --muted:      #5d6e64;
  --line:       #e5ddc9;
  --danger:     #b3532f;
  --radius:     18px;
  --shadow:     0 10px 30px rgba(18, 51, 42, .10);
  --shadow-lg:  0 18px 50px rgba(18, 51, 42, .16);
  --container:  1140px;
  --font-head:  "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:  "Manrope", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--moss); text-decoration: none; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--pine-dark); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(18,51,42,.10); }

.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--pine-dark); }
.logo:hover { color: var(--pine-dark); }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: .10em; }
.logo-sub { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink); }
.main-nav a:hover { color: var(--gold-dark); }

.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header-phone a { font-weight: 700; font-size: 16px; color: var(--pine-dark); white-space: nowrap; }
.header-phone span { font-size: 11.5px; color: var(--muted); }

/* Переключатель языка RU/EN */
.lang-switch {
  display: flex; align-items: center; gap: 2px; flex: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper);
}
.lang-switch a, .lang-switch .current {
  font-size: 12px; font-weight: 800; letter-spacing: .05em; line-height: 1;
  padding: 6px 11px; border-radius: 999px;
}
.lang-switch .current { background: var(--pine); color: #fff; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--gold-dark); }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); cursor: pointer; padding: 0;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--pine-dark); margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 15.5px;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #2a2007; box-shadow: 0 8px 22px rgba(217,164,65,.38); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-light-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-light-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-small { padding: 11px 22px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Герой ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(217,164,65,.28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(46,107,80,.55), transparent 60%),
    linear-gradient(150deg, var(--pine) 0%, var(--pine-dark) 62%, var(--pine-deep) 100%);
  color: #fff;
}
.hero-inner { position: relative; z-index: 2; padding: 92px 0 96px; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 700; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.86); max-width: 600px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ornament {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; opacity: .10; z-index: 1; pointer-events: none;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; }
.hero-badges div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,.82); }
.hero-badges svg { width: 18px; height: 18px; flex: none; color: var(--gold); }

/* ---------- Полоса фактов ---------- */

.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 18px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 30px; color: var(--pine); }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- Секции ---------- */

.section { padding: 88px 0; }
.section.alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- О компании ---------- */

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-text p { margin: 0 0 16px; }
.about-text .accent { color: var(--pine); font-weight: 600; }
.about-card {
  background: linear-gradient(160deg, var(--pine) 0%, var(--pine-dark) 100%);
  color: #fff; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.about-card::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(217,164,65,.35), transparent 70%);
}
.about-card h3 { color: var(--gold-soft); font-size: 20px; margin-bottom: 18px; }
.about-card ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.about-card li { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; color: rgba(255,255,255,.9); border-bottom: 1px dashed rgba(255,255,255,.16); }
.about-card li:last-child { border-bottom: 0; }
.about-card li b { color: #fff; }
.about-card svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--gold); }

/* ---------- Низ карточек (цена + кнопка) ---------- */

.card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price b { font-family: var(--font-head); font-size: 24px; color: var(--pine-dark); white-space: nowrap; }
.price span { font-size: 13px; color: var(--muted); }

/* ---------- Карточки товаров ---------- */

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media {
  height: 280px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #2e6b50, #12332a);
  display: flex; align-items: center; justify-content: center;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-media .media-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); font-family: var(--font-head); font-size: 22px; text-align: center; padding: 20px;
}
.product-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--gold); color: #2a2007; font-size: 12px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.product-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 23px; margin-bottom: 10px; }
.product-body > p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.spec-list { list-style: none; margin: 0 0 22px; padding: 0; }
.spec-list li { display: flex; gap: 10px; padding: 5.5px 0; font-size: 14.5px; }
.spec-list svg { width: 17px; height: 17px; flex: none; margin-top: 3.5px; color: var(--gold-dark); }

/* ---------- Преимущества ---------- */

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--pine), var(--moss)); margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--gold-soft); }
.feature h3 { font-size: 18.5px; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 700; color: var(--pine-dark);
}
.faq-q .chevron { flex: none; width: 22px; height: 22px; color: var(--gold-dark); transition: transform .25s; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- Контакты ---------- */

.contacts-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--gold-dark); }
.contact-row b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.contact-row a, .contact-row div span { font-size: 16.5px; font-weight: 600; color: var(--pine-dark); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 380px; background: #dfe8e2; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-load {
  width: 100%; height: 100%; min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(150deg, #e9efe9, #d5e3d8); border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 17px; font-weight: 800; color: var(--pine-dark);
  transition: background .25s;
}
.map-load:hover { background: linear-gradient(150deg, #e2ebe2, #cbdccf); }
.map-load svg { width: 36px; height: 36px; color: var(--gold-dark); }
.map-load span { font-size: 13px; font-weight: 500; color: var(--muted); max-width: 300px; }

/* ---------- CTA-полоса ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(217,164,65,.25), transparent 60%),
    linear-gradient(140deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: #fff; border-radius: 24px; padding: 54px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }

/* ---------- Футер ---------- */

.site-footer { background: var(--pine-deep); color: rgba(255,255,255,.78); margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding: 60px 0 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; }
.footer-logo svg { width: 36px; height: 36px; }
.footer-logo .logo-name { font-family: var(--font-head); font-size: 19px; letter-spacing: .1em; font-weight: 700; }
.footer-requisites { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.62); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 6px 0; font-size: 14.5px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 8px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-copy { border-top: 0; padding: 10px 0 30px; font-size: 13px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Модальное окно (заглушка заказа) ---------- */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 36, 29, .6);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 22px;
}
.modal-backdrop.show { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper); border-radius: 22px; max-width: 460px; width: 100%;
  padding: 38px 36px 34px; position: relative; box-shadow: var(--shadow-lg);
  animation: popIn .25s ease;
}
@keyframes popIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-size: 17px; color: var(--muted);
}
.modal-close:hover { background: var(--gold-soft); color: var(--ink); }
.modal-icon { width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(140deg, var(--pine), var(--moss)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.modal-icon svg { width: 30px; height: 30px; color: var(--gold-soft); }
.modal h3 { font-size: 22px; margin-bottom: 6px; }
.modal .modal-product { color: var(--gold-dark); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.modal p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }

.modal form { display: flex; flex-direction: column; gap: 14px; margin: 0 0 6px; }
.field span {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream); font-family: var(--font-body); font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(217, 164, 65, .18);
}
.field input::placeholder, .field textarea::placeholder { color: #a8b3ab; }
.field-error { color: var(--danger); font-size: 14px; }
/* Ловушка для ботов: люди этого поля не видят */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 12.5px !important; color: var(--muted) !important; text-align: center; margin: 4px 0 0 !important; line-height: 1.5; }
.form-consent a { font-weight: 700; }
.modal-alt { text-align: center; font-size: 14px; margin: 16px 0 0 !important; }
.modal-alt a { font-weight: 700; }
.modal-icon.success { background: linear-gradient(140deg, var(--moss), var(--pine-dark)); }

/* ---------- Внутренние страницы (документы) ---------- */

.doc-hero { background: linear-gradient(150deg, var(--pine) 0%, var(--pine-deep) 100%); color: #fff; padding: 56px 0 48px; }
.doc-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 0 0 8px; }
.doc-hero .doc-meta { color: rgba(255,255,255,.7); font-size: 14.5px; }
.breadcrumbs { font-size: 13.5px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.breadcrumbs a { color: var(--gold-soft); }

.doc-body { max-width: 860px; margin: 0 auto; padding: 56px 22px 80px; }
.doc-body h2 { font-size: 24px; margin: 40px 0 14px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; font-family: var(--font-body); font-weight: 700; margin: 26px 0 10px; }
.doc-body p, .doc-body li { font-size: 16px; color: #33413a; }
.doc-body ul, .doc-body ol { padding-left: 24px; }
.doc-body li { margin: 6px 0; }
.doc-callout {
  background: var(--gold-soft); border-left: 4px solid var(--gold-dark); border-radius: 10px;
  padding: 18px 22px; margin: 26px 0; font-size: 15.5px; color: #4a3a12;
}
.doc-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.doc-table th { background: var(--cream); font-weight: 700; width: 38%; }
.doc-table-wrap { overflow-x: auto; }

/* ---------- Страница «Спасибо» ---------- */

.thanks-page {
  min-height: 68vh; display: flex; align-items: center;
  padding: 70px 0 90px;
  background:
    radial-gradient(700px 400px at 80% -10%, rgba(217,164,65,.16), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(46,107,80,.14), transparent 60%);
}
.thanks-card {
  max-width: 700px; margin: 0 auto; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 52px 46px 44px; box-shadow: var(--shadow-lg);
}
.thanks-icon {
  width: 82px; height: 82px; margin: 0 auto 24px; border-radius: 26px;
  background: linear-gradient(140deg, var(--moss), var(--pine-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(30,77,59,.28);
}
.thanks-icon svg { width: 40px; height: 40px; color: var(--gold-soft); }
.thanks-card h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.thanks-lead { font-size: 17px; color: var(--muted); margin: 0 auto 30px; max-width: 540px; }

.thanks-steps {
  display: grid; gap: 12px; text-align: left;
  margin: 0 auto 28px; max-width: 540px;
}
.thanks-step {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px;
}
.thanks-step b {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #2a2007; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.thanks-step span { font-size: 15px; color: var(--ink); }

.thanks-note { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.thanks-back { border-top: 1px solid var(--line); padding-top: 20px; }
.thanks-back a { font-weight: 700; font-size: 15px; }

@media (max-width: 520px) {
  .thanks-card { padding: 38px 24px 32px; border-radius: 18px; }
  .thanks-actions .btn { width: 100%; }
}

/* ---------- Анимация появления ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 980px) {
  .about-grid, .contacts-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .hero-ornament { display: none; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 10px 0;
    transform: translateY(-130%); transition: transform .28s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 26px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .burger { display: block; }
  .lang-switch { margin-left: auto; }
  .header-phone { margin-right: 6px; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; }
  .cta-band { padding: 40px 30px; }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .hero-inner { padding: 64px 0 70px; }
  .card-footer { align-items: stretch; }
  .card-footer .btn { width: 100%; }
  .price { align-items: center; text-align: center; }
}
