/* ==========================================================================
   trashroom.cnguoke.cn — Suzhou Aoshang Public Facilities Co., Ltd
   ========================================================================== */
:root {
  --navy-900: #0a1c2e;
  --navy-800: #0f2740;
  --navy-700: #16324f;
  --accent: #e8772e;
  --accent-dark: #c85f1a;
  --accent-soft: #fdf1e7;
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e3e9f0;
  --text: #1c2a38;
  --muted: #5a6b7d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 39, 64, .10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy-800); }
p { margin: 0 0 12px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--navy-800);
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgba(10, 28, 46, .08); }
.topbar { background: var(--navy-900); color: #cfd9e4; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.header-inner { display: flex; align-items: center; gap: 26px; padding: 12px 20px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 136px; height: 76px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name strong { font-size: 19px; color: var(--navy-800); letter-spacing: .2px; }
.brand-name span { font-size: 12.5px; color: var(--muted); }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 14px; color: var(--navy-800);
  font-weight: 600; font-size: 15.5px; border-radius: 8px;
}
.main-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
.main-nav a.active { color: var(--accent-dark); background: var(--accent-soft); }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 10px; cursor: pointer; line-height: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 4px 0; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: 15.5px; border: 2px solid transparent;
  cursor: pointer; transition: .2s; text-align: center; font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary, .btn-accent { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--navy-800); border-color: #b9c6d4; }
.btn-ghost-dark:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }
.btn-lg { padding: 14px 30px; font-size: 16.5px; }

/* --------------------------------------------------------------------------
   Hero (главная)
   -------------------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(105deg, rgba(10, 28, 46, .93) 0%, rgba(10, 28, 46, .62) 48%, rgba(10, 28, 46, .30) 100%),
    url("/img/banner.jpg") center / cover no-repeat;
  color: #fff; padding: 104px 0 112px;
}
.hero-eyebrow { color: #ffb27d; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; font-size: 13.5px; margin: 0 0 14px; }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5vw, 54px);
  max-width: 840px; margin: 0 0 18px; line-height: 1.15; letter-spacing: .2px;
}
.hero-sub { font-size: clamp(16px, 1.6vw, 18.5px); color: #dbe5ee; max-width: 760px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 30px 0 0; }
.hero-points li {
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .28);
  padding: 7px 15px; border-radius: 999px; font-size: 14px; color: #eef3f8;
}

/* --------------------------------------------------------------------------
   Полоса статистики
   -------------------------------------------------------------------------- */
.stats { background: var(--navy-800); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats-grid strong { display: block; font-size: clamp(24px, 3vw, 32px); color: #ffb27d; line-height: 1.2; }
.stats-grid span { font-size: 14.5px; color: #b9c7d4; }

/* --------------------------------------------------------------------------
   Секции
   -------------------------------------------------------------------------- */
.section { padding: 76px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 28px; text-align: left; }
.eyebrow {
  display: inline-block; color: var(--accent-dark); font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin: 0 0 10px;
}
.sec-title { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.sec-sub { color: var(--muted); margin: 0; font-size: 16.5px; }
.center-actions { text-align: center; margin: 36px 0 0; }

/* --------------------------------------------------------------------------
   Сплиты, карточки
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; height: auto; }
.ticks { list-style: none; padding: 0; margin: 16px 0 24px; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.ticks.big li { margin-bottom: 14px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 18px rgba(15, 39, 64, .06);
}
.card h3 { margin: 4px 0 10px; font-size: 18.5px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.adv-card { border-top: 3px solid var(--accent); }
.adv-num { color: var(--accent-dark); font-weight: 800; font-size: 15px; letter-spacing: 1px; margin: 0 0 6px; }
.slogan-card { display: flex; align-items: center; min-height: 110px; }
.slogan-card p { color: var(--navy-800); font-weight: 600; font-size: 15.5px; }

/* --------------------------------------------------------------------------
   Карточки продукции
   -------------------------------------------------------------------------- */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .25s;
  box-shadow: 0 6px 18px rgba(15, 39, 64, .06);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 39, 64, .13); }
.card-media { display: block; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { color: var(--accent-dark); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin: 0; }
.card-body h3 { margin: 0; font-size: 18.5px; }
.card-body h3 a { color: var(--navy-800); }
.card-text { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.card-more { font-weight: 700; font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Фильтр каталога
   -------------------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filter-chip {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--navy-800);
  cursor: pointer; transition: .2s; font-family: inherit;
}
.filter-chip span { color: var(--muted); font-weight: 700; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-chip.active span { color: #ffe3cf; }
.catalog-note { margin: 30px 0 0; color: var(--muted); text-align: center; }

/* --------------------------------------------------------------------------
   Процесс (шаги)
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: 0; }
.step-num {
  min-width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; flex: none;
}
.step h3 { margin: 2px 0 6px; font-size: 17.5px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 46px 18px 22px; font-weight: 700;
  color: var(--navy-800); list-style: none; position: relative; font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--accent); transition: .2s; font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--text); }
.faq-item .faq-a p { margin: 0; }

/* --------------------------------------------------------------------------
   CTA-полоса
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 56px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cta-inner p { margin: 0; color: #c9d6e2; max-width: 620px; }

/* --------------------------------------------------------------------------
   Формы
   -------------------------------------------------------------------------- */
.form-wrap { padding-top: 70px; padding-bottom: 70px; }
.form-card {
  max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow);
}
.form-card h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 28px); }
.form-sub { color: var(--muted); margin: 0 0 24px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14.5px; }
.field em { color: #d64545; font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #ccd6e0; border-radius: 10px;
  font: inherit; font-size: 15.5px; background: #fbfcfe; color: var(--text);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 119, 46, .15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.form-status { margin: 14px 0 0; color: #b42323; font-weight: 600; }

/* Honeypot-поле: скрыто визуально, но доступно ботам */
.hp-wrap {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}

.product-top { padding-top: 44px; }

.form-success { text-align: center; padding: 26px 10px 6px; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #e7f6ec; color: #1e7c3a;
  font-size: 34px; font-weight: 800; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 14px;
}
.form-success h3 { margin: 0 0 8px; font-size: 22px; }
.form-success p { color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Внутренние страницы
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 54px 0 62px;
}
.page-hero h1 { color: #fff; margin: 8px 0 10px; font-size: clamp(28px, 4vw, 40px); }
.page-hero p { color: #c9d6e2; max-width: 780px; margin: 0; font-size: 16.5px; }
.breadcrumbs { font-size: 13.5px; color: #a9bacb; margin: 0 0 8px; }
.breadcrumbs a { color: #d7e2ec; }
.breadcrumbs.dark { color: var(--muted); margin: 0 0 26px; }
.breadcrumbs.dark a { color: var(--accent-dark); }

.stats-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px;
}
.stats-mini > div { background: var(--navy-800); color: #fff; border-radius: 12px; padding: 14px 10px; text-align: center; }
.stats-mini strong { display: block; color: #ffb27d; font-size: 20px; }
.stats-mini span { font-size: 12.5px; color: #b9c7d4; }

/* --------------------------------------------------------------------------
   Страница товара
   -------------------------------------------------------------------------- */
.product-detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.product-media img {
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.product-intro .card-cat { font-size: 13px; }
.product-intro h1 { margin: 6px 0 12px; font-size: clamp(26px, 3.6vw, 38px); }
.lead { color: var(--muted); font-size: 17px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.prose p { font-size: 16px; color: var(--text); }
.prose { max-width: 860px; }

.spec-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(15, 39, 64, .06);
}
.spec-table th, .spec-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  text-align: left; font-size: 15px; vertical-align: top;
}
.spec-table th { width: 38%; color: var(--navy-800); background: #f2f6fa; font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.combo-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 14.5px; font-weight: 600; color: var(--navy-800);
}
.chips.geo li { padding: 12px 22px; font-size: 15.5px; background: #fff; box-shadow: 0 4px 12px rgba(15, 39, 64, .05); }

/* --------------------------------------------------------------------------
   Контакты
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card h3 { margin: 0 0 8px; font-size: 17.5px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.info-card strong { color: var(--navy-800); }
.muted { color: var(--muted); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.err-page { padding: 90px 0; text-align: center; }
.err-code { font-size: clamp(64px, 10vw, 110px); font-weight: 800; color: var(--accent); margin: 0; line-height: 1; }
.err-page h1 { margin: 12px 0 10px; font-size: clamp(26px, 4vw, 36px); }

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #b9c7d4; padding-top: 56px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b9c7d4; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 14.5px; }
.footer-brand img { width: 120px; height: 67px; object-fit: contain; background: #fff; padding: 6px; border-radius: 8px; margin-bottom: 14px; }
.footer-en { color: #8fa2b5; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13.5px; text-align: center; color: #8fa2b5; }

/* --------------------------------------------------------------------------
   Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .product-detail-grid, .combo-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .header-cta { display: none; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(10, 28, 46, .12);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav a { padding: 12px 24px; border-radius: 0; }
  .topbar-right { display: none; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand img { width: 112px; height: 63px; }
  .brand-name strong { font-size: 16.5px; }
  .form-card { padding: 26px 20px; }
}
