/* ============================================================
   D-Luxe — Жалюзи в Самарканде
   style.css — адаптация стиля Kravis (Жалюзи.РФ)
   Палитра: акцент #dd4466, текст #0b0b0b, серый фон #f5f5f5
   Шрифты: Roboto (текст) + Roboto Slab (заголовки)
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #ffffff;
  color: #0b0b0b;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #dd4466;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b83350;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', 'Roboto', serif;
  font-weight: 700;
  line-height: 1.25;
  color: #0b0b0b;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0b0b0b;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo span {
  color: #dd4466;
  font-weight: 700;
}

.logo:hover {
  color: #0b0b0b;
}

.header-info {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.82rem;
  color: #6d6d6d;
}

.header-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-info-item i {
  color: #dd4466;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #0b0b0b;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #dd4466;
}

.lang-switch {
  background: #dd4466;
  color: #ffffff !important;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}

.lang-switch:hover {
  background: #b83350;
}

.header-cta {
  display: flex;
  align-items: center;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0b0b0b;
  white-space: nowrap;
}

.header-phone i {
  color: #dd4466;
}

.header-phone:hover {
  color: #dd4466;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #f5f5f5;
  padding: 60px 0;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.hero-info {
  flex: 1.3;
  min-width: 280px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(221, 68, 102, 0.1);
  color: #dd4466;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #0b0b0b;
}

.hero-lead {
  font-size: 1rem;
  color: #4a4a4a;
  margin-bottom: 28px;
  max-width: 560px;
  line-height: 1.7;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: #dd4466;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(221, 68, 102, 0.25);
}

.btn-primary:hover {
  background: #b83350;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(221, 68, 102, 0.35);
}

.btn-outline {
  border: 2px solid #dd4466;
  color: #dd4466;
  background: #ffffff;
}

.btn-outline:hover {
  background: #dd4466;
  color: #ffffff;
}

.hero-features {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #0b0b0b;
  font-weight: 500;
}

.hero-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-features i {
  color: #dd4466;
  font-size: 0.9rem;
}

/* ---------- Hero master card ---------- */
.hero-master {
  flex: 1;
  min-width: 260px;
  display: flex;
  justify-content: center;
}

.hero-master-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 320px;
  width: 100%;
  border: 1px solid #e6e6e6;
}

.hero-master-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #dd4466;
  background: #f5f5f5;
  margin: 0 auto 16px;
  display: block;
}

.hero-master-name {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b0b0b;
  margin-bottom: 4px;
}

.hero-master-role {
  font-size: 0.8rem;
  color: #8a8a8a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-master-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dd4466;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  font-family: 'Roboto Slab', serif;
}

.hero-master-phone:hover {
  background: #b83350;
  color: #ffffff;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 70px 0;
}

.section-gray {
  background: #f5f5f5;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #0b0b0b;
}

.section-title span {
  color: #dd4466;
}

.section-title-left {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0b0b0b;
  text-align: left;
}

.section-title-left span {
  color: #dd4466;
}

.section-sub {
  text-align: center;
  color: #6d6d6d;
  max-width: 640px;
  margin: 0 auto 44px auto;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================================
   GRID 3 / CARDS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #dd4466;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-family: 'Roboto Slab', serif;
  margin-bottom: 10px;
  color: #0b0b0b;
  font-size: 1.2rem;
  font-weight: 700;
}

.card p {
  color: #6d6d6d;
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
}

.price {
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #dd4466;
  margin-bottom: 16px;
}

.card-link {
  display: inline-block;
  background: #dd4466;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s ease;
  align-self: flex-start;
}

.card-link:hover {
  background: #b83350;
  color: #ffffff;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.about-photo {
  flex: 1;
  min-width: 240px;
  text-align: center;
}

.master-photo {
  width: 100%;
  max-width: 320px;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
  margin: 0 auto;
  border: 6px solid #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.about-text {
  flex: 1.3;
  min-width: 280px;
}

.about-text .lead {
  font-size: 1.02rem;
  color: #dd4466;
  font-weight: 500;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 0.98rem;
  margin-bottom: 14px;
  color: #4a4a4a;
  line-height: 1.7;
}

.about-text .btn {
  margin-top: 10px;
}

/* ============================================================
   STEPS (Как заказать)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: #ffffff;
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid #ebebeb;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  border-color: #dd4466;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #dd4466;
  color: #ffffff;
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #0b0b0b;
}

.step p {
  font-size: 0.9rem;
  color: #6d6d6d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   HITS (Хиты продаж)
   ============================================================ */
.hits-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.hits-tab {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  color: #0b0b0b;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hits-tab:hover {
  border-color: #dd4466;
  color: #dd4466;
}

.hits-tab.active {
  background: #dd4466;
  border-color: #dd4466;
  color: #ffffff;
}

.hits-panel {
  display: none;
}

.hits-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.hit-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ebebeb;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hit-card:hover {
  transform: translateY(-3px);
  border-color: #dd4466;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.hit-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f0f0f0;
}

.hit-info {
  padding: 16px 16px 18px;
}

.hit-info h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0b0b0b;
  margin-bottom: 6px;
}

.hit-info p {
  font-size: 0.85rem;
  color: #8a8a8a;
  margin-bottom: 10px;
}

.hit-price {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #dd4466;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  margin-bottom: 10px;
  border-radius: 4px;
  padding: 18px 22px;
  cursor: pointer;
  border: 1px solid #e6e6e6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #dd4466;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-q {
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #0b0b0b;
}

.faq-q span {
  color: #dd4466;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease;
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  margin-top: 12px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.review-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 26px 24px;
  border: 1px solid #ebebeb;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: #dd4466;
}

.rating {
  color: #ffb400;
  margin-bottom: 12px;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.review-card p {
  color: #4a4a4a;
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.7;
  font-style: italic;
}

.review-card b {
  color: #dd4466;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ============================================================
   SEO TEXT
   ============================================================ */
.text-section {
  padding: 60px 0;
  background: #fafafa;
}

.text-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #0b0b0b;
  text-align: left;
}

.text-section p {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.text-section a {
  color: #dd4466;
  font-weight: 500;
  border-bottom: 1px solid rgba(221, 68, 102, 0.3);
}

.text-section a:hover {
  border-bottom-color: #dd4466;
}

/* ============================================================
   CONTACTS
   ============================================================ */
.contact-section {
  padding: 70px 0;
  background: #ffffff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.contact-h2 {
  font-size: 1.9rem;
  color: #0b0b0b;
  margin-bottom: 12px;
}

.contact-h2 span {
  color: #dd4466;
}

.contact-sub {
  color: #6d6d6d;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.contact-left p {
  margin: 10px 0;
  font-size: 0.95rem;
  color: #4a4a4a;
}

.contact-left p i {
  color: #dd4466;
  margin-right: 8px;
}

.phone-big {
  font-family: 'Roboto Slab', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0b0b0b;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-big i {
  color: #dd4466;
  font-size: 1.4rem;
}

.phone-big a {
  color: #0b0b0b;
}

.phone-big a:hover {
  color: #dd4466;
}

.contact-cta {
  margin-top: 24px;
}

.contact-right {
  text-align: center;
}

.contact-photo {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 5px solid #dd4466;
  background: #f5f5f5;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.contact-right h3 {
  margin-top: 18px;
  font-family: 'Roboto Slab', serif;
  color: #0b0b0b;
  font-size: 1.4rem;
}

.contact-right p {
  color: #6d6d6d;
  font-size: 0.9rem;
  margin-top: 4px;
}

.badge-soft {
  display: inline-block;
  background: rgba(221, 68, 102, 0.1);
  color: #dd4466;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 14px;
}

/* ---------- Map ---------- */
.map-wrap {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #ebebeb;
  line-height: 0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #2a2a2a;
  color: #b8b8b8;
  padding: 50px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #b8b8b8;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #dd4466;
}

.footer-logo {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px;
}

.footer-logo span {
  color: #dd4466;
}

.footer-sub {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #b8b8b8;
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #8a8a8a;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero h1 {
    font-size: 2rem;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .phone-big {
    justify-content: center;
  }

  .about-wrap {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }

  .section-title-left {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  .hero {
    padding: 40px 0 50px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .header-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .header-info {
    justify-content: center;
    gap: 14px;
    font-size: 0.78rem;
  }

  .nav-links {
    justify-content: center;
    gap: 14px;
    font-size: 0.85rem;
  }

  .header-phone {
    font-size: 1rem;
  }

  .section-title,
  .contact-h2 {
    font-size: 1.5rem;
  }

  .section-title-left {
    font-size: 1.4rem;
  }

  .hero-master-photo {
    width: 160px;
    height: 160px;
  }

  .master-photo {
    max-width: 240px;
  }

  .contact-photo {
    width: 160px;
    height: 160px;
  }

  .phone-big {
    font-size: 1.4rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .card-img {
    height: 200px;
  }

  .hit-card img {
    height: 160px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 320px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.45rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hits-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}