/* layanan.css */
:root {
  --bg-main: #e5f0ff;
  --bg-soft: #f3f7ff;
  --bg-deep: #0b1220;

  --primary: #0f8cff;
  --primary-soft: #cfe5ff;
  --primary-deep: #0552d4;
  --accent: #3cc3ff;

  --accent-warm: #0f8cff;
  --accent-warm-soft: #3cc3ff;

  --text-main: #071326;
  --text-soft: #5b6475;
  --border-soft: #d4e4ff;

  --shadow-soft: 16px 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft-strong: 20px 20px 55px rgba(15, 23, 42, 0.18);
  --shadow-inset-light: inset 4px 4px 12px rgba(255, 255, 255, 0.9);
  --shadow-inset-dark: inset -4px -4px 12px rgba(148, 163, 184, 0.35);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --nav-h: 80px;
  --page-max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 900px at -10% -10%, #ffffff 0%, #e8f2ff 45%, transparent 70%),
    radial-gradient(900px 800px at 110% 110%, #ffffff 0%, #e0ecff 40%, transparent 70%),
    linear-gradient(180deg, #e5f0ff 0%, #f7fbff 40%, #f3f7ff 100%);
}

body.menu-open { overflow: hidden; }
html.menu-open, body.menu-open { height: 100%; }
.nav-overlay { overscroll-behavior: contain; }

.page-main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 24px) 20px 56px;
}

/* ================= NAVBAR ================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
}

.nav-shell {
  backdrop-filter: blur(22px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 240, 255, 0.92));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 20px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  box-shadow:
    inset 2px 2px 4px rgba(255, 255, 255, 0.28),
    inset -2px -3px 4px rgba(15, 23, 42, 0.35),
    0 2px 10px rgba(7, 23, 50, 0.55);
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.4rem;
  margin-bottom: -3px;
  color: #0552d4;
}

.brand-sub { font-size: 0.9rem; color: var(--text-soft); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  padding: 6px 10px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover { color: var(--primary-deep); transform: translateY(-1px); }
.nav-link.is-active { color: var(--primary-deep); font-weight: 600; }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.full { width: 100%; justify-content: center; }
.btn i { font-size: 0.9em; }
a.btn { text-decoration: none; }

.btn.member-btn { border-radius: 10px; padding: 10px 26px; font-size: 0.95rem; font-weight: 700; }
.btn.member-btn i { font-size: 1.1em; line-height: 1; }

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #ffffff;
  box-shadow:
    0 10px 25px rgba(15, 118, 255, 0.35),
    0 0 0 1px rgba(15, 118, 255, 0.3);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(15, 118, 255, 0.45),
    0 0 0 1px rgba(15, 118, 255, 0.35);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-deep);
  box-shadow:
    4px 4px 15px rgba(15, 23, 42, 0.08),
    -4px -4px 15px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    7px 7px 22px rgba(15, 23, 42, 0.12),
    -4px -4px 18px rgba(255, 255, 255, 0.9);
}

.soft-btn {
  background: linear-gradient(135deg, #f7fbff, #e5f2ff);
  color: var(--primary-deep);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    6px 6px 18px rgba(15, 23, 42, 0.12),
    -4px -4px 15px rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  font-size: 0.85rem;
}

.soft-btn:hover { background: linear-gradient(135deg, #e4f0ff, #d7e7ff); }

/* ===== FIX BURGER / CLOSE ===== */
.nav-toggle{
  display:none;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  padding:0;
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(245,248,255,.96));
  box-shadow:0 6px 14px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.9);
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
  align-items:center;
  justify-content:center;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.95);
}

.nav-toggle-line{
  position:relative;
  display:block;
  width:18px;
  height:2px;
  border-radius:999px;
  background:var(--primary-deep);
  transition:background .18s ease;
}

.nav-toggle-line::before,
.nav-toggle-line::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  border-radius:999px;
  background:var(--primary-deep);
  transition:transform .18s ease, top .18s ease, bottom .18s ease, opacity .18s ease;
}

.nav-toggle-line::before{ top:-6px; }
.nav-toggle-line::after{ bottom:-6px; }

.nav-toggle.is-open .nav-toggle-line{ background:transparent; }
.nav-toggle.is-open .nav-toggle-line::before{ top:0; transform:rotate(45deg); }
.nav-toggle.is-open .nav-toggle-line::after{ bottom:0; transform:rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: linear-gradient(180deg, #f6fbff, #e3efff);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.nav-overlay.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.nav-overlay-menu {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-overlay-link {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-overlay-link.is-active {
  background: linear-gradient(135deg, #e0f0ff, #d1e6ff);
  color: var(--primary-deep);
  font-weight: 600;
}

.nav-overlay-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ================= UTIL / CARD ================= */
.neo-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffffff, #edf4ff);
  box-shadow: var(--shadow-soft), -10px -10px 30px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.section { margin-top: 18px; }

.hot-topic-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hot-topic-title{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ================= SEARCH ================= */
.hero-search {
  padding: 12px 12px 10px;
  border-radius: 26px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  gap: 10px;
  align-items: center;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 4px 4px 14px rgba(15, 23, 42, 0.08), -4px -4px 14px rgba(255, 255, 255, 0.9);
}

.search-input i { color: var(--primary-deep); }

.search-input input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
}

.select-wrap{
  position:relative;
  width:auto;
  justify-self:end;
}

.search-select {
  width:auto;
  min-width:132px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 40px 10px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-main);
  box-shadow: 4px 4px 14px rgba(15, 23, 42, 0.08), -4px -4px 14px rgba(255, 255, 255, 0.9);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  white-space:nowrap;
}

.select-chevron{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:0.9rem;
  color: var(--primary-deep);
  pointer-events:none;
}

.search-clear{
  width:44px;
  height:44px;
  padding:0;
  justify-content:center;
  border-radius:999px;
}

.search-hint {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--text-soft);
  background: linear-gradient(135deg, #f7fbff, #e6f1ff);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hint-pill i { color: var(--primary-deep); }

/* ================= CATALOG GRID + CARD ================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.service-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 26px;
  background: linear-gradient(145deg, #ffffff, #f2f6ff);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, #fdfefe, #e0f0ff);
  border-color: rgba(37, 99, 235, 0.75);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.service-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.service-badge {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-soft);
  align-self: flex-start;
}

.service-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f7fbff, #e4f1ff);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
  box-shadow: 6px 6px 18px rgba(15, 23, 42, 0.12), -4px -4px 15px rgba(255, 255, 255, 0.9);
  flex: 0 0 auto;
  overflow: hidden;
}

.service-logo-img{
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  display: block;
}

.service-icon i{
  display: none;
  font-size: 1.35rem;
}

.service-card.logo-fail .service-logo-img{ display: none; }
.service-card.logo-fail .service-icon i{ display: block; }

.service-desc {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
  min-height: 2.6rem;
}

.service-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.service-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-price small {
  font-size: 0.72rem;
  color: var(--text-soft);
}

.service-price b {
  font-size: 0.98rem;
  color: var(--primary-deep);
  letter-spacing: 0.02em;
}

.service-btn {
  padding: 8px 14px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-deep), var(--accent));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 118, 255, 0.35), 0 0 0 1px rgba(15, 118, 255, 0.3);
}

.service-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 118, 255, 0.45), 0 0 0 1px rgba(15, 118, 255, 0.35);
}

.catalog-empty {
  margin-top: 14px;
  padding: 22px;
  border-radius: 26px;
  text-align: center;
}

.empty-icon {
  font-size: 1.6rem;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.empty-title { margin: 0 0 4px; font-size: 1.05rem; }
.empty-sub { margin: 0; color: var(--text-soft); font-size: 0.9rem; }

/* ================= FOOTER ================= */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.45);
  background:
    radial-gradient(1200px 800px at -20% -20%, rgba(255, 255, 255, 0.18) 0, transparent 55%),
    linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #f9fbff;
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 30px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 0.8fr;
  gap: 34px;
  align-items: start;
}

.footer-col {
  min-width: 0;
  font-size: 0.82rem;
  color: #e5f0ff;
}

.footer-brand-col { max-width: 520px; }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.footer-logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow:
    inset 2px 2px 4px rgba(255, 255, 255, 0.28),
    inset -2px -3px 4px rgba(15, 23, 42, 0.35),
    0 2px 10px rgba(7, 23, 50, 0.55);
}

.footer-logo-text { display: flex; flex-direction: column; }

.footer-logo-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.1;
}

.footer-logo-sub {
  font-size: 0.9rem;
  color: #dbeafe;
  margin-top: 2px;
}

.footer-tagline {
  margin: 6px 0 0;
  max-width: 520px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(229, 240, 255, 0.95);
}

.footer-title {
  margin: 4px 0 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.footer-text {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: rgba(229, 240, 255, 0.95);
  line-height: 1.6;
}

.footer-links-col{ display:flex; flex-direction:column; }

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-list li { line-height: 1.4; }

.footer-list a {
  text-decoration: none;
  font-size: 0.8rem;
  color: rgba(229, 240, 255, 0.95);
  display: inline-block;
  font-weight: 500;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.footer-list a::after{
  content: attr(data-text);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 700;
}

.footer-contact{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.footer-contact li{
  display:flex;
  align-items:center;
  gap: 12px;
  line-height: 1.25;
}

.footer-contact i{
  width: 18px;
  text-align:center;
  color: rgba(255,255,255,0.95);
  opacity: 0.95;
  font-size: 0.82rem;
}

.footer-contact a{
  color: rgba(229, 240, 255, 0.95);
  text-decoration:none;
  font-weight: 500;
  font-size: 0.8rem;
}

.footer-contact a:hover,
.footer-contact a:focus-visible{
  color:#ffffff;
  font-weight: 700;
}

.footer-contact a::after{
  content: attr(data-text);
  display:block;
  height:0;
  overflow:hidden;
  visibility:hidden;
  font-weight: 700;
}

.footer-bottom.footer-legal{
  border-top: 1px solid rgba(15, 23, 42, 0.45);
  padding-top: 10px;
  display:flex;
  flex-direction:column;
  gap: 2px;
  font-size: 0.78rem;
  color: #e5f0ff;
}

.legal-copy{
  margin: 0;
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffffff;
}

.legal-disclaimer{
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(229, 240, 255, 0.92);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .footer-brand-col{ grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .page-main{
    padding-top: calc(var(--nav-h) + 10px);
    padding-inline: 16px;
  }

  .catalog-grid { grid-template-columns: minmax(0, 1fr); }

  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; font-size: 1rem; }
  .brand-name { font-size: 1.15rem; margin-bottom: -3px; }
  .brand-text { max-width: 210px; }
  .brand-sub {
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn.member-btn { border-radius: 9px; padding: 9px 20px; font-size: 0.92rem; font-weight: 700; }

  .hero-search { padding: 10px 10px 9px; border-radius: 24px; }
  .search-row { grid-template-columns: 1fr auto 44px; gap: 8px; }

  .search-input { padding: 9px 12px; gap: 9px; }
  .search-input input { font-size: 0.86rem; }

  .search-select { min-width: 120px; padding: 9px 38px 9px 12px; font-size: 0.84rem; }
  .select-chevron { right: 14px; font-size: 0.88rem; }

  .footer-inner { padding-inline: 16px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 18px; }
  .footer-logo-mark { display: none; }
  .footer-logo { width: 100%; justify-content: center; }
  .footer-logo-text{ align-items: center; }
}

@media (max-width: 380px) {
  .search-row { grid-template-columns: 1fr auto 44px; }
  .search-input input { font-size: 0.84rem; }
  .search-select { min-width: 112px; }

  .page-main{ padding-top: calc(var(--nav-h) + 6px); }
}
