:root {
  color-scheme: dark;
  --background: #0a0d0b;
  --surface: #111612;
  --surface-soft: #151d17;
  --ink: #f1f5f1;
  --muted: #b0bcb3;
  --line: #2a352d;
  --accent: #55c779;
  --accent-hover: #70d58e;
  --accent-soft: #1b3021;
  --bg: #111612;
  --text-muted: #b0bcb3;
  --font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body,
button,
a,
input,
select,
textarea {
  font-family: var(--font);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #597e66;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: #0a0d0b;
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-logo {
  display: inline-flex;
  height: 72px;
  flex: 0 0 auto;
  align-items: center;
}

.logo-image {
  display: block;
  width: auto;
  height: 46px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-cta {
  color: #09120c;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.burger-bar {
  width: 19px;
  height: 2px;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .burger-bar:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .burger-bar:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #09120c;
}

.btn-primary:hover {
  background: #7bd997;
}

.btn-outline {
  border-color: #55715d;
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-lg {
  min-height: 50px;
  padding-inline: 23px;
}

.hero {
  padding-block: 76px;
  background: #111612;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.hero-content {
  min-width: 0;
  max-width: 570px;
}

.hero-badge,
.section-tag {
  color: #70d58e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  margin: 15px 0 20px;
  font-size: clamp(38px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.gradient-text {
  color: var(--accent);
}

.hero-subtitle,
.page-hero-subtitle {
  max-width: 490px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.hero-points {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-points span {
  padding-inline: 7px;
  color: #829087;
}

.hero-photo,
.feature-photo,
.story-photo,
.service-photo {
  width: 100%;
  object-fit: cover;
}

.hero-photo {
  height: 395px;
  border-radius: 8px;
}

.section {
  padding-block: 78px;
}

.section-alt {
  background: var(--surface-soft);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-title {
  margin: 9px 0 12px;
  font-size: clamp(28px, 3.4vw, 39px);
  font-weight: 700;
  line-height: 1.2;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.service-card-title,
.value-title,
.step-title {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 700;
}

.service-card-text {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 14px;
}

.service-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.service-link:hover,
.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-cta {
  margin-top: 30px;
  text-align: center;
}

.why-grid,
.story-grid,
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 60px;
}

.why-content .section-title,
.story-content .section-title,
.service-detail-content .section-title {
  font-size: clamp(28px, 3.2vw, 38px);
}

.why-text,
.story-content p,
.service-detail-content p {
  color: var(--muted);
}

.why-list {
  display: grid;
  gap: 12px;
  margin: 23px 0;
  padding: 0;
  list-style: none;
}

.why-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
}

.why-check {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-photo {
  height: 370px;
  border-radius: 8px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.process-step {
  padding-top: 18px;
  border-top: 2px solid #b5c2b7;
}

.step-title {
  margin-top: 14px;
}

.step-text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding-block: 76px;
  background: #111612;
}

.page-hero-content {
  max-width: 740px;
}

.page-hero-title {
  margin: 11px 0 14px;
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.story-grid {
  gap: 58px;
}

.story-photo {
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.story-content p:last-child {
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.value-text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-detail-grid {
  gap: 64px;
}

.service-detail-grid.reverse .service-detail-visual {
  order: -1;
}

.service-features-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 25px;
  padding: 0;
  list-style: none;
}

.service-features-list li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 14px;
}

.service-features-list li::before {
  position: absolute;
  top: 0.77em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.service-photo {
  height: 330px;
  border-radius: 8px;
}

.pricing-grid,
.catalog-grid {
  display: grid;
  gap: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-title {
  margin: 6px 0 0;
  font-size: 25px;
}

.pricing-price {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.pricing-price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.pricing-price-long {
  font-size: 25px;
}

.pricing-description,
.pricing-best-for,
.pricing-note {
  color: var(--muted);
  font-size: 13px;
}

.pricing-list-heading {
  margin: 20px 0 9px;
  font-size: 14px;
}

.pricing-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.pricing-list li::before {
  position: absolute;
  top: 0.72em;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.pricing-footer {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.pricing-best-for,
.pricing-note {
  margin: 0;
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.catalog-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 10px;
}

.catalog-card-heading h3 {
  margin: 0;
  font-size: 16px;
}

.catalog-price {
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.catalog-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.offer-content,
.pricing-note-content {
  max-width: 760px;
}

.offer-content .section-title,
.pricing-note-content .section-title {
  margin-top: 10px;
}

.offer-content > p:last-child,
.pricing-note-content > p {
  color: var(--muted);
}

.pricing-note-content > p:last-of-type {
  margin-bottom: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 64px;
}

.contact-intro .section-title {
  margin-top: 10px;
}

.contact-intro > p {
  color: var(--muted);
}

.contact-required-note {
  margin-top: 28px;
  font-size: 13px;
}

.contact-required-note span,
.form-field label span {
  color: var(--accent);
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #39463d;
  border-radius: 4px;
  background: #0a0d0b;
  color: var(--ink);
  font-size: 14px;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px rgb(85 199 121 / 24%);
}

.form-field select:invalid {
  color: var(--muted);
}

.form-consent {
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.cta-banner {
  padding-block: 64px;
  background: #172b1d;
}

.cta-banner-content {
  max-width: 720px;
}

.cta-banner-title {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.2;
}

.cta-banner-text {
  max-width: 600px;
  margin-bottom: 22px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080b09;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.4fr;
  gap: 70px;
  padding-block: 48px;
}

.footer-brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
}

.footer-tagline {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-nav-title {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-copy,
.footer-credit {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    border: 1px solid var(--line);
    background: var(--surface);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu li {
    padding-block: 9px;
  }

  .nav-link {
    display: block;
    font-size: 15px;
  }

  .nav-cta {
    width: 100%;
    margin-top: 5px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-photo {
    height: 340px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .catalog-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .story-grid,
  .service-detail-grid {
    gap: 34px;
  }

  .contact-layout {
    gap: 34px;
  }

  .feature-photo {
    height: 320px;
  }

  .service-photo {
    height: 280px;
  }

  .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(100% - 36px, 560px);
  }

  .nav-logo {
    width: 170px;
    height: 64px;
    flex-basis: 170px;
  }

  .nav-menu {
    right: 18px;
    left: 18px;
  }

  .hero {
    padding-block: 48px;
  }

  .hero-grid,
  .why-grid,
  .story-grid,
  .service-detail-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-grid {
    width: min(100% - 36px, 560px);
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 46px);
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle,
  .page-hero-subtitle {
    font-size: 16px;
  }

  .hero-photo {
    height: min(66vw, 300px);
  }

  .hero-points {
    font-size: 12px;
  }

  .section {
    padding-block: 56px;
  }

  .section-header {
    margin-bottom: 28px;
    text-align: left;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    margin-inline: 0;
  }

  .services-grid,
  .values-grid,
  .process-steps,
  .pricing-grid,
  .catalog-grid,
  .catalog-grid-three,
  .catalog-grid-four {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card,
  .value-card,
  .pricing-card,
  .catalog-card,
  .contact-form {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .feature-photo,
  .service-photo {
    height: min(72vw, 310px);
  }

  .service-detail-grid.reverse .service-detail-visual {
    order: 0;
  }

  .page-hero {
    padding-block: 52px;
  }

  .page-hero-title {
    font-size: clamp(36px, 10vw, 46px);
  }

  .cta-banner {
    padding-block: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 38px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .footer-bottom-inner {
    min-height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
