@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/fa-solid-900-subset.woff2') format('woff2');
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #222;
}

header {
  background-color: #e0eafc;
  padding: 20px 0;
  text-align: center;
  
}

.logo {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 282;
  max-width: 480px;
  image-rendering: auto;
}

@media (max-width: 768px) {
  .logo {
    width: 100%;
    height: auto;
    max-width: 480px;
    aspect-ratio: 480 / 282;
  }
}

.subtitle {
  color: #444;
  font-size: 1.1em;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2 {
  color: #1e3a5f;
}

footer {
  background-color: #dce3f0;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

.map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 20px 0;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-button-wrapper {
  text-align: center;
  margin-top: 15px;
}
.map-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: #1e3a5f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
}
.map-button:hover {
  background-color: #305a90;
}
.map-button svg {
  width: 20px;
  height: 20px;
  fill: white;
}
.contact-icons i {
  font-size: 24px;
  color: #425573;
}

.contact-icons a {
  color: #425573;
}

.call-now {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  margin-top: 10px;
}

.call-now a {
  font-size: 18px;
  color: #425573;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.2;
}
.call-now i {
  margin-right: 8px;
  color: #425573;
  font-size: 20px;
}

.fa-solid.fa-clock::before {
  content: "\f017";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fa-solid.fa-location-dot::before {
  content: "\f3c5";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fa-solid.fa-mobile-screen-button::before {
  content: "\f3cd";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fa-solid.fa-phone-volume::before {
  content: "\f2a0";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

@media (max-width: 768px) {
  .mobile-block {
    display: block;
    margin-top: 4px;
    min-height: 24px;
    line-height: 1.4;
  }

  .mobile-block a {
    display: block;
    margin-top: 4px;
  }

  .phones {
    display: block;
    margin-top: 4px;
  }

  .phones a {
    display: block;
    margin-top: 4px;
  }

  .phone-separator {
    display: none;
  }

  .about p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 1.2em;
  }
}

.contact-icons i::before {
  display: inline-block;
  width: 1em;
  text-align: center;
}

/* Предотвратява CLS (Cumulative Layout Shift) от Font Awesome икони */
.fa-solid::before {
  display: inline-block;
  min-width: 1em;
  text-align: center;
}

/* Резервиране на височина за хедъра */
header {
  min-height: 360px;
}
