/* ===== HERO ===== */
.services-hero {
  position: relative;
  margin-left: 3%;
  height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 6% 110px;
}

.services-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-hero-darken {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.services-hero-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 50%, 100% 20%, 100% 100%, 0 100%);
  z-index: 1;
}

.services-hero-mask {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #537780;
  clip-path: polygon(0 60%, 100% 30%, 100% 100%, 0 100%);
  z-index: 2;
}

.services-hero-content {
  position: relative;
  z-index: 3;
}

.services-hero-content h1 {
  font-size: clamp(3.5rem, 5vw + 1.5rem, 6.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

/* ===== TEAL INTRO ===== */
.services-intro {
  background: #537780;
  margin-left: 3%;
  padding: 0 6% 60px;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
}

.services-intro-grid p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ===== SERVICES CONTENT ===== */
.services-content {
  background: #c9d1d3;
  margin-left: 3%;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  align-items: stretch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #dce4e6;
  padding: 40px 30px;
}

.service-item {
  padding: 0 20px 40px 0;
}

.service-item h3 {
  font-size: 19px;
  font-weight: 700;
  color: #537780;
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-item p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.services-diagram {
  padding: 40px;
  background: #3c3b3b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-diagram img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .services-hero {
    margin-left: 0;
    height: 40vh;
    min-height: unset;
    padding: 0 5% 60px 20px;
    align-items: flex-end;
  }

  .services-hero-band,
  .services-hero-mask {
    left: 3%;
    width: 97%;
  }

  .services-hero-content h1 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1px;
    white-space: normal;
  }

  .services-hero-band,
  .services-hero-mask {
    left: 3%;
    width: 97%;
    height: 100px;
  }

  .services-hero-content {
    top: -30px;
  }

  .services-intro {
    margin-left: 3%;
  }

  .services-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-content {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-bottom: 0;
  }

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

  .services-diagram {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .services-hero-content h1 {
    font-size: 28px;
  }

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