/* =========================================================================
   КрымЭкзотика — дизайн-система
   Палитра болотного гербария: тёмная зелень, "капкан"-красный, янтарный нектар
   ========================================================================= */

:root {
  --bg:            #0F1712;
  --bg-panel:      #172219;
  --bg-panel-2:    #1D2B20;
  --bg-raised:     #24331F;
  --line:          rgba(237, 231, 217, 0.12);
  --line-strong:   rgba(237, 231, 217, 0.22);

  --text:          #EDE7D9;
  --text-muted:    #A2AC98;
  --text-faint:    #6E7A67;

  --red:           #B5433A;
  --red-dim:       #7C2E28;
  --red-bright:    #D45B4E;

  --green:         #8AA85C;
  --green-dim:     #5E7A3E;

  --gold:          #C9A15C;
  --gold-dim:      #9C7C42;

  --paper:         #F4EFE1;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-s: 4px;
  --radius-m: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  /* тончайшая текстура бумаги/зерна по всему фону */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(237,231,217,0.035) 1px, transparent 1px);
  background-size: 3px 3px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-dim);
  display: inline-block;
}

.lede { color: var(--text-muted); font-size: 17px; max-width: 60ch; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}
.btn--primary:hover { background: var(--red-bright); border-color: var(--red-bright); }
.btn--primary:disabled { background: var(--text-faint); border-color: var(--text-faint); cursor: not-allowed; opacity: .6; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--small { padding: 8px 16px; font-size: 13px; }
.btn--full { width: 100%; }

.icon { width: 20px; height: 20px; }

/* =========================================================================
   HEADER
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  color: var(--paper);
}
.brand-mark span { color: var(--red-bright); }
.brand-latin {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: none;
}
@media (min-width: 620px) { .brand-latin { display: inline; } }

.main-nav {
  display: none;
  gap: 30px;
}
@media (min-width: 900px) { .main-nav { display: flex; } }

.main-nav a {
  font-size: 14.5px;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--paper); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.phone-link {
  display: none;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}
@media (min-width: 1080px) { .phone-link { display: block; } }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--paper);
  transition: border-color .2s;
}
.cart-btn:hover { border-color: var(--gold); }
.cart-count {
  position: absolute;
  top: -7px; right: -7px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--paper);
  background: transparent;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 10px 0 18px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.is-active { color: var(--gold); }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  margin: 18px 0 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--red-bright);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--paper);
}
.hero-stats div span {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-plate {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 35%, var(--bg-panel-2), var(--bg));
}
.hero-plate::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}
.hero-plate svg { width: 46%; height: 46%; color: var(--red-bright); }
.hero-plate-label {
  position: absolute;
  bottom: 8%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.hero-plate-tag {
  position: absolute; top: 6%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

/* =========================================================================
   Категории — плитки
   ========================================================================= */

.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 10px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-tile {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 16px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.cat-tile:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.cat-tile svg { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--green); }
.cat-tile strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--paper); }
.cat-tile span { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); font-style: italic; }

/* =========================================================================
   Карточка образца (герой продукта)
   ========================================================================= */

.specimen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 20px;
}

.specimen-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.specimen-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.specimen-card::before,
.specimen-card::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--gold-dim);
  opacity: .8;
}
.specimen-card::before { top: 10px; left: 10px; border-top: 1px solid; border-left: 1px solid; }
.specimen-card::after { bottom: 10px; right: 10px; border-bottom: 1px solid; border-right: 1px solid; }

.specimen-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.specimen-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 2px 7px;
  border-radius: 3px;
}

.specimen-illustration {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 14px;
  position: relative;
}
.specimen-illustration svg { width: 84px; height: 84px; color: var(--green); }
.specimen-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin: 6px 0;
}
.specimen-card.out-of-stock .specimen-illustration svg { color: var(--text-faint); }

.specimen-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--paper);
  line-height: 1.25;
}
.specimen-latin {
  font-style: italic;
  color: var(--text-faint);
  font-size: 13px;
  margin: 3px 0 10px;
}

.specimen-short {
  color: var(--text-muted);
  font-size: 13.5px;
  flex-grow: 1;
  margin-bottom: 14px;
}

.specimen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  gap: 10px;
}
.specimen-price {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.specimen-price .old {
  font-size: 12.5px;
  color: var(--text-faint);
  text-decoration: line-through;
}
.specimen-oos-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

/* =========================================================================
   Каталог: фильтры
   ========================================================================= */

.page-header {
  padding: 46px 0 30px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 40px;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  color: var(--text-muted);
  transition: all .2s;
}
.filter-pill:hover { border-color: var(--gold); color: var(--paper); }
.filter-pill.is-active { background: var(--green-dim); border-color: var(--green-dim); color: var(--paper); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
}

/* =========================================================================
   Товар (одна страница)
   ========================================================================= */

.product-view {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding: 48px 0 80px;
}
@media (min-width: 880px) { .product-view { grid-template-columns: 0.85fr 1.15fr; } }

.product-plate {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-panel);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px;
}
.product-plate svg { width: 55%; height: 55%; color: var(--green); }
.product-plate .specimen-badge { position: absolute; top: 18px; left: 18px; }
.product-plate .plate-no {
  position: absolute; bottom: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-faint);
}

.product-info .specimen-latin { font-size: 15px; }
.product-info h1 { font-size: clamp(28px, 4vw, 38px); margin-top: 8px; }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0 6px;
}
.product-price {
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--paper);
}
.product-price .old {
  font-size: 16px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.stock-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.stock-line.out { color: var(--red-bright); }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.buy-row {
  display: flex;
  gap: 12px;
  margin: 26px 0 34px;
  flex-wrap: wrap;
}

.qty-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.qty-input button {
  background: transparent;
  border: none;
  color: var(--paper);
  width: 40px; height: 46px;
  font-size: 18px;
}
.qty-input button:hover { background: var(--bg-raised); }
.qty-input input {
  width: 46px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--paper);
  font-family: var(--font-mono);
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  height: 46px;
}

.product-desc { color: var(--text-muted); margin-bottom: 30px; }
.product-desc p { margin: 0 0 14px; }

.care-table {
  border-top: 1px solid var(--line);
}
.care-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.care-row .label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.care-row .label svg { width: 16px; height: 16px; color: var(--gold); }
.care-row .val { color: var(--text); }

/* related */
.related-heading { margin: 60px 0 24px; }

/* =========================================================================
   Уход — вкладки/аккордеон
   ========================================================================= */

.care-basics {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 60px;
}
.basic-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
}
.basic-card svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 14px; }
.basic-card h3 { font-size: 17px; margin-bottom: 8px; }
.basic-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 19px;
  text-align: left;
}
.accordion-trigger .genus-latin {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  font-style: italic;
  font-weight: 400;
  margin-left: 12px;
}
.accordion-trigger .plus { font-size: 22px; color: var(--gold); transition: transform .2s; flex-shrink: 0; margin-left: 16px;}
.accordion-item.is-open .plus { transform: rotate(45deg); }
.accordion-panel {
  display: none;
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 68ch;
}
.accordion-item.is-open .accordion-panel { display: block; }

/* =========================================================================
   Доставка
   ========================================================================= */

.steps-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  margin: 40px 0 60px;
}
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
  background: var(--bg-panel);
}
.step-no {
  font-family: var(--font-mono);
  color: var(--red-bright);
  font-size: 13px;
  margin-bottom: 10px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

.method-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 60px;
  font-size: 14.5px;
}
.method-table th, .method-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.method-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 400;
}
.method-table td { color: var(--text-muted); }
.method-table td:first-child { color: var(--paper); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* =========================================================================
   Корзина / Оформление
   ========================================================================= */

.cart-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 80px;
}
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.5fr 1fr; } }

.cart-line {
  display: grid;
  grid-template-columns: 60px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-panel);
}
.cart-line-icon svg { width: 30px; height: 30px; color: var(--green); }
.cart-line-name { font-family: var(--font-display); font-size: 16px; color: var(--paper); }
.cart-line-latin { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); font-style: italic; }
.cart-line-price { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.cart-line-sum { font-family: var(--font-mono); font-size: 15px; color: var(--paper); white-space: nowrap; }
.cart-remove {
  background: none; border: none; color: var(--text-faint);
  font-family: var(--font-mono); font-size: 12px;
  text-decoration: underline;
}
.cart-remove:hover { color: var(--red-bright); }

.qty-input--small { }
.qty-input--small button { width: 30px; height: 34px; font-size: 15px; }
.qty-input--small input { width: 36px; height: 34px; font-size: 13px; }

.summary-box {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  align-self: start;
  position: sticky;
  top: 100px;
}
.summary-box h3 { font-size: 19px; margin-bottom: 18px; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 14.5px; color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.summary-row.total {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 18px;
  border-bottom: none;
  padding-top: 16px;
}
.summary-note { font-size: 12.5px; color: var(--text-faint); margin: 10px 0 20px; }

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty svg { width: 60px; height: 60px; color: var(--text-faint); margin: 0 auto 20px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }

/* Форма */
.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  color: var(--paper);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--gold-dim);
  outline-offset: 1px;
  border-color: var(--gold-dim);
}
.field textarea { resize: vertical; min-height: 90px; }
.radio-group { display: flex; gap: 14px; flex-wrap: wrap; }
.radio-option {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s;
}
.radio-option:has(input:checked) { border-color: var(--gold); color: var(--gold); }

.form-error {
  background: rgba(181,67,58,0.12);
  border: 1px solid var(--red-dim);
  color: var(--red-bright);
  padding: 14px 16px;
  border-radius: var(--radius-s);
  font-size: 14px;
  margin-bottom: 24px;
}

.success-box {
  text-align: center;
  padding: 70px 20px;
  max-width: 520px;
  margin: 0 auto;
}
.success-icon {
  width: 68px; height: 68px;
  border: 1px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--green);
}
.success-order-no {
  font-family: var(--font-mono);
  color: var(--gold);
  margin: 14px 0 30px;
  font-size: 15px;
}

/* =========================================================================
   Трастовая панель / О нас
   ========================================================================= */

.trust-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
  border-radius: var(--radius-m);
  overflow: hidden;
}
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  background: var(--bg-panel);
  padding: 28px 22px;
}
.trust-item svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; }
.trust-item h4 { font-size: 15.5px; margin-bottom: 6px; color: var(--paper); font-family: var(--font-body); font-weight: 700;}
.trust-item p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

.about-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid h2 { font-size: clamp(26px,3.4vw,34px); margin-bottom: 18px; }
.about-grid p { color: var(--text-muted); margin: 0 0 16px; }

.timeline { border-left: 1px solid var(--line-strong); padding-left: 24px; margin-top: 30px; }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px; top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-year { font-family: var(--font-mono); font-size: 12px; color: var(--gold); }
.timeline-item h4 { font-size: 15px; margin: 4px 0 4px; color: var(--paper); font-family: var(--font-body); }
.timeline-item p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

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

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px;}
.contact-info-item strong { display: block; color: var(--paper); font-size: 15px; margin-bottom: 3px; }
.contact-info-item span { color: var(--text-muted); font-size: 14px; }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 30px;
  background: var(--bg-panel);
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* =========================================================================
   Toast / уведомления
   ========================================================================= */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--bg-raised);
  border: 1px solid var(--gold-dim);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: var(--radius-s);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast svg { width: 18px; height: 18px; color: var(--green); }

/* =========================================================================
   404
   ========================================================================= */
.notfound {
  text-align: center;
  padding: 120px 20px;
}
.notfound .code {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-faint);
}
.notfound h1 { font-size: clamp(40px, 8vw, 90px); margin: 10px 0 20px; }

/* Доступность: фокус */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
