:root {
  --blue: #0e274b;
  --blue-deep: #08182f;
  --blue-soft: #173966;
  --sky: #d9e9ff;
  --gold: #fbc02d;
  --gold-soft: #fff2bf;
  --leather: #8d6e63;
  --paper: #f5f8fc;
  --white: #ffffff;
  --ink: #111b2d;
  --muted: #536174;
  --line: #d6e0ec;
  --danger: #a63a3a;
  --max: 1180px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
  font-size: 18px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(251, 192, 45, 0.18), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 42%, #ffffff 100%);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(14, 39, 75, 0.12);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 64px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 17px;
  height: 42px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, var(--gold) 0%, var(--gold) 44%, var(--leather) 45%, var(--leather) 100%);
  box-shadow: 0 8px 18px rgba(14, 39, 75, 0.16);
}

.toplink {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--gold-soft);
  border: 1px solid rgba(251, 192, 45, 0.8);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(14, 39, 75, 0.98) 0%, rgba(8, 24, 47, 0.98) 68%),
    var(--blue);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.hero::before {
  width: 340px;
  height: 340px;
  right: -190px;
  top: -120px;
  background: rgba(251, 192, 45, 0.34);
  filter: blur(2px);
}

.hero::after {
  width: 220px;
  height: 220px;
  left: -120px;
  bottom: -120px;
  background: rgba(141, 110, 99, 0.46);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 30px 18px 28px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #ffe28a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue);
  line-height: 1.08;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 11vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 820px;
}

.lead {
  margin: 18px 0 0;
  max-width: 760px;
  color: #edf5ff;
  font-size: clamp(1.12rem, 4.8vw, 1.42rem);
  line-height: 1.38;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  text-align: center;
}

.button-primary {
  background: var(--gold);
  color: #1e1702;
  box-shadow: 0 14px 30px rgba(251, 192, 45, 0.24);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-hints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.hint {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fbff;
  font-size: 1rem;
  font-weight: 800;
}

.tablet-note {
  margin: 18px 0 0;
  color: #d6e6fb;
  font-size: 0.98rem;
}

.hero-visual {
  display: none;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 300px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  display: block;
}

.visual-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.pill {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 900;
}

.proof-strip {
  width: min(100%, var(--max));
  margin: -22px auto 0;
  padding: 0 18px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.proof-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 7px solid var(--gold);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(14, 39, 75, 0.08);
}

.proof-item strong {
  display: block;
  color: var(--blue);
  font-size: 1.02rem;
}

.proof-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 36px 18px 58px;
}

.section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

main [id] {
  scroll-margin-top: 56px;
}

.section:last-child {
  border-bottom: 0;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--leather);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.8rem;
}

.section h2 {
  font-size: clamp(1.8rem, 7vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section p {
  font-size: 1.06rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(14, 39, 75, 0.06);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--leather), var(--blue-soft));
}

.card h3 {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.muted {
  color: var(--muted);
}

.quote {
  border-radius: 14px;
  border: 1px solid rgba(251, 192, 45, 0.6);
  background:
    linear-gradient(135deg, #fff8de, #ffffff);
  color: var(--blue);
  padding: 18px;
  margin: 22px 0;
  font-weight: 900;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  line-height: 1.22;
}

.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(14, 39, 75, 0.06);
}

.step::before {
  content: counter(steps);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  background: var(--gold);
  font-weight: 900;
}

.step h3 {
  font-size: 1.14rem;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.service-list li {
  padding: 18px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(14, 39, 75, 0.05);
}

.contact-block {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(251, 192, 45, 0.38), transparent 17rem),
    linear-gradient(145deg, var(--blue), var(--blue-deep));
  color: var(--white);
  padding: 26px 20px;
  border-bottom: 0;
}

.contact-block h2,
.contact-block h3 {
  color: var(--white);
}

.contact-block p {
  color: #eaf3ff;
}

.contact-block .button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
}

.disclaimer {
  font-size: 0.96rem;
  color: var(--muted);
}

.disclaimer h2 {
  font-size: 1.45rem;
}

footer {
  padding: 28px 18px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 520px) {
  html {
    font-size: 19px;
  }

  .hero-actions {
    grid-template-columns: max-content max-content;
  }
}

@media (min-width: 760px) {
  html {
    font-size: 20px;
    scroll-padding-top: 56px;
  }

  .topbar-inner {
    min-height: 74px;
    padding: 14px 28px;
  }

  .hero-inner {
    padding: 44px 28px 44px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    display: block;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 7.2vw, 4.05rem);
  }

  .lead {
    font-size: clamp(1.06rem, 2.7vw, 1.24rem);
    line-height: 1.34;
  }

  .mobile-hints {
    grid-template-columns: repeat(2, 1fr);
    max-width: 690px;
  }

  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 28px;
  }

  main {
    padding: 54px 28px 78px;
  }

  .section {
    padding: 48px 0;
  }

  main [id] {
    scroll-margin-top: 56px;
  }

  .grid,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1100px) {
  html {
    font-size: 19px;
  }

  .hero-inner {
    padding: 64px 32px 66px;
  }

  .hero-layout {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 46px;
  }

  .visual-card,
  .visual-card img {
    min-height: 340px;
  }

  .section-wide {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 50px;
    align-items: start;
  }

  .mobile-hints {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 420px) {
  html {
    font-size: 17px;
    scroll-padding-top: 48px;
  }

  main [id] {
    scroll-margin-top: 48px;
  }

  .topbar-inner {
    min-height: 58px;
    padding: 8px 14px;
  }

  .brand {
    font-size: 0.9rem;
    gap: 8px;
    line-height: 1.08;
  }

  .brand-mark {
    width: 13px;
    height: 34px;
  }

  .toplink {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .hero-inner {
    padding: 22px 18px 20px;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.38rem);
    line-height: 1.02;
  }

  .lead {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.32;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 10px;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .button {
    min-height: 48px;
    padding: 10px 13px;
    border-radius: 8px;
  }

  .mobile-hints {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .hint {
    min-height: 56px;
    padding: 10px 12px;
    font-size: 0.94rem;
  }

  .tablet-note {
    display: none;
  }
}

@media (min-width: 760px) and (max-width: 1099px) {
  .visual-card,
  .visual-card img {
    min-height: 260px;
  }
}

@media (min-width: 1100px) and (max-height: 700px) {
  .hero-inner {
    padding-top: 38px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 4.8vw, 3.25rem);
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.3;
    margin-top: 12px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    min-height: 44px;
    padding: 10px 14px;
  }

  .mobile-hints {
    display: none;
  }

  .tablet-note {
    display: none;
  }

  .visual-card,
  .visual-card img {
    min-height: 250px;
  }
}
