* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:Arial,sans-serif; color:#1c1c1c; }

header {
  position:fixed;
  width:100%;
  background:#fff;
  border-bottom:1px solid #eee;
  z-index:10;
}

.header-inner {
  max-width:1200px;
  margin:auto;
  padding:20px;
  display:flex;
  justify-content:space-between;
}

.header-inner img {
max-width: 200px;
width: 100%;
max-height: 100px;
}

.btn {
  background:#1c1c1c;
  color:#fff;
  padding:14px 28px;
  border:none;
  cursor:pointer;
}

.btn.full { width:100%; }

.hero {
  height:100vh;
  background:url("../img/Kuhnya-na-zakaz.png") center/cover no-repeat;
}

.hero-overlay {
  background:rgba(0,0,0,.35);
  height:100%;
  display:flex;
  align-items:center;
}

.hero-content {
  color:#fff;
  padding:80px;
  max-width:600px;
}
.hero-content h1 {
  padding: 0 0 30px 0;
}
.hero-content p {
  padding: 0 0 10px 0;
}


.container {
  max-width:1200px;
  margin:auto;
  padding:80px 20px;
}

/* PRODUCTS */
.products-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.product-card {
  position:relative;
  height:220px;
  overflow:hidden;
}

.product-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

.product-card span {
  position:absolute;
  left:20px;
  bottom:20px;
  color:#fff;
  z-index:2;
}
h2{
	padding: 60px 0px 100px 0;
text-align: center;
}

.product-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.25);
  pointer-events: none;
}

.product-card:hover img { transform:scale(1.08); }

/* CALCULATOR */
.calculator {
  max-width:500px;
  margin:auto;
  background:#fff;
  padding:30px;
}
.calculator h2 {
	padding-top: 0;
}

.calculator input,
.calculator select {
  width:100%;
  padding:10px;
  margin-bottom:15px;
}

/* PORTFOLIO */
.portfolio-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}
.portfolio h2{
	padding-top: 0;
}

.portfolio-grid div { overflow:hidden; }

.portfolio-grid img {
  width:100%;
  height:220px;
  object-fit:cover;
  transition:transform .4s ease;
}

.portfolio-grid img:hover { transform:scale(1.08); }

/* CTA + FOOTER */
.final-cta {
  text-align:center;
  padding:80px 20px;
}
.final-cta h2 {
padding: 15px;
}

.footer {
  background:#f4f4f4;
  padding:40px 0;
}

/* ===== FOOTER MAP ===== */
.footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.footer-info {
  flex: 1;
}
.footer-info strong{
	display: block;
  padding-bottom: 15px;
}
.footer-info p {
  padding: 5px;
}
.footer-link {
  display: inline-flex;
  align-items: center;   /* ← ВОТ ОНО */
  gap: 10px;
  color: #1c1c1c;
  text-decoration: none;
}

.footer-link img {
  width: 20px;
  height: 20px;
}

.footer-messengers {
  display: flex;
  gap: 20px;
}

.footer-map {
  flex: 1;
  min-height: 240px;
}

.footer-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(1);
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-map iframe {
    height: 220px;
  }
}

.footer-inner img {
max-width: 50px;
}

/* MOBILE */
@media (max-width:768px) {
  .hero-content h1 { font-size:28px; }
  .footer-inner { flex-direction:column; }
}

/* ===== IMAGE MODAL ===== */
.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  pointer-events: none;


}

.image-modal.active {
  display: flex;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.image-modal img {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* MOBILE — отключаем hover-модал */
@media (hover: none) {
  .image-modal {
    display: none !important;
  }
}
.success-message {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: #f4f4f4;
  color: #1c1c1c;
  text-align: center;
}

