/* ── SECTION ── */
section { padding: 80px 80px; }

.section-title {
  font-size: 28px; font-weight: 700;
  color: var(--graphite); margin-bottom: 32px; letter-spacing: -.01em;
}

/* ── HERO ── */
.hero {
  margin-top: 64px;
  height: calc((100vh - 64px) * 0.7);
  min-height: 360px;
  position: relative; overflow: hidden;
  background-color: #1e3d30;
  background-size: cover;
  background-position: center;
  display: flex; align-items: flex-end;
}

.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}

.hero-bottom-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
  z-index: 1; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px 56px; max-width: 680px;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800; color: var(--white);
  line-height: 1.08; letter-spacing: -.01em;
  text-transform: uppercase; margin-bottom: 16px;
  text-wrap: balance;
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) .2s both;
}

.hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400; color: rgba(255,255,255,.85);
  margin-bottom: 36px; letter-spacing: .02em;
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) .38s both;
}

.hero-content .btn-primary {
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) .52s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TRUST BAR ── */
.trust-bar {
  padding: 48px 80px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}

.trust-item { display: flex; flex-direction: column; gap: 8px; border: 2px solid #111; padding: 18px 20px; box-shadow: -6px 8px 14px rgba(0, 0, 0, 0.2); align-items: center; justify-content: center; text-align: center; }

.trust-label { font-size: 17px; font-weight: 700; color: var(--graphite); }

.trust-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── KITCHENS PREVIEW ── */
#kitchens { background: var(--bg); }
#kitchens .section-title,
#components .section-title { font-size: 34px; }

.preview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}

.preview-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow .3s;
  display: flex; flex-direction: column;
}
.preview-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.09); }

.preview-card-img {
  height: 500px; position: relative; overflow: hidden;
}
.preview-card-img .img-placeholder { transition: transform .5s ease; }
.preview-card:hover .preview-card-img .img-placeholder { transform: scale(1.03); }

.preview-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.preview-card:hover .preview-card-img img { transform: scale(1.03); }

.preview-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 2px;
}

.preview-card-body {
  padding: 28px 28px 24px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}

.preview-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.preview-name { font-size: 20px; font-weight: 700; color: var(--graphite); line-height: 1.2; }
.preview-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.preview-price-row { margin-top: 4px; }

.card-price { font-size: 20px; font-weight: 700; color: var(--orange); }
.card-price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 400; }

.btn-card {
  width: 100%; background: var(--green); color: var(--white);
  border: none; padding: 13px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  cursor: pointer; border-radius: var(--radius);
  transition: background .2s; letter-spacing: .03em; margin-top: 8px;
}
.btn-card:hover { background: var(--green-hover); }

.btn-catalog {
  display: inline-block;
  border: 2px solid var(--green); color: var(--green);
  background: none; padding: 15px 44px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  letter-spacing: .04em; border-radius: var(--radius);
  text-decoration: none; transition: background .2s, color .2s;
}
.btn-catalog:hover { background: var(--green); color: var(--white); }

.catalog-link-wrap { margin-top: 48px; text-align: center; }
.catalog-link-wrap .btn-catalog { display: inline-block; }

/* ── COMPONENTS PREVIEW ── */
#components { background: var(--white); }

/* ── ABOUT ── */
#about { background: var(--bg2); padding-top: 80px; padding-bottom: 80px; }

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

.about-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.about-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }

.about-img { border-radius: 6px; overflow: hidden; }
.about-img img { width: 100%; height: auto; display: block; }

/* ── MATERIALS ── */
#materials { background: var(--white); }

.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.mat-card {
  border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; cursor: pointer; transition: box-shadow .2s;
}
.mat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }

.mat-img { height: 180px; overflow: hidden; }
.mat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mat-card:hover .mat-img img { transform: scale(1.04); }

.mat-body { padding: 16px; }
.mat-name { font-size: 15px; font-weight: 700; color: var(--graphite); margin-bottom: 8px; }
.mat-desc {
  font-size: 13px; color: var(--muted); line-height: 1.5;
  max-height: 0; overflow: hidden; transition: max-height .35s ease, margin .35s;
}
.mat-card.open .mat-desc { max-height: 120px; margin-top: 8px; }

.mat-toggle { display: inline-block; font-size: 12px; font-weight: 600; color: var(--green); margin-top: 10px; }

/* ── VIDEO ── */
#video { background: var(--bg2); }

.video-row {
  display: flex; align-items: flex-start; gap: 280px; justify-content: center;
}

.video-wrap {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 8px; flex: 0 0 420px; aspect-ratio: 9 / 16;
}
.video-wrap .img-placeholder { transition: transform .4s ease; height: 100%; }
.video-wrap:hover .img-placeholder { transform: scale(1.02); }

.video-player {
  width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block;
}

.video-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25);
  border-radius: 8px;
  transition: opacity .25s;
  pointer-events: none;
}
.video-play-overlay span {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--green);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}

.video-desc {
  flex: 0 0 420px; max-width: 420px; font-size: 20px; font-weight: 600; color: var(--muted);
  line-height: 1.8; align-self: flex-start; margin-top: 9%;
}

/* ── VIDEO MODAL ── */
.video-modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.video-modal-overlay.open { opacity: 1; pointer-events: all; }
.video-modal-inner { position: relative; width: 90vw; max-width: 900px; aspect-ratio: 16/9; }
.video-modal-inner iframe { width: 100%; height: 100%; border: none; border-radius: 6px; }
.video-modal-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: white; font-size: 28px; cursor: pointer;
}

/* ── BUYERS ── */
#buyers { background: var(--white); }

.buyers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.buyer-card { border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.buyer-img { height: 320px; overflow: hidden; }
.buyer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.buyer-card:hover .buyer-img img { transform: scale(1.04); }

.buyer-body { padding: 14px 16px; }
.buyer-model { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.buyer-review { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--bg2); padding: 64px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cta-banner p { font-size: 14px; color: var(--muted); }
.cta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cta-phone { font-size: 18px; font-weight: 700; color: var(--graphite); text-decoration: none; letter-spacing: .03em; }
.cta-messengers { font-size: 12px; color: var(--muted); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1280px) {
  section { padding: 72px 60px; }
  .hero-content { padding: 0 60px 48px; }
  .trust-bar { padding: 44px 60px; }
  .cta-banner { padding: 56px 60px; }
}

@media (max-width: 1024px) {
  section { padding: 64px 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { padding: 40px; }
  .cta-banner { padding: 48px 40px; }
}

@media (max-width: 768px) {
  section { padding: 48px 20px; }
  .section-title { font-size: 22px; }
  .trust-bar { padding: 32px 20px; }
  .trust-grid { grid-template-columns: 1fr; gap: 0; border: 2px solid #111; box-shadow: -6px 8px 14px rgba(0,0,0,.2); }
  .trust-desc { display: none; }
  .trust-item { border: none; padding: 14px 16px; box-shadow: none; }
  .hero-content { padding: 0 24px 36px; }
  .preview-grid { grid-template-columns: 1fr; gap: 24px; }
  .preview-card-img { height: 240px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { height: auto; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mat-img { height: 140px; }
.buyers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .buyer-img { height: 270px; }
  .video-row { flex-direction: column; gap: 24px; }
  .video-wrap { flex: none; width: 280px; align-self: center; }
  .video-desc { font-size: 15px; font-weight: 400; margin-top: 0; align-self: auto; }
  .cta-banner { padding: 40px 20px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-right { align-items: flex-start; }
}

@media (max-width: 480px) {
  .materials-grid { grid-template-columns: 1fr; }
  .buyers-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
}

@media (max-width: 360px) {
  section { padding: 40px 16px; }
  .trust-bar { padding: 24px 16px; }
  .hero-content { padding: 0 16px 28px; }
  .hero-title { font-size: 22px; }
  .section-title { font-size: 19px; }
  .preview-card-img { height: 200px; }
  .about-img { height: auto; }
  .mat-img { height: 120px; }
  .buyer-img { height: 175px; }
  .cta-banner { padding: 32px 16px; gap: 16px; }
  .cta-banner h2 { font-size: 18px; }
  .cta-phone { font-size: 16px; }
}
