/* =========================================================
   SPLI Components - Reusable UI Elements
   ========================================================= */

/* ── Breadcrumb ────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--acid-green);
}

.breadcrumb .separator {
  font-size: 0.7rem;
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--acid-green);
  font-weight: 600;
}

/* ── Page Hero (Internal Pages) ───────────────────── */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #07131f 0%, #0d201c 55%, #07131f 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 143, 70, 0.2), transparent 60%);
  z-index: -1;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 30vw;
  height: 30vw;
  border-radius: 999px;
  background: rgba(185, 255, 102, 0.06);
  z-index: -1;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 0 0 20px;
  max-width: 800px;
}

.page-hero .hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 600px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  font-family: var(--main-font);
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--acid-green);
  color: #102018;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(185, 255, 102, 0.35);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-dark {
  background: var(--blue-dark);
  color: #fff;
}

.btn-dark:hover {
  box-shadow: 0 8px 30px rgba(7, 19, 31, 0.4);
}

.btn-outline {
  border-color: var(--primary-green);
  color: var(--primary-green);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-green);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  gap: 10px;
  font-size: 1rem;
  min-height: 54px;
  padding: 0 28px;
}

.btn-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.05rem;
}

/* ── Section Headings ──────────────────────────────── */
.services-section,
.advantage-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 10px 0 24px;
}

.section-heading p:not(.eyebrow) {
  color: var(--text-muted);
  line-height: 1.8;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

/* ── Service Panel Cards ───────────────────────────── */
.service-stack {
  margin-top: 42px;
  display: grid;
  gap: 18px;
}

.service-panel {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.service-panel:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.service-index {
  color: var(--acid-green);
  font-weight: 900;
  font-size: 1.2rem;
}

.service-panel h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.service-panel p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  max-width: 780px;
}

/* Service Panel on Light Background */
.service-panel-light {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line-dark);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  align-items: start;
}

.service-panel-light:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-panel-light .service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--acid-green), var(--primary-green));
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-panel-light h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.service-panel-light p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.service-panel-light .btn {
  margin-top: 16px;
}

/* ── Glassmorphism Card ────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ── Stats / Counter Section ───────────────────────── */
.stats-section {
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--acid-green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.5;
}

.stat-item-light .stat-number {
  color: var(--secondary-green);
}

.stat-item-light .stat-label {
  color: var(--text-muted);
}

/* ── FAQ / Accordion ───────────────────────────────── */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--main-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 999px;
  background: var(--bg-light);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 400;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--acid-green);
  color: var(--secondary-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* FAQ dark variant */
.faq-dark .faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.faq-dark .faq-question {
  color: #fff;
}

.faq-dark .faq-question .faq-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.faq-dark .faq-item.is-open .faq-icon {
  background: var(--acid-green);
  color: var(--secondary-green);
}

.faq-dark .faq-answer p {
  color: rgba(255, 255, 255, 0.6);
}

/* ── CTA Banner ────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
}

.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--secondary-green));
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 999px;
  background: rgba(185, 255, 102, 0.08);
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(47, 143, 70, 0.12);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-banner .btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Service Preview Cards (Beranda) ───────────────── */
.preview-section {
  padding: 100px 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.preview-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--line-dark);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.preview-card .card-number {
  color: var(--primary-green);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.preview-card h3 {
  font-size: 1.45rem;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.preview-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.preview-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.92rem;
  transition: gap var(--transition-base);
}

.preview-card:hover .card-link {
  gap: 12px;
}

/* ── Sertifikasi Section ───────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.cert-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition:
    transform var(--transition-base),
    background var(--transition-base);
}

.cert-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.cert-card .cert-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cert-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.cert-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Testimonial Section ───────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card .quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0 0 20px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--acid-green), var(--primary-green));
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--secondary-green);
  font-size: 1rem;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-card .author-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}
