/* ==========================================================================
   Rumah Sakit Kartini Rangkasbitung — Shared Stylesheet
   Tema: Fresh Clinic (Organic Softness)
   - Warna utama: hijau muda #7BCF9B
   - Background utama: putih, section bergantian dengan light-green #EAF8EF
   - Heading: dark green #247A4A, teks sekunder: abu lembut #6B7C73
   ========================================================================== */

/* ===== Variabel Warna & Token ===== */
:root {
  --primary: #7BCF9B;
  /* Hijau muda — warna utama */
  --primary-dark: #5fbd86;
  /* Hijau muda lebih gelap untuk hover */
  --primary-darker: #4aa672;
  /* Hijau lebih gelap untuk teks tombol */
  --light: #EAF8EF;
  /* Hijau sangat muda — background section */
  --mint: #D9F3E4;
  /* Mint — sekunder */
  --dark: #247A4A;
  /* Hijau tua — heading / teks penting */
  --white: #FFFFFF;
  /* Background utama */
  --text: #3E4A42;
  /* Teks utama */
  --text-muted: #6B7C73;
  /* Teks sekunder (abu lembut kehijauan) */
  --border: #e2f0e7;
  /* Border halus */
  --shadow-sm: 0 2px 10px rgba(36, 122, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(36, 122, 74, 0.10);
  --shadow-lg: 0 16px 40px rgba(36, 122, 74, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--dark);
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}


/* ===== Tipografi ===== */
.display-h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.text-muted {
  color: var(--text-muted);
}

/* ===== Badge pill hijau muda ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mint);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

/* ===== Tombol ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: #1d643d;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

  height: 75px;

  background: var(--white);
  background-size: cover;
  background-position: center;

}

.navbar .container {
  max-width: none;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 768px) {
  .navbar .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(36, 122, 74, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.brand-logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  color: var(--primary-dark);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.25s var(--ease);
  position: relative;
}

.nav-links a:hover {
  color: var(--dark);
  background: var(--light);
}

.nav-links a.active {
  color: var(--dark);
  font-weight: 600;
  background: var(--light);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  inset-inline: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem 1.5rem;
  list-style: none;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
  animation: slideDown 0.3s var(--ease);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  display: block;
  padding: 0.8rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--light);
  color: var(--dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, var(--light) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, var(--mint) 0%, transparent 60%),
    var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
    padding-block: 5.5rem;
    gap: 4rem;
  }
}

.hero-text .badge {
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  margin-bottom: 1.25rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
  width: 100%;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hero-deco-1 {
  width: 320px;
  height: 320px;
  background: var(--mint);
  opacity: 0.5;
  top: -60px;
  right: -80px;
}

.hero-deco-2 {
  width: 180px;
  height: 180px;
  background: var(--primary);
  opacity: 0.18;
  bottom: -50px;
  left: -60px;
}

/* ugd 24 jam beranda */
.hero-badge-stat {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hero-badge-stat .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.hero-badge-stat strong {
  display: block;
  color: var(--dark);
  font-size: 1.05rem;
}

.hero-badge-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Section base ===== */
.section {
  padding-block: 5rem;
  position: relative;
}

.section-light {
  background: var(--light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Grid layanan (Beranda) ===== */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-services {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card-service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
}

.card-service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.card-service .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-service .icon-box svg {
  width: 26px;
  height: 26px;
}

.card-service h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-service p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== Tentang (Beranda) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 3 / 2.4;
}

.about-image::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  background: var(--mint);
  border-radius: var(--radius-lg);
  top: -24px;
  left: -24px;
  z-index: -1;
}

.about-text .badge {
  margin-bottom: 1rem;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--light);
  border-radius: var(--radius);
}

.about-stats div strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  color: var(--dark);
  font-weight: 800;
}

.about-stats div span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Fasilitas unggulan (Beranda) ===== */
.grid-facilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-facilities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-facilities {
    grid-template-columns: repeat(3, 1fr);
  }
}

.facility-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.facility-card:hover img {
  transform: scale(1.05);
}

.facility-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 60, 38, 0.75) 0%, transparent 60%);
  opacity: 0.75;
  transition: opacity 0.4s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.facility-card:hover .overlay {
  opacity: 1;
}

.facility-card .overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
}

/* ===== CTA Hubungi Kami (karir) ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 80% at 15% 30%, var(--mint) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 85% 75%, var(--mint) 0%, transparent 60%),
    var(--light);
}

.cta-box {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 4.5rem 3rem;
  }
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-box .btn-primary {
  background: var(--primary);
  color: var(--white);
}

.cta-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ===== Page Header (sub-pages) ===== */
.page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 75% 30%, var(--mint) 0%, transparent 65%),
    var(--white);
  padding-block: 4rem;
  text-align: center;
}

.page-header .badge {
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-muted);
  max-width: 620px;
  margin-inline: auto;
  font-size: 1.05rem;
}

/* ===== Profil Rumah Sakit ===== */
.profile-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .profile-section {
    grid-template-columns: 1.1fr 1fr;
  }
}

.profile-section img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 3 / 2.2;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s var(--ease);
}

.value-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.value-card .icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.value-card .icon-box svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mission-list {
  list-style: none;
  margin-top: 1.5rem;
}

.mission-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.mission-list li:last-child {
  border-bottom: none;
}

.mission-list .num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--light);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}


/* ===== Layanan page ===== */
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Fasilitas page (gallery) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 60, 38, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 40, 26, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: transform 0.2s var(--ease);
}

.lightbox-close:hover {
  transform: scale(1.05);
}

/* ===== Hubungi Kami ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-grid>div {
  align-self: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.contact-card .icon-box {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--mint);
  color: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .icon-box svg {
  width: 22px;
  height: 22px;
}

.contact-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.contact-card span,
.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;

}

.map-placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.map-placeholder .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.map-placeholder .icon-box svg {
  width: 26px;
  height: 26px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .brand-logo {
  background: rgba(255, 255, 255, 0.12);
}

.footer-brand .brand-logo svg {
  color: var(--primary);
}

.footer p {
  font-size: 0.92rem;
  max-width: 380px;
  margin-bottom: 1.25rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Scroll animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Page transition ===== */
.page-transition {
  animation: pageFadeIn 0.35s var(--ease);
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    animation: none;
  }
}

/* ===== Organic blob shapes (signature motif) ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.blob-organic {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 62% 38% 54% 46% / 48% 58% 42% 52%;
}

/* ===== Panel mint (variasi kartu utama) ===== */
.panel-mint {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.panel-mint h3 {
  color: var(--dark);
}

/* ===== Ikon besar (icon-led cluster) ===== */


/* ===== Imagi bulat tumpang tindih ===== */
.image-overlap {
  position: relative;
}

.image-overlap img {
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.image-overlap .deco-ring {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border: 3px dashed var(--primary);
  opacity: 0.35;
  border-radius: 50%;
  top: 6%;
  left: 6%;
  z-index: -1;
}

/* ===== Wordmark lebih kuat ===== */
.brand {
  letter-spacing: 0.06em;
}

/* ===== Page header variasi per halaman ===== */
.page-header-left {
  text-align: left;
  padding-block: 4.5rem;
}

.page-header-left .header-content {
  position: relative;
}

.page-header-left .header-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.page-header-left .strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
}

.page-header-left .strip-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.page-header-image {
  position: relative;
  padding-block: 3rem;
}

.page-header-image img {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 340px;
}

/* ===== Gallery masonry ringan ===== */
.gallery-grid.featured .gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

@media (max-width: 639px) {
  .gallery-grid.featured .gallery-item:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* ===== Assurance strip ===== */
.assurance-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .assurance-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.assurance-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: all 0.3s var(--ease);
}

.assurance-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.assurance-item .icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--light);
  color: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
}

.assurance-item .icon-box svg {
  width: 22px;
  height: 22px;
}

.assurance-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}

.assurance-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Utility ===== */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

/* ==========================================================================
   Mobile Enhancements
Perbaikan responsif terpusat untuk layar 320px sampai 768px.
   Aturan desktop di atas blok ini sengaja dipertahankan.
   ========================================================================== */

/* Elemen embed dan media tidak boleh melampaui lebar kolomnya. */
.map-placeholder {
  width: 100%;
  min-width: 0;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--radius);
  margin-top: 1.25rem;
}

/* Dropdown desktop tetap memakai pola hover/focus yang sudah ada. */
.nav-links>li.has-service-dropdown {
  position: relative;
}

.service-dropdown {
  position: absolute;
  z-index: 140;
  top: calc(100% + 0.55rem);
  left: 50%;
  width: 245px;
  padding: 0.5rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.has-service-dropdown:hover .service-dropdown,
.has-service-dropdown:focus-within .service-dropdown,
.has-service-dropdown.is-open .service-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.service-dropdown a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

.service-dropdown a:hover,
.service-dropdown a:focus-visible {
  background: var(--light);
}

.service-dropdown .dropdown-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--primary-darker);
  background: var(--mint);
}

.service-dropdown svg {
  width: 16px;
  height: 16px;
}

.service-dropdown .dropdown-placeholder {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--border);
}

.service-dropdown .dropdown-placeholder .dropdown-icon {
  color: var(--dark);
  background: var(--light);
}

.service-dropdown small {
  display: block;
  margin-top: 0.1rem;
  color: var(--text-muted);
  font-family: "DM Sans", sans-serif;
  font-size: 0.67rem;
  font-weight: 400;
}

.service-card[data-service-url] {
  cursor: pointer;
}

.service-card[data-service-url]:focus-visible {
  outline: 3px solid rgba(123, 207, 155, 0.45);
  outline-offset: 3px;
}

.service-detail {
  max-width: 850px;
  margin-inline: auto;
}

.service-detail .detail-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  color: var(--primary-darker);
  background: linear-gradient(135deg, var(--mint), var(--light));
  box-shadow: var(--shadow-sm);
}

.service-detail .detail-icon svg {
  width: 32px;
  height: 32px;
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-muted);
}

.service-detail-list li>*:last-child {
  min-width: 0;
}

.service-detail-list svg {
  flex: 0 0 18px;
  color: var(--primary-darker);
  margin-top: 3px;
}

@media (min-width: 480px) {
  .map-placeholder iframe {
    height: 320px;
  }
}

@media (min-width: 768px) {
  .map-placeholder iframe {
    height: 380px;
  }
}

/* Navbar mobile: tinggi header menjadi acuan posisi menu dan tetap konsisten. */
@media (max-width: 1023px) {
  body.menu-lock {
    overflow: hidden;
  }

  .navbar-inner {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
    gap: 0.55rem;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .brand>span,
  .brand>strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    display: block;
    top: 64px;
    inset-inline: 0.75rem;
    width: auto;
    max-height: min(74vh, 580px);
    padding: 0.65rem;
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu>li>a,
  .mobile-service-row>a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .mobile-service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }

  .mobile-service-toggle {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    color: var(--primary-darker);
    background: var(--mint);
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  }

  .mobile-service-toggle svg {
    width: 15px;
    height: 15px;
  }

  .mobile-service-submenu svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .mobile-service-submenu .dropdown-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .mobile-service-submenu .dropdown-icon svg {
    width: 14px;
    height: 14px;
  }

  .mobile-service-row.is-open .mobile-service-toggle {
    color: var(--white);
    background: var(--primary-darker);
    transform: rotate(90deg);
  }

  .mobile-service-submenu {
    display: none;
    grid-column: 1 / -1;
    margin: 0 0 0.45rem 0.9rem;
    padding-left: 0.8rem;
    border-left: 2px solid var(--mint);
    list-style: none;
  }

  .mobile-service-row.is-open .mobile-service-submenu {
    display: block;
  }

  .mobile-service-submenu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.25rem;
    color: var(--primary-darker);
    font-size: 0.86rem;
  }
}

@media (max-width: 767px) {

  /* Ikon login admin: mengikuti markup aktual `.admin-auth-card`. */
  .admin-auth-card .admin-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .admin-auth-card .admin-mark svg {
    width: 28px;
    height: 28px;
  }

  .container {
    padding-inline: 1rem;
  }

  .section {
    padding-block: 3rem;
  }

  .hero-inner {
    gap: 2rem;
    padding-block: 2.75rem;
  }

  .hero-text h1,
  .display-h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  .hero-text p,
  .page-header p {
    max-width: none;
    font-size: 1rem;
  }

  .hero-text .badge,
  .page-header .badge,
  .section-header .badge {
    max-width: 100%;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn {
    min-height: 44px;
    padding: 0.75rem 1.15rem;
    white-space: normal;
    text-align: center;
  }

  .section-h2,
  .page-header h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .section-header {
    margin-bottom: 2rem;
    text-align: left;
  }

  .section-header p {
    font-size: 1rem;
  }

  .page-header {
    padding-block: 3.15rem 2.75rem;
    text-align: left;
  }

  .page-header-left {
    padding-block: 3.15rem 2.75rem;
    text-align: left;
  }

  .page-header .badge,
  .section-header .badge {
    margin-bottom: 0.8rem;
  }

  .page-header p {
    margin-inline: 0;
  }

  .grid-services,
  .services-full-grid,
  .grid-facilities,
  .gallery-grid {
    gap: 0.9rem;
  }

  .services-full-grid .card-service,
  .grid-services .card-service {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: start;
    min-width: 0;
    padding: 1.2rem;
  }

  .services-full-grid .card-service .icon-box,
  .grid-services .card-service .icon-box {
    width: 44px;
    height: 44px;
    grid-row: span 2;
    margin: 0;
  }

  .services-full-grid .card-service .icon-box svg,
  .grid-services .card-service .icon-box svg {
    width: 20px;
    height: 20px;
  }

  .services-full-grid .card-service h3,
  .grid-services .card-service h3 {
    min-width: 0;
    margin-bottom: 0.35rem;
    font-size: 1rem;
  }

  .services-full-grid .card-service p,
  .grid-services .card-service p {
    min-width: 0;
    grid-column: 2;
    font-size: 0.88rem;
    overflow-wrap: anywhere;

  }

  .about-grid {
    gap: 1.75rem;
  }

  .about-image {
    order: 2;
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .about-text {
    order: 1;
    min-width: 0;
  }

  .about-stats {
    gap: 0.55rem;
    padding: 1rem;
  }

  .about-stats div {
    min-width: 0;
  }

  .about-stats div strong {
    font-size: 1.25rem;
  }

  .about-stats div span {
    display: block;
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }

  .facility-card,
  .gallery-item {
    border-radius: 14px;
  }

  .facility-card .overlay,
  .gallery-item .overlay {
    padding: 1rem;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .contact-cards {
    gap: 0.75rem;
  }

  .contact-card {
    min-width: 0;
    padding: 1.1rem;
    gap: 0.8rem;
  }

  .contact-card>div:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .map-box {
    min-height: 260px;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .footer {
    padding-block: 2.75rem 1.25rem;
  }

  .footer-brand,
  .footer-contact p {
    min-width: 0;
  }

  .footer-links a {
    display: inline-block;
    padding-block: 0.15rem;
  }

  /* Tabel yang tidak memiliki wrapper tetap dapat digeser di dalam viewport,
     bukan mendorong lebar halaman. */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  input,
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font: inherit;
  }

  textarea {
    min-height: 120px;
  }
}

@media (max-width: 640px) {
  .badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
  }

  .service-detail-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-detail-list li {
    padding: 0.9rem;
  }

  .hero-image img {
    border-radius: 20px;
  }

  .insurance-marquee {
    margin-inline: -1rem;
  }

  .insurance-logo-chip {
    width: 145px;
    height: 70px;
    font-size: 0.72rem;
  }

  .insurance-marquee::before,
  .insurance-marquee::after {
    width: 35px;
  }

  /* Tombol filter membungkus ke baris berikutnya agar halaman tidak melebar. */
  .filter-bar {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    min-height: 44px;
    flex: 0 1 auto;
    padding: 0.65rem 0.95rem;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 0.88rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badge-stat {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 0.65rem 0.85rem;
    gap: 0.55rem;
  }

  .hero-badge-stat .stat-icon {
    width: 34px;
    height: 34px;
  }

  .hero-badge-stat strong {
    font-size: 0.9rem;
  }

  .hero-badge-stat span {
    font-size: 0.7rem;
  }

  .values-grid,
  .assurance-strip {
    grid-template-columns: 1fr;
  }

  .value-card,
  .panel-mint {
    padding: 1.25rem;
  }

  .page-header-left .strip {
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .page-header-left .strip-item {
    width: 100%;
    padding: 0.6rem 0.85rem;
  }
}

@media (hover: none) {
  .gallery-item .overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(20, 60, 38, 0.72) 0%, transparent 65%);
  }

  .facility-card .overlay {
    opacity: 0.9;
  }
}

@media (max-width: 380px) {
  .admin-auth-card .admin-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .admin-auth-card .admin-mark svg {
    width: 24px;
    height: 24px;
  }

  .mobile-service-submenu .dropdown-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .mobile-service-submenu .dropdown-icon svg {
    width: 13px;
    height: 13px;
  }

  .brand {
    gap: 0.45rem;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .container {
    padding-inline: 0.85rem;
  }

  .mobile-menu {
    inset-inline: 0.5rem;
  }

  .services-full-grid .card-service,
  .grid-services .card-service {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 0.7rem;
    padding: 1rem;
  }

  .services-full-grid .card-service .icon-box,
  .grid-services .card-service .icon-box {
    width: 40px;
    height: 40px;
  }

  .services-full-grid .card-service .icon-box svg,
  .grid-services .card-service .icon-box svg {
    width: 18px;
    height: 18px;
  }
}

/* ===== Halaman Asuransi ===== */
.insurance-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light), var(--white) 58%, var(--mint));
}

.insurance-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  bottom: -190px;
  border: 40px solid rgba(123, 207, 155, 0.24);
  border-radius: 50%;
}

.insurance-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  padding-block: 5rem;
}

.insurance-hero-copy .badge {
  margin-bottom: 1rem;
}

.insurance-hero-copy h1 {
  max-width: 640px;
  margin-bottom: 1rem;
}

.insurance-hero-copy p {
  max-width: 590px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.insurance-hero-visual {
  display: grid;
  place-items: center;
  min-height: 310px;
}

.insurance-shield {
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(74, 166, 114, 0.25);
  border-radius: 38% 62% 58% 42% / 42% 42% 58% 58%;
  color: var(--primary-darker);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
}

.insurance-shield svg {
  width: 92px;
  height: 92px;
  transform: rotate(8deg);
}

.insurance-shield-note {
  position: absolute;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--dark);
  font: 700 0.82rem "Plus Jakarta Sans", sans-serif;
}

.insurance-shield-note.one {
  margin: 190px 0 0 -260px;
}

.insurance-shield-note.two {
  margin: -180px -260px 0 0;
}

.insurance-intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.insurance-intro p {
  color: var(--text-muted);
}

.insurance-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.insurance-step {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.insurance-step .step-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 13px;
  color: var(--primary-darker);
  background: var(--mint);
}

.insurance-step svg {
  width: 22px;
  height: 22px;
}

.insurance-step h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.insurance-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.insurance-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  padding-block: 1rem;
}

.insurance-marquee::before,
.insurance-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
}

.insurance-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), transparent);
}

.insurance-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--white), transparent);
}

.insurance-logo-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: insurance-scroll 100s linear infinite;
}

.insurance-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

/* logo asuransi desktop */
.insurance-logo-chip {
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--dark);
  font: 800 0.88rem "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.02em;
  text-align: center;

}

/* logo asuransi mobile */
@media (max-width: 768px) {
  .insurance-logo-chip {
    width: 30vw;
    height: 100px;
    font-size: 0.72rem;
  }
}

@media (max-width: 1024px) {
  .insurance-logo-chip {
    width: 30vw;
    height: 30vw;
    font-size: 0.72rem;
  }
}

.insurance-logo-chip span {
  display: block;
  margin-top: 0.1rem;
  color: var(--text-muted);
  font: 400 0.65rem "DM Sans", sans-serif;
  letter-spacing: 0;
}

@keyframes insurance-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.insurance-info-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.insurance-panel {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--light);
}

.insurance-panel h2 {
  margin-bottom: 0.75rem;
}

.insurance-panel p {
  color: var(--text-muted);
}

.insurance-checklist {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  list-style: none;
}

.insurance-checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.insurance-checklist svg {
  width: 20px;
  height: 20px;
  color: var(--primary-darker);
}

.insurance-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--white);
}

.insurance-contact h3 {
  color: var(--white);
  margin-bottom: 0.65rem;
}

.insurance-contact p {
  color: rgba(255, 255, 255, 0.78);
}

.insurance-contact .btn {
  align-self: flex-start;
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .insurance-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-block: 2.75rem 2.5rem;
  }

  .insurance-hero-copy {
    min-width: 0;
  }

  .insurance-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  .insurance-hero-copy p {
    font-size: 1rem;
  }

  .insurance-hero-visual {
    position: relative;
    order: -1;
    width: 100%;
    min-height: 200px;
  }

  .insurance-shield {
    width: 150px;
    height: 150px;
  }

  .insurance-shield svg {
    width: 64px;
    height: 64px;
  }

  .insurance-shield-note {
    max-width: 42%;
    padding: 0.55rem 0.65rem;
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: center;
  }

  .insurance-shield-note.one {
    left: 0;
    bottom: 0.25rem;
    margin: 0;
  }

  .insurance-shield-note.two {
    top: 0.25rem;
    right: 0;
    margin: 0;
  }

  .insurance-intro {
    text-align: left;
  }

  .insurance-steps {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .insurance-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 0.85rem;
    padding: 1rem;
  }

  .insurance-step .step-icon {
    width: 44px;
    height: 44px;
    grid-row: span 2;
    margin: 0;
  }

  .insurance-step p {
    grid-column: 2;
  }

  .insurance-info-grid {
    grid-template-columns: 1fr;
  }

  .insurance-panel,
  .insurance-contact {
    padding: 1.4rem;
  }

  .insurance-contact .btn {
    width: 100%;
    justify-content: center;
  }

  .insurance-logo-track {
    animation-duration: 120s;
  }
}

/* ===== Panah Dropdown Layanan ===== */

.nav-links>li.has-service-dropdown>a .dropdown-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 0.15rem;
  transition: transform 0.3s var(--ease);
}

.nav-links>li.has-service-dropdown>a .dropdown-arrow svg {
  width: 14px;
  height: 14px;
}

/* Saat hover / dropdown terbuka → panah naik */
.nav-links>li.has-service-dropdown:hover>a .dropdown-arrow,
.nav-links>li.has-service-dropdown:focus-within>a .dropdown-arrow,
.nav-links>li.has-service-dropdown.is-open>a .dropdown-arrow {
  transform: rotate(180deg);
}

.floating-wa {
  position: fixed;
  right: 30px;
  bottom: 30px;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25D366;
  border-radius: 50%;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);

  z-index: 9999;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.floating-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {

  /* Mobile Phone */
  .floating-wa {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .floating-wa svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 1024px) {

  /* Tablet */
  .floating-wa {
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
  }

  .floating-wa svg {
    width: 31px;
    height: 31px;
  }
}

/* =========================================
   Styling Awan Pesan (Tooltip) WhatsApp
   ========================================= */
.wa-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  color: #333333;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  pointer-events: none;

  /* --- KUNCI TRANSISI HALUS --- */
  /* Bergerak dan memudar selama 0.4 detik dengan gaya sedikit memantul */
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Panah kecil (ekor awan) yang menunjuk ke icon WhatsApp */
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

/* Animasi Muncul yang Halus */
@keyframes fadeInPop {
  0% {
    opacity: 0;
    transform: translate(-10px, -50%);
  }

  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

/* Menyembunyikan Awan Pesan di Layar HP (ganti display ke none) */
@media (max-width: 768px) {
  .wa-tooltip {
    display: flex;
    font-size: 12px;
  }

}

/* NAVBAR RUMAH SAKIT KARTINI motto*/

.brand {
  display: flex;
  align-items: center;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-weight: bolder;
  font-size: large;
  margin-top: 10px;
}

.brand-main2 {
  font-weight: bolder;
}

@media (max-width: 768px) {
  .brand-main2 {
    font-size: large;
    font-weight: bolder;
    margin-top: 4px;
    display: block;
  }
}

.brand-sub {
  color: #e60012;
  font-family: "Pacifico", cursive;
  font-size: 14px;
  font-weight: 1;
  font-style: italic;
  margin-top: 2px;
  line-height: 2;

}

@media (max-width: 768px) {
  .brand-sub {
    font-size: 11px;
    color: #e60012;
    font-family: "Pacifico", cursive;
    font-weight: 1;
    font-style: italic;
    margin-top: 2px;
    line-height: 2;

  }
}

@media (max-width: 1024px) {
  .brand-sub {
    font-size: 12px;
    color: #e60012;
    font-family: "Pacifico", cursive;
    font-weight: 1;
    font-style: italic;
    margin-top: 2px;
    line-height: 2;

  }
  
}



/* ===== animasi gambar beranda ===== */

.hero-image {
  position: relative;
  overflow: hidden;
  
}

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  
}

.hero-slide:nth-child(1) img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    
}

@media (max-width: 768px) {
  .hero-slide:nth-child(1) img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
}

/* Track yang berisi semua gambar */
.hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  align-items: flex-start;
}

.hero-track.dragging {
  cursor: grabbing;
  transition: none;
}

/* Setiap slide */
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  object-fit: cover;
}

/* =========================
   DOTS
========================= */

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 6px;
  padding: 0;
  background: transparent !important;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #e2e7e5;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.hero-dot:hover {
  transform: scale(1.2);
}

.hero-dot.active {
  width: 24px;
  border-radius: 20px;
  background: #38835d;
}

/* penghargaan */
:root {
  --pen-primary: #0e6e73;
  --pen-primary-dark: #0a4f53;
  --pen-primary-soft: #e7f3f3;
  --pen-gold: #b8862c;
  --pen-gold-soft: #f7edd8;
  --pen-ink: #173837;
}

.pen-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 640px;
  margin: 2rem auto 0;
  border: 1px solid var(--pen-primary-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.pen-stats>div {
  flex: 1 1 140px;
  text-align: center;
  padding: 1.1rem .75rem;
  border-left: 1px solid var(--pen-primary-soft);
}

.pen-stats>div:first-child {
  border-left: none;
}

.pen-stats strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--pen-primary-dark);
  line-height: 1.1;
}

.pen-stats span {
  display: block;
  margin-top: .2rem;
  font-family: "DM Sans", sans-serif;
  font-size: .75rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #5c7473;
}

/* --- Filter kategori --- */
.pen-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.pen-filter-btn {
  font-family: "DM Sans", sans-serif;
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--pen-primary);
  background: #fff;
  color: var(--pen-primary-dark);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.pen-filter-btn:hover {
  transform: translateY(-1px);
}

.pen-filter-btn.is-active {
  background: var(--pen-primary);
  color: #fff;
}

.pen-filter-btn:focus-visible {
  outline: 2px solid var(--pen-gold);
  outline-offset: 2px;
}

/* --- Grid penghargaan --- */
.pen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.award-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px -18px rgba(14, 110, 115, .35);
}

.award-card[hidden] {
  display: none;
}

.award-thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: var(--pen-primary-soft);
}

.award-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.award-thumb-btn:focus-visible {
  outline: 3px solid var(--pen-gold);
  outline-offset: -3px;
}

/* medali/segel tahun di pojok kartu — elemen "signature" halaman ini */
.award-year {
  position: absolute;
  top: .7rem;
  right: .7rem;
  min-width: 2.7rem;
  padding: .35rem .5rem;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--pen-gold) 0%, #8f6a20 100%);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

.award-info {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}

.award-tag {
  align-self: flex-start;
  font-family: "DM Sans", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--pen-gold);
  background: var(--pen-gold-soft);
  padding: .2rem .55rem;
  border-radius: 999px;
}

.award-info h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pen-ink);
  line-height: 1.3;
  margin: 0;
}

.award-info p {
  font-family: "DM Sans", sans-serif;
  font-size: .88rem;
  color: #5c6b6a;
  line-height: 1.5;
  margin: 0;
}

/* --- Lightbox: tambahan caption di bawah gambar --- */
.lightbox-caption {
  max-width: 640px;
  margin: .9rem auto 0;
  text-align: center;
  padding: 0 1rem;
}

.lightbox-caption h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 .3rem;
}

.lightbox-caption p {
  font-family: "DM Sans", sans-serif;
  color: #d8e6e6;
  font-size: .9rem;
  margin: 0;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {

  .award-card,
  .award-thumb-btn,
  .pen-filter-btn {
    transition: none !important;
  }
}

@media (max-width:520px) {
  .pen-stats {
    flex-direction: column;
  }

  .pen-stats>div {
    border-left: none;
    border-top: 1px solid var(--pen-primary-soft);
  }

  .pen-stats>div:first-child {
    border-top: none;
  }
}



/* ========================================
   SECTION: HEALTH BANNER
======================================== */

.health-banner {
  position: relative;
  width: 100%;
  min-height: 520px;

  display: flex;
  align-items: center;

  background-image: url("../promo/promobanner2.jpg");
  background-size: cover;
  background-position: center;

  overflow: hidden;
}

/* Overlay agar tulisan lebih jelas */
.health-banner::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(8, 61, 42, 0.96) 0%,
    rgba(8, 61, 42, 0.9) 40%,
    rgba(8, 61, 42, 0.55) 65%,
    rgba(8, 61, 42, 0.15) 100%
  );

  z-index: 1;
}

/* Container khusus konten */
.health-banner .health-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
  padding: 80px 40px;

  text-align: left;
  color: white;
}

/* Label */
.health-label {
  display: inline-block;

  padding: 10px 18px;
  margin-bottom: 22px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  font-size: 14px;
  font-weight: 500;

  color: white;
}

/* Judul */
.health-content h2 {
  max-width: 650px;

  margin: 0 0 20px;

  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1;
  font-weight: 700;

  text-align: left;
  color: white;
}

/* Warna tulisan Prioritas Kami */
.health-content h2 span {
  color: #1a863e;
}

/* Deskripsi */
.health-content p {
  max-width: 560px;

  margin: 0 0 32px;

  font-size: 17px;
  line-height: 1.8;

  text-align: left;

  color: rgba(255, 255, 255, 0.88);
}

/* Tombol */
.health-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;

  padding: 12px 14px 12px 24px;

  background: #1a863e;
  color: white;

  text-decoration: none;
  font-weight: 600;

  border-radius: 999px;

  transition: 0.3s ease;
}

.health-button span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  background: white;
  color: #1c663b;

  border-radius: 50%;

  transition: 0.3s ease;
}

.health-button:hover {
  transform: translateY(-3px);
}

.health-button:hover span {
  transform: translateX(3px);
}


/* ========================================
   RESPONSIVE: TABLET & MOBILE
======================================== */

@media (max-width: 768px) {

  .health-banner {
    min-height: 600px;

    background-position: 65% center;
  }

  .health-banner::before {
    background: linear-gradient(
      90deg,
      rgba(8, 61, 42, 0.96) 0%,
      rgba(8, 61, 42, 0.9) 60%,
      rgba(8, 61, 42, 0.65) 100%
    );
  }

  .health-banner .health-content {
    padding: 70px 24px;
  }

  .health-label {
    padding: 9px 16px;

    font-size: 13px;
  }

  .health-content h2 {
    font-size: 42px;
  }

  .health-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .health-button {
    padding: 11px 13px 11px 20px;

    font-size: 14px;
  }
}


/* ========================================
   RESPONSIVE: SMALL MOBILE
======================================== */

@media (max-width: 480px) {

  .health-banner {
    min-height: 560px;

    background-position: 70% center;
  }

  .health-banner .health-content {
    padding: 60px 20px;
  }

  .health-content h2 {
    font-size: 34px;
    line-height: 1.15;
  }

  .health-content p {
    font-size: 14px;
  }

  .health-label {
    font-size: 12px;
  }
}



/* ========================================
   IMAGE SLIDER DASILITAS HTM
   ======================================== */

.image-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 360px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.image-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  transition: opacity 0.6s ease;

  pointer-events: none;
}

.slide.active {
  opacity: 1;
}


/* ========================================
   PANAH
   ======================================== */

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.35);
  color: white;

  font-size: 24px;
  cursor: pointer;

  z-index: 2;

  transition: background 0.3s ease;
}

.slide-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 16px;
}

.next {
  right: 16px;
}


/* ========================================
   DOT
   ======================================== */

.slider-dots {
  position: absolute;

  bottom: 16px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  gap: 8px;

  z-index: 2;
}

.dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.5);

  cursor: pointer;

  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;

  border-radius: 10px;

  background: white;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 768px) {

  .image-slider {
    height: 260px;
  }

  .slide-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }

}




