.rentals-section {
  color: var(--ink);
  padding: 0 40px 80px 40px;
  font-family: "Eurostile LT Std", sans-serif;
  background: transparent;
  display: flex;
  justify-content: center;
}
.rentals {
  position: relative;
  overflow-x: clip; /* keep decorative shapes from expanding layout width */
  overflow-y: visible;
}
.rentals-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/bg.png") no-repeat center center / cover;
  opacity: 0.2;
}

.rentals-container {
  z-index: 10;
  max-width: 1440px;
}

.rentals-title {
  color:var(--ink);
  padding:40px 40px 20px 40px;
  font-family:'Eurostile LT Std',sans-serif;
  background: transparent ;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rentals-hero {
  display: flex;
  padding: 20px 40px 20px 40px;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  align-content: center;
  flex-wrap: wrap;
  z-index: 1;
  position: static;
  justify-content: center;
  text-align: center;
  background: radial-gradient(
    circle at 55% 12%,
    #2b2b2b 15%,
    #1b1b1b 30%,
    #000000 70%
  );
}
.rentals-hero-content {
  width: 100%;
  max-width: 1440px;
  flex-direction: column;
  justify-content: center;
  display: flex;
}

.rentals-hero-title {
  font-size: var(--fs-68);
  font-weight: bolder;
  text-align: start;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: 100%;
  margin: 0;
  line-height: 1.1;
}

.rentals-hero-subtitle {
  font-size: var(--fs-clamp-title);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  width: 100%;
  text-align: end;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin: 0;
}
.rentals-hero-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 40px;
  gap: 60px;
  flex-wrap: nowrap; /* for smaller screens */
}
.tech-icon,
.rentals-description {
  /* subtract half the gap (60px -> 30px) from each side to avoid overflow */
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
}

.tech-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.rentals-description p {
  margin: 0;
  font-size: var(--fs-26);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgb(160, 160, 160);
}

.technologies-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.technologies-title {
  font-size: var(--fs-36);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-align: center;
  margin: 0 0 60px 0;
  text-transform: uppercase;
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  border-radius: 20px;
  margin: 0 auto;
  border: 1px solid rgb(45, 45, 46);
  width: 100%;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-right: 1px solid rgb(45, 45, 46);
  border-bottom: 1px solid rgb(45, 45, 46);
  transition: all 0.3s ease;
}

.tech-item:nth-child(3),
.tech-item:nth-child(6) {
  border-right: none;
}

.tech-item:nth-child(4),
.tech-item:nth-child(5),
.tech-item:nth-child(6) {
  border-bottom: 1px solid rgb(45, 45, 46);
}

.tech-item .tech-icon {
  flex: 0 0 60px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-item .tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: 1px solid rgb(45, 45, 46);
}

.tech-content {
  display: flex;
  align-items: start;
  flex: 1;
  flex-direction: column;
}

.tech-name {
  font-size: var(--fs-clamp-body);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.tech-specs {
  font-size: var(--fs-clamp-small);
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {

  .rentals-title {
    padding: 20px 20px 30px 20px;
  }

  .rentals-section {
    padding: 0 20px 20px 20px;
  }
  .rentals-hero {
    padding: 20px
  }
  .rentals-hero-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .rentals-hero {
    align-items: center;
  }
  .rentals-hero-title {
    width: 100%;
    padding: 0;
    font-size: var(--fs-42);
    text-align: center;
  }

  .rentals-hero-subtitle {
    width: 100%;
    font-size: var(--fs-24);
    padding: 0;
    text-align: center;
  }

  .rentals-hero-2 {
    flex-direction: column;
    gap: 40px;
    padding: 60px 0;
  }

  .tech-icon,
  .rentals-description {
    max-width: 100%;
  }

  .rentals-description p {
    text-align: center;
  }
  .technologies-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tech-item {
    padding: 15px;
    border-right: none;
    border-bottom: 1px solid 1px solid rgb(45, 45, 46);
  }

  .tech-item:last-child {
    border-bottom: none;
  }

  .tech-item .tech-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
  }
}
