:root {
  --bg: #fff7f0;
  --bg-elevated: #ffe8d6;
  --ink: #1a1208;
  --muted: #6b5344;
  --orange: #f05a1a;
  --orange-bright: #ff7a2f;
  --orange-deep: #d9440a;
  --accent: #ffb347;
  --line: rgba(80, 40, 10, 0.14);
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #ff7a2f 0%, #f05a1a 55%, #e03a00 100%);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-deep); }
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 122, 47, 0.22), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 179, 71, 0.18), transparent 28%),
    linear-gradient(180deg, #fff9f3 0%, #fff7f0 48%, #ffe8d6 100%);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    8px
    max(16px, env(safe-area-inset-left));
}
.logo {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.8vw + 0.4rem, 1.35rem);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
nav a:hover { color: var(--orange); }

main {
  max-width: 1080px;
  margin: 0 auto;
  padding:
    0
    max(16px, env(safe-area-inset-right))
    max(96px, calc(72px + env(safe-area-inset-bottom)))
    max(16px, env(safe-area-inset-left));
}

.hero {
  min-height: min(88vh, 720px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: end;
  padding: 48px 0 56px;
}
.eyebrow {
  color: var(--orange-deep);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-copy { min-width: 0; animation: rise 0.7s ease both; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  margin-bottom: 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 22px;
  min-height: 50px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 14px 34px rgba(240, 90, 26, 0.35);
}
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn.ghost:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}
.hero-visual {
  min-height: 320px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, #ff7a2f, #f05a1a 50%, #c43a00);
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(80, 30, 0, 0.22);
  animation: rise 0.8s ease both;
}
.hero-plate {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.hero-plate span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--orange-deep);
  margin-bottom: 6px;
}
.hero-plate strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 6px;
}
.hero-plate p { color: var(--muted); font-size: 0.92rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 28px;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-row li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.section { padding: 28px 0 12px; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 22px;
}
.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.services li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.services li strong {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.services span {
  color: var(--muted);
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.band {
  margin: 28px 0;
  padding: 28px 24px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 122, 47, 0.14), rgba(255, 179, 71, 0.12)),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(80, 30, 0, 0.08);
}
.contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.contacts a { text-decoration: none; font-weight: 800; }
.legal-links {
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px max(16px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.demo-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
}
@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .band .btn { width: 100%; }
}
