@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-heading: 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --accent-deep: #1d4ed8;
  --accent-deep-hover: #1e40af;
  --accent-light: #60a5fa;
  --accent-gradient: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);

  --bg-white: #ffffff;
  --bg-light-gray: #f8fafc;
  --border-light: #e2e8f0;
  --border-input: #cbd5e1;

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted-light: #475569;
  --placeholder-light: #64748b;

  --dark-hero-bg: #050507;
  --dark-footer-bg: #080c16;
  --dark-border: rgba(255, 255, 255, 0.14);
  --dark-text: #f8fafc;
  --dark-muted: #94a3b8;

  --wa-green: #15803d;
  --wa-green-hover: #166534;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;

  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Pointer cursor base layer for all interactive controls */
a[href], button, summary, select, label[for],
label:has(> input[type="checkbox"], > input[type="radio"]),
[role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"],
input[type="checkbox"], input[type="radio"], input[type="file"],
input[type="submit"], input[type="button"], input[type="reset"], input[type="range"], input[type="color"] {
  cursor: pointer;
}

:disabled, [aria-disabled="true"] {
  cursor: not-allowed;
}

/* Accessible keyboard focus indicators (WCAG >= 3:1) */
:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}

.hero-section :focus-visible,
.site-footer :focus-visible,
.offcanvas-end :focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--text-dark);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 2000;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
  color: #ffffff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-deep-hover);
}

/* Override Bootstrap .text-secondary so all sections meet WCAG AA 4.5:1 */
.section-white .text-secondary,
.section-light-gray .text-secondary,
.modal-content .text-secondary {
  color: var(--text-muted-light) !important;
}

.hero-section .text-secondary,
.site-footer .text-secondary,
.offcanvas-end .text-secondary {
  color: var(--dark-muted) !important;
}

/* Alternating section backgrounds below hero (compact rhythm) */
.section-white {
  background-color: var(--bg-white);
  color: var(--text-body);
  position: relative;
  padding: 3.25rem 0;
}

.section-light-gray {
  background-color: var(--bg-light-gray);
  color: var(--text-body);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding: 3.25rem 0;
}

@media (max-width: 767px) {
  .section-white,
  .section-light-gray {
    padding: 2.35rem 0;
  }
}

.section-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.55rem;
  letter-spacing: -0.3px;
}

.section-desc {
  color: var(--text-muted-light);
  font-size: 0.96rem;
  max-width: 640px;
}

.section-desc-center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-haidoko {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-haidoko-primary {
  background: var(--accent-gradient);
  color: #ffffff !important;
}

.btn-haidoko-primary:hover {
  background: var(--accent-deep-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
  color: #ffffff !important;
}

.btn-haidoko-primary:active {
  transform: translateY(0);
}

.btn-haidoko-outline {
  background: rgba(5, 5, 7, 0.55);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-haidoko-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-haidoko-light-outline {
  background: #ffffff;
  color: var(--text-dark);
  border-color: var(--border-input);
}

.btn-haidoko-light-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--text-dark);
}

/* Navbar (glassmorphism capped to scrolled header only) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.95rem 0;
  transition: var(--transition);
}

.site-header.scrolled,
.site-header.site-header-subpage {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  padding: 0.7rem 0;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-brand span {
  color: var(--accent-light);
}

.site-header.scrolled .logo-brand,
.site-header.site-header-subpage .logo-brand {
  color: var(--text-dark);
}

.site-header.scrolled .logo-brand span,
.site-header.site-header-subpage .logo-brand span {
  color: var(--accent-deep);
}

.nav-link-custom {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link-custom:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav-link-custom,
.site-header.site-header-subpage .nav-link-custom {
  color: var(--text-body);
}

.site-header.scrolled .nav-link-custom:hover,
.site-header.site-header-subpage .nav-link-custom:hover {
  color: var(--accent-deep);
  background: #eff6ff;
}

.btn-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(5, 5, 7, 0.6);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.site-header.scrolled .btn-mobile-toggle {
  border-color: var(--border-input);
  background: #ffffff;
  color: var(--text-dark);
}

/* Hero Section (dark photography with real <img>) */
.hero-section {
  position: relative;
  min-height: min(82dvh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 92px;
  padding-bottom: 84px;
  background-color: var(--dark-hero-bg);
  color: var(--dark-text);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 7, 0.95) 0%,
    rgba(5, 5, 7, 0.82) 48%,
    rgba(5, 5, 7, 0.42) 100%
  );
  z-index: 1;
}

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

.hero-title {
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.24;
  color: #ffffff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.4px;
}

.hero-subtitle-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.hero-pink-line {
  width: 44px;
  height: 2px;
  background-color: var(--accent-light);
  margin-top: 13px;
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: 1.02rem;
  font-weight: 400;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  color: #e2e8f0;
  max-width: 620px;
}

.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.hero-trust-strip i {
  color: var(--accent-light);
}

.hero-sidelinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hero-sidelinks a {
  display: block;
  position: relative;
  min-height: 44px;
  padding: 0.35rem 0.5rem 0.35rem 1.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.hero-sidelinks a::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-light);
  transition: var(--transition);
}

.hero-sidelinks a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.06);
}

.hero-sidelinks .sidelink-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-sidelinks .sidelink-sub {
  display: block;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.hero-bottom-bar {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 5, 7, 0.88) 0%,
      rgba(5, 5, 7, 0.78) 65%,
      rgba(5, 5, 7, 0.92) 100%
    );
  }

  .hero-bottom-bar {
    position: static;
    margin-top: 2.5rem;
  }
}

.hero-follow-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-follow-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-follow-line {
  width: 32px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.35);
}

.hero-follow-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-follow-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
}

.hero-follow-links a:hover {
  color: var(--accent-light);
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 76px;
}

@media (max-width: 767px) {
  .hero-scroll-btn {
    margin-right: 68px;
  }
}

.hero-scroll-btn:hover {
  color: var(--accent-light);
}

.hero-scroll-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--dark-hero-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.hero-scroll-btn:hover .hero-scroll-circle {
  background-color: var(--accent-deep);
  color: #ffffff;
  transform: translateY(2px);
}

/* 1. Keunggulan Section (1 Unified Card with Compact Points) */
.advantage-single-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}

@media (max-width: 575px) {
  .advantage-single-card {
    padding: 1.35rem 1.2rem;
  }
}

.advantage-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
}

@media (max-width: 767px) {
  .advantage-points-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.advantage-point-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.advantage-point-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.advantage-point-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

/* 2. Tentang Kami & Alur Kerja Section */
.step-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-item:hover {
  border-color: var(--accent-deep);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-desc {
  color: var(--text-body);
  font-size: 0.89rem;
  margin-bottom: 0;
  line-height: 1.55;
}

/* 3. Layanan Section */
.service-box {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.35rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.section-light-gray .service-box {
  background: var(--bg-white);
}

.service-box:hover {
  border-color: var(--accent-deep);
  background: var(--bg-white);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.service-icon {
  font-size: 1.45rem;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.service-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.service-desc {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.service-features {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-muted-light);
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.service-detail-link:hover {
  color: var(--accent-deep-hover);
  text-decoration: underline;
}

.service-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wa-green);
}

.service-wa-link:hover {
  color: var(--wa-green-hover);
}

/* 4. Pricelist Section (elevation shadow reserved for featured plan) */
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.55rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular {
  border: 2px solid var(--accent-deep);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-deep);
  color: #ffffff;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.pricing-plan-desc {
  color: var(--text-muted-light);
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

.pricing-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-strike-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pricing-original-price {
  color: var(--text-muted-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: var(--accent-deep);
  text-decoration-thickness: 1.5px;
}

.pricing-save-badge {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--accent-deep);
  background: #eff6ff;
  border: 1px solid #93c5fd;
  padding: 0.1rem 0.48rem;
  border-radius: 6px;
}

.promo-countdown-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--dark-hero-bg);
  color: #ffffff;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.35rem;
}

.promo-countdown-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.promo-countdown-label i {
  color: var(--accent-light);
  font-size: 1.15rem;
}

.promo-countdown-boxes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.promo-cd-unit {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  min-width: 56px;
  padding: 0.3rem 0.55rem;
  text-align: center;
}

.promo-cd-num {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.promo-cd-txt {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #cbd5e1;
}

.promo-cd-sep {
  font-weight: 800;
  color: var(--accent-light);
  font-size: 1.1rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pricing-period {
  color: var(--text-muted-light);
  font-size: 0.82rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pricing-features-list li i {
  color: var(--accent-deep);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* 5. Portofolio Section (always-visible captions for touch & mouse parity) */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--bg-light-gray);
  border: 1px solid var(--border-input);
  color: var(--text-dark);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}

.filter-btn:hover {
  background: #f1f5f9;
  border-color: var(--accent-deep);
}

.filter-btn.active {
  background: var(--accent-deep);
  color: #ffffff;
  border-color: var(--accent-deep);
}

.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  height: 100%;
  transition: var(--transition);
}

.portfolio-item:hover {
  border-color: var(--accent-deep);
}

.portfolio-card-btn,
.portfolio-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
  background: #e2e8f0;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.portfolio-item:hover .portfolio-img-wrap img {
  transform: scale(1.04);
}

.portfolio-caption {
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.2rem;
}

.portfolio-title {
  font-size: 1.02rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.portfolio-tech {
  font-size: 0.81rem;
  color: var(--text-muted-light);
  margin-top: auto;
}

.concept-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--text-dark);
  border: 1px solid var(--border-input);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}

/* 6. Statistik Section (rendered only when verified entries exist) */
.stat-box {
  text-align: center;
  padding: 1.25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-deep);
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 700;
}

/* 7. Testimoni Section (rendered only when verified client reviews exist) */
.testimonial-card {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #b45309;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.testimonial-avatar-initials {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-deep);
}

.testimonial-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.84rem;
  color: var(--text-muted-light);
}

/* 8. FAQ Accordion */
.accordion-custom .accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  min-height: 54px;
  padding: 1.15rem 1.4rem;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--accent-deep-hover);
  background: #eff6ff;
}

.accordion-custom .accordion-button::after {
  filter: none;
}

.accordion-custom .accordion-body {
  padding: 1.25rem 1.4rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
}

/* 9. Contact Section & Form */
.contact-box {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.6rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.section-light-gray .contact-box {
  background: var(--bg-white);
}

.contact-meta-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  height: 100%;
}

.about-spec-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.about-spec-item {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
}

.section-light-gray .about-spec-item {
  background: var(--bg-white);
}

/* Subpages (Layanan & Artikel) + Article Cards */
.subpage-main {
  padding-top: 72px;
}

.subpage-hero {
  background: var(--dark-hero-bg);
  color: var(--dark-text);
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--dark-border);
}

.subpage-breadcrumb .breadcrumb-item,
.subpage-breadcrumb .breadcrumb-item a {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.subpage-breadcrumb .breadcrumb-item.active {
  color: var(--accent-light);
  font-weight: 700;
}

.subpage-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #94a3b8;
}

.subpage-title {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.subpage-lead {
  color: #e2e8f0;
  font-size: 0.98rem;
  max-width: 720px;
}

.subpage-feature-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.article-card-compact {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card-compact:hover {
  border-color: var(--accent-deep);
}

.article-cat-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  align-self: flex-start;
}

.subpage-hero .article-cat-tag {
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.4);
  color: #dbeafe;
}

.article-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.45rem 0 0.4rem 0;
  line-height: 1.4;
}

.article-card-title a {
  color: var(--text-dark);
}

.article-card-title a:hover {
  color: var(--accent-deep);
}

.article-card-excerpt {
  color: var(--text-body);
  font-size: 0.87rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.article-reader-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.article-h2 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 1.5rem 0 0.6rem 0;
}

.article-h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.2rem 0 0.45rem 0;
}

.article-p {
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 0.95rem;
}

.article-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.article-list li {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.article-author-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.sidebar-info-card {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

@media (max-width: 575px) {
  .contact-box {
    padding: 1.5rem 1.2rem;
  }
}

.form-control-custom {
  background: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control-custom:focus {
  background: #ffffff;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
  color: var(--text-dark);
}

.form-control-custom::placeholder {
  color: var(--placeholder-light);
  opacity: 1;
}

select.form-control-custom option {
  background: #ffffff;
  color: var(--text-dark);
}

.form-label-custom {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.empty-state-box {
  background: var(--bg-light-gray);
  border: 1px dashed var(--border-input);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: var(--text-body);
}

.section-light-gray .empty-state-box {
  background: var(--bg-white);
}

/* 10. Footer (Dark) */
.site-footer {
  background: var(--dark-footer-bg);
  color: var(--dark-muted);
  border-top: 1px solid var(--dark-border);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-desc {
  color: var(--dark-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
  color: #ffffff;
  font-size: 1.15rem;
}

.footer-social-link:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--dark-muted);
  font-size: 0.86rem;
}

/* Floating WhatsApp & Back-to-Top (>= 44x44px touch targets) */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--wa-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 18px rgba(21, 128, 61, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.floating-wa-btn:hover {
  background-color: var(--wa-green-hover);
  transform: scale(1.06);
  color: #ffffff;
}

.back-to-top-btn {
  position: fixed;
  bottom: 92px;
  right: 29px;
  width: 46px;
  height: 46px;
  background: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}

/* Reduced motion support (R-39) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
