:root {
  --bg: #f7f8fb;
  --bg-soft: #eef1f6;
  --ink: #11131a;
  --graphite: #1f2431;
  --accent: #f5a524;
  --accent-2: #ffd07a;
  --accent-3: #ff8a00;
  --line: rgba(20, 24, 33, 0.12);
  --card: #ffffff;
  --shadow: 0 20px 60px rgba(17, 19, 26, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  inset: -120px auto auto -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.3), transparent 70%);
  filter: blur(8px);
  animation: drift 12s ease-in-out infinite;
  z-index: -1;
}
.bg-orb--2 {
  inset: auto -140px -140px auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.22), transparent 70%);
  animation-duration: 16s;
}

.topbar {
  background: #0f1117;
  color: #fff;
  font-size: 14px;
}
.topbar__in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.topbar__right { display: flex; gap: 12px; align-items: center; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 8px;
}
.muted { color: rgba(255,255,255,0.7); }

.header {
  position: sticky;
  top: 0;
  background: rgba(247, 248, 251, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand__logo {
  width: auto;
  height: 72px;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(17, 19, 26, 0.2));
}
.brand__text { font-family: "Space Grotesk", sans-serif; font-size: 20px; }

.nav { display: flex; gap: 22px; font-weight: 600; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, #0f1117 0%, #1b1f2a 60%, #0f1117 100%);
  color: #fff;
  font-weight: 700;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 10px 30px rgba(17, 19, 26, 0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(17, 19, 26, 0.35); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, transparent 0%, rgba(245,165,36,0.35) 50%, transparent 100%);
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity 0.3s ease, transform 0.6s ease;
}
.btn:hover::after { opacity: 1; transform: translateX(20%); }

.burger {
  display: none;
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 8px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}
.mnav {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 14px 0 18px;
}
.mnav a { display: block; padding: 10px 0; font-weight: 600; }

.hero {
  padding: 64px 0 40px;
}
.hero__in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--graphite);
}
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 12px 0;
}
.hero h1 span { display: block; margin-top: 8px; }
.lead { font-size: 18px; color: #3c4355; }
.hero__actions { display: flex; gap: 12px; margin: 24px 0; }
.hero__meta { display: flex; gap: 24px; flex-wrap: wrap; }
.stat { background: #fff; border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; }
.stat__num { font-weight: 700; font-size: 18px; display: block; }
.stat__label { font-size: 12px; color: #5b6476; }

.hero__panel { display: grid; gap: 16px; }
.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.panel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(245,165,36,0.15) 40%, transparent 70%);
  opacity: 0;
  transform: translateX(-30%);
}
.panel-card:hover {
  border-color: rgba(245, 165, 36, 0.65);
  box-shadow: 0 26px 70px rgba(17, 19, 26, 0.2);
  transform: translateY(-6px) scale(1.01);
}
.panel-card:hover::after { opacity: 1; animation: sheen 0.8s ease; }
.panel-card:nth-child(2) { animation-delay: 0.4s; }
.panel-card:nth-child(3) { animation-delay: 0.8s; }
.panel-card--accent { border-color: rgba(245,165,36,0.4); background: linear-gradient(135deg, #fff 0%, #fff8e6 100%); }
.panel-title { font-weight: 700; margin-bottom: 6px; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #11131a;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 8px;
  animation: pulse 2.2s ease-in-out infinite;
}
.badge--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  animation: none;
}
.panel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.panel-tags span { font-size: 12px; background: var(--bg-soft); padding: 6px 10px; border-radius: 999px; }

.section { padding: 70px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: #11131a; color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section__head h2 { font-family: "Space Grotesk", sans-serif; margin: 8px 0 0; }
.section__head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}
.section__head p { max-width: 420px; color: #4e576b; }
.section--dark .section__head p { color: rgba(255,255,255,0.7); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(245,165,36,0.12) 40%, transparent 70%);
  opacity: 0;
  transform: translateX(-30%);
}
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(17, 19, 26, 0.18);
  border-color: rgba(245, 165, 36, 0.5);
}
.card:hover::after { opacity: 1; animation: sheen 0.8s ease; }
.card--dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: none;
}
.list { margin: 12px 0 0; padding-left: 18px; color: #4b5364; }

.labels { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.labels__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.label-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.label-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(245,165,36,0.18) 40%, transparent 70%);
  opacity: 0;
  transform: translateX(-30%);
}
.label-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(245, 165, 36, 0.2);
}
.label-card:hover::after { opacity: 1; animation: sheen 0.8s ease; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span { background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; font-size: 12px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border-radius: 18px; padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step__num { font-weight: 700; color: var(--accent); }

.cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.form input, .form select {
  padding: 12px 44px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 19, 26, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #2e3445 50%), linear-gradient(135deg, #2e3445 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 14px) 50%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}
.form select:hover {
  border-color: rgba(245, 165, 36, 0.45);
  box-shadow: 0 8px 18px rgba(245, 165, 36, 0.12);
}
.form select option {
  background: #fff;
  color: var(--ink);
}
.form input:focus, .form select:focus {
  outline: none;
  border-color: rgba(245, 165, 36, 0.6);
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.2);
  transform: translateY(-1px);
}
.qty {
  position: relative;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(17, 19, 26, 0.06);
  overflow: hidden;
}
.qty input {
  width: 100%;
  border: none;
  box-shadow: none;
  padding: 12px 46px;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 1;
  -moz-appearance: textfield;
}
.qty input:focus { box-shadow: none; transform: none; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: #f1f3f8;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.qty__btn:hover { background: #11131a; color: #fff; transform: translateY(-50%) scale(1.05); }
.qty__btn--minus { left: 8px; }
.qty__btn--plus { right: 8px; }
.form button { grid-column: span 2; }
.calc__check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #fff;
  font-size: 14px;
}
.calc__result {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.calc__desc {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  color: #2f3646;
}
.calc__desc-wrap { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.calc__desc-visual {
  width: 120px;
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(160deg, #f2f4f9, #ffffff);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: visible;
}
.calc__desc-visual svg { width: 90px; height: 140px; }
.calc__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 240px;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(17, 19, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}
.calc__zoom svg { width: 140px; height: 200px; }
.calc__desc-visual:hover .calc__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.calc__desc-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.calc__desc ul { margin: 0; padding-left: 18px; }
.calc__desc li { margin: 6px 0; }
.calc__label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #6a7284; }
.calc__price { font-size: 28px; font-weight: 700; margin: 6px 0; }
.calc__hint { font-size: 13px; color: #6a7284; }
.cta__aside { display: grid; gap: 12px; }
.cta__box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }

.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #6a7284; margin-bottom: 6px; }
.contact-sub { margin-top: 6px; color: #4b5364; font-size: 14px; }

.footer {
  background: #0f1117;
  color: #fff;
  padding: 28px 0;
}
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__title { font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 700; }

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(245,165,36,0); }
  50% { transform: scale(1.04); box-shadow: 0 0 18px rgba(245,165,36,0.35); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(10px, -12px, 0); }
}

@keyframes sheen {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(30%); }
}

@media (max-width: 980px) {
  .nav, .header .btn { display: none; }
  .burger { display: inline-block; }
  .hero__in, .labels, .cta, .contacts { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; }
  .form button { grid-column: auto; }
  .calc__result { grid-column: auto; }
}

@media (max-width: 640px) {
  .topbar__in { flex-direction: column; gap: 6px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .grid--4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}
