 /* ================================================================
   WOODCRAFT — Premium Wood Products
   ================================================================ */

/* ----- RESET & BASE ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #3d3220;
  background: #fdfaf5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ----- TYPOGRAPHY ----- */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #2c1f10;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.section-desc {
  text-align: center;
  color: #7a6b58;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.7;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #b8860b 0%, #d4a020 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(184, 134, 11, 0.5);
  background: linear-gradient(135deg, #c9970e 0%, #e0b030 100%);
}

.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ----- HEADER ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(253, 250, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  border-bottom-color: rgba(184, 134, 11, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #2c1f10;
  letter-spacing: 0.03em;
}

.logo span { color: #b8860b; }

.nav { display: flex; gap: 36px; }

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #5c4a38;
  transition: color 0.2s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b8860b;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav a:hover { color: #b8860b; }
.nav a:hover::after { width: 100%; }

.btn--call {
  background: linear-gradient(135deg, #b8860b 0%, #d4a020 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 11px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.25);
}

.btn--call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 134, 11, 0.4);
}

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__particles { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/fon.webp') center center / cover no-repeat;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero__bg::before {
    background-image: url('images/fon_mobile.webp');
  }
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(44, 30, 12, 0.3) 0%, rgba(20, 14, 5, 0.75) 100%);
  z-index: 1;
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(184,134,11,0.3) 2px, rgba(184,134,11,0.3) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
}

.hero__particles { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #d4a020;
  border-radius: 50%;
  animation: rise linear infinite;
  opacity: 0;
}

@keyframes rise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 120px 0 80px;
}

.hero__overline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a020;
  margin-bottom: 20px;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.7;
  color: #e8dcc8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
}

.hero__stat {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.hero__stat span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #d4a020;
  margin-bottom: 4px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fdfaf5;
  transform: skewY(-1.5deg);
  z-index: 2;
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll svg { opacity: 0.5; }

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ----- CATALOG ----- */
.catalog {
  padding: 80px 0;
  position: relative;
}

.catalog::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f8f3ea;
  transform: skewY(-1.5deg);
  z-index: 1;
  pointer-events: none;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

/* ----- CARD ----- */
.card {
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(44, 30, 12, 0.1);
  border-color: #d4c5a9;
}

.card__image {
  height: 250px;
  background: #f8f3ea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #ede4d5;
  position: relative;
}

.card__image svg { width: 100%; height: 100%; }

.card__img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card__image[data-lightbox] {
  cursor: zoom-in;
}

/* ----- LIGHTBOX ----- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 10;
  padding: 0;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lightbox-overlay.active .lightbox__content {
  transform: scale(1);
}

.lightbox__content > * {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #c62828, #e53935);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c1f10;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card__desc {
  font-size: 0.9rem;
  color: #6b5e4e;
  margin-bottom: 16px;
  line-height: 1.55;
  flex: 1;
}

.card__price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #b8860b;
  margin-bottom: 12px;
}

.card__price span { font-size: 0.8rem; font-weight: 400; color: #8c7b68; font-family: 'Inter', sans-serif; }

.card__price--individual { font-size: 1.1rem; color: #6b5e4e; font-style: italic; font-weight: 500; }

.card__price-list { margin-bottom: 12px; }

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.9rem;
  color: #3d3220;
  border-bottom: 1px dotted #ede4d5;
}

.price-row:last-child { border-bottom: none; }

.price-row span:last-child { font-weight: 700; color: #b8860b; font-family: 'Playfair Display', serif; font-size: 1rem; }

.card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }

.card__specs li {
  font-size: 0.75rem;
  color: #6b5e4e;
  background: #f8f3ea;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.btn--card-order {
  width: 100%;
  padding: 13px;
  background: #fff;
  border: 2px solid #b8860b;
  color: #b8860b;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  margin-top: auto;
}

.btn--card-order:hover {
  background: linear-gradient(135deg, #b8860b 0%, #d4a020 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(184, 134, 11, 0.35);
  transform: translateY(-2px);
}

/* ----- LEAD BLOCK ----- */
.lead {
  padding: 70px 0;
  background: #f8f3ea;
  position: relative;
}

.lead::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fdfaf5;
  transform: skewY(-1.5deg);
  z-index: 1;
  pointer-events: none;
}

.lead__box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 20px;
  padding: 48px 36px;
  box-shadow: 0 8px 40px rgba(44, 30, 12, 0.04);
}

.lead__fields {
  max-width: 400px;
  margin: 0 auto 24px;
  text-align: left;
}

.lead__text {
  font-size: 1.15rem;
  color: #3d3220;
  font-weight: 500;
  margin-bottom: 6px;
}

.lead__subtext {
  font-size: 0.95rem;
  color: #7a6b58;
  margin-bottom: 32px;
}

.lead__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.lead__file-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn--outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #d4c5a9;
  color: #5c4a38;
  background: #fff;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--outline-dark:hover {
  border-color: #b8860b;
  color: #b8860b;
  background: #fdf8ef;
}

.lead__file-name {
  font-size: 0.85rem;
  color: #6b5e4e;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead__preview {
  margin-top: 20px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ede4d5;
}

.lead__preview img {
  width: 100%;
  height: auto;
  display: block;
}

.lead__success {
  text-align: center;
  padding: 20px 0;
}

.lead__success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #2c1f10;
  margin: 12px 0 6px;
}

.lead__success p {
  color: #6b5e4e;
  font-size: 0.9rem;
}

/* ----- PORTFOLIO ----- */
.portfolio {
  padding: 80px 0;
  background: #f8f3ea;
  position: relative;
}

.portfolio::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fdfaf5;
  transform: skewY(1.5deg);
  z-index: 1;
  pointer-events: none;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio__card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
}

.portfolio__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.portfolio__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 14, 5, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 30, 12, 0.15);
}

.portfolio__card:hover img {
  transform: scale(1.05);
}

.portfolio__card:hover::after {
  opacity: 1;
}

.portfolio__card--wide {
  grid-column: span 2;
}

.portfolio__card--tall {
  grid-row: span 2;
}

/* ----- PROCESS ----- */
.process {
  padding: 80px 0;
  position: relative;
}

.process::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f8f3ea;
  transform: skewY(1.5deg);
  z-index: 1;
  pointer-events: none;
}

.process__steps {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.process__step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 32px 16px;
  position: relative;
}

.process__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1;
}

.process__step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c1f10;
  margin-bottom: 10px;
  line-height: 1.3;
}

.process__step p {
  font-size: 0.85rem;
  color: #6b5e4e;
  line-height: 1.55;
}

.process__arrow {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  opacity: 0.4;
}

.process__step:last-child .process__arrow {
  display: none;
}

/* ----- HOW WE WORK ----- */
.how {
  padding: 80px 0;
  background: #f8f3ea;
  position: relative;
}

.how::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fdfaf5;
  transform: skewY(-1.5deg);
  z-index: 1;
  pointer-events: none;
}

.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 32px 16px;
  position: relative;
}

.step__num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(184, 134, 11, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c1f10;
  margin-bottom: 8px;
}

.step p { font-size: 0.85rem; color: #6b5e4e; line-height: 1.5; }

.step__line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #d4c5a9, #b8860b);
  align-self: center;
  margin-top: -40px;
  flex-shrink: 0;
}

/* ----- MATERIALS ----- */
.materials {
  padding: 80px 0;
  background: #f8f3ea;
  position: relative;
}

.materials::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fdfaf5;
  transform: skewY(1.5deg);
  z-index: 1;
  pointer-events: none;
}

.materials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.material-card {
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(44, 30, 12, 0.1);
}

.material-card__visual {
  height: 180px;
  overflow: hidden;
}

.material-card__visual svg { width: 100%; height: 100%; }

.material-card__visual {
  height: 200px;
  overflow: hidden;
}

.material-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.material-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c1f10;
  padding: 20px 24px 4px;
}

.material-card p {
  font-size: 0.88rem;
  color: #6b5e4e;
  padding: 0 24px 24px;
  line-height: 1.6;
}

/* ----- ABOUT ----- */
.about {
  padding: 80px 0;
  position: relative;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f8f3ea;
  transform: skewY(-1.5deg);
  z-index: 1;
  pointer-events: none;
}

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

.about__image svg { width: 100%; height: auto; border-radius: 20px; }

.about__img-real {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.about__lead { font-size: 1.1rem; color: #5c4a38; margin-bottom: 32px; line-height: 1.7; font-weight: 400; }

.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }

.feature {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid #e8dfd0;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 30, 12, 0.08);
}

.feature__num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #b8860b;
  margin-bottom: 4px;
  line-height: 1;
}

.feature__label { font-size: 0.8rem; color: #6b5e4e; font-weight: 500; }

.about__note { font-size: 0.9rem; color: #7a6b58; line-height: 1.7; }

.about__contacts {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ede4d5;
}

.about__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #5c4a38;
  line-height: 1.4;
}

.about__contact-item svg {
  flex-shrink: 0;
}

.about__contact-item:last-child {
  align-items: flex-start;
}

/* ----- PARTNERS ----- */
.partners {
  padding: 80px 0;
  position: relative;
}

.partners::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fdfaf5;
  transform: skewY(-1.5deg);
  z-index: 1;
  pointer-events: none;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.partners__card {
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.partners__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(44, 30, 12, 0.08);
  border-color: #d4c5a9;
}

.partners__card svg {
  display: block;
  margin: 0 auto 16px;
}

.partners__card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c1f10;
  margin-bottom: 8px;
}

.partners__card p {
  font-size: 0.85rem;
  color: #6b5e4e;
  line-height: 1.55;
}

.partners__cta {
  text-align: center;
  margin-top: 40px;
}

/* ----- FAQ ----- */
.faq {
  padding: 80px 0;
  background: #f8f3ea;
  position: relative;
}

.faq::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fdfaf5;
  transform: skewY(1.5deg);
  z-index: 1;
  pointer-events: none;
}

.faq__list { max-width: 700px; margin: 0 auto; }

.faq__item { border-bottom: 1px solid #e0d5c2; }

.faq__q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2c1f10;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq__q:hover { color: #b8860b; }

.faq__arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #d4c5a9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.faq__item.open .faq__arrow {
  transform: rotate(45deg);
  border-color: #b8860b;
  color: #b8860b;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item.open .faq__a { max-height: 200px; padding-bottom: 20px; }

.faq__a p { font-size: 0.9rem; color: #6b5e4e; line-height: 1.6; }

/* ----- CONTACTS ----- */
.contacts {
  padding: 80px 0;
  position: relative;
}

.contacts::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #1a1008;
  transform: skewY(1.5deg);
  z-index: 1;
  pointer-events: none;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.contacts__card {
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.contacts__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(44, 30, 12, 0.08);
  border-color: #d4c5a9;
}

.contacts__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fdf3dc;
  margin-bottom: 16px;
}

.contacts__card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c1f10;
  margin-bottom: 8px;
}

.contacts__card p { font-size: 0.88rem; color: #6b5e4e; line-height: 1.6; }

/* ----- FOOTER ----- */
.footer { padding: 60px 0 40px; background: #1a1008; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.footer__brand p { color: #8c7b68; font-size: 0.85rem; margin-top: 12px; line-height: 1.6; }

.logo--footer { color: #c4a060; }
.logo--footer span { color: #d4a020; }

.footer__links h4 {
  font-family: 'Playfair Display', serif;
  color: #c4a060;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer__links a {
  display: block;
  color: #8c7b68;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

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

.footer__cta { display: flex; flex-direction: column; gap: 16px; }

.footer__copy { color: #6b5e4e; font-size: 0.8rem; }

/* ----- BACK TO TOP ----- */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #b8860b;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-top:hover { background: #d4a020; transform: translateY(-3px); box-shadow: 0 10px 32px rgba(184, 134, 11, 0.5); }

/* ----- MODAL ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 5, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: #fff;
  border-radius: 24px;
  padding: 48px 36px 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(40px) scale(0.93);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  text-align: center;
}

.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #a89a84;
  cursor: pointer;
  transition: all 0.2s;
  padding: 6px;
  border-radius: 8px;
}

.modal__close:hover { color: #2c1f10; background: #f8f3ea; }

.modal__icon { margin-bottom: 16px; }

.modal__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c1f10;
  margin-bottom: 4px;
}

.modal__product-name {
  font-size: 0.9rem;
  color: #b8860b;
  font-weight: 600;
  margin-bottom: 28px;
  min-height: 20px;
}

.modal__form { text-align: left; }

.modal__btn { width: 100%; padding: 16px; font-size: 1rem; font-weight: 700; margin-top: 8px; border-radius: 12px; }

.modal__form .form__note { text-align: center; margin-top: 14px; font-size: 0.75rem; }

.modal__success { padding: 24px 0 12px; text-align: center; }

.modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  margin-bottom: 14px;
}

.modal__success h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #2c1f10; margin-bottom: 6px; }

.modal__success p { color: #6b5e4e; font-size: 0.9rem; }

/* ----- FORM ELEMENTS (shared) ----- */
.form__group { position: relative; margin-bottom: 22px; }

.form__input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e0d5c2;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #2c1f10;
  background: #fdfaf5;
  transition: all 0.25s;
  outline: none;
}

.form__input:focus { border-color: #b8860b; box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.07); }

.form__label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 0.95rem;
  color: #9c8b74;
  pointer-events: none;
  transition: all 0.2s ease;
  background: linear-gradient(180deg, transparent 48%, #fdfaf5 48%);
  padding: 0 4px;
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  color: #b8860b;
  font-weight: 600;
}

.form__note { font-size: 0.75rem; color: #a89a84; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* ----- BURGER MENU ----- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 101;
}

.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #2c1f10;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .contacts__grid { grid-template-columns: 1fr 1fr; max-width: 500px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .materials__grid { grid-template-columns: 1fr; }
  .step__line { display: none; }
  .how__steps { flex-direction: column; align-items: center; }
  .hero__stats { gap: 24px; }
  .partners__grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .about__contacts .about__contact-item { font-size: 0.85rem; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .catalog, .portfolio, .process, .how, .materials, .about, .faq, .contacts, .partners, .lead {
    padding: 50px 0;
  }

  .section-desc { margin-bottom: 28px; }

  /* Header & nav */
  .header__inner { flex-wrap: nowrap; gap: 8px; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: #fff;
    padding: 80px 28px 28px;
    gap: 8px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 100;
  }
  .nav.open { right: 0; }
  .nav a { font-size: 1rem; padding: 12px 0; border-bottom: 1px solid #f0e8dc; }
  .nav a::after { display: none; }
  .btn--call { font-size: 0.78rem; padding: 9px 14px; }

  /* Hero */
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; align-items: center; width: 100%; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .hero__scroll { display: none; }
  .hero__stats { gap: 16px; flex-wrap: wrap; }
  .hero__stat { min-width: 80px; }
  .hero__stat span { font-size: 1.5rem; }

  /* Catalog */
  .catalog__grid { grid-template-columns: 1fr; }
  .card__image { height: 200px; }

  /* About */
  .about__features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about__contacts { margin-top: 16px; padding-top: 16px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__cta { align-items: center; }
  .footer { padding: 40px 0 28px; }

  /* Modal */
  .modal { padding: 36px 22px 28px; }
  .modal__title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .nav { width: 100%; right: -100%; }
  .hero__title { font-size: 1.7rem; }
  .hero__stats { flex-direction: column; gap: 8px; }
  .hero__stat { display: flex; align-items: center; gap: 8px; justify-content: center; }
  .hero__stat span { display: inline; font-size: 1.2rem; margin-bottom: 0; }
  .about__features { grid-template-columns: 1fr; }
  .card { border-radius: 12px; }
  .card__body { padding: 16px; }
  .card__image { height: 180px; }
  .card__title { font-size: 1.05rem; }
  .card__price { font-size: 1.5rem; }
  .feature { padding: 20px 16px; }
  .feature__num { font-size: 1.5rem; }
  .contacts__card { padding: 24px 20px; }
  .modal { padding: 28px 16px 24px; border-radius: 16px; }
  .form__input { padding: 14px; font-size: 16px; }
  .back-top { width: 40px; height: 40px; bottom: 16px; right: 16px; }
  .step { padding: 24px 12px; }
  .partners__grid { grid-template-columns: 1fr; }
  .partners__card { padding: 24px 20px; }
  .about__contact-item { font-size: 0.8rem; }
  .footer__grid { gap: 24px; }
}
