:root {
  --ink: #172026;
  --muted: #5f6c73;
  --line: #dde6e8;
  --paper: #ffffff;
  --soft: #f3f8f7;
  --mint: #19b37b;
  --mint-dark: #0f7f5d;
  --cyan: #2d9fc7;
  --violet: #6a56d9;
  --amber: #f6b84b;
  --shadow: 0 18px 48px rgba(23, 32, 38, 0.12);
  --radius: 8px;
  font-family: Inter, "Tilda Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221, 230, 232, 0.85);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  font-size: 18px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334148;
  font-size: 15px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  content: "";
}

.mobile-toggle span::before {
  transform: translateY(-6px);
}

.mobile-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 179, 123, 0.24);
}

.btn-primary:hover {
  background: var(--mint-dark);
}

.btn-secondary {
  background: #fff;
  border-color: #cdd9dc;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 68px);
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #eaf1f1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 22, 28, 0.82) 0%, rgba(11, 22, 28, 0.66) 34%, rgba(11, 22, 28, 0.14) 65%, rgba(11, 22, 28, 0) 100%),
    url("assets/hero-labels.png") center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: center;
  padding: 84px 0 96px;
}

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

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
}

.hero-lead {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

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

.stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: #162128;
  color: #fff;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.compact-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p,
.compact-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-head p,
.section-dark .compact-head p {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(23, 32, 38, 0.05);
}

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

.card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card .price {
  margin-top: 22px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.service-card .price small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9f5f2;
  color: #116b50;
  font-size: 13px;
  font-weight: 700;
}

.process {
  counter-reset: steps;
}

.process .card {
  position: relative;
  padding-top: 64px;
}

.process .card::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 20px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: center;
}

.visual-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.upd-web-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  align-self: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-media,
.form-head,
.upd-web-form .field:first-of-type,
.package-fieldset,
.agree-line,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.form-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.form-media img {
  width: 100%;
  aspect-ratio: 16 / 2;
  object-fit: cover;
}

.form-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.form-head p,
.form-status {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.field {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #cdd9dc;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.field input[type="file"] {
  padding: 10px 12px;
}

.field input:focus {
  outline: 2px solid rgba(25, 179, 123, 0.22);
  border-color: var(--mint);
}

.package-fieldset {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.package-fieldset legend {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-weight: 800;
}

.package-option {
  position: relative;
  cursor: pointer;
}

.package-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.package-option > span {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 12px;
  border: 1px solid #cdd9dc;
  border-radius: var(--radius);
  background: #fff;
}

.package-option input:checked + span {
  border-color: var(--mint);
  background: #edf9f4;
  box-shadow: inset 0 0 0 1px var(--mint);
}

.package-option small {
  color: var(--muted);
  font-weight: 800;
}

.agree-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.agree-line a {
  color: var(--mint-dark);
  font-weight: 800;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 22px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--soft);
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: #9b2525;
  background: #fff0ed;
}

.form-status.is-success {
  color: #0f6c4f;
  background: #edf9f4;
}

.download-panel {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 38, 0.05);
}

.download-panel h2 {
  margin: 0;
  font-size: 24px;
}

.download-panel p {
  margin: 0;
}

.download-panel .small-muted {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #334148;
}

.section-dark .feature-list li {
  color: rgba(255, 255, 255, 0.86);
}

.check {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

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

.price-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.price-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.price-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 78px 0 48px;
  background: linear-gradient(180deg, #f4f9f8 0%, #fff 100%);
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.page-hero h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal {
  max-width: 920px;
}

.legal h2 {
  margin-top: 36px;
  font-size: 28px;
}

.legal p,
.legal li {
  color: #3f4c52;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 940px) {
  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .site-header.is-open .nav {
    flex-wrap: wrap;
  }

  .site-header.is-open .nav-links,
  .site-header.is-open .nav-actions {
    width: 100%;
    display: grid;
    gap: 12px;
    padding-bottom: 16px;
  }

  .hero-inner,
  .section-head,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 22, 28, 0.86) 0%, rgba(11, 22, 28, 0.72) 100%),
      url("assets/hero-labels.png") 63% center / cover no-repeat;
  }

  .hero-inner {
    padding: 76px 0 68px;
  }

  .hero-stats,
  .grid-3,
  .grid-2,
  .pricing-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 22px, 1180px);
  }

  .container,
  .hero-inner {
    width: min(100% - 22px, 1180px);
  }

  .hero h1,
  .hero h1 {
    font-size: 40px;
  }

  .page-hero h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .hero-lead,
  .page-hero p {
    font-size: 18px;
  }

  .hero-actions,
  .contact-links {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  .upd-web-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .package-fieldset {
    grid-template-columns: 1fr;
  }
}
