/* === Variables === */
:root {
  --color-accent: #155E8C  ;
  --color-accent-hover: #155E8C  ;
  --color-accent-light: #fef3c7;
  --color-bg: #faf9f7;
  --color-bg-card: #ffffff;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --font: 'Inter', system-ui, sans-serif;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-hover: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 12px;
  --transition: 0.2s ease;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  /* ===== Coverage поверх hero ===== */
.coverage {
  position: relative;
  z-index: 5;
  margin-top: -160px; /* ⬅️ піднімає блок вище */
  padding: 20px;
}
/* сам контейнер */
.coverage-inner {
  background: rgba(15, 23, 42, 0.85); /* темний напівпрозорий */
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* картки */
.coverage-card {
  background: rgba(255,255,255,0.95);
}

/* текст "Працюємо" */
.coverage-area {
  color: #fff;
  font-weight: 600;
}
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Container === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.8);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-cta {
  background: var(--color-accent);
  color: white;
}

.btn-cta:hover {
  background: var(--color-accent-hover);
}

/* === 1. Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-card);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}

.logo:hover {
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--color-accent);
}

.nav-cta {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

/* === 2. Hero === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  font-weight: 500;
  transition: all var(--transition);
}

.badge:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.badge-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* === Sections === */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--color-text);
}

/* === 3. Services === */
.section-services {
  background: var(--color-bg-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 24px;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.service-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* === 4. Advantages === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.advantage-item {
  padding: 32px 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}

.advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--color-accent);
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.advantage-item h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.advantage-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* === 5. Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 158, 11, 0.3);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* === Modal === */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(199, 199, 199, 0.6);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: var(--color-bg-card);
  padding: 32px;
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-hover);
}

.modal-content h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.modal-hint {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  border-radius: 50%;
  z-index: 10;
  transition: all var(--transition);
}

.modal-close:hover {
  background: white;
}

.modal-gallery-content .modal-close {
  background: rgba(0,0,0,0.5);
  color: white;
}

.modal-gallery-content .modal-close:hover {
  background: rgba(0,0,0,0.8);
}

.modal-gallery-content {
  max-width: 90vw;
  padding: 0;
  background: transparent;
}

.modal-gallery-img {
  max-height: 90vh;
  border-radius: var(--radius);
}

/* === 6. Price === */
.section-price {
  background: var(--color-bg-card);
}

.price-note {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.price-card {
  padding: 24px;
  background: var(--color-bg);
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.price-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.price-diameter {
  display: block;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.price-value {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* === 7. Reviews / Comments === */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin-bottom: 32px;
}

.comment-form input,
.comment-form textarea {
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: var(--color-bg-card);
}

.comments-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-video {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-video:hover video {
  transform: scale(1.05);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  padding: 32px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.review-text {
  margin-bottom: 20px;
  color: var(--color-text);
  font-style: italic;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author strong {
  color: var(--color-text);
}

.review-author span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* === 8. Contacts === */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}

.contact-phone:hover {
  text-decoration: underline;
}

.contact-messengers {
  display: flex;
  gap: 12px;
}

.btn-messenger {
  padding: 10px 20px;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all var(--transition);
}

.btn-messenger:hover {
  background: var(--color-accent-hover);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px 20px;
  font-family: var(--font);
  font-size: 1.05rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: var(--color-bg-card);
  min-height: 56px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}



/* === Responsive Header Menu (PC menu + Mobile burger) === */

/* 📱 Телефон: меню приховане, відкривається бургером */
@media (max-width: 992px) {
  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-bg-card);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    z-index: 9999;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner .btn-cta {
    display: none;
  }

  .burger {
    display: flex;
    z-index: 10000;
    background: none;
    border: none;
  }

  .burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .burger span {
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-cta {
    display: inline-flex;
    background: var(--color-accent);
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--radius);
    margin-top: 8px;
  }

  .nav-cta:hover {
    background: var(--color-accent-hover);
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

/* 💻 ПК: меню показане, бургер схований */
@media (min-width: 993px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 28px;
    padding: 0;
    box-shadow: none;
  }

  .burger {
    display: none;
  }
}

/* === Responsive (other) === */
@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
/* === Coverage block (під Hero) === */
.coverage{
  margin-top: -26px;            /* щоб блок “зайшов” на hero як на макеті */
  padding: 0 0 34px;
}

.coverage-card{
  background: rgba(235, 243, 250, 0.92);
  border: 1px solid rgba(21, 94, 140, 0.14);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
}

.coverage-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.coverage-item{
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 12px 14px;
}

.coverage-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(21, 94, 140, 0.10);
  color: #155E8C;
  font-size: 20px;
  flex: 0 0 44px;
}

.coverage-title{
  font-size: 13px;
  color: #334155;
  line-height: 1.25;
}

.coverage-price{
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

.coverage-where{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  text-align: center;
  font-size: 16px;
  color: #0f172a;
  font-weight: 600;
}

.coverage-where span{
  color: #155E8C;
}

/* Адаптив під телефон */
@media (max-width: 900px){
  .coverage{ margin-top: -18px; }
  .coverage-grid{ grid-template-columns: 1fr; }
}
/* Мобілка: опустити блок "Мінімальна ціна..." нижче */
@media (max-width: 768px) {
  .coverage {
    margin-top: 80px !important;     /* зроби 20-60 як тобі треба */
    transform: none !important;      /* якщо було підняття через transform */
    position: relative;
    z-index: 1;
  }

  /* Додатково: щоб hero мав місце і нічого не налазило */
  .hero {
    padding-bottom: 40px;            /* можеш 20-80 */
  }
}

.footer {
  background-color: #2f2f2f;   /* темно-сірий */
  color: #ffffff;
  padding: 30px 0;
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer {
  margin-top: auto;
}
html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.footer {
  margin-top: auto;
}

/* прибираємо зайвий простір над футером */
.section-contacts {
  padding-bottom: 40px; /* можеш 20-60 */
  margin-bottom: 0 !important;
}

/* якщо десь задано "height: 100vh" або "min-height" */
.section-contacts,
.section {
  min-height: auto !important;
}
/* FIX coverage position (override all previous rules) */
.coverage{
  margin-top: -100px !important;   /* підняти на ПК */
  padding: 0 0 34px !important;
  position: relative;
  z-index: 5;
}

/* Мобілка — опустити нижче, щоб не залазило на hero */
@media (max-width: 768px){
  .coverage{
    margin-top: -80px !important;  /* став 20 / 40 / 60 як хочеш */
  }
  .hero{
    padding-bottom: 40px;
  }
}





















