:root {
  --bg-light: #e7e0d7;
  --bg-dark: #2c2b30;
  --text-dark: #2c2b30;
  --text-light: #f4eee6;
  --accent: #f47c20;
  --muted: #746f6a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: #dcd6ce;
  border-bottom: 1px solid #c9c2b9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--text-dark);
  stroke-width: 6;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
}

.logo-subtitle {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-btn {
  width: 42px;
  height: 32px;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-btn span {
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

.menu-btn span:nth-child(2) {
  width: 28px;
}

.menu-btn span:nth-child(3) {
  width: 22px;
}

.header-nav {
  display: none;
  gap: 16px;
  font-size: 14px;
}

.header-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
}

.header-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 20px;
  top: 64px;
  background: #dcd6ce;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.header-nav a.nav-active {
  color: var(--accent);
}

.section {
  padding: 32px 0;
}

.hero {
  padding: 40px 0 52px;
}

.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin: 0 0 28px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 32px;
  margin: 0 0 20px;
}

h3 {
  font-size: 28px;
  margin: 0 0 12px;
}

h4 {
  font-size: 18px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 18px;
  line-height: 1.4;
  color: inherit;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: inherit;
}

.illustration {
  margin-top: 20px;
  background: #f2ece4;
  border-radius: 18px;
  padding: 12px;
}

.card {
  display: grid;
  gap: 18px;
}

.benefits-grid {
  display: grid;
  gap: 14px;
}

.benefit-card {
  background: #f2ece4;
  border: 1px solid #d6cfc6;
  border-radius: 14px;
  padding: 16px;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 10px;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
}

.dot-orange {
  background: #f47c20;
}

.dot-purple {
  background: #7c3aed;
}

.dot-cyan {
  background: #00b6c7;
}

.dot-red {
  background: #e5345b;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  background: #f2ece4;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid #c9c2b9;
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: #3b3840;
}

.btn-arrow {
  padding-left: 12px;
  border-left: 1px solid currentColor;
}

.stats h2 {
  margin-bottom: 24px;
}

.stat-list {
  display: grid;
  gap: 24px;
}

.stat-number {
  color: var(--accent);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-text {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.5;
}

.quote-box {
  margin-top: 20px;
  padding: 18px;
  border: 2px solid #d9d1c7;
  border-radius: 16px;
  background: #2a292e;
  color: var(--text-light);
  line-height: 1.55;
}

.contact-card {
  background: #f7f1ea;
  border: 1px solid #d6cfc6;
  border-radius: 16px;
  padding: 18px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.input {
  width: 100%;
  border: 1px solid #c9c2b9;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}

.input-area {
  resize: vertical;
  min-height: 110px;
}

.result-box {
  min-height: 120px;
  padding: 14px;
  border: 1px solid #c9c2b9;
  border-radius: 12px;
  background: #fff;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.result-box.loading {
  color: var(--accent);
  font-style: italic;
}

.result-box.error {
  color: #e5345b;
}

.contact-meta {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #2f2d33;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.site-footer {
  background: #dcd6ce;
  border-top: 1px solid #c9c2b9;
  padding: 20px 0 32px;
}

.footer-inner {
  display: grid;
  gap: 6px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.footer-info a {
  color: var(--accent);
  text-decoration: underline;
}

@media (min-width: 680px) {
  .container {
    width: min(520px, 100%);
  }

  .header-nav {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }
}

