@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #1e3c72;
  --primary-light: #2a5298;
  --accent: #c84b31;
  --accent-soft: #ecb365;
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --text-dark: #1a1e2b;
  --text-muted: #4a5568;
  --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);
  --glass-border: rgba(255,255,255,0.2);
  --glass-bg: rgba(255,255,255,0.25);
  --neumorph-light: #e0e5ec;
  --neumorph-dark: #a3b1c6;
  --border-radius-card: 24px;
  --border-radius-btn: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}
section {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.85);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.header__notice {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: #edf2f7;
  padding: 6px 16px;
  border-radius: 40px;
  margin-left: 16px;
  font-weight: 500;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__list a {
  font-weight: 500;
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
}

.hero {
  padding: 48px 24px 64px;
  background: linear-gradient(145deg, #f0f4fa 0%, #ffffff 80%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.hero__gallery {
  position: relative;
}

.gallery-main {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
  background: #fff;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-main img:hover {
  transform: scale(1.02);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.thumb {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  opacity: 0.7;
}

.thumb.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #0f2b4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero__price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--border-radius-btn);
  font-weight: 600;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  background: transparent;
  font-size: 1rem;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(30,60,114,0.3);
}

.btn--primary:hover {
  background: var(--primary-light);
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 15px 30px rgba(30,60,114,0.4);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.hero__badges {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}

.hero__badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 48px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #1e3c72, #2a5298);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 20%;
  width: 60%;
  height: 4px;
  background: var(--accent-soft);
  border-radius: 4px;
}

.features {
  padding: 80px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px 20px;
  border-radius: var(--border-radius-card);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255,255,255,0.5);
}

.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-card__icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
}

.specs-showcase {
  padding: 80px 0;
  background: linear-gradient(135deg, #e9eff7 0%, #ffffff 100%);
}

.specs-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.specs-showcase__image {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.specs-showcase__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s;
}

.specs-showcase__image:hover img {
  transform: scale(1.03);
}

.spec-list {
  list-style: none;
}

.spec-list li {
  font-size: 1.2rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 16px 24px;
  border-radius: 60px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.2s;
}

.spec-list li:hover {
  transform: translateX(8px);
  background: var(--primary);
  color: white;
}

.spec-list i {
  color: var(--accent);
  font-size: 1.6rem;
}

.reviews {
  padding: 80px 0;
  background: var(--bg-white);
}

.reviews__masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-light);
  padding: 28px 24px;
  border-radius: 32px;
  transition: all 0.3s;
  position: relative;
}

.neumorph {
  background: #ecf0f3;
  box-shadow: 9px 9px 16px #d1d9e6, -9px -9px 16px #ffffff;
  border: 1px solid rgba(255,255,255,0.5);
}

.review-card:hover {
  transform: rotate(0.5deg) scale(1.02);
  box-shadow: 12px 12px 20px #c8d0dc, -12px -12px 20px #ffffff;
}

.review-card__stars {
  color: #f5b342;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.review-card__text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #2d3748;
}

.review-card__author {
  font-weight: 600;
  color: var(--primary);
}

.faq {
  padding: 80px 0;
  background: #f4f7fc;
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.faq-item {
  background: white;
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--primary);
  transition: 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item__question {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.faq-item__answer {
  color: var(--text-muted);
  line-height: 1.6;
}

.request-form {
  padding: 80px 0;
  background: radial-gradient(circle at 10% 30%, #e2eafc, #ffffff);
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 48px;
}

.glass-heavy {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 30px 50px rgba(0,0,0,0.08);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 40px;
  font-size: 1rem;
  transition: 0.2s;
  background: white;
}

.form-group input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(30,60,114,0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.form-checkbox input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-checkbox label {
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0;
}

.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

.btn--primary {
  width: 100%;
  margin-top: 16px;
}

.footer {
  background: #0b1a2f;
  color: #e2e8f0;
  padding: 48px 32px 24px;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-bottom: 1px solid #2d3a4e;
  padding-bottom: 24px;
}

.footer__legal a {
  color: #bdd3f0;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: white;
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  color: #b0c6dd;
}

.footer__disclaimer {
  font-size: 0.85rem;
  color: #9aafc9;
  max-width: 900px;
  line-height: 1.6;
}

.footer__copyright {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #253544;
  color: #a0b8d0;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 30px;
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__masonry { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .specs-showcase__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header__container { padding: 12px 16px; }
  .nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header__notice { display: none; }
  .hero { padding: 32px 16px; }
  .faq__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr !important; }
  .footer__legal { gap: 20px; }
  .footer__contacts { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .reviews__masonry { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-wrap: wrap; }
}