.hero-container {
  background: linear-gradient(
    45deg,
    var(--cyan-tint) 15%,
    var(--cyan-glow) 100%
  );
  display: flex;
  width: 100%;
  gap: 4rem;
  align-items: center;
  padding: calc(var(--section-py) * 2) var(--section-px) var(--section-py);
}
/* --- Custom Service Card Title --- */
.service-hero-section {
  flex: 1;
}
/* --- Hero Section Khusus Teks (Di Atas) --- */
.hero-text-only {
  max-width: 800px;
  /* Margin auto bikin dia ke tengah. Margin atas 180px biar gak ketutup navbar */
  margin: 180px auto 100px auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text-only .breadcrumb {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-text-only .main-heading {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text-only .description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.service-card-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink); /* Variabel dari base.css */
}
/* --- Kolom Kiri (Konten Teks) --- */
.content-section {
  max-width: 540px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light-gray);
  margin-bottom: 2rem;
  font-weight: 500;
}
.breadcrumb svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.breadcrumb .active {
  color: var(--text-dark);
  font-weight: 600;
}
.main-heading {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.btn-get-started {
  display: inline-flex;
  align-items: center;
  background: var(--primary-red);
  gap: 12px;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}
.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(227, 30, 36, 0.35);
  background: #c2171e;
}
.btn-get-started svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* --- Kolom Kanan (Gambar/Ilustrasi) --- */
.image-service-section {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.05));
}
/* --- Custom Message Box (Pengganti Alert) --- */
.toast-message {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--text-dark);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
}
.toast-message.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- Responsif (Mobile & Tablet) --- */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2.5rem;
    /* Tambah padding atas agak besar biar nggak nabrak navbar glass/fixed-mu */
    padding: 7rem 1.5rem 3rem;
  }
  .content-section {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-heading {
    font-size: 2.5rem;
  }
  .image-section {
    order: -1; /* Pindahkan gambar ke atas pada layar kecil */
  }

  /* Target class yang bener sesuai HTML-mu */
  .service-hero-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Bikin teks, badge, dan tombol ke tengah */
    margin: 0 auto;
    width: 100%;
  }

  /* Perkecil heading biar nggak menuhin layar HP */
  .main-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Pastikan gambar ada di bawah teks dan lebarnya menyesuaikan layar */
  .image-service-section {
    width: 100%;
    order: 2;
  }

  .hero-image {
    max-width: 100%;
    height: auto;
  }
}

.services-section {
  background: var(--paper-3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  position: relative;
  background: radial-gradient(
    ellipse at 70% 35%,
    rgba(82, 243, 251, 0.6),
    transparent 50%
  );
  overflow: hidden;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  border-color: var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.service-desc {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem;
}

.service-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
}

.service-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.service-icon-small {
  color: var(--primary-red);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin: 0;
}

.service-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1400px) {
  .services-section {
    padding: 75px 5%;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Gap diperkecil biar card nggak terlalu jauh di HP */
  }

  .service-thumb {
    height: 180px; /* Gambar thumbnail card agak dipendekin dikit di HP */
  }

  .btn-get-started {
    display: none;
  }
}

/* --- Khusus HP Layar Kecil --- */
@media (max-width: 480px) {
  .hero-container {
    padding-top: 6rem;
  }

  .main-heading {
    font-size: 2rem; /* Heading lebih kecil lagi untuk layar sempit */
  }

  .badge-outline {
    margin-bottom: 1rem; /* Jarak badge ke judul */
  }
}
