:root {
  color-scheme: light;
  --bg: #f7f3ec;
  --bg-soft: #efe7da;
  --bg-warm: #faf8f4;
  --text: #2c2a27;
  --muted: #6b6258;
  --accent: #6f5b3e;
  --accent-strong: #5d4a30;
  --accent-soft: #bfa77a;
  --sage: #66735f;
  --card: #ffffff;
  --line: #e4d9c8;
  --line-strong: #d4c5ad;
  --success: #3f6f55;
  --error: #9b3f34;
  --shadow: 0 18px 50px rgba(67, 52, 32, 0.13);
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body,
button,
input {
  font: inherit;
}

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

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

.page {
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--card);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(228, 217, 200, 0.75);
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.header-nav a:hover {
  color: var(--accent-strong);
}

.header-action {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 44px 0 36px;
  background:
    linear-gradient(90deg, rgba(44, 42, 39, 0.76), rgba(44, 42, 39, 0.5) 46%, rgba(44, 42, 39, 0.18)),
    url("../img/hero.webp") center / cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: end;
}

.hero-content {
  padding-top: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 42px;
  line-height: 1.06;
}

.hero-lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.55;
}

.hero-note {
  max-width: 690px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.button-primary {
  background: var(--accent-soft);
  color: #211d17;
}

.button-primary:hover {
  background: #d2bd8a;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button-light {
  background: var(--accent);
  color: #fff;
}

.button-outline {
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--accent-strong);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-pill {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.lead-panel {
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(250, 248, 244, 0.96);
  color: var(--text);
  padding: 20px;
  box-shadow: var(--shadow);
}

.lead-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.lead-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.field input {
  min-height: 50px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  outline: 0;
}

.field input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(191, 167, 122, 0.22);
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.form-result {
  min-height: 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.form-result--success {
  color: var(--success);
}

.form-result--error {
  color: var(--error);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.section {
  padding: 72px 0;
}

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

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(67, 52, 32, 0.07);
}

.card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  gap: 10px;
}

.service-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 14px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.service-item::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--sage);
}

.notice {
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fffaf0;
  padding: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px 20px 20px 72px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
}

.step h3 {
  margin: 0;
  font-size: 19px;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card.featured {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(102, 115, 95, 0.12);
  color: var(--sage);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.price {
  color: var(--accent-strong);
  font-size: 30px;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  line-height: 1.5;
}

.price-card li::before {
  content: "— ";
  color: var(--accent);
}

.case-grid {
  display: grid;
  gap: 16px;
}

.case-card {
  overflow: hidden;
  padding: 0;
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-body {
  padding: 18px;
}

.case-placeholder {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.geo-grid,
.trust-grid {
  display: grid;
  gap: 12px;
}

.geo-item,
.trust-item {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 12px 16px;
  color: var(--muted);
  font-weight: 750;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0;
}

.faq-item summary {
  min-height: 58px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  gap: 24px;
  align-items: center;
}

.photo-pair {
  display: grid;
  gap: 12px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(67, 52, 32, 0.08);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-card span {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.final-cta {
  padding: 72px 0;
  background: var(--text);
  color: #fff;
}

.final-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.final-cta h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.final-cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.final-cta .lead-panel {
  border-color: rgba(255, 255, 255, 0.18);
}

.privacy {
  border-top: 1px solid var(--line);
  padding: 42px 0;
  background: var(--bg-warm);
}

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

.privacy p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  padding: 26px 0;
  background: #ece2d2;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 700px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
  }

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

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

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

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

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

@media (min-width: 980px) {
  .header-nav {
    display: flex;
  }

  .hero {
    min-height: 820px;
    padding-top: 70px;
  }

  .section {
    padding: 92px 0;
  }

  .section h2 {
    font-size: 42px;
  }

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

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

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

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

  .split-section {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .final-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 62px;
  }

  .header-action {
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 30px 0 34px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }
}
