:root {
  --paper: #f3f1ec;
  --paper-warm: #e7e3dc;
  --surface: #fffefa;
  --surface-soft: #ece9e2;
  --ink: #070707;
  --muted: #625f59;
  --black: #050505;
  --black-soft: #141311;
  --gold: #d9ad35;
  --gold-strong: #ad7f16;
  --gold-soft: #f4df9f;
  --silver: #d8d8d6;
  --silver-strong: #a7a7a4;
  --line: rgba(5, 5, 5, 0.13);
  --line-strong: rgba(5, 5, 5, 0.24);
  --shadow: 0 22px 55px rgba(5, 5, 5, 0.18);
  --shadow-soft: 0 14px 34px rgba(5, 5, 5, 0.1);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 0%, rgba(217, 173, 53, 0.16), transparent 30%),
    linear-gradient(180deg, #faf9f5 0%, var(--paper) 48%, #e6e2da 100%);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--gold-soft);
}

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

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

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto -84px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(217, 173, 53, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.88);
  box-shadow: 0 18px 42px rgba(5, 5, 5, 0.26);
  backdrop-filter: blur(16px);
}

.brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(76px, 8vw, 96px);
  height: 54px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: #050505;
  padding: 2px;
  border: 1px solid rgba(217, 173, 53, 0.42);
  box-shadow: 0 10px 24px rgba(5, 5, 5, 0.38);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.nav a {
  color: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover {
  color: #fffefa;
  background: rgba(217, 173, 53, 0.18);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 11px 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-header,
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(173, 127, 22, 0.24);
}

.btn-header:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #f1cf69, var(--gold));
  box-shadow: 0 16px 30px rgba(173, 127, 22, 0.32);
}

.btn-secondary {
  border-color: rgba(216, 216, 214, 0.7);
  color: var(--surface);
  background: rgba(255, 253, 247, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.16);
}

.btn-secondary:hover {
  background: rgba(217, 173, 53, 0.2);
  border-color: rgba(244, 223, 159, 0.95);
}

.hero {
  width: 100%;
  min-height: min(690px, calc(100svh - 54px));
  padding: 142px 0 72px;
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(5, 5, 5, 0.72) 54%, rgba(217, 173, 53, 0.3) 100%),
    url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
  color: var(--surface);
}

.hero-inner,
.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  gap: 34px;
  align-items: end;
}

.hero-content {
  max-width: 760px;
}

.hero-content h1 {
  margin: 10px 0 18px;
  max-width: 820px;
  line-height: 1.04;
  font-size: clamp(2.45rem, 5.8vw, 5.35rem);
  letter-spacing: 0;
}

.hero-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.brand-eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--surface);
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(217, 173, 53, 0.42);
}

.brand-eyebrow::after {
  content: "";
  width: 48px;
  height: 1px;
  align-self: center;
  margin-left: 14px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--gold-strong);
  font-weight: 900;
}

.hero .eyebrow {
  color: #f7d978;
}

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

.hero-trust {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-trust span {
  min-height: 76px;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 223, 159, 0.34);
  background: rgba(255, 253, 247, 0.11);
  color: rgba(255, 253, 247, 0.86);
  font-size: 0.88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-trust strong {
  display: block;
  margin-bottom: 3px;
  color: var(--surface);
  font-size: 1.08rem;
  line-height: 1.1;
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.panel-kicker,
.card-kicker {
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 12px 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.phone-preview {
  display: grid;
  place-items: center;
  margin: 22px 0 8px;
  min-height: 340px;
}

.phone-shell {
  width: min(245px, 78%);
  padding: 12px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, #050505, #1a1711 52%, #050505);
  border: 1px solid rgba(217, 173, 53, 0.42);
  box-shadow:
    0 24px 46px rgba(5, 5, 5, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2deg);
}

.phone-speaker {
  width: 58px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.phone-screen {
  overflow: hidden;
  border-radius: 24px;
  background: #fffefa;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phone-appbar {
  padding: 14px 14px 10px;
  background: linear-gradient(180deg, #050505, #15120d);
  color: #fffefa;
}

.phone-appbar span {
  display: block;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.phone-appbar strong {
  display: block;
  margin-top: 3px;
  font-size: 0.96rem;
  line-height: 1.15;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
}

.phone-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(5, 5, 5, 0.12);
}

.phone-upload {
  width: calc(100% - 20px);
  min-height: 34px;
  margin: 0 10px 12px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: var(--black);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.panel-flow {
  list-style: none;
  margin: 8px 0 2px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.panel-flow li {
  min-height: 44px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffefa, #f1ede4);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.18;
}

.panel-flow li span {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 7px 14px rgba(173, 127, 22, 0.22);
}

.panel-stats {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.panel-stats span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-stats strong {
  color: var(--black);
}

.section {
  padding: 70px 0;
}

.use-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 0;
  padding: 16px 18px 18px;
  border: 1px solid rgba(217, 173, 53, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.97), rgba(20, 17, 11, 0.97)),
    radial-gradient(circle at 88% 16%, rgba(217, 173, 53, 0.18), transparent 30%);
  color: var(--surface);
  box-shadow: 0 18px 44px rgba(5, 5, 5, 0.18);
}

.use-strip div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.use-strip span {
  min-height: 46px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(244, 223, 159, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.06);
  color: rgba(255, 253, 247, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.18;
}

.use-strip span::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(217, 173, 53, 0.7);
}

.use-strip p {
  margin: 14px 0 0;
  color: rgba(255, 253, 247, 0.74);
  font-size: 0.92rem;
  text-align: center;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.section-heading h2 {
  margin: 0;
  max-width: 850px;
  line-height: 1.12;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0;
}

.section > p,
.card p,
.benefits p {
  color: var(--muted);
}

.grid-2 {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card,
.benefits article,
.lead-form,
.steps {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: var(--shadow-soft);
}

.card {
  min-height: 240px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 5px solid var(--black);
  opacity: 0.9;
  pointer-events: none;
}

.card:nth-child(2)::before {
  border-top-color: var(--gold);
}

.card h3 {
  margin: 20px 0 10px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
}

.alt {
  width: min(calc(var(--max) + 44px), calc(100% - 32px));
  padding: 58px 22px;
  border: 1px solid rgba(215, 175, 78, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 254, 250, 0.96), rgba(216, 216, 214, 0.48), rgba(244, 223, 159, 0.32));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.benefits {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefits article {
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.benefits article span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--surface);
  font-size: 0.82rem;
  font-weight: 900;
}

.benefits article:nth-child(even) span {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: var(--black);
}

.benefits h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
  line-height: 1.24;
}

.benefits p {
  margin: 0;
  font-size: 0.94rem;
}

.steps {
  margin-top: 24px;
  padding: 8px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: var(--muted);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--black);
  font-weight: 900;
}

.steps li + li {
  border-top: 1px solid var(--line);
}

.steps li > span {
  min-width: 0;
  display: block;
}

.steps strong {
  color: var(--ink);
}

.visual-gallery .gallery-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  gap: 16px;
}

.visual-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.85);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.visual-gallery figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(5, 5, 5, 0.18);
}

.visual-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2.2;
  object-fit: cover;
}

.visual-gallery figure:nth-child(2) {
  margin-top: 34px;
}

.visual-gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact {
  padding-bottom: 84px;
}

.contact > p {
  max-width: 600px;
  margin: 14px 0 0;
}

.contact .lead-form {
  margin-top: 26px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.98), rgba(236, 233, 226, 0.94));
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.92);
  color: var(--ink);
  border-radius: var(--radius);
  min-height: 46px;
  padding: 12px 13px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(101, 95, 85, 0.72);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(215, 175, 78, 0.2);
  border-color: rgba(184, 137, 36, 0.62);
}

.lead-form .full,
.lead-form button,
.form-status {
  grid-column: 1 / -1;
}

.lead-form button {
  justify-self: start;
  min-width: 220px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status.ok {
  color: var(--black);
  font-weight: 800;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .phone-preview {
    min-height: 300px;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: min(var(--max), calc(100% - 20px));
    margin-top: 10px;
    padding: 9px;
  }

  .brand-logo {
    width: 72px;
    height: 50px;
    padding: 2px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 48px;
  }

  .hero-trust,
  .grid-2,
  .benefits,
  .use-strip div,
  .visual-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }

  .visual-gallery figure:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    gap: 10px;
    border-radius: 18px;
  }

  .hero-inner,
  .section,
  .alt,
  .use-strip,
  .site-footer {
    width: min(var(--max), calc(100% - 20px));
  }

  .hero-content h1 {
    font-size: clamp(2.15rem, 13vw, 3.45rem);
  }

  .hero-actions,
  .hero-actions .btn,
  .lead-form button {
    width: 100%;
  }

  .site-header .btn-header {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
  }

  .hero-panel,
  .card,
  .contact .lead-form {
    padding: 20px;
  }

  .phone-preview {
    min-height: 280px;
  }

  .phone-shell {
    width: min(230px, 84%);
  }

  .panel-flow {
    grid-template-columns: 1fr;
  }

  .use-strip {
    margin-top: 18px;
    padding: 14px;
  }

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

  .steps li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
