@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #1e3c5c;
  --primary-light: #2b4f73;
  --accent: #c9a76b;
  --bg-light: #f8f7f4;
  --text-dark: #1e1e1e;
  --text-muted: #5a5a5a;
  --border-light: #e0ddd5;
  --shadow: 0 12px 28px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: #fff;
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(30,60,92,0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30,60,92,0.3);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.6rem;
  font-family: var(--font-heading);
  color: var(--primary);
}

.logo img {
  border-radius: 10px;
}

.header__notice {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
  font-weight: 500;
}

.nav__list a {
  color: var(--text-dark);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav__list a:hover {
  border-bottom-color: var(--accent);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  padding: 48px 0 32px;
  background: linear-gradient(135deg, #fdfdfc 0%, #f4f2ec 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.gallery-thumbs .thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s, opacity 0.2s;
  opacity: 0.7;
}

.gallery-thumbs .thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.hero__title {
  margin-bottom: 20px;
}

.hero__price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.price-old {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-new {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.price-badge {
  background: var(--accent);
  color: #1e1e1e;
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero__features {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__features i {
  color: var(--accent);
  width: 20px;
}

.about {
  padding: 60px 0;
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__content h2 {
  margin-bottom: 24px;
}

.about__lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 500;
}

.about__content p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.about__highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.highlight-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px 12px;
  text-align: center;
  transition: transform 0.2s;
}

.highlight-card:hover {
  transform: translateY(-4px);
}

.highlight-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.highlight-card span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.highlight-card strong {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

.features {
  padding: 60px 0;
  background: var(--bg-light);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card i {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.similar {
  padding: 60px 0;
  background: #fff;
}

.similar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.25s;
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 30px rgba(0,0,0,0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 12px 0 16px;
}

.faq {
  padding: 60px 0;
  background: var(--bg-light);
}

.faq__grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 24px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding-bottom: 18px;
  color: var(--text-muted);
}

.order {
  padding: 60px 0;
  background: linear-gradient(to bottom, #fff, var(--bg-light));
}

.order__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.order__info h2 {
  margin-bottom: 16px;
}

.order__map {
  margin-top: 32px;
  background: #fff;
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.order__form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group--checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-group--checkbox input {
  width: 20px;
  height: 20px;
}

.form-group--checkbox label {
  margin: 0;
  font-weight: 400;
}

.footer {
  background: #1a2a3a;
  color: #e0ddd5;
  padding: 48px 0 20px;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand .logo span {
  color: #fff;
}

.footer__disclaimer {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #b0b8c0;
  line-height: 1.6;
}

.footer__links h4,
.footer__contacts h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.footer__links ul {
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  color: #ccc;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contacts p {
  margin-bottom: 6px;
  color: #ccc;
  font-size: 0.95rem;
}

.footer__bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #9aa3ad;
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup__content {
  background: #fff;
  max-width: 440px;
  width: 90%;
  padding: 36px 28px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 30px 50px rgba(0,0,0,0.2);
  position: relative;
  animation: popupFade 0.25s ease;
}

.popup__close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-muted);
}

.popup__content img {
  margin: 0 auto 20px;
  border-radius: 12px;
}

.popup__content h3 {
  margin-bottom: 16px;
}

.popup__content p {
  margin-bottom: 12px;
}

@keyframes popupFade {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .order__wrapper { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header__inner { flex-wrap: wrap; }
  .header__notice { order: 3; margin-left: 0; width: 100%; text-align: center; }
  .nav__list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav__list.show { display: flex; }
  .nav__toggle { display: flex; }
  .about__highlight { grid-template-columns: 1fr; }
  .similar__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-thumbs .thumb { width: 55px; height: 55px; }
    .features__grid {
      grid-template-columns: 1fr;
    }
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.legal-content h2 { font-size: 1.8rem; margin: 2rem 0 1rem; }
.legal-content h3 { font-size: 1.4rem; }
.legal-content p, .legal-content li { font-size: 1rem; line-height: 1.7; color: #333; margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin-left: 1.5rem; margin-bottom: 1rem; }