/* =========================================================
   Copperатив — общий файл стилей
   ========================================================= */

:root {
  --copper:      #b4682e;
  --copper-dark: #8a4a1d;
  --copper-soft: #f4e6d9;
  --ink:         #1e1a16;
  --muted:       #6d655c;
  --bg:          #fbf8f4;
  --surface:     #ffffff;
  --line:        #e8dfd4;
  --radius:      14px;
  --max:         1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--copper-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 244, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #c97a3c, #8a4a1d);
  color: #fdf6ef;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  flex: none;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
.nav a:hover {
  background: var(--copper-soft);
  color: var(--copper-dark);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  background: var(--copper);
  color: #fff;
}

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

section { padding: 52px 0; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

h1 {
  font-size: clamp(30px, 5vw, 50px);
  margin: 0 0 18px;
  max-width: 20ch;
}

h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 12px;
}

h3 { font-size: 20px; margin: 0 0 8px; }

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.page-head { padding: 60px 0 0; }
.page-head h1 { max-width: 24ch; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--copper);
  background: var(--copper);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--copper-dark);
  border-color: #d9cbba;
}
.btn-ghost:hover {
  background: var(--copper-soft);
  border-color: var(--copper);
  color: var(--copper-dark);
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--copper-dark);
}
.btn-light:hover {
  background: #f5e9dd;
  border-color: #f5e9dd;
  color: #6f3d17;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Главный экран ---------- */

.hero { padding: 72px 0 0; }

.hero p.lead { font-size: 19px; }

/* ---------- Цифры ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--copper-dark);
}
.stat span {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Сетки и карточки ---------- */

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

.grid-wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card h3 { margin-bottom: 10px; }

.card .card-note {
  display: block;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--copper);
}

/* ---------- Списки ---------- */

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.list-check li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: var(--muted);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0.75;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Шаги ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.steps li {
  position: relative;
  padding: 20px 24px 20px 74px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 19px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--copper-soft);
  color: var(--copper-dark);
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Цитата ---------- */

.quote {
  margin: 0;
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
}
.quote p {
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.55;
}
.quote footer {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Таблица ---------- */

.table-wrap { overflow-x: auto; }

.price-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: #f7f1ea;
  font-weight: 700;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child { white-space: nowrap; font-weight: 600; }

/* ---------- Кейсы ---------- */

.case {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.case-cover {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.9);
}

.cover-a { background: linear-gradient(135deg, #b4682e, #6d3714); }
.cover-b { background: linear-gradient(135deg, #2f5d50, #16302a); }
.cover-c { background: linear-gradient(135deg, #3d4c74, #1c243e); }
.cover-d { background: linear-gradient(135deg, #8a4b5e, #47222f); }
.cover-e { background: linear-gradient(135deg, #6b6a2f, #37370f); }
.cover-f { background: linear-gradient(135deg, #3d6b8a, #1b3849); }

.case-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 24px 24px;
}

.case-tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.case h3 { margin: 0; font-size: 20px; }
.case p { margin: 0; font-size: 15.5px; color: var(--muted); }

.case-result {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 15px;
  color: var(--muted);
}
.case-result b { color: var(--copper-dark); }

/* ---------- Команда ---------- */

.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--copper-soft);
  color: var(--copper-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 14px;
}
.person h3 { margin: 0 0 2px; font-size: 18px; }
.person .role {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--copper);
}
.person p { margin: 0; font-size: 15.5px; color: var(--muted); }

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

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-list dt {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-list dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}
.contact-list dd a { color: var(--ink); font-weight: 600; }
.contact-list dd a:hover { color: var(--copper-dark); }

.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15.5px;
  color: var(--muted);
}
.req-list b { color: var(--ink); font-weight: 600; }

.prose p { margin: 0 0 16px; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Призыв к действию ---------- */

.cta-band {
  margin-top: 40px;
  padding: 46px 0;
  background: linear-gradient(135deg, #b4682e, #8a4a1d);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

/* ---------- Подвал ---------- */

.site-footer {
  margin-top: 60px;
  padding: 48px 0 26px;
  background: #241f1a;
  color: #cec5ba;
  font-size: 15px;
}

.site-footer .logo { color: #fff; }
.site-footer a { color: #f0e7dc; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.footer-about {
  margin: 14px 0 0;
  max-width: 34ch;
  color: #a49a8f;
  font-size: 14.5px;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9c9288;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: #cec5ba;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: #9c9288;
}

/* ---------- Мобильная версия ---------- */

@media (max-width: 780px) {
  body { font-size: 16.5px; }

  .header-inner { padding: 12px 20px; }
  .nav { width: 100%; }
  .nav ul { gap: 4px; }
  .nav a { padding: 7px 11px; font-size: 14px; }

  .hero { padding: 46px 0 0; }
  .hero p.lead { font-size: 17.5px; }
  .page-head { padding: 44px 0 0; }

  section { padding: 42px 0; }

  .stats { margin-top: 36px; gap: 18px; }
  .stat b { font-size: 27px; }

  .quote { padding: 24px; }
  .quote p { font-size: 17.5px; }

  .steps li { padding: 18px 20px 18px 64px; }
  .steps li::before { left: 18px; top: 17px; }

  .cta-band { padding: 38px 0; }
  .site-footer { margin-top: 46px; padding: 38px 0 22px; }
}

@media (max-width: 420px) {
  .btn { width: 100%; justify-content: center; }
  .hero-actions { gap: 10px; }
}
