/* ==========================================================================
   SEO Трамплин — восстановленный сайт
   Палитра взята с оригинальных ассетов: красный логотипа и 3D-иконок
   (#e0322a), белый, светло-серый. Стили написаны с нуля: оригинальный CSS
   Тильды недоступен (сайт отдаёт HTTP 402, снимков в веб-архиве нет).
   ========================================================================== */

:root {
  --red: #e0322a;
  --red-dark: #b8241d;
  --red-soft: #fdeceb;
  --ink: #1c1c1e;
  --muted: #6b6f76;
  --line: #e7e9ee;
  --bg-soft: #f6f7f9;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(24, 28, 36, 0.07);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 26px; padding: 12px 22px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 62px; height: auto; }
.logo-text { font-weight: 800; font-size: 19px; color: var(--ink); line-height: 1.15; }
.logo-text span { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav > a, .nav .drop > span {
  color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer;
}
.nav > a:hover, .nav .drop:hover > span, .nav a.active { color: var(--red); }

.drop { position: relative; }
.drop-menu {
  position: absolute; top: 100%; left: -14px; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: none;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.drop-menu a:hover, .drop-menu a.active { background: var(--red-soft); color: var(--red); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-block; background: var(--red); color: #fff; font-weight: 700;
  font-size: 15px; padding: 13px 28px; border-radius: 10px; border: 2px solid var(--red);
  transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--red-dark); }
.btn-light:hover { background: var(--red-soft); border-color: var(--red-soft); color: var(--red-dark); }
.btn-block { display: block; text-align: center; }

/* ---------- герой ---------- */
.hero {
  background:
    radial-gradient(115% 130% at 88% 8%, #ff6a4d 0%, rgba(255, 106, 77, 0) 55%),
    linear-gradient(135deg, #d8291f 0%, #e8492c 55%, #f0703a 100%);
  color: #fff; padding: 74px 0 80px; overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.13; margin-bottom: 12px; letter-spacing: -.01em; }
.hero .sub { font-size: 23px; font-weight: 600; opacity: .95; margin-bottom: 20px; }
.hero p.lead { font-size: 17.5px; max-width: 540px; margin-bottom: 12px; color: #fff; opacity: .96; }
.hero .note {
  font-size: 13.5px; opacity: .82; margin-top: 20px; max-width: 520px;
  border-left: 3px solid rgba(255, 255, 255, .5); padding-left: 14px;
}
.hero .btn { margin-top: 18px; }
.hero-img {
  background: #fff; border-radius: 26px; padding: 10px;
  box-shadow: 0 24px 60px rgba(80, 12, 0, .3);
}
.hero-img img { border-radius: 18px; box-shadow: none; }
.hero-sm { padding: 56px 0; }
.hero-sm h1 { font-size: 38px; }
.hero-light { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); color: var(--ink); }
.hero-light .sub { color: var(--muted); opacity: 1; }
.hero-light p, .hero-light p.lead, .hero-light h1 { color: var(--ink); }
.hero-light p.lead { color: #4a4f57; }
.hero-light .note { color: var(--muted); opacity: 1; border-left-color: var(--red); }

/* ---------- секции ---------- */
.section { padding: 66px 0; }
.section-soft { background: var(--bg-soft); }
.section h2 { font-size: 32px; line-height: 1.2; margin-bottom: 14px; letter-spacing: -.01em; }
.section h2.center, .lead.center { text-align: center; }
.lead { font-size: 17px; color: var(--muted); max-width: 860px; margin-bottom: 30px; }
.lead.center { margin-left: auto; margin-right: auto; }

/* ---------- сетки и карточки ---------- */
.grid { display: grid; gap: 22px; }
.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: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 17.5px; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card-icon { width: 74px; height: 74px; object-fit: contain; margin-bottom: 16px; }
.card-photo { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; }

/* ---------- тарифы ---------- */
.tariff { display: flex; flex-direction: column; border-top: 4px solid var(--red); height: 100%; }
.tariff .t-name { font-weight: 800; font-size: 19px; }
.t-price { font-size: 27px; font-weight: 800; color: var(--red); margin: 6px 0 2px; }
.t-days { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.tariff ul { list-style: none; margin: 14px 0 18px; flex: 1; }
.tariff li {
  font-size: 14.5px; color: #3c4046; padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px solid #f1f3f6;
}
.tariff li:last-child { border-bottom: 0; }
.tariff li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--red);
}
.tariff .t-total { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.t-period { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-note {
  font-size: 14.5px; color: var(--muted); max-width: 900px;
  margin-top: 22px; padding: 16px 20px; background: var(--bg-soft); border-radius: 12px;
}
.price-note b { color: var(--ink); }

/* ---------- таблица «что входит в пакеты» ---------- */
.price-table-wrap { margin-top: 28px; overflow-x: auto; }
.price-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.price-table th, .price-table td {
  padding: 12px 18px; border-bottom: 1px solid #f1f3f6; font-size: 14.5px;
}
.price-table thead th {
  background: var(--bg-soft); font-weight: 800; color: var(--ink);
  text-align: center; white-space: nowrap;
}
.price-table thead th:first-child { text-align: left; }
.price-table thead th span { display: block; font-weight: 700; color: var(--red); font-size: 13.5px; }
.price-table tbody td { color: var(--muted); }
.price-table tbody td:not(:first-child) { text-align: center; width: 130px; }
.price-table td.yes { color: var(--red); font-weight: 800; }
.price-table td.no { color: #c9ced6; }
.price-table td.val { color: var(--ink); font-weight: 600; font-size: 14px; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:last-child td:first-child { font-weight: 700; color: var(--ink); }

/* ---------- этапы работ ---------- */
.stages { display: grid; gap: 20px; }
.stage {
  display: grid; grid-template-columns: 72px 1fr; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; box-shadow: var(--shadow);
}
.stage-num { font-size: 32px; font-weight: 800; color: var(--red); line-height: 1; }
.stage h3 { font-size: 19.5px; margin-bottom: 10px; }
.stage-items { list-style: none; margin: 0 0 14px; }
.stage-items li {
  font-size: 14.5px; color: var(--muted); padding: 5px 0 5px 20px; position: relative;
}
.stage-items li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--red);
}
.stage-result {
  font-size: 14px; color: var(--ink); background: var(--bg-soft);
  border-radius: 10px; padding: 12px 16px;
}
.stage-result b { color: var(--red); }

/* ---------- ярлык над заголовком ---------- */
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 14px; padding: 6px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff;
}
.hero-light .eyebrow { background: var(--red-soft); color: var(--red); }

/* ---------- списки ---------- */
.check-list { list-style: none; max-width: 900px; }
.check-list li {
  padding: 12px 0 12px 34px; position: relative; font-size: 15.5px;
  border-bottom: 1px solid var(--line);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 11px;
  color: var(--red); font-weight: 800;
}
/* ---------- вопрос-ответ ---------- */
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq-item summary {
  font-weight: 700; font-size: 16px; cursor: pointer; list-style: none;
  position: relative; padding-right: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: -3px;
  color: var(--red); font-size: 24px; font-weight: 700; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.faq-item p + p { margin-top: 8px; }
.faq-item ul { margin: 10px 0 0 20px; color: var(--muted); font-size: 15px; }
.faq-item li { margin-bottom: 6px; }

/* ---------- кейсы ---------- */
.cases { display: grid; gap: 26px; }
.case {
  display: grid; grid-template-columns: minmax(0, 42%) 1fr;
  padding: 0; overflow: hidden; align-items: stretch;
}
.case > img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-right: 1px solid var(--line);
}
.case-body { padding: 28px 32px; display: flex; flex-direction: column; }
.case-body h3 { font-size: 21px; margin-bottom: 12px; color: var(--red); }
.case-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.case-body p.meta strong { color: var(--ink); }
.case-body p.term { font-weight: 700; color: var(--ink); }
.case-body .btn { margin-top: 18px; align-self: flex-start; }

/* список работ в кейсе — каждый пункт с новой строки */
.steps { list-style: none; margin: 2px 0 12px; }
.steps li { font-size: 14.5px; color: #4a4f57; padding: 6px 0 6px 22px; position: relative; }
.steps li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--red);
}
.steps li.sub { padding-left: 44px; }
.steps li.sub::before { left: 26px; background: #c3c9d2; }

/* ---------- о нас ---------- */
.about-top { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.about-photo { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-facts { list-style: none; }
.about-facts li { padding: 9px 0 9px 30px; position: relative; font-size: 15.5px; }
.about-facts li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--red);
}

/* ---------- подвал ---------- */
.footer { background: #191b1f; color: #9aa0a9; padding: 34px 0; font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer a { color: #d7dbe1; }
.footer a:hover { color: #fff; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-requisites { font-size: 12.5px; opacity: .7; }

/* ---------- адаптив ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 38px; }
  .hero-img { max-width: 440px; }
  .about-top { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .case { grid-template-columns: 1fr; }
  .case > img { height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stage { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .stage-num { font-size: 26px; }
}
@media (max-width: 700px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-in { flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 10px 18px; }
  .logo img { width: 46px; }
  .logo-text { font-size: 16px; }
  .logo-text span { font-size: 10px; }
  .section { padding: 48px 0; }
  .section h2 { font-size: 26px; }
  .hero { padding: 44px 0 50px; }
  .hero h1 { font-size: 27px; }
  .hero .sub { font-size: 18px; }
  .hero-in { gap: 24px; }
  .hero-img { padding: 6px; border-radius: 20px; }
  .hero-img img { border-radius: 14px; }
  .hero p.lead { font-size: 16px; }
  .card { padding: 20px; }
}
@media (max-width: 420px) {
  .container { padding: 0 15px; }
  .logo-text span { display: none; }
  .hero h1 { font-size: 24px; }
  .btn { padding: 11px 20px; font-size: 14px; }
  .btn-sm { padding: 8px 13px; font-size: 12.5px; }
}
