* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
}


/* HEADER */

header {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  z-index: 10;

  background: transparent;
}

nav {
  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
  padding: 14px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* LOGO */

.logo-box {
  display: inline-block;
  text-align: center;
}

.logo-name {
  position: relative;

  color: white;

  font-size: 38px;
  font-weight: 300;

  line-height: 1;
  letter-spacing: -2px;

  padding-bottom: 6px;
}

.logo-name::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;

  background: rgba(255, 255, 255, 0.4);
}

.logo-subtitle {
  margin-top: 5px;

  color: white;

  font-size: 10px;

  letter-spacing: 4px;

  text-transform: uppercase;
}


/* MENU */

.menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.menu a:hover {
  opacity: 0.7;
}


/* HERO */

.hero {
  width: 100%;
  min-height: 100vh;

  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.35)
    ),
    url("zdjecia/1.jpg");

  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding-top: 190px;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-content {
  width: 700px;
  max-width: 95%;

  background: rgba(255, 255, 255, 0.96);

  padding: 45px 40px 35px;

  text-align: center;

  border-radius: 18px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 25px;
}


/* WYSZUKIWARKA */

.search-box {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 15px;
}

.search-box select {
  flex: 1;

  height: 55px;

  padding: 0 18px;

  border: 1px solid #ccc;
  border-radius: 8px;

  background: white;

  color: #333;

  font-size: 16px;

  outline: none;
  cursor: pointer;
}

.search-box button {
  height: 55px;

  padding: 0 30px;

  border: none;
  border-radius: 8px;

  background: #222;

  color: white;

  font-size: 16px;
  font-weight: bold;

  cursor: pointer;
}

.search-box button:hover {
  background: #444;
}


/* JAK DZIAŁAMY */

.how-it-works {
  background: #f3f3f3;

  padding: 90px 20px 100px;
}

.container {
  max-width: 1400px;

  margin: 0 auto;
}

.how-it-works h2 {
  text-align: center;

  font-size: 52px;

  margin-bottom: 70px;
}

.steps {
  display: flex;

  justify-content: space-between;
  align-items: flex-start;

  gap: 70px;
}

.step {
  flex: 1;

  text-align: center;

  position: relative;
}

.step:not(:last-child)::after {
  content: "➜";

  position: absolute;

  top: 120px;
  right: -55px;

  font-size: 70px;

  color: #e87508;
}

.step-visual {
  height: 240px;

  position: relative;

  margin-bottom: 30px;
}

.step p {
  font-size: 22px;

  line-height: 1.45;

  font-weight: 700;
}

.step p span {
  color: #1f63d4;
}


/* IKONY */

.service-visual {
  width: 260px;

  margin: 0 auto;
}

.mini-icon {
  position: absolute;

  font-size: 48px;

  opacity: 0.28;

  filter: grayscale(1);
}

.icon-1 { top: 0; left: 25px; }
.icon-2 { top: 15px; right: 30px; }
.icon-3 { top: 90px; left: 0; }
.icon-4 { top: 85px; right: 5px; }
.icon-5 { bottom: 10px; left: 55px; }
.icon-6 { bottom: 5px; right: 65px; }

.main-icon {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: 92px;
  height: 92px;

  border: 5px solid #e87508;

  border-radius: 50%;

  display: flex;

  justify-content: center;
  align-items: center;

  font-size: 42px;

  background: white;
}


/* HYDRAULICY */

.plumbers-visual {
  width: 260px;

  margin: 0 auto;
}

.plumber {
  position: absolute;

  font-size: 52px;
}

.plumber.faded {
  opacity: 0.28;

  filter: grayscale(1);
}

.p1 { top: 15px; left: 90px; }
.p2 { top: 55px; left: 20px; }
.p3 { top: 65px; right: 25px; }
.p4 { top: 110px; left: 90px; }
.p5 { top: 145px; right: 45px; }
.p6 { top: 155px; left: -5px; }


/* OFERTA */

.offer-visual {
  width: 240px;

  margin: 0 auto;
}

.offer-card {
  position: absolute;

  width: 165px;
  height: 210px;

  border: 5px solid #1f63d4;

  border-radius: 20px;

  background: white;
}

.back-card {
  top: 22px;
  left: 55px;
}

.front-card {
  top: 0;
  left: 35px;

  padding: 28px 20px;
}

.offer-title {
  color: #1f63d4;

  font-size: 20px;

  font-weight: bold;

  margin-bottom: 18px;
}

.offer-line {
  height: 8px;

  background: #e5e5e5;

  border-radius: 10px;

  margin-bottom: 10px;
}

.offer-line.short {
  width: 60%;

  margin: 0 auto 22px;
}


/* MIASTA */

.cities-section {
  background: white;

  padding: 80px 40px 100px;
}

.cities-container {
  width: 100%;

  max-width: 1500px;

  margin: 0 auto;
}

.cities-section h2 {
  text-align: center;

  font-size: 36px;

  margin-bottom: 18px;
}

.cities-subtitle {
  text-align: center;

  color: #666;

  font-size: 18px;

  margin-bottom: 65px;
}

.cities-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  column-gap: 90px;
  row-gap: 35px;
}

.city {
  min-height: 50px;

  display: flex;
  align-items: center;

  text-decoration: none;

  color: #1764d8;

  font-size: 20px;

  transition: 0.2s;
}

.city:hover {
  color: #0c49a5;

  transform: translateX(4px);
}

.city-pin {
  width: 22px;
  height: 22px;

  margin-right: 18px;

  border: 4px solid #222;

  border-radius: 50%;
}

.city-name {
  flex: 1;
}


/* OPINIE */

.reviews-section {
  background: #f4f6f8;

  padding: 90px 30px 100px;
}

.reviews-container {
  width: 100%;

  max-width: 1300px;

  margin: 0 auto;
}

.reviews-section h2 {
  text-align: center;

  font-size: 38px;

  margin-bottom: 15px;
}

.reviews-subtitle {
  text-align: center;

  color: #666;

  font-size: 18px;

  margin-bottom: 55px;
}

.reviews-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.review-card {
  background: white;

  padding: 32px;

  border-radius: 14px;

  border: 1px solid #e6e6e6;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);

  transition: 0.2s;
}

.review-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.review-stars {
  color: #f5a623;

  font-size: 22px;

  letter-spacing: 3px;

  margin-bottom: 20px;
}

.review-text {
  color: #444;

  font-size: 17px;

  line-height: 1.7;

  min-height: 120px;

  margin-bottom: 25px;
}

.review-user {
  display: flex;

  align-items: center;

  gap: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #1764d8;

  color: white;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 20px;

  font-weight: bold;
}

.review-user strong {
  display: block;

  font-size: 16px;

  margin-bottom: 4px;
}

.review-user span {
  color: #777;

  font-size: 14px;
}

.reviews-demo-info {
  text-align: center;

  margin-top: 35px;

  color: #888;

  font-size: 13px;
}


/* TABLET */

@media (max-width: 1100px) {

  .steps {
    flex-direction: column;

    gap: 50px;
  }

  .step:not(:last-child)::after {
    content: "↓";

    top: auto;
    bottom: -42px;

    left: 50%;
    right: auto;

    transform: translateX(-50%);

    font-size: 54px;
  }

  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

}


/* TELEFON */

@media (max-width: 600px) {

  nav {
    padding: 12px 20px;
  }

  .logo-name {
    font-size: 28px;
  }

  .logo-subtitle {
    font-size: 7px;
  }

  .menu {
    gap: 12px;
  }

  .menu a {
    font-size: 13px;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-content {
    width: 100%;

    padding: 30px 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box select,
  .search-box button {
    width: 100%;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }

  .reviews-section {
    padding: 60px 20px;
  }

  .reviews-section h2 {
    font-size: 30px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-text {
    min-height: auto;
  }

}