@font-face {
  font-family: "Outfit";
  src: url(../fonts/Outfit-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #1e3c72;
  --primary-light: #2a5298;
  --accent: #f39c12;
  --accent-dark: #e67e22;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
  --shadow-md: 0 20px 30px -10px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
section {
  overflow: hidden;
}

main {
  flex: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 8px 16px rgba(243,156,18,0.25);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(243,156,18,0.35);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--primary);
  color: white;
}

.btn--full {
  width: 100%;
}

.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
}

.logo-line1 {
  line-height: 1.2;
  color: #e67e22;
}
.logo-line2 {
  line-height: 1.2;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__list a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--accent);
}

.header__notice {
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-left: auto;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger__line {
  width: 100%;
  height: 3px;
  background: var(--text-dark);
  border-radius: 10px;
  transition: all 0.3s;
}

.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f6f9fc 0%, #edf2f7 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero__price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.price-old {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: var(--text-light);
}

.price-new {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price-badge {
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
}

.hero__bullets {
  list-style: none;
  margin-top: 24px;
}

.hero__bullets li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__bullets i {
  color: var(--accent);
  font-size: 1.3rem;
}

.hero__media img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
}

.description {
  padding: 80px 0;
  background: var(--white);
}

.description__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.description__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.description__intro {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.check-list {
  list-style: none;
  margin-top: 24px;
}

.check-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list i {
  color: var(--accent);
  width: 24px;
  text-align: center;
}

.specifications {
  padding: 80px 0;
  background: var(--bg-light);
}

.specifications__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.specifications__intro {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table tr {
  border-bottom: 1px solid var(--border-light);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table th {
  background: var(--primary);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  width: 40%;
}

.spec-table td {
  padding: 14px 18px;
  color: var(--text-dark);
}

.specifications__media img {
  width: 100%;
  box-shadow: var(--shadow-md);
}

.advantages {
  padding: 80px 0;
  background: var(--white);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.advantage-card {
  background: var(--bg-light);
  padding: 32px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.advantage-card i {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.advantage-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.how-it-works {
  padding: 80px 0;
  background: linear-gradient(145deg, #1e3c72 0%, #2a5298 100%);
  color: white;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.how-it-works__media img {
  border-radius: var(--radius);
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 32px;
}

.steps li {
  counter-increment: step;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-size: 1.2rem;
}

.steps li span {
  background: var(--accent);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.how-it-works__note {
  margin-top: 30px;
  font-style: italic;
  opacity: 0.9;
}

.reviews {
  padding: 80px 0;
  background: var(--bg-light);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.review__stars {
  color: #f1c40f;
  font-size: 1.4rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.review__text {
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: italic;
}

.review__author {
  font-weight: 600;
  color: var(--text-light);
}

.similar-products {
  padding: 80px 0;
}

.similar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  text-align: center;
  background: white;
  border-radius: var(--radius);
  padding: 24px 20px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: 1px solid var(--border-light);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 20px;
}

.faq {
  padding: 80px 0;
  background: var(--white);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-item {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.faq-item i {
  color: var(--accent);
}

.map-contact {
  padding: 0;
  background: #1e293b;
}

.map-contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 600px;
}

.map-container {
  width: 100%;
  height: 100%;
}

#map {
  height: 100%;
  min-height: 600px;
  width: 100%;
  z-index: 1;
}

.form-container {
  background: white;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.form-container h2 {
  text-align: left;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input {
  padding: 14px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.form-group--checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.popup[hidden] {
  display: none;
}

.popup:not([hidden]) {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.popup__content {
  background: white;
  max-width: 420px;
  width: 90%;
  padding: 36px 30px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  box-shadow: 0 30px 50px rgba(0,0,0,0.3);
  transform: scale(0.9);
  animation: popIn 0.2s forwards;
}

@keyframes popIn {
  to { transform: scale(1); }
}

.popup__close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
}

.popup__content img {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
}

.popup__content h3 {
  margin-bottom: 16px;
}

.popup__content p {
  margin-bottom: 12px;
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 24px;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__logo {
  margin-bottom: 8px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid #334155;
  padding-bottom: 24px;
}

.footer__legal a {
  color: #cbd5e1;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: white;
}

.footer__contacts p {
  margin-bottom: 6px;
}

.footer__disclaimer {
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 900px;
  border-top: 1px solid #334155;
  padding-top: 24px;
}

.footer__copy {
  color: #64748b;
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 992px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .map-contact__wrapper { grid-template-columns: 1fr; }
  #map { min-height: 350px; }
}

@media (max-width: 768px) {
  .header__inner { flex-wrap: wrap; }
  .nav { display: none; }
  .nav.active {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .nav.active .nav__list {
    flex-direction: column;
    gap: 16px;
  }
  .burger { display: flex; }
  .header__notice { margin-left: 0; font-size: 0.75rem; }

  .hero__grid,
  .description__grid,
  .specifications__grid,
  .how-it-works__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__media { order: -1; }
  .advantages__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .similar__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  .hero__price { flex-direction: column; align-items: flex-start; }
}

.legal-content {
    padding: 50px 16px;
    word-break: break-word;
}