/* =========================================================
   SERVICES V2
   PT. GHANIM TIRTA SOLUSINDO
========================================================= */

.services-v2 {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 190, 235, 0.08), transparent 28%),
    radial-gradient(circle at 92% 55%, rgba(0, 118, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fcff 52%, #f3faff 100%);
}

.services-v2::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -260px;
  top: 36%;
  border: 1px solid rgba(14, 157, 223, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.services-v2::after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -350px;
  bottom: -260px;
  border: 1px solid rgba(14, 157, 223, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.services-v2-container {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.services-v2-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 70px;
}

.services-v2-intro {
  max-width: 590px;
}

.services-v2-label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.services-v2-label span {
  color: #00aee9;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.services-v2-label i {
  display: block;
  width: 45px;
  height: 1px;
  background: #00aee9;
}

.services-v2-label p {
  margin: 0;
  color: #0b315c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.services-v2-intro h2 {
  margin: 0;
  color: #062f5d;
  font-size: clamp(48px, 4.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.services-v2-intro h2 span {
  display: block;
  margin-top: 6px;
  background: linear-gradient(90deg, #087bf0 0%, #00bfe2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-v2-description {
  max-width: 580px;
  margin: 28px 0 0;
  color: #7892ac;
  font-size: 17px;
  line-height: 1.7;
}


/* HERO IMAGE */

.services-v2-hero-visual {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
}

.services-v2-hero-shape {
  position: relative;
  width: 100%;
  height: 390px;
  overflow: hidden;
  clip-path: polygon(
    12% 5%,
    91% 0,
    100% 13%,
    98% 83%,
    89% 96%,
    12% 100%,
    0 86%,
    2% 18%
  );
}

.services-v2-hero-shape::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.88) 0%,
      rgba(255,255,255,0.28) 24%,
      rgba(255,255,255,0) 48%
    );
  pointer-events: none;
}

.services-v2-hero-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-v2-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 174, 233, 0.03),
    rgba(0, 83, 171, 0.08)
  );
}

.services-v2-hero-line {
  position: absolute;
  left: -24px;
  top: 80px;
  width: 3px;
  height: 180px;
  transform: rotate(14deg);
  border-radius: 10px;
  background: linear-gradient(#04c8e9, rgba(4, 200, 233, 0));
}


/* =========================================================
   SERVICE GRID
========================================================= */

.services-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.services-v2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 112, 180, 0.09);
  border-radius: 30px;
  box-shadow:
    0 22px 60px rgba(9, 65, 111, 0.07),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.services-v2-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 30px 75px rgba(9, 65, 111, 0.13),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.services-v2-card-image {
  position: relative;
  height: 215px;
  overflow: hidden;
}

.services-v2-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.92)
  );
  pointer-events: none;
}

.services-v2-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.services-v2-card:hover .services-v2-card-image img {
  transform: scale(1.045);
}

.services-v2-card-content {
  position: relative;
  flex: 1;
  padding: 0 30px 34px;
}

.services-v2-card-icon {
  width: 62px;
  height: 62px;
  margin-top: -31px;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f9ff, #ffffff);
  border: 1px solid rgba(0, 170, 235, 0.18);
  box-shadow: 0 12px 30px rgba(0, 126, 205, 0.12);
}

.services-v2-card-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #078ce8;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-v2-card h3 {
  margin: 0 0 17px;
  color: #073461;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.services-v2-card ul {
  margin: 0;
  padding-left: 20px;
  color: #627f9b;
  font-size: 15px;
  line-height: 1.55;
}

.services-v2-card li {
  margin-bottom: 6px;
}

.services-v2-card li::marker {
  color: #0b9ee8;
}

.services-v2-card ul ul {
  margin-top: 5px;
  padding-left: 20px;
}


/* =========================================================
   FEATURE CARD
========================================================= */

.services-v2-card-large {
  background:
    linear-gradient(
      145deg,
      rgba(235, 249, 255, 0.98),
      rgba(255,255,255,0.96)
    );
}


/* =========================================================
   CHEMICAL TRADING
========================================================= */

.services-v2-card-chemical {
  background:
    linear-gradient(
      145deg,
      rgba(242,250,255,0.98),
      rgba(255,255,255,0.96)
    );
}

.services-v2-chemical-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {

  .services-v2-container {
    width: min(100% - 50px, 1100px);
  }

  .services-v2-hero {
    gap: 45px;
  }

  .services-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 850px) {

  .services-v2 {
    padding: 80px 0;
  }

  .services-v2-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-v2-intro {
    max-width: 700px;
  }

  .services-v2-hero-visual {
    min-height: 340px;
  }

  .services-v2-hero-shape {
    height: 330px;
  }

  .services-v2-hero-line {
    display: none;
  }

}


@media (max-width: 680px) {

  .services-v2-container {
    width: calc(100% - 32px);
  }

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

  .services-v2-intro h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .services-v2-description {
    font-size: 15px;
  }

  .services-v2-hero-shape {
    height: 280px;
  }

  .services-v2-card-image {
    height: 210px;
  }

}


@media (max-width: 480px) {

  .services-v2 {
    padding: 65px 0;
  }

  .services-v2-label {
    gap: 10px;
  }

  .services-v2-label i {
    width: 30px;
  }

  .services-v2-label p {
    font-size: 10px;
  }

  .services-v2-card {
    border-radius: 24px;
  }

  .services-v2-card-content {
    padding-left: 23px;
    padding-right: 23px;
    padding-bottom: 28px;
  }

  .services-v2-card h3 {
    font-size: 23px;
  }

  .services-v2-card ul {
    font-size: 14px;
  }

  .services-v2-chemical-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

}


/* =========================================================
   SERVICES V2 — HERO PROPORTION REFINEMENT
========================================================= */

@media (min-width: 1181px) {

  .services-v2 {
    padding-top: 90px;
  }

  .services-v2-hero {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;
    margin-bottom: 52px;
  }

  .services-v2-intro {
    max-width: 610px;
  }

  .services-v2-intro h2 {
    font-size: clamp(48px, 4vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .services-v2-description {
    max-width: 560px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.7;
  }

  .services-v2-hero-visual {
    min-height: 350px;
  }

  .services-v2-hero-shape {
    height: 350px;
  }

}
