/* ==========================================
   1. REGUŁY OGÓLNE I RESET
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

img, iframe {
  max-width: 100%;
}

/* Wymuszenie prawidłowych wymiarów mapy Google */
.u-section-3 .u-map {
  width: 100% !important;
  height: 350px !important;
  min-height: 350px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 15px;
}

.u-section-3 .embed-responsive {
  width: 100% !important;
  height: 100% !important;
  min-height: 350px !important;
  padding: 0 !important;
  position: relative !important;
}

.u-section-3 .embed-responsive iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 350px !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border: 0 !important;
}

/* ==========================================
   SEKCJA 1 - HERO / O NAS
   ========================================== */
.u-section-1 {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.u-section-1 .u-sheet-1 {
  display: flex;
  flex-direction: column;
}

.u-section-1 .u-layout-wrap-1 {
  width: 100%;
  margin: 0 auto;
}

.u-section-1 .u-layout-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.u-section-1 .u-layout-cell-1,
.u-section-1 .u-layout-cell-2 {
  flex: 1 1 45%;
  min-width: 300px;
}

.u-section-1 .u-container-layout-1 {
  padding: 20px 0;
}

.u-section-1 .u-text-1 {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.u-section-1 .u-text-2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.u-section-1 .u-text-3 {
  font-size: 1.125rem;
  line-height: 1.6;
}

.u-section-1 .u-container-layout-2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

.u-section-1 .u-image-1 {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background-image: url("images/-min.jpg");
  background-position: center;
  background-size: cover;
}

.u-section-1 .u-image-2 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: 5px 5px 18px rgba(0,0,0,0.3);
  background-image: url("images/89136586d03f01a91f80c63e533c6015f2d86fda77735c1af1e22f440930ee78b729e42156f3e9e2abf10280dba6c4e9addef691f69943f51c3c16_1280.jpg");
  background-position: center;
  background-size: cover;
  position: absolute;
  bottom: -20px;
  left: 10%;
}

.u-section-1 .u-image-3,
.u-section-1 .u-image-4,
.u-section-1 .u-image-5 {
  display: none;
}

/* ==========================================
   SEKCJA 2 - ZAKRES USŁUG (CZERWONE KAFELKI)
   ========================================== */
.u-section-2 {
  padding: 60px 0;
  background-color: #fff;
}

.u-section-2 .u-text-1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.u-section-2 .u-text-2 {
  font-size: 1.125rem;
  font-style: italic;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.u-section-2 .u-repeater-1 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
}

.u-section-2 .u-list-item {
  background-color: #d9232e !important; /* Czerwony kolor kafelków */
  border-radius: 12px !important;
  padding: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 4px 10px rgba(217, 35, 46, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  min-height: 105px; /* Optymalna wysokość dla 1 i 2 linijek tekstu */
}

.u-section-2 .u-list-item:hover {
  transform: translateY(-4px);
  background-color: #b81b24 !important;
  box-shadow: 0 6px 15px rgba(217, 35, 46, 0.35);
}

.u-section-2 .u-container-layout {
  padding: 0 !important;
  width: 100% !important;
}

/* Biały tekst na czerwonych kafelkach dla wszystkich 6 pozycji */
.u-section-2 .u-text-3,
.u-section-2 .u-text-4,
.u-section-2 .u-text-5,
.u-section-2 .u-text-6,
.u-section-2 .u-text-7,
.u-section-2 .u-text-8 {
  font-size: 1.1rem !important;
  margin: 0 !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  width: 100% !important;
  line-height: 1.35 !important;
}

/* ==========================================
   SEKCJA 3 - KONTAKT I MAPA
   ========================================== */
.u-section-3 {
  padding: 60px 0;
  background-color: #fff;
}

.u-section-3 .u-layout-wrap-1 {
  display: none !important;
}

.u-section-3 .u-layout-wrap-2 {
  width: 100% !important;
}

.u-section-3 .u-layout-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  align-items: flex-start !important;
}

.u-section-3 .u-layout-cell-3,
.u-section-3 .u-layout-cell-4 {
  flex: 1 1 45% !important;
  min-width: 300px !important;
  height: auto !important;
  min-height: auto !important;
}

.u-section-3 .u-text-1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.u-section-3 .u-text-2 {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.u-section-3 .u-btn-1,
.u-section-3 .u-btn-2 {
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  margin-bottom: 15px;
  transition: color 0.2s ease;
}

.u-section-3 .u-btn-1:hover,
.u-section-3 .u-btn-2:hover {
  color: #d9232e;
}

.u-section-3 .u-icon-1,
.u-section-3 .u-icon-2 {
  margin-right: 10px;
}

.u-section-3 .u-icon-2 img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

/* Ukrycie grafiki ms-car1.png oraz pozostałych elementów dekoracyjnych */
.u-section-3 .u-image-1,
.u-section-3 .u-image-2,
.u-section-3 .u-image-3,
.u-section-3 .u-shape-1,
.u-section-3 .u-shape-2,
.u-section-3 .u-rotation-parent-1,
.u-section-3 .u-rotation-parent-2 {
  display: none !important;
}

/* ==========================================
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================== */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .u-section-2 .u-repeater-1 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .u-section-1 .u-text-2 {
    font-size: 1.75rem;
  }
}

/* Telefon / Smartfon (max-width: 767px) */
@media (max-width: 767px) {
  .u-section-1,
  .u-section-2,
  .u-section-3 {
    padding: 35px 15px;
  }

  .u-section-1 .u-layout-row,
  .u-section-3 .u-layout-row {
    flex-direction: column !important;
  }

  .u-section-1 .u-layout-cell-1,
  .u-section-1 .u-layout-cell-2,
  .u-section-3 .u-layout-cell-3,
  .u-section-3 .u-layout-cell-4 {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .u-section-2 .u-text-1 {
    font-size: 2rem;
  }

  .u-section-2 .u-repeater-1 {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .u-section-1 .u-container-layout-2 {
    min-height: 260px;
  }

  .u-section-1 .u-image-1 {
    width: 220px;
    height: 220px;
  }

  .u-section-1 .u-image-2 {
    width: 130px;
    height: 130px;
    left: 5%;
  }

  .u-section-3 .u-map,
  .u-section-3 .embed-responsive,
  .u-section-3 .embed-responsive iframe {
    height: 300px !important;
    min-height: 300px !important;
  }
}

/* Mały telefon (max-width: 480px) */
@media (max-width: 480px) {
  .u-section-1 .u-text-2 {
    font-size: 1.5rem;
  }

  .u-section-2 .u-text-1 {
    font-size: 1.75rem;
  }

  .u-section-3 .u-btn-1,
  .u-section-3 .u-btn-2 {
    font-size: 1rem;
  }
}