/* Модальне вікно */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none; /* Відкрити через JS */
  background: white;
  z-index: 1000;
  font-family: sans-serif;
}

/* Контейнер лівого і правого блоку */
.modal-content {
  display: contents;
  width: 100%;
  height: 100%;
}

/* Лівий блок */
.left-block {
  width: 250px;
  background: black;
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

.left-block .logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

.left-block .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.left-block .menu li {
  margin-bottom: 20px;
  cursor: pointer;
}

/* Правий блок */
.right-block {
  flex: 1;
  background: white;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.right-block h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 300px;
  gap: 10px;
}

.contact-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  padding: 12px;
  background: black;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* Поділ або */
.divider {
  margin: 30px 0;
  width: 300px;
  text-align: center;
  border-top: 1px solid #ccc;
  position: relative;
}

.divider span {
  background: white;
  padding: 0 10px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
}

/* Іконки */
.socials {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.socials img {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/* Кнопка закриття */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #111;
  color: white;
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}


.navbar {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav {
    --bs-nav-link-hover-color: #F42104;
}

.item {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s;
  transform: rotate(45deg);
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 15px;
}

.nav-link:hover {
  color: #F42104;
}

.item img {
  width: 100%;
  transform: rotate(-45deg);
}

@media (max-width: 600px) {
  .item {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
}

@font-face {
  font-family: 'Avenir Next LT Pro';
  src: url('fonts/Avenir Next LT Pro Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next LT Pro';
  src: url('fonts/Avenir Next LT Pro Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Avenir Next LT Pro';
  src: url('fonts/Avenir Next LT Pro Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

body, html {
  padding: 0px !important;
  margin: 0px !important;
}

.title {
  font-size: 52px;
  font-weight: bold;
}

.button {
  font-weight: bold;
  font-size: 16px;
  border: none;
  outline: none;
}

.call-btn {
  background: #F42104;
  border-radius: 10px;
  width: 200px;
  height: 50px;
  text-align: center;
}

.call-btn a {
  color: #fff;
  text-decoration: none;
}

.call-2-btn {
  background: #F42104;
  border-radius: 10px;
  width: 280px;
  height: 50px;
  text-align: center;
}

.call-2-btn a {
  color: #fff;
  text-decoration: none;
}

.write-btn {
  background: #000;
  border-radius: 10px;
  width: 180px;
  height: 50px;
  text-align: center;
}

.write-btn a {
  color: #fff;
  text-decoration: none;
}

.hero {
  background: #fff;
  padding: 3rem 0;
}

.hero h1 {
  font-weight: bold;
}

.brand-icons img {
  max-height: 50px;
  margin: 10px;
}

.btn-call, .btn-write {
  margin: 0.5rem;
  border-radius: 25px;
}

.section-dark {
  background-color: #000;
  color: #fff;
}

.section-dark h2 {
  margin-top: 2rem;
}

.service-list li {
  list-style: none;
  margin: 0.5rem 0;
}

.red {
  color: red;
}

.navbar {
  background: #000;
  padding: 20px 0px;
}

.navbar-nav li {
  margin: 0px 7.5px;
}

.nav-link {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.navbar-title {
  z-index: 1;
  font-size: 30px;
  color: #fff;
  font-weight: bold;
  font-family: 'Avenir Next LT Pro';
}

.img-100 {
  width: 100%;
}

.service {
  background: #F6F6F6;
  text-align: center;
  padding: 2%;
  position: relative;
}

.service img {
  width: 80%;
  border-radius: 10px;
}

.service-list span {
  font-size: 40px;
  color: rgba(244, 33, 4, 0.2);
}

.service-list {
  padding-left: 0px !important;
}

.call-2-btn:hover {
  background: #C91700;
}

.call-btn:hover {
  background: #C91700;
}

.social-link {
  display: flex; align-items: center;
}

.social-link img {
  max-width: 30px;
  padding: 7px;
  background: white;
  border-radius: 50%;
}

.navbar-title .logo {
  position: absolute;
  z-index: -1;
  margin-left: -10px;
  margin-top: -5px;
}

.hero-block p {
  margin-top: 25px;
}

.hero-text {
  padding: 0px 60px;
}

.service button {
  display: none;
}

.boiler-banner {
  background-color: #000;
  color: #fff;
  padding: 40px 0px;
  text-align: center;
}
.boiler-images img {
  width: 100%;
}
.cta-buttons .btn {
  margin: 10px;
}
.cta-call {
  color: red;
  font-weight: bold;
}

.red-text {
  color: #F42104;
}

.section-title {
  font-weight: 700;
  font-size: 2.5rem;
}

.section-subtitle {
  color: #F42104;
  font-size: 1.1rem;
}

.card-custom {
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.card-black {
  background-color: #000;
  color: #fff;
}

.check-list {
  list-style: none;
  padding: 0;
  list-style-type: none;
}

.check-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
}

.card-title {
  font-weight: bold;
  text-transform: uppercase;
}

.img-top {
  max-width: 60px;
  margin-bottom: 15px;
}

.highlight {
  font-weight: 600;
}

.card-black .highlight {
  color: #fff;
}

.card-header-black {
  border-bottom: 1px solid #fff;
}

.card-title-white {
  border-bottom: 1px solid #000;
}

.card .button {
  color: #fff;
}

.card-header-white .button {
  background: #000;
}

.last-block {
  color: #fff;
}

