:root {
  --ink: #1c1917;
  --muted: #57534e;
  --accent: #ffc233;
  --accent-dark: #e09e00;
  --card: #ffffff;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.55;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 26, 52, 0.62) 0%, rgba(30, 26, 52, 0.78) 55%, rgba(30, 26, 52, 0.9) 100%);
  z-index: 1;
}

.page {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 40px) 20px;
  color: #fff;
}

/* Шапка */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(#ffc233, #ff6b57, #4ecdc4, #a06cd5, #ffc233);
  flex: none;
}

.top-note { opacity: 0.85; }

/* Основной блок */
.content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 6vh, 64px) 0;
}

.badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 194, 51, 0.18);
  border: 1px solid rgba(255, 194, 51, 0.55);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.accent { color: var(--accent); }

.lead {
  margin: 0 0 30px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
}

/* Преимущества */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.benefit-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #4a3300;
}

.benefit-icon svg { width: 22px; height: 22px; }

.benefit strong { color: #fff; }
.benefit span:last-child { color: rgba(255, 255, 255, 0.9); }

/* Форма */
.form-card {
  background: var(--card);
  color: var(--ink);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 24px 60px rgba(15, 12, 35, 0.45);
}

.form-card h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
}

.form-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

form { display: grid; gap: 14px; }

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d3d1;
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fafaf9;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus-visible {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(224, 158, 0, 0.25);
}

.lead-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.lead-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-dark);
  flex: none;
}

.lead-consent a { color: inherit; }

.btn {
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #4a3300;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { background: var(--accent-dark); color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(224, 158, 0, 0.5); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }

/* Подвал */
.bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.bottom a { color: inherit; }

/* Адаптив */
@media (max-width: 880px) {
  .content {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 36px;
  }
  .form-card { max-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:active { transform: none; }
}
