/* ═══════════════ RUGPLANET — СТИЛИ ═══════════════ */
:root {
  --bg: #12100e;
  --bg-soft: #171412;
  --card: #1d1915;
  --card-2: #241f1a;
  --line: #2e2721;
  --text: #f0e8dc;
  --muted: #a89d8d;
  --accent: #d96f4c;
  --accent-2: #e8b04b;
  --grad: linear-gradient(100deg, #d96f4c, #e8b04b);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font-head: Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(28px, 4vw, 44px); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ─────────── Кнопки ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-primary { background: var(--grad); color: #1b120c; box-shadow: 0 10px 30px rgba(217, 111, 76, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(217, 111, 76, .5); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-3px); }
.btn-light { background: #fff; color: #1b120c; }
.btn-light:hover { transform: translateY(-3px) scale(1.03); }
.btn-block { width: 100%; }

/* ─────────── Прелоадер ─────────── */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .5s, visibility .5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader p { font-family: var(--font-head); letter-spacing: 4px; color: var(--muted); }
.preloader-rug { display: flex; gap: 6px; }
.preloader-rug span {
  width: 10px; height: 46px; border-radius: 6px; background: var(--grad);
  animation: weave 1s ease-in-out infinite;
}
.preloader-rug span:nth-child(2) { animation-delay: .1s; }
.preloader-rug span:nth-child(3) { animation-delay: .2s; }
.preloader-rug span:nth-child(4) { animation-delay: .3s; }
.preloader-rug span:nth-child(5) { animation-delay: .4s; }
@keyframes weave { 0%,100% { transform: scaleY(.4); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ─────────── Шапка ─────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(18, 16, 14, .85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.logo-icon { font-size: 26px; animation: spinSlow 14s linear infinite; display: inline-block; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.logo em { font-style: normal; color: var(--accent-2); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); background: rgba(217, 111, 76, .16); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  color: var(--accent-2); transition: opacity .2s;
}
.header-phone:hover { opacity: .8; }
.cart-btn { position: relative; padding: 9px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; display: flex; }
.cart-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 30% { transform: scale(1.2); } }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px;
  border-radius: 999px; background: var(--grad); color: #1b120c;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ─────────── Hero ─────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: blobFloat 14s ease-in-out infinite; }
.blob-1 { width: 480px; height: 480px; background: #7a3b22; top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #8a6420; bottom: -100px; left: -100px; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: #58301c; top: 40%; left: 55%; animation-delay: -9s; }
@keyframes blobFloat { 0%,100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -50px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.95); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(240, 232, 220, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 232, 220, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; max-width: 900px; }
.hero-badge {
  display: inline-block; padding: 9px 20px; border-radius: 999px; font-size: 14px;
  border: 1px solid rgba(232, 176, 75, .4); color: var(--accent-2);
  background: rgba(232, 176, 75, .08); margin-bottom: 26px;
}
.hero-title { font-size: clamp(38px, 6.4vw, 72px); margin-bottom: 24px; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hero-sub b { color: var(--accent-2); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid var(--line); padding-top: 40px;
}
.stat-num, .stat-plus { font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; color: var(--accent-2); }
.stat-plus { font-size: clamp(18px, 2vw, 24px); margin-left: 3px; }
.stat p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.scroll-down {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid var(--muted); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px; opacity: .7;
}
.scroll-down span { width: 4px; height: 10px; border-radius: 4px; background: var(--accent-2); animation: scrollDot 1.6s ease infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ─────────── Бегущая строка ─────────── */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-soft); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 16px 0; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; color: var(--muted); font-size: 15px; letter-spacing: .5px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────── Секции: заголовки ─────────── */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-head p { color: var(--muted); margin-top: 14px; }

/* ─────────── Преимущества ─────────── */
.features { padding-bottom: 30px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(217, 111, 76, .5); box-shadow: var(--shadow); }
.feature-icon { font-size: 34px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ─────────── Каталог ─────────── */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filter-chip {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  color: var(--muted); font-size: 15px; transition: .25s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--text); }
.filter-chip.active { background: var(--grad); border-color: transparent; color: #1b120c; font-weight: 600; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rug-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s, border-color .35s, opacity .3s;
  animation: cardIn .5s ease both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.rug-card:hover { transform: translateY(-8px); border-color: rgba(232, 176, 75, .45); box-shadow: var(--shadow); }
.rug-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.rug-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.rug-card:hover .rug-img img { transform: scale(1.08) rotate(.6deg); }
.rug-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: rgba(18, 16, 14, .8); backdrop-filter: blur(6px);
  color: var(--accent-2); border: 1px solid rgba(232, 176, 75, .35);
}
.rug-badge.hit { background: var(--grad); color: #1b120c; border: none; }
.rug-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rug-name { font-family: var(--font-head); font-size: 19px; }
.rug-meta { color: var(--muted); font-size: 13.5px; }
.rug-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.rug-price { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent-2); }
.rug-add {
  padding: 10px 18px; border-radius: 999px; background: rgba(217, 111, 76, .14);
  border: 1px solid rgba(217, 111, 76, .4); color: var(--accent-2); font-weight: 600; font-size: 14px;
  transition: .25s;
}
.rug-add:hover { background: var(--grad); color: #1b120c; border-color: transparent; }
.rug-add.added { background: #3f7a4d; border-color: transparent; color: #eafbe9; }

/* ─────────── Кастом ─────────── */
.custom { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.custom-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.custom-lead { color: var(--muted); margin: 18px 0 22px; }
.custom-lead b { color: var(--accent-2); }
.custom-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.custom-list li { padding-left: 30px; position: relative; color: var(--muted); }
.custom-list li b { color: var(--text); }
.custom-list li::before { content: '✦'; position: absolute; left: 0; color: var(--accent); }
.tabs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.tabs-nav { display: flex; border-bottom: 1px solid var(--line); }
.tab-btn { flex: 1; padding: 14px; color: var(--muted); font-weight: 600; font-size: 15px; transition: .2s; position: relative; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent-2); background: rgba(232, 176, 75, .07); }
.tab-btn.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); }
.tab-pane { display: none; padding: 22px; color: var(--muted); font-size: 15px; animation: fadeIn .35s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.custom-calc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: sticky; top: 100px; box-shadow: var(--shadow);
}
.custom-calc h3 { font-size: 24px; margin-bottom: 22px; }
.calc-label { display: block; margin-bottom: 20px; font-size: 14.5px; color: var(--muted); }
.calc-label output { color: var(--accent-2); font-weight: 700; }
.calc-label input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--accent); }
.calc-label select {
  width: 100%; margin-top: 10px; padding: 12px; border-radius: 12px;
  background: var(--card-2); color: var(--text); border: 1px solid var(--line); font: inherit;
}
.calc-note { background: var(--card-2); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.calc-note b { color: var(--accent-2); }
.calc-hint { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

/* ─────────── Таймлайн ─────────── */
.timeline { max-width: 720px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2), transparent);
}
.tl-item { display: flex; gap: 26px; padding: 20px 0; position: relative; }
.tl-num {
  flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--card);
  border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent-2);
  position: relative; z-index: 1;
}
.tl-body h3 { font-size: 21px; margin-bottom: 6px; }
.tl-body p { color: var(--muted); }

/* ─────────── Отзывы ─────────── */
.reviews { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.slider { position: relative; overflow: hidden; border-radius: var(--radius); }
.slider-track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.review-card {
  flex: 0 0 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 56px; text-align: center;
}
.review-stars { color: var(--accent-2); font-size: 20px; letter-spacing: 4px; margin-bottom: 18px; }
.review-card p { font-size: clamp(16px, 1.8vw, 19px); font-family: var(--font-head); font-style: italic; max-width: 640px; margin: 0 auto 22px; }
.review-author b { color: var(--accent-2); }
.review-author span { color: var(--muted); margin-left: 10px; font-size: 14px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; background: rgba(18, 16, 14, .7); border: 1px solid var(--line);
  font-size: 26px; line-height: 1; transition: .2s; z-index: 2; backdrop-filter: blur(6px);
}
.slider-arrow:hover { border-color: var(--accent); color: var(--accent-2); }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-dots { display: flex; gap: 8px; justify-content: center; padding: 18px 0 4px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: .25s; }
.slider-dots button.active { background: var(--accent-2); transform: scale(1.35); }

/* ─────────── FAQ ─────────── */
.faq-container { max-width: 760px; }
.acc-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden; transition: border-color .25s;
}
.acc-item[open] { border-color: rgba(217, 111, 76, .5); }
.acc-item summary {
  padding: 19px 52px 19px 22px; cursor: pointer; font-weight: 600; font-size: 16.5px;
  list-style: none; position: relative;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--accent); transition: transform .3s;
}
.acc-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc-item p { padding: 0 22px 20px; color: var(--muted); animation: fadeIn .3s ease; }

/* ─────────── CTA ─────────── */
.cta-banner { padding: 90px 0; background: var(--grad); color: #1b120c; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .25) 1.5px, transparent 1.5px);
  background-size: 26px 26px; opacity: .35;
}
.cta-inner { position: relative; }
.cta-inner p { margin: 14px 0 28px; font-size: 17px; opacity: .85; }
.cta-inner .btn { font-size: 20px; padding: 17px 40px; font-weight: 700; }

/* ─────────── Подвал ─────────── */
.footer { padding: 64px 0 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-col p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: var(--accent-2); }
.footer-col a { display: block; color: var(--muted); padding: 4px 0; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-col a.logo { display: flex; padding: 0; color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 24px; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ─────────── Корзина ─────────── */
.cart-overlay, .modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: .35s; z-index: 110;
}
.cart-overlay.open, .modal-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 120;
  background: var(--bg-soft); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 24px; }
.cart-close { font-size: 20px; color: var(--muted); transition: color .2s, transform .2s; }
.cart-close:hover { color: var(--text); transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; color: var(--muted); margin-top: 60px; }
.cart-empty .emoji { font-size: 44px; display: block; margin-bottom: 12px; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  animation: fadeIn .3s ease;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item .ci-design {
  width: 64px; height: 64px; border-radius: 10px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.ci-name { font-weight: 600; font-size: 14.5px; }
.ci-price { color: var(--accent-2); font-size: 14px; margin-top: 3px; }
.ci-qty { display: flex; align-items: center; gap: 8px; }
.ci-qty button {
  width: 26px; height: 26px; border-radius: 8px; background: var(--card-2);
  border: 1px solid var(--line); font-size: 15px; line-height: 1; transition: .2s;
}
.ci-qty button:hover { border-color: var(--accent); color: var(--accent-2); }
.ci-remove { color: var(--muted); font-size: 13px; margin-top: 5px; transition: color .2s; }
.ci-remove:hover { color: #e06c6c; }
.cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 19px; margin-bottom: 8px; }
.cart-total b { font-family: var(--font-head); font-size: 26px; color: var(--accent-2); }
.cart-note { color: var(--muted); font-size: 12.5px; margin-bottom: 16px; }

/* ─────────── Модалка оплаты ─────────── */
.modal-overlay { display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 130; }
.modal {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px;
  max-width: 430px; width: 100%; padding: 40px 34px; text-align: center; position: relative;
  transform: translateY(30px) scale(.96); transition: transform .4s cubic-bezier(.34, 1.4, .5, 1);
  box-shadow: var(--shadow);
}
.modal-overlay.open .modal { transform: none; }
.modal-close { position: absolute; top: 16px; right: 18px; color: var(--muted); font-size: 18px; transition: .2s; }
.modal-close:hover { color: var(--text); transform: rotate(90deg); }
.modal-icon { font-size: 52px; margin-bottom: 14px; animation: ring 2.2s ease infinite; display: inline-block; }
@keyframes ring { 0%,100% { transform: rotate(0); } 6% { transform: rotate(-16deg); } 12% { transform: rotate(12deg); } 18% { transform: rotate(-8deg); } 24% { transform: rotate(0); } }
.modal h3 { font-size: 26px; margin-bottom: 12px; }
.modal > p { color: var(--muted); margin-bottom: 20px; }
.modal-phone {
  display: block; font-family: var(--font-head); font-size: clamp(24px, 5vw, 30px); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px; transition: opacity .2s;
}
.modal-phone:hover { opacity: .8; }
.modal-hint { font-size: 13px !important; margin: 16px 0 0 !important; }

/* ─────────── Тосты ─────────── */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 140; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--card); border: 1px solid rgba(232, 176, 75, .4); color: var(--text);
  padding: 13px 26px; border-radius: 999px; font-size: 15px; box-shadow: var(--shadow);
  animation: toastIn .35s cubic-bezier(.34, 1.4, .5, 1), toastOut .3s ease 2.6s forwards;
  white-space: nowrap;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }

/* ─────────── Наверх ─────────── */
.to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #1b120c; font-size: 20px; font-weight: 700; z-index: 105;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .3s; box-shadow: 0 10px 26px rgba(217, 111, 76, .4);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ─────────── Появление при скролле ─────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─────────── Page fade-in ─────────── */
.page-fade { animation: pageFade .5s ease; }
@keyframes pageFade { from { opacity: 0; } }

/* ─────────── Page hero (subpages) ─────────── */
.page-hero { position: relative; padding: 170px 0 80px; overflow: hidden; }
.page-hero .blob { opacity: .35; }
.page-hero-inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); margin: 14px 0 18px; }
.page-hero p { color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }
.page-hero .hero-cta { margin: 30px 0 0; }
.notfound { padding: 200px 0 120px; }
.nf-emoji { font-size: 74px; animation: spinSlow 14s linear infinite; display: inline-block; }

/* ─────────── Home extras ─────────── */
.center-cta { text-align: center; margin-top: 44px; }
.teaser { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.teaser-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.teaser-text p { color: var(--muted); margin: 18px 0 26px; }
.teaser-text p b { color: var(--accent-2); }
.teaser-steps { display: flex; flex-direction: column; gap: 14px; }
.teaser-step {
  display: flex; align-items: center; gap: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-weight: 600;
  transition: transform .3s, border-color .3s;
}
.teaser-step:hover { transform: translateX(8px); border-color: rgba(232, 176, 75, .45); }
.teaser-step span {
  flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #1b120c;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 18px;
}
.teaser-tight { border-bottom: none; }
.teaser-tight .teaser-inner { grid-template-columns: 1fr; text-align: center; }
.teaser-tight .teaser-text p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─────────── Info / reviews extras ─────────── */
.info-grid, .contact-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.review-grid .review-stars { font-size: 16px; margin-bottom: 12px; }
.review-grid p { color: var(--muted); font-size: 14.5px; }
.review-name { margin-top: 12px; color: var(--accent-2) !important; font-weight: 600; }

/* ─────────── Contact page ─────────── */
.contact-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact-card p { margin: 0; }
.contact-card .btn { margin-top: 12px; padding: 11px 24px; font-size: 14px; }
.contact-big {
  display: block; font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-top: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-dim { color: var(--muted); font-size: 13.5px; }
.contact-note {
  max-width: 760px; margin: 48px auto 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 34px;
}
.contact-note h3 { margin-bottom: 12px; font-size: 21px; }
.contact-note p { color: var(--muted); }
.contact-note b { color: var(--accent-2); }

/* ─────────── Адаптив ─────────── */
@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-inner { grid-template-columns: 1fr; }
  .custom-calc { position: static; }
  .nav { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex; position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
    flex-direction: column; background: rgba(18, 16, 14, .97); backdrop-filter: blur(14px);
    padding: 18px 24px 26px; gap: 6px; border-bottom: 1px solid var(--line);
    animation: fadeIn .25s ease;
  }
  .header-phone span { display: none; }
}
@media (max-width: 680px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .teaser-inner { grid-template-columns: 1fr; gap: 30px; }
  .info-grid, .contact-grid, .review-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .review-card { padding: 34px 24px; }
  .section { padding: 64px 0; }
  .rug-foot { flex-direction: column; align-items: stretch; }
  .rug-add { text-align: center; }
}
@media (max-width: 440px) {
  .catalog-grid { grid-template-columns: 1fr; }
}
