:root {
  --color-primary: #121417;
  --color-secondary: #d1d9e6;
  --color-accent: #2e5bff;
  --color-bg: #f8fafc;
  --font-main: "Inter", "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(18, 20, 23, 0.08);
  --spacing: clamp(1rem, 2vw, 1.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-primary);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(46, 91, 255, 0.14);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
}

.desktop-nav a,
.mobile-nav a,
.footer-inner a {
  position: relative;
}

.desktop-nav a::after,
.mobile-nav a::after,
.footer-inner a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after,
.footer-inner a:hover::after {
  width: 100%;
}

.burger {
  width: 46px;
  height: 42px;
  border: 1px solid rgba(18, 20, 23, 0.25);
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.25s ease;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 23, 0.55);
  display: grid;
  place-items: start end;
  padding: 5rem 4vw 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 25;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 91, 255, 0.3);
  box-shadow: var(--shadow);
  width: min(320px, 100%);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.grid {
  display: grid;
  gap: var(--spacing);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(46, 91, 255, 0.1), transparent 55%);
  z-index: -1;
}

.hero-grid {
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #44557d;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.lead {
  max-width: 64ch;
  color: #2a313d;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(46, 91, 255, 0.12);
  color: #153499;
  font-size: 0.84rem;
  font-weight: 600;
}

.price-wrap {
  margin: 1rem 0;
}

.price-old {
  color: #6a7588;
  text-decoration: line-through;
  margin-right: 0.55rem;
}

.price-now {
  color: var(--color-accent);
  font-size: 1.65rem;
  font-weight: 800;
}

.order-card,
.card {
  background: #fff;
  border: 1px solid rgba(46, 91, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-card {
  padding: 1rem;
}

.product-figure {
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #eef3ff);
}

.product-figure img {
  max-width: 100%;
  height: auto;
}

.order-form {
  display: grid;
  gap: 0.75rem;
}

.order-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  border: 1px solid #c7d1e1;
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  background: #fff;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
}

.cta {
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(46, 91, 255, 0.28);
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(46, 91, 255, 0.11), transparent);
  transition: top 0.45s ease;
}

.card:hover::before {
  top: 100%;
}

.contact-grid {
  align-items: start;
}

iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  border-top: 1px solid rgba(18, 20, 23, 0.14);
  background: #fff;
  padding: 0.9rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(760px, 92%);
  background: #ffffff;
  border: 1px solid rgba(18, 20, 23, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem;
  z-index: 30;
}

.cookie-controls,
.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.cookie-actions button {
  border: 1px solid rgba(18, 20, 23, 0.25);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.cookie-actions button:first-child {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.faq-item {
  border: 1px solid rgba(46, 91, 255, 0.2);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 0.6rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font-weight: 600;
  padding: 0.8rem;
  cursor: pointer;
}

.faq-answer {
  padding: 0 0.8rem 0.8rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.legal-page .hero-simple {
  padding-top: 2rem;
}

.date {
  font-weight: 600;
}

@media (min-width: 780px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (min-width: 1024px) {
  .burger,
  .menu-overlay {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }
}
