:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #fbf7f0;
  --text: #1f2623;
  --muted: #66726a;
  --line: rgba(31, 38, 35, 0.12);
  --line-strong: rgba(31, 38, 35, 0.2);
  --accent: #467b6b;
  --accent-dark: #2f5f52;
  --accent-soft: #dfeee8;
  --danger: #b03a2e;
  --success: #2f6b4f;
  --shadow: 0 20px 60px rgba(55, 44, 32, 0.1);
  --shadow-soft: 0 10px 30px rgba(55, 44, 32, 0.07);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgba(70, 123, 107, 0.12), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(199, 130, 75, 0.1), transparent 32rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 55%, #f3ede3 100%);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: var(--header-height);
  padding: 10px max(16px, calc((100vw - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(55, 44, 32, 0.04);
}

main {
  padding-top: var(--header-height);
}

.brand {
  position: relative;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.header-nav a:hover {
  background: rgba(70, 123, 107, 0.09);
  color: var(--text);
}

.header-nav .nav-cta {
  background: var(--text);
  color: #ffffff;
}

.header-nav .nav-cta:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.menu-toggle {
  position: relative;
  z-index: 60;
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    top 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

.menu-toggle.is-active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.section {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 84px 0;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 56px;
  padding-top: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 860px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 760;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(70, 123, 107, 0.22);
}

.button-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 16px 34px rgba(70, 123, 107, 0.26);
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-facts {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-fact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.hero-fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-fact span {
  color: var(--muted);
  font-size: 14px;
}

.hero-photo-card {
  position: relative;
  align-self: center;
}

.hero-photo {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.photo-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 270px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
  box-shadow: var(--shadow-soft);
}

.caption-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(70, 123, 107, 0.14);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr;
  gap: 16px;
  padding-top: 36px;
}

.intro-card,
.format-card,
.principle-card,
.about-card,
.warning-card,
.examples-column,
.request-copy,
.audit-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.intro-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.intro-card-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  background:
    linear-gradient(145deg, rgba(70, 123, 107, 0.1), rgba(255, 255, 255, 0.84)),
    var(--surface);
}

.intro-card-large p:last-child {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 58px;
  color: rgba(70, 123, 107, 0.48);
  font-size: 54px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.intro-card p,
.principle-card p,
.warning-card p,
.format-card p,
.about-text p,
.request-copy p {
  color: var(--muted);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.section-heading.narrow {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.format-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.format-paid {
  background:
    linear-gradient(145deg, rgba(70, 123, 107, 0.1), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.format-top {
  margin-bottom: 22px;
}

.format-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.format-price {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-weight: 640;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.54em;
  width: 6px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(42deg);
}

.note-box,
.request-hint {
  padding: 18px;
  border: 1px solid rgba(70, 123, 107, 0.18);
  border-radius: var(--radius-md);
  background: rgba(70, 123, 107, 0.08);
  color: var(--accent-dark);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.principle-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(245, 238, 229, 0.86)),
    var(--surface);
}

.about-text p {
  font-size: 18px;
}

.about-aside {
  display: grid;
  gap: 14px;
}

.metric {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.metric span {
  color: var(--muted);
}

.warning-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.warning-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.warning-main {
  grid-row: span 3;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, rgba(199, 130, 75, 0.1), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.examples-column {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.examples-column a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 720;
}

.examples-column a::after {
  content: "↗";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.examples-column a:hover::after {
  transform: translate(2px, -2px);
  background: var(--accent);
  color: #ffffff;
}

.request-section {
  padding-bottom: 104px;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}

.request-copy {
  position: sticky;
  top: 88px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(70, 123, 107, 0.08), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.audit-form {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 780;
}

.form-row label span {
  color: var(--danger);
}

input,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

input {
  min-height: 52px;
  padding: 0 16px;
}

textarea {
  min-height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(70, 123, 107, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(70, 123, 107, 0.14);
}

input.has-error,
textarea.has-error {
  border-color: rgba(176, 58, 46, 0.72);
  box-shadow: 0 0 0 4px rgba(176, 58, 46, 0.1);
}

.field-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.field-error {
  min-height: 20px;
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 650;
}

.form-message {
  display: none;
  margin: 8px 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.form-message.is-success {
  display: block;
  border: 1px solid rgba(47, 107, 79, 0.22);
  background: rgba(47, 107, 79, 0.1);
  color: var(--success);
}

.form-message.is-error {
  display: block;
  border: 1px solid rgba(176, 58, 46, 0.22);
  background: rgba(176, 58, 46, 0.08);
  color: var(--danger);
}

.form-submit {
  width: 100%;
}

.form-submit[disabled] {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.form-footer-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto 28px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.8);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer a {
  flex: 0 0 auto;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 760;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Обычная адаптация */
@media (max-width: 1080px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: 36px;
  }

  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .principles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .header-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 243, 0.98);
    box-shadow: 0 20px 44px rgba(55, 44, 32, 0.11);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.22s ease,
      opacity 0.22s ease;
  }

  .header-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav a {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border: 1px solid var(--line);
    background: #ffffff;
  }

  .header-nav .nav-cta {
    background: var(--text);
    color: #ffffff;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
  }

  .hero-photo-card {
    width: 100%;
    max-width: 560px;
  }

  .formats,
  .about-card,
  .warning-grid,
  .examples-grid,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .request-copy {
    position: static;
  }

  .warning-main {
    grid-row: auto;
    min-height: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 60px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    padding: 8px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .brand-text {
    max-width: calc(100vw - 112px);
    font-size: 14px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .section {
    width: min(calc(100% - 24px), var(--container));
    padding: 54px 0;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
    letter-spacing: -0.04em;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead,
  .about-text p,
  .section-heading > p:last-child,
  .intro-card-large p:last-child {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 28px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-facts,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    margin-top: 28px;
  }

  .hero-photo {
    border-radius: 28px;
  }

  .photo-caption {
    position: static;
    margin-top: 12px;
    border-radius: 18px;
  }

  .intro-card,
  .format-card,
  .principle-card,
  .about-card,
  .warning-card,
  .examples-column,
  .request-copy,
  .audit-form {
    padding: 22px;
    border-radius: 22px;
  }

  .intro-card {
    min-height: auto;
  }

  .intro-card-large {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 28px;
    font-size: 46px;
  }

  .format-price {
    font-size: 34px;
  }

  .metric strong {
    font-size: 30px;
  }

  .examples-column a {
    align-items: flex-start;
  }

  .site-footer {
    width: min(calc(100% - 24px), var(--container));
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .section {
    width: min(calc(100% - 20px), var(--container));
  }

  h1 {
    font-size: 35px;
  }

  .intro-card,
  .format-card,
  .principle-card,
  .about-card,
  .warning-card,
  .examples-column,
  .request-copy,
  .audit-form {
    padding: 18px;
  }

  input {
    min-height: 50px;
  }
}

/* Страховка на случай, если медиа-запросы в превью считаются не от видимой ширины */
.page-shell.is-mobile-layout .menu-toggle {
  display: block;
}

.page-shell.is-mobile-layout .header-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 12px 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 20px 44px rgba(55, 44, 32, 0.11);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.page-shell.is-mobile-layout .header-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.page-shell.is-mobile-layout .header-nav a {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.page-shell.is-mobile-layout .header-nav .nav-cta {
  background: var(--text);
  color: #ffffff;
}

.page-shell.is-mobile-layout .hero,
.page-shell.is-mobile-layout .formats,
.page-shell.is-mobile-layout .about-card,
.page-shell.is-mobile-layout .warning-grid,
.page-shell.is-mobile-layout .examples-grid,
.page-shell.is-mobile-layout .request-layout,
.page-shell.is-mobile-layout .intro-grid {
  grid-template-columns: 1fr;
}

.page-shell.is-mobile-layout .hero {
  min-height: auto;
  gap: 34px;
  padding-top: 42px;
}

.page-shell.is-mobile-layout .hero-facts {
  grid-template-columns: 1fr;
}

.page-shell.is-mobile-layout .request-copy {
  position: static;
}

.page-shell.is-mobile-layout .warning-main {
  grid-row: auto;
  min-height: auto;
}

.page-shell.is-mobile-layout .intro-card-large {
  grid-column: auto;
  grid-row: auto;
  min-height: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}