/* assets/css/style.css */
body { 
  font-family: Montserrat, sans-serif; 
  color:#333; 
}

section { 
  scroll-margin-top: 140px; 
  padding:70px 0; 
}

/* ===== NAV MENU ACTIVE STATE ===== */
.nav-link {
  font-weight: 500;
  color: #333;
  transition: color .2s ease, font-weight .2s ease;
}

.nav-link:hover {
  color: #0b2a3b;
}

/* АКТИВНЫЙ ПУНКТ МЕНЮ */
.nav-link.active {
  color: #0b2a3b;
  font-weight: 700;
  position: relative;
}

/* ЛЁГКОЕ ПОДЧЁРКИВАНИЕ */
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #0b2a3b;
}

.top-bar {
  background: linear-gradient(90deg, #0b2a3b, #123f56);
  color: #eaeaea;
  font-size:14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.top-bar a {
  color:#ffffff;
  font-weight:500;
  text-decoration:none;
}

header {
  background:#fff;
  box-shadow:0 4px 20px rgba(0,0,0,.06);
  border-bottom: 3px solid #0b2a3b;
}

.section-corporate {
  background:#f3f6f8;
}

.contact-section {
  background:#0b2a3b;
  color:#ffffff;
}

.contact-section a {
  color:#ffffff;
  font-weight:500;
}

.modal-controls {
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-wrap {
  display:flex;
  align-items:center;
  gap:20px;
}

.brand-wrap img {
  height:90px;
}

.brand-text h1 {
  font-size:26px;
  font-weight:800;
  margin:0;
  text-transform:uppercase;
  line-height:1.2;
}

.brand-text span {
  font-size:14px;
  letter-spacing:2px;
  color:#5a5a5a;
}

.hero {
  position:relative;
  min-height:80vh;
  background:url("../img/hero-construction-site.webp") center/cover no-repeat;
  display:flex;
  align-items:center;
}

.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}

.hero-content {
  position:relative;
  color:#fff;
}

.hero h2 {
  font-size:46px;
  font-weight:800;
  text-transform:uppercase;
}

.hero p {
  font-size:20px;
  max-width:900px;
  margin:20px auto 0;
}

.section-title {
  text-align:center;
  margin-bottom:50px;
}

.service-card img {
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:6px 6px 0 0;
}

.service-card {
  border:1px solid #e5e5e5;
  border-radius:6px;
  height:100%;
  transition:.3s;
}

.service-card:hover {
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  transform:translateY(-4px);
}

.paris-project img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== BOYA SYSTEMS (CLEAN, MODERN) ===== */
.paint-section {
  background: #f8f9fa;
}

.paint-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.paint-brands {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.paint-brand {
  max-width: 280px;
  max-height: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .85;
  transition: all .3s ease;
}

.paint-brand:hover {
  filter: grayscale(0);
  opacity: 1;
}

.paint-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.paint-feature {
  background: #f1f3f5;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.5;
}

/* =========================
   CERTIFICATES
   ========================= */
.cert-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.cert-card img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.cert-card h6 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
}

.cert-card p {
  font-size: 13px;
  color: #6c757d;
}

/* MODAL — большое изображение */
#certModalImg,
#licenseModalImg {
  max-height: 90vh;
  width: auto;
  max-width: 100%;
}

footer {
  background:#0b2a3b;
  color:#fff;
  padding:40px 0;
}

/* Кнопка "Вверх" */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 999;
}