:root {
  --bg: #101114;
  --bg-soft: #17191f;
  --panel: #f7f2ea;
  --panel-2: #fffaf2;
  --text: #f8f2e8;
  --muted: #bdb4a7;
  --ink: #202126;
  --orange: #d86b22;
  --orange-2: #ffad32;
  --yellow: #ffe05c;
  --green: #27c36a;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 173, 50, 0.20), transparent 34%),
    linear-gradient(120deg, rgba(16, 17, 20, 0.98), rgba(16, 17, 20, 0.84)),
    #101114;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 17, 20, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #181818;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border-radius: 6px;
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.footer a:hover,
.inline-link:hover {
  color: var(--yellow);
}

.inline-link {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.top-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}

.top-cta,
.button.primary {
  color: #151515;
  background: linear-gradient(135deg, var(--yellow), var(--orange-2));
  border-color: transparent;
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(46px, 7vw, 88px) clamp(18px, 4vw, 64px) 40px;
}

.hero-copy {
  max-width: 870px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 23px;
  line-height: 1.12;
}

.hero-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.hero-tags span {
  padding: 11px 13px;
  color: #171717;
  background: var(--panel);
  border-left: 4px solid var(--orange-2);
  border-radius: 6px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 790px;
}

.hero-stats div,
.approach-grid article,
.price-card,
.case-card,
.about-panel,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  color: var(--yellow);
  font-size: 30px;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 224, 92, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(216, 107, 34, 0.30), rgba(255, 224, 92, 0.05)),
    #202126;
  box-shadow: var(--shadow);
}

.portrait {
  height: clamp(440px, 56vw, 680px);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
  filter: saturate(1.08) contrast(1.03);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(16, 17, 20, 0.82)),
    linear-gradient(90deg, rgba(216, 107, 34, 0.18), transparent 40%);
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(16, 17, 20, 0.72);
  backdrop-filter: blur(12px);
}

.portrait-caption span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-2);
  font-weight: 900;
}

.portrait-caption strong {
  font-size: 20px;
  line-height: 1.25;
}

.section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 64px);
}

.section-head {
  max-width: 920px;
  margin-bottom: 30px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.approach-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.approach-grid article {
  min-height: 250px;
  padding: 24px;
}

.approach-grid article > span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
}

.approach-grid p,
.price-card p,
.about-text p,
.about-panel,
.faq-list p,
.contact-copy p,
.pricing-note,
.small-note {
  color: var(--muted);
  line-height: 1.55;
}

.cases {
  background:
    linear-gradient(180deg, rgba(255, 224, 92, 0.05), transparent),
    #15171d;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 22px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(150deg, rgba(255, 224, 92, 0.18), rgba(216, 107, 34, 0.06) 46%, rgba(255, 255, 255, 0.04)),
    #1b1e25;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 224, 92, 0.65);
}

.case-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(255, 224, 92, 0.13);
  transform: rotate(20deg);
}

.case-card .case-name {
  display: block;
  max-width: 82%;
  min-height: 48px;
  color: var(--orange-2);
  font-weight: 900;
  text-transform: uppercase;
}

.case-card strong {
  display: block;
  margin: 28px 0 6px;
  font-size: 42px;
  line-height: 1;
}

.case-card .case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.case-card .case-meta span {
  padding: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.case-card .case-meta b {
  display: block;
  color: var(--text);
  font-size: 17px;
}

.services {
  background: var(--panel);
  color: var(--ink);
}

.services .eyebrow {
  color: var(--orange);
}

.services .section-head p,
.services .price-card p,
.services .pricing-note,
.services .small-note {
  color: #696157;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 28px;
  color: var(--ink);
  background: var(--panel-2);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 50px rgba(33, 25, 16, 0.12);
}

.price-card.featured {
  background: #171717;
  color: var(--text);
  border-color: rgba(255, 176, 46, 0.55);
}

.price-card.featured p,
.price-card.featured li {
  color: #d7d0c5;
}

.price-label {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 34px;
}

.price-fit {
  min-height: 96px;
}

.price-card ul,
.about-panel ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  line-height: 1.45;
}

.small-note {
  min-height: 66px;
  font-size: 14px;
}

.price-button {
  width: 100%;
  margin-top: 16px;
  color: var(--ink);
  background: #fff;
  border-color: rgba(0, 0, 0, 0.16);
}

.pricing-note {
  margin-top: 18px;
}

.process {
  background: #101114;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 230px;
  padding: 18px;
  border-top: 3px solid var(--orange-2);
  background: rgba(255, 255, 255, 0.055);
}

.timeline span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  color: #151515;
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.timeline p {
  color: var(--muted);
  line-height: 1.42;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.about-panel {
  padding: 28px;
}

.about-panel h3 {
  color: var(--yellow);
}

.about-panel p {
  margin-top: 20px;
  color: var(--orange-2);
  font-weight: 800;
}

.faq {
  background: #171a20;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 1060px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 850;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact {
  background:
    linear-gradient(135deg, rgba(255, 224, 92, 0.08), transparent 42%),
    #101114;
}

.contact-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.contact-steps li {
  position: relative;
  min-height: 54px;
  padding: 15px 16px 15px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-weight: 850;
  line-height: 1.35;
  counter-increment: step;
}

.contact-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 13px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #151515;
  font-weight: 900;
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 224, 92, 0.10), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 224, 92, 0.62);
}

.contact-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.contact-card small {
  color: var(--muted);
  font-size: 14px;
}

.contact-card.avito,
.contact-card.whatsapp {
  background:
    linear-gradient(135deg, rgba(255, 224, 92, 0.18), rgba(216, 107, 34, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.requisites {
  background: #15171d;
}

.requisites-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 224, 92, 0.32);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 224, 92, 0.10), transparent 48%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.requisites-info {
  padding: clamp(24px, 4vw, 38px);
}

.requisites-info dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.requisites-info dl div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.requisites-info dt {
  margin-bottom: 6px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requisites-info dd {
  margin: 0;
  color: var(--text);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.2;
  word-break: break-word;
}

.requisites-info p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.requisites-qr {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
}

.requisites-qr img {
  width: min(250px, 100%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(33, 25, 16, 0.16);
}

.requisites-qr span {
  color: var(--ink);
  font-weight: 900;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.legal-page {
  background:
    radial-gradient(circle at 74% 0%, rgba(255, 173, 50, 0.18), transparent 34%),
    linear-gradient(120deg, rgba(16, 17, 20, 0.98), rgba(16, 17, 20, 0.88)),
    #101114;
}

.legal-hero {
  padding: clamp(48px, 7vw, 94px) clamp(18px, 4vw, 64px) clamp(32px, 5vw, 58px);
}

.legal-hero h1 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 112px);
}

.legal-hero p:not(.eyebrow) {
  max-width: 900px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

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

.legal-content {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 64px) clamp(52px, 7vw, 96px);
}

.legal-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.legal-card a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-date {
  color: var(--orange-2) !important;
  font-weight: 900;
}

.legal-requisites dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.legal-requisites dl div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.legal-requisites dt {
  margin-bottom: 6px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-requisites dd {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  word-break: break-word;
}

.case-dialog {
  width: min(1180px, calc(100vw - 24px));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.case-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.dialog-close {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  min-height: 44px;
  color: #151515;
  border: 0;
  background: var(--yellow);
  font-weight: 900;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  color: var(--ink);
}

.dialog-copy .eyebrow {
  color: var(--orange);
}

.dialog-copy h3 {
  font-size: clamp(30px, 4vw, 52px);
}

.dialog-copy p {
  color: #5e574e;
  line-height: 1.55;
}

.dialog-stats {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.dialog-stats div {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.dialog-stats span {
  display: block;
  color: #766e63;
  font-size: 13px;
}

.dialog-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}

.dialog-shot {
  display: grid;
  align-content: center;
  min-height: 430px;
  padding: 14px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 224, 92, 0.20), transparent 55%),
    #fff;
}

.dialog-shot img {
  width: 100%;
  border-radius: 7px;
  box-shadow: 0 18px 50px rgba(33, 25, 16, 0.12);
}

.dialog-shot.is-empty img {
  display: none;
}

.dialog-shot p {
  display: none;
  margin: 0;
  color: #6a6258;
  font-weight: 800;
  text-align: center;
}

.dialog-shot.is-empty p {
  display: block;
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .approach-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .case-grid,
  .requisites-card,
  .legal-requisites dl,
  .dialog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    gap: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .top-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-stats,
  .approach-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .portrait {
    height: 430px;
  }

  .case-card {
    min-height: 235px;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
  }
}
