@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins-VariableFont_wght.otf);
  font-display: swap;
}
:root {
  --primary: #0a2540;
  --accent: #ff7a3d;
  --light: #f8fafc;
  --dark: #1e293b;
  --gray: #64748b;
  --white: #ffffff;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --max-width: 1200px;
  --section-gap: clamp(40px, 5vw, 64px);
  --card-padding: clamp(16px, 3vw, 32px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--border-radius);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 32px;
  color: var(--primary);
  position: relative;
}

.section-title {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 122, 61, 0.3);
}

.btn--primary:hover {
  background: #e05a1f;
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 24px;
  font-family: var(--font-heading);
}

.logo img {
  border-radius: 8px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  font-size: 16px;
}

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

.header__notice {
  font-size: 13px;
  color: var(--gray);
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 30px;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--primary);
  left: 0;
  transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    padding: 80px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 101;
  }
  .header__notice {
    display: none;
  }
}

.hero {
  padding: 48px 0 64px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__title {
  font-size: clamp(36px, 6vw, 52px);
  color: var(--primary);
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 20px;
}

.hero__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__features {
  list-style: none;
  margin-bottom: 32px;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
}

.hero__features i {
  color: var(--accent);
  font-size: 20px;
}

.hero__image img {
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__features li {
    justify-content: center;
  }
}

.features {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--light);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.05);
}

.feature-card__icon {
  margin-bottom: 20px;
}

.feature-card__icon img {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.feature-card p {
  color: var(--gray);
  font-size: 15px;
}

@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.gallery-specs {
  padding: var(--section-gap) 0;
  background: #fafafa;
}

.gallery-specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.gallery__main {
  margin-bottom: 16px;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery__thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.gallery__thumbs img.active {
  border-color: var(--accent);
}

.specs-highlight {
  background: var(--white);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 500;
}

.specs-list li span:last-child {
  color: var(--primary);
  font-weight: 600;
}

.specs-note {
  margin-top: 20px;
  padding: 12px;
  background: var(--light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

@media (max-width: 768px) {
  .gallery-specs__grid {
    grid-template-columns: 1fr;
  }
}

.reviews {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.reviews-slider {
  padding-bottom: 40px;
}

.review-card {
  background: var(--light);
  padding: 32px;
  border-radius: var(--border-radius);
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.review-card__rating {
  color: #fbbf24;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card__text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark);
}

.review-card__author {
  font-weight: 600;
  color: var(--primary);
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--accent) !important;
}

.faq-order {
  padding: var(--section-gap) 0;
  background: linear-gradient(to bottom, #ffffff, #f1f5f9);
}

.faq-order__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.faq__item {
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 16px 0;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 18px;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
}

.faq__question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.3s;
  color: var(--accent);
}

.faq__question[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 0 16px;
  color: var(--gray);
  line-height: 1.6;
}

.faq__answer[hidden] {
  display: none;
}

.order-form {
  background: var(--white);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 30px rgba(0,0,0,0.05);
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--primary);
}

.form__group input,
.form__group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
}

.form__group input:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,122,61,0.1);
}

.form__group--checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form__group--checkbox input {
  width: auto;
  margin: 0;
}

.form__group--checkbox label {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
}

.form__group input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.form__group input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.form__group input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .faq-order__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== NEW FOOTER STYLES ===== */
.footer {
  background: #0a1929;
  color: #e2e8f0;
  padding: 48px 0 24px;
  margin-top: auto;
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 24px;
  margin-bottom: 32px;
}

.footer__brand {
  flex: 0 0 auto;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.footer__logo img {
  width: 40px;
  height: 40px;
}

.footer__contacts {
  flex: 1 1 300px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.footer__contacts p {
  margin-bottom: 4px;
  line-height: 1.5;
}

.footer__contacts strong {
  color: #ffffff;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.footer__links {
  flex: 0 0 auto;
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.footer__links a:hover {
  color: #ff7a3d;
}

.footer__disclaimer {
  flex: 1 1 100%;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  margin-top: 8px;
  line-height: 1.6;
}

.footer__copy {
  flex: 1 1 100%;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer__links {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  
  .footer__contacts {
    gap: 16px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #e05a1f;
  transform: translateY(-3px);
}

.just-validate-error-label {
  color: #ef4444 !important;
  font-size: 13px !important;
  margin-top: 4px;
}

/* Legal pages */
.legal-page {
  padding: 48px 0;
  background: #f8fafc;
  min-height: 60vh;
}
.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.legal-wrapper h1 {
  color: #0a2540;
  margin-bottom: 24px;
  font-size: 32px;
}
.legal-wrapper p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #1e293b;
}
.legal-wrapper b {
  color: #0a2540;
}
.legal-page {
  padding: 48px 0;
  background: #f8fafc;
  min-height: 60vh;
}

.legal-wrapper {
  max-width: 900px;
  word-break: break-word;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.legal-wrapper h1 {
  color: #0a2540;
  margin-bottom: 24px;
  font-size: 32px;
}

.legal-wrapper p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #1e293b;
}

.legal-wrapper b {
  color: #0a2540;
}
.thanks-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}
.thanks-content {
  max-width: 600px;
  margin: 0 auto;
}
.thanks-icon {
  font-size: 64px;
  color: var(--accent);
  margin-bottom: 24px;
}
.thanks-title {
  font-size: 36px;
  margin-bottom: 16px;
}
.thanks-message {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 32px;
}