/* Extracted landing page styles from landing.html */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --bg: #f9f7f4;
  --text: #1e1a17;
  --accent: #c96b42;
  --muted: #b8a99e;
  --card-bg: #fffbf8;
  --container-max: 1400px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.section {
  padding: 70px 0;
}

.badge {
  background: #e1d2c7;
  color: #2b241f;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid var(--muted);
}

.accent {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #b0502c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 36px;
  border-radius: 60px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.28s ease;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(201, 107, 66, 0.25);
}

.btn:hover { background: #a84f2c; border-color: #a84f2c; transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 32px rgba(201, 107, 66, 0.35);} 

.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--text); box-shadow: none; }
.btn-outline:hover { background: var(--text); color: white; border-color: var(--text); }

/* Навигация */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; position: relative; }
.logo { font-weight: 800; font-size: 2rem; z-index: 1002; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: clamp(20px, 4vw, 40px); align-items: center; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-weight: 600; color: #2b241f; transition: color 0.2s, transform 0.2s; }
.nav-links a:hover { color: var(--accent); transform: translateY(-2px); }

/* Бургер */
.burger { display: none; flex-direction: column; justify-content: space-around; width: 32px; height: 24px; cursor: pointer; z-index: 1003; background: transparent; border: none; }
.burger span { width: 100%; height: 3px; background: #2b241f; border-radius: 3px; transition: all 0.35s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.burger.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

/* Мобильное меню */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: #fffbf8; box-shadow: -10px 0 30px rgba(0,0,0,0.15); transition: right 0.45s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1001; padding: 100px 30px 40px; display: flex; flex-direction: column; gap: 28px; }
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.35rem; font-weight: 600; color: #2b241f; text-decoration: none; transition: all 0.3s ease; }
.mobile-menu a:hover { color: var(--accent); padding-left: 12px; }

/* Hero */
.hero { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-left { flex: 1 1 450px; }
.hero-right { flex: 1 1 380px; background: #f0e5dc; border-radius: 60px; padding: 40px 30px; border: 2px solid #dac3b6; box-shadow: 20px 20px 0 #1e1a170f; }
.big-price { font-size: 4.5rem; font-weight: 800; line-height: 1; color: var(--text); }
.price-caption { font-size: 1.2rem; margin: 15px 0 20px; }

/* Карусель */
.carousel-container { position: relative; max-width: 1000px; margin: 40px auto 0; border-radius: 48px; overflow: hidden; box-shadow: 0 25px 40px -10px rgba(0,0,0,0.2); }
.carousel-track { display: flex; transition: transform 0.4s ease; }
.carousel-slide { flex: 0 0 100%; aspect-ratio: 1980 / 1650; background: linear-gradient(145deg, #d9cdc2, #bfaea0); display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 2rem; color: #5e4b3d; border-right: 2px solid #a99283; padding: 20px; text-align: center; }
.carousel-slide i { font-size: 5rem; color: #8b6f5c; margin-bottom: 20px; opacity: 0.7; }
.carousel-slide span { background: rgba(255,255,240,0.8); padding: 8px 25px; border-radius: 60px; font-weight: 600; font-size: 1.2rem; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; cursor: pointer; color: #4f3e32; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.25s ease; z-index: 10; display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: var(--accent); color: white; transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }
.carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: #cfbeb2; border: 2px solid transparent; cursor: pointer; transition: 0.25s; }
.dot.active { background: var(--accent); transform: scale(1.2); border-color: #fff2e9; }

/* Преимущества */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.feature-card { background: white; padding: 30px 24px; border-radius: 32px; border: 1px solid #e6dbd2; transition: all 0.28s ease; box-shadow: 0 5px 20px rgba(0,0,0,0.02); }
.feature-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 15px 30px rgba(201, 107, 66, 0.12); }
.feature-card i { font-size: 2.4rem; color: var(--accent); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.6rem; margin-bottom: 10px; }

/* Статистика */
.stats { background: #1e1a17; color: white; border-radius: 80px; padding: 50px 40px; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; margin: 50px 0; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; background: linear-gradient(90deg, #f3b395, #e89f7a); background-clip: text; -webkit-text-fill-color: transparent; }

/* Модальное окно */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(5px); }
.modal.active { display: flex; }
.modal-content { background: var(--card-bg); border-radius: 48px; max-width: 500px; width: 90%; padding: 35px 30px 40px; position: relative; border: 2px solid #c9b2a4; max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px -8px rgba(0,0,0,0.3); }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 2rem; cursor: pointer; color: #6b4f3e; line-height: 1; transition: 0.25s; }
.modal-close:hover { color: var(--accent); transform: scale(1.15) rotate(90deg); }
.tabs { display: flex; gap: 10px; margin: 20px 0 25px; border-bottom: 2px solid #e9dbd1; padding-bottom: 10px; }
.tab-btn { background: transparent; border: none; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.3rem; padding: 8px 20px; border-radius: 40px; cursor: pointer; color: #5f4d40; transition: 0.25s; }
.tab-btn.active { background: var(--accent); color: white; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.price-badge { background: var(--accent); color: white; padding: 8px 20px; border-radius: 60px; font-weight: 700; display: inline-block; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { font-weight: 600; display: block; margin-bottom: 6px; color: #2b241f; }
.form-group input { width: 100%; padding: 16px 20px; border: 2px solid #ddd1c6; border-radius: 40px; font-family: 'Montserrat', sans-serif; font-size: 1rem; transition: 0.25s; }
.form-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201,107,66,0.2); }
.form-btn { width: 100%; background: var(--accent); color: white; border: none; padding: 16px; border-radius: 60px; font-weight: 700; font-size: 1.2rem; cursor: pointer; transition: 0.25s; }
footer { background: #2b241f; color: #c9b6a8; padding: 40px 0; text-align: center; }
.form-btn:hover { background: #a84f2c; transform: translateY(-2px); }
.legal-note { font-size: 0.8rem; text-align: center; margin-top: 20px; color: #65574c; }

/* Адаптив */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { gap: 32px; }
  .hero-left, .hero-right { flex: 1 1 100%; }
  .features-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
  .carousel-container { max-width: 90%; }
}

@media (max-width: 700px) { .carousel-btn { width: 40px; height: 40px; font-size: 1.5rem; } }
@media (max-width: 600px) { .section { padding: 48px 0; } .navbar { padding: 16px 0; } h1 { font-size: 2.5rem; } .big-price { font-size: 3.5rem; } .stats { flex-direction: column; gap: 36px; padding: 40px 24px; border-radius: 48px; } footer {padding: 32px 0;} }
@media (max-width: 480px) { .container { padding: 0 16px; } h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); line-height: 1.18; } h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); } .btn { padding: 12px 32px; font-size: 1rem; } .feature-card { padding: 24px 20px; } .feature-card h3 { font-size: 1.4rem; } .carousel-container { border-radius: 24px; margin: 24px auto 0; } .carousel-slide { font-size: 1.5rem; padding: 16px; } .carousel-slide i { font-size: 4rem; } .modal-content { width: 94%; padding: 24px 20px 32px; border-radius: 32px; } .price-badge { padding: 6px 16px; font-size: 0.95rem; } .form-group input { padding: 14px 16px; font-size: 0.95rem; } .form-btn { padding: 14px; font-size: 1.05rem; } }

/* Focus-visible for accessibility */
:focus-visible { outline: 3px solid rgba(201,107,66,0.25); outline-offset: 2px; }
