/* ======================
   ROOT & RESET
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --mint-light: #e3f5ee;
  --mint: #cdeed9;
  --mint-dark: #88d8b2;
  --dark: #1f2d2b;
  --text: #2c3e3b;
  --accent: #ffd166;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f7fbf9;
  color: var(--text);
  line-height: 1.6;
}

/* ======================
   HEADER / NAV
====================== */
.header {
  background: var(--mint);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

nav a.active {
  font-weight: 700;
}

.nav-btn {
  padding: 10px 20px;
  background: var(--mint-dark);
  border-radius: 8px;
  color: var(--dark);
  font-weight: 600;
}

/* ======================
   HERO
====================== */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: white;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/hero-photo.jpg") center/cover no-repeat;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================
   BUTTONS
====================== */
.btn {
  padding: 14px 34px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.primary {
  background: var(--accent);
  color: var(--dark);
}

.secondary {
  border: 2px solid white;
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ======================
   SECTIONS (GLOBAL)
====================== */
section {
  padding: 80px 20px;
}

.section-light {
  background: #ffffff;
}

.section-mint {
  background: var(--mint-light);
}

section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 50px;
  color: var(--dark);
}

/* ======================
   CARDS & GRIDS
====================== */
.why-grid,
.steps-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--dark);
}

.icon {
  font-size: 34px;
  margin-bottom: 15px;
  color: var(--mint-dark);
}

/* ======================
   IMAGE BREAK
====================== */
.image-break {
  max-width: 1200px;
  margin: auto;
}

.image-break img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* ======================
   SERVICES PREVIEW
====================== */
.services-preview {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.services-preview p {
  margin-bottom: 30px;
}

/* ======================
   SEO TEXT
====================== */
.seo-text {
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-size: 15px;
  opacity: 0.85;
}

/* ======================
   CTA
====================== */
.cta {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: var(--dark);
  text-align: center;
}

.cta h2 {
  color: var(--dark);
}

.cta p {
  margin-bottom: 25px;
}

/* ======================
   FOOTER
====================== */
.footer {
  background: var(--mint);
  text-align: center;
  padding: 35px 20px;
  font-size: 14px;
  color: var(--dark);
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }
}
/* ===== GALLERY (COMPACT & PRO) ===== */

.gallery-grid {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  height: 170px;   /* 👈 МЕНША ВИСОТА */
  object-fit: cover;
  display: block;
}

.gallery-item span {
  display: block;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: #f6fbf9;
}
@media (max-width: 600px) {
  .gallery-item img {
    height: 140px;
  }
}
/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.lightbox.active {
  display: flex;
}

.lightbox::after {
  content: "✕";
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}
/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo img {
  height: 70px;   /* 👈 маленьке, акуратне */
  width: auto;
}

/* ===== CALCULATOR ===== */

.calc-wrapper {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-panel {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.calc-panel input {
  width: 100%;
  margin: 8px 0 18px;
  padding: 10px;
}

.calc-panel button {
  width: 100%;
  padding: 12px;
  background: #a3e0c4;
  border: none;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

#result {
  margin-top: 15px;
  font-weight: 600;
}

.calc-info {
  font-size: 16px;
}

@media (max-width: 900px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
}
/* ===== CONTACT ===== */

.contact-wrapper {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form,
.contact-info {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 8px 0 18px;
  padding: 10px;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: #a3e0c4;
  border: none;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

.contact-info ul {
  margin: 15px 0;
  padding-left: 20px;
}

.contact-info li {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
.contact-phone {
  margin: 15px 0 30px;
  text-align: center;
}

.contact-phone a {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.contact-phone a:hover {
  color: var(--accent-dark);
}
