/* ==========================================================================
   BrigaMed — Company Profile
   File: assets/css/style.css
   Versi: 5.1 — Desktop = v4.3 (asli), Mobile = v5.0 (optimized)
   ========================================================================== */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --brand: #d92b2b;
  --brand-dark: #b71f1f;
  --brand-soft: #fef0f0;

  --blue: #1e5fbf;
  --blue-dark: #14479a;
  --blue-soft: #eaf1fc;

  --ink: #1a1a1a;
  --ink-2: #3d3a35;
  --muted: #7d766a;
  --line: #e4dcd0;
  --bg: #faf7f2;
  --bg-soft: #f2ece1;
  --bg-soft-2: #e9e1d3;
  --card: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(61, 58, 53, .05);
  --shadow: 0 4px 16px rgba(61, 58, 53, .06);
  --shadow-md: 0 10px 30px rgba(61, 58, 53, .08);
  --shadow-lg: 0 20px 50px rgba(61, 58, 53, .12);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --container: 1200px;
  --gutter: 24px;       /* ASLI desktop */
  --header-h: 72px;     /* ASLI desktop */
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(30, 95, 191, .15);
}

body.lightbox-open { overflow: hidden; }
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
img, video { max-width: 100%; height: auto; display: block; }
button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 12px 22px;
  min-height: 46px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover,
.btn-primary:active { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(217, 43, 43, .3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover,
.btn-outline:active { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ============================================================
   4. HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.4rem;  /* ASLI desktop */
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  min-height: 44px;
}
.logo-img { height: 38px; width: auto; display: block; }  /* ASLI */
.logo-text span, .logo span { color: var(--brand); }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;       /* ASLI desktop */
  min-height: 44px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--blue); background: var(--blue-soft); }

.nav-menu .btn-contacts {
  margin-left: 8px;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.nav-menu .btn-contacts:hover { background: var(--brand-dark); color: #fff; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   5. HERO SECTION + HERO VIDEO
   ============================================================ */
.hero {
  padding: 80px 0 96px;   /* ASLI desktop */
  background:
    radial-gradient(circle at 90% 10%, rgba(30, 95, 191, .10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(217, 43, 43, .06), transparent 40%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;  /* ASLI desktop */
  gap: 64px;                            /* ASLI desktop */
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 20px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);   /* ASLI desktop */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}
.hero h1 span { color: var(--brand); }
.hero-lead {
  font-size: 1.1rem;     /* ASLI desktop */
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

.hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #f4ede2);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: block;
}

.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-video img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-badge {
  position: absolute;
  bottom: 20px; left: 20px;   /* ASLI desktop */
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(30, 95, 191, .35);
  z-index: 2;
  max-width: calc(100% - 40px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   6. SECTION BASE
   ============================================================ */
.section { padding: 88px 0; }          /* ASLI desktop */
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }  /* ASLI */
.section-head.left { margin-left: 0; text-align: left; }
.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);   /* ASLI desktop */
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-desc {
  font-size: 1.02rem;    /* ASLI desktop */
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   7. TENTANG
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;  /* ASLI */
  gap: 64px;                          /* ASLI */
  align-items: start;
}
.about-text p {
  font-size: 1rem;      /* ASLI */
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

.about-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;        /* ASLI */
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}
.about-info-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-info-item:first-child { padding-top: 0; }
.about-info-item:last-child { padding-bottom: 0; border-bottom: none; }
.about-info-item dt {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}
.about-info-item dd {
  font-size: .98rem; font-weight: 500;
  color: var(--ink); line-height: 1.55;
}

/* ============================================================
   8. LAYANAN
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));  /* ASLI */
  gap: 20px;                                                    /* ASLI */
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;    /* ASLI */
  transition: all .25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 28px; top: 0;
  width: 44px; height: 3px;
  background: var(--blue);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px;  /* ASLI */
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: .93rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   9. BIDANG ALAT
   ============================================================ */
.bidang-wrap {
  display: flex; flex-wrap: wrap;
  gap: 10px;                     /* ASLI */
  justify-content: center;
}
.bidang-tag {
  padding: 10px 20px;            /* ASLI */
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .2s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.bidang-tag:hover,
.bidang-tag:active { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ============================================================
   10. PERMENKES
   ============================================================ */
.permenkes {
  background: var(--blue-dark);
  color: #cbd5e1;
  padding: 88px 0;               /* ASLI */
  position: relative;
  overflow: hidden;
}
.permenkes::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(217, 43, 43, .28), transparent 70%);
  pointer-events: none;
}
.permenkes-inner { max-width: 900px; margin: 0 auto; position: relative; }
.permenkes h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);   /* ASLI */
  margin-bottom: 8px;
}
.permenkes-source {
  font-size: .85rem;
  color: #9db8de;
  margin-bottom: 32px;
  font-weight: 500;
}
.permenkes ol {
  padding: 0;
  counter-reset: p;
  display: flex; flex-direction: column;
  gap: 18px;
}
.permenkes li {
  position: relative;
  padding-left: 56px;           /* ASLI */
  font-size: 1rem;
  line-height: 1.75;
  color: #e2e8f0;
  counter-increment: p;
}
.permenkes li::before {
  content: counter(p);
  position: absolute;
  left: 0; top: -2px;
  width: 36px; height: 36px;    /* ASLI */
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   11. KOMITMEN
   ============================================================ */
.komitmen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* ASLI */
  gap: 64px;                        /* ASLI */
  align-items: start;
}
.komitmen-text p { font-size: 1rem; line-height: 1.8; color: var(--ink-2); }
.vm-list { display: flex; flex-direction: column; gap: 16px; }
.vm-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 26px;              /* ASLI */
  transition: box-shadow .25s;
}
.vm-card:hover { box-shadow: var(--shadow); }
.vm-card .vm-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.vm-card p { font-size: .96rem; color: var(--ink-2); line-height: 1.7; }

/* ============================================================
   12. ALUR KERJA
   ============================================================ */
.alur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* ASLI */
  gap: 20px;                              /* ASLI */
  position: relative;
}
.alur-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 8%; right: 8%;
  height: 2px;
  background-image: repeating-linear-gradient(to right, var(--line) 0, var(--line) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
.alur-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;    /* ASLI */
  text-align: center;
  z-index: 1;
  transition: all .25s;
}
.alur-step:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.alur-num {
  width: 56px; height: 56px;  /* ASLI */
  margin: 0 auto 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg), 0 6px 16px rgba(30, 95, 191, .3);
}
.section--soft .alur-num { box-shadow: 0 0 0 6px var(--bg-soft), 0 6px 16px rgba(30, 95, 191, .3); }
.alur-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.alur-step p { font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   13. GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));  /* ASLI */
  gap: 24px;                                                    /* ASLI */
}
.gallery-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
}
.gallery-card:hover,
.gallery-card:active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.gallery-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft-2);
  overflow: hidden;
}
.gallery-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-card:hover .gallery-media img { transform: scale(1.05); }
.gallery-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.gallery-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.gallery-body p { font-size: .88rem; color: var(--muted); line-height: 1.6; flex: 1; }

/* ============================================================
   14. LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 14, 12, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;                 /* ASLI */
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure {
  margin: 0;
  max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  animation: lightboxIn .35s ease;
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-img {
  max-width: 100%; max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  background: #1a1a1a;
}
.lightbox-caption {
  color: #e4dcd0;
  font-family: var(--font-body);
  font-size: .95rem;
  text-align: center;
  font-weight: 500;
  max-width: 600px;
  line-height: 1.5;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: none; color: #fff;
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-close:hover { background: var(--brand); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: none; color: #fff;
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-nav:hover { background: var(--blue); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  z-index: 2;
}

/* ============================================================
   15. MANAJEMEN
   ============================================================ */
.manajemen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));  /* ASLI */
  gap: 20px;
}
.manajemen-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 20px 26px;    /* ASLI */
  text-align: center;
  transition: all .25s;
}
.manajemen-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.manajemen-avatar {
  width: 72px; height: 72px;  /* ASLI */
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(30, 95, 191, .25);
}
.manajemen-card .nama { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.manajemen-card .jabatan { font-size: .82rem; color: var(--muted); }

/* ============================================================
   16. LEGALITAS
   ============================================================ */
.legalitas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));  /* ASLI */
  gap: 14px;                                                    /* ASLI */
}
.legalitas-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;          /* ASLI */
  display: flex; flex-direction: column;
  transition: all .2s;
}
.legalitas-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.legalitas-item .label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.legalitas-item .value {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

/* ============================================================
   17. FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 18px 22px;            /* ASLI */
  min-height: 52px;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-plus {
  flex-shrink: 0;
  width: 24px; height: 24px;     /* ASLI */
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .25s;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-answer {
  padding: 0 22px 20px;          /* ASLI */
  font-size: .94rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============================================================
   18. KONTAK & PETA
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;  /* ASLI */
  gap: 48px;                          /* ASLI */
  align-items: stretch;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;                      /* ASLI */
  display: flex; flex-direction: column;
  border-top: 4px solid var(--blue);
  height: 100%;
}
.contact-card h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 16px; }
.contact-card p { font-size: .98rem; color: var(--ink-2); line-height: 1.75; margin-bottom: 20px; }
.contact-phone {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin: 12px 0 24px;
  word-break: break-all;
}
.contact-phone::before {
  content: '📞';
  font-size: 1.1rem;
  background: var(--blue-soft);
  padding: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  width: 100%;
  height: 100%;
  min-height: 420px;    /* ASLI */
}
.contact-map iframe {
  width: 100%; height: 100%;
  min-height: 420px;    /* ASLI */
  border: 0; display: block;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background: #0f2557;
  color: #b8c1d1;
  padding: 72px 0 0;    /* ASLI */
  padding-bottom: env(safe-area-inset-bottom);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;   /* ASLI */
  gap: 48px;                                  /* ASLI */
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.4rem;   /* ASLI */
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.footer-brand span { color: var(--brand); }
.footer-about { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; max-width: 340px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a {
  width: 38px; height: 38px;   /* ASLI */
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #cbd5e1;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  transition: all .2s;
}
.socials a:hover { background: var(--blue); color: #fff; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #b8c1d1;
  font-size: .88rem;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.footer-col a:hover { color: #8ab4f8; }
.footer-col address { font-style: normal; font-size: .88rem; line-height: 1.75; color: #b8c1d1; }
.footer-bottom {
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #8a95a9;
}

/* ============================================================
   20. MOBILE NAV OVERLAY
   ============================================================ */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26, 26, 26, .5);
  z-index: 98;
  opacity: 0; transition: opacity .3s;
  -webkit-tap-highlight-color: transparent;
}
.nav-overlay.show { opacity: 1; }

/* ============================================================
   21. SCROLL TO TOP
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff; border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(217, 43, 43, .35);
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: all .3s ease;
  z-index: 90;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.scroll-top-btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============================================================
   22. RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 20px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 340px; aspect-ratio: 1; }

  .about-grid, .komitmen-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-map { min-height: 340px; }
  .contact-map iframe { min-height: 340px; }

  .alur-grid { grid-template-columns: repeat(2, 1fr); }
  .alur-grid::before { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   23. RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --header-h: 60px;
  }

  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 16px) 20px 24px;
    background: var(--card);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -20px 0 40px rgba(26, 26, 26, .1);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a {
    padding: 14px 16px;
    font-size: 1rem;
    min-height: 48px;
    border-radius: 10px;
  }
  .nav-menu .btn-contacts {
    margin: 14px 0 0;
    padding: 14px 16px;
    text-align: center;
    justify-content: center;
    min-height: 48px;
  }
  .nav-overlay { display: block; }

  .hero-card { max-width: 320px; }
  .hero-card-badge {
    font-size: .7rem;
    padding: 6px 12px;
    bottom: 12px; left: 12px;
  }
  .hero-actions .btn { flex: 1 1 100%; min-width: 0; }

  .services-grid,
  .gallery-grid,
  .alur-grid,
  .manajemen-grid,
  .legalitas-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-card { padding: 28px; }
  .contact-map { min-height: 300px; }
  .contact-map iframe { min-height: 300px; }
  .contact-phone { font-size: 1.15rem; }

  .permenkes li { padding-left: 48px; }
  .permenkes li::before { width: 32px; height: 32px; font-size: .8rem; }

  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-caption { font-size: .85rem; padding: 0 12px; }
  .lightbox-img { max-height: 70vh; }
  .lightbox-counter { top: 12px; left: 12px; font-size: .75rem; padding: 6px 12px; }
}

/* ============================================================
   24. RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --gutter: 14px; }

  .hero h1 { font-size: 1.85rem; }
  .hero-lead { font-size: .94rem; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: .92rem; }

  .about-info { padding: 24px; }
  .service-card { padding: 24px; }
  .contact-card h2 { font-size: 1.4rem; }
  .contact-card { padding: 22px; }

  .permenkes h2 { font-size: 1.25rem; }
  .permenkes li { font-size: .92rem; padding-left: 42px; }

  .footer-col h4 { margin-bottom: 12px; }
  .footer-brand { font-size: 1.25rem; }

  .scroll-top-btn {
    width: 44px; height: 44px;
    font-size: 1.15rem;
    bottom: 14px; right: 14px;
  }

  .manajemen-grid { grid-template-columns: repeat(2, 1fr); }
  .manajemen-card { padding: 22px 12px 18px; }
  .manajemen-avatar { width: 58px; height: 58px; font-size: 1.25rem; }
  .manajemen-card .nama { font-size: .88rem; }
  .manajemen-card .jabatan { font-size: .74rem; }
}

/* ============================================================
   25. RESPONSIVE — VERY SMALL (≤360px)
   ============================================================ */
@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .hero h1 { font-size: 1.55rem; }
  .logo { font-size: 1.2rem; }
  .logo-img { height: 32px; }
}

/* ============================================================
   26. ACCESSIBILITY & PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { animation: none; }
}

/* Landscape HP — kurangi padding vertikal */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 40px 0 48px; }
  .section { padding: 48px 0; }
}

/* Hover hanya di perangkat yang support hover (bukan touch) */
@media (hover: none) {
  .service-card:hover,
  .gallery-card:hover,
  .alur-step:hover,
  .manajemen-card:hover {
    transform: none;
    box-shadow: none;
  }
  .gallery-card:hover .gallery-media img { transform: none; }
}

/* ============================================================
   27. PRINT
   ============================================================ */
@media print {
  .site-header, .nav-menu, .hamburger, .hero-visual, .footer,
  .contact-map, .gallery-media, .scroll-top-btn, .lightbox { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 20px 0; page-break-inside: avoid; }
}