/* ============================================
   KLINIK GIGI BINTARO - style.css
   Modern, Clean, Professional Dental Clinic
   ============================================ */

/* ── 1. CSS CUSTOM PROPERTIES (DESIGN TOKENS) ── */
:root {
  /* Colors */
  --color-primary:       #2563eb;
  --color-primary-dark:  #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-primary-50:    #eff6ff;
  --color-accent:        #0ea5e9;
  --color-success:       #10b981;
  --color-wa:            #25d366;
  --color-wa-dark:       #128c7e;

  --color-text:          #0f172a;
  --color-text-muted:    #64748b;
  --color-text-light:    #94a3b8;
  --color-heading:       #0f172a;

  --color-bg:            #ffffff;
  --color-bg-soft:       #f8fafc;
  --color-bg-muted:      #f1f5f9;
  --color-border:        #e2e8f0;
  --color-border-light:  #f1f5f9;

  --color-white:         #ffffff;

  /* Typography */
  --font-primary:   'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  --lh-tight:  1.2;
  --lh-snug:   1.375;
  --lh-normal: 1.5;
  --lh-relaxed:1.625;
  --lh-loose:  2;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-3xl:  2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl:0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-blue:0 8px 32px rgb(37 99 235 / 0.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   200ms ease;
  --transition-slow:   300ms ease;
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

address {
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-heading);
}

/* ── 3. UTILITY CLASSES ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-light);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-tag--white {
  background: rgb(255 255 255 / 0.15);
  border-color: rgb(255 255 255 / 0.3);
  color: white;
}

.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

.section-title em {
  font-style: normal;
  color: var(--color-primary);
}

.section-title--white {
  color: white;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.section-subtitle--white {
  color: rgb(255 255 255 / 0.8);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.section-cta p {
  color: var(--color-text-muted);
}

.text-highlight {
  color: var(--color-primary);
  position: relative;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Card Base */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  line-height: 1;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
}

.btn--sm  { padding: 0.5rem 1rem;    font-size: var(--text-sm); }
.btn--lg  { padding: 1rem 2rem;      font-size: var(--text-lg); }
.btn--full{ width: 100%; }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgb(37 99 235 / 0.35);
}

.btn--wa {
  background: var(--color-wa);
  color: var(--color-white);
  border-color: var(--color-wa);
  box-shadow: 0 8px 24px rgb(37 211 102 / 0.3);
}
.btn--wa:hover {
  background: var(--color-wa-dark);
  border-color: var(--color-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgb(37 211 102 / 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn--white:hover {
  background: var(--color-primary-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgb(255 255 255 / 0.5);
}
.btn--outline-white:hover {
  background: rgb(255 255 255 / 0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* Tags */
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  padding: 0.2rem 0.6rem;
  background: var(--color-primary-50);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-light);
}

/* Animate on scroll */
.animate-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 4. FLOATING WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--color-wa);
  color: white;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgb(37 211 102 / 0.4);
  transition: all var(--transition-bounce);
}
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 40px rgb(37 211 102 / 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--color-text);
  color: white;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-lg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-text);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--color-wa);
  animation: pulse-wa 2s infinite;
  opacity: 0;
}
@keyframes pulse-wa {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0;   }
}

/* ── 5. HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-slow);
  height: var(--header-height);
}

.header--scrolled {
  background: rgb(255 255 255 / 0.98);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: var(--header-height);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--color-primary-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-primary-light);
}

.logo-text {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.logo-text strong {
  color: var(--color-primary);
}

/* Nav */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
  background: var(--color-primary-50);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
  transition: background var(--transition-base);
}
.hamburger:hover { background: var(--color-primary-light); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 6. HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: var(--space-16);
  background: linear-gradient(
    135deg,
    var(--color-primary-50) 0%,
    #ffffff 40%,
    #f0f9ff 100%
  );
  overflow: hidden;
}

/* Background shapes */
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-light), #bfdbfe);
  opacity: 0.25;
}
.shape--1 { width: 600px; height: 600px; top: -200px; right: -150px; animation: float 8s ease-in-out infinite; }
.shape--2 { width: 300px; height: 300px; bottom: -100px; left: -80px;  animation: float 10s ease-in-out infinite reverse; }
.shape--3 { width: 150px; height: 150px; top: 60%;    right: 20%;      animation: float 6s ease-in-out infinite 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  background: white;
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: var(--color-heading);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  text-align: center;
}
.stat-item strong {
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1;
}
.stat-item span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Hero Image */
.hero__image-wrap {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero__image-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-3xl);
  overflow: visible;
}

.hero__img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-2xl);
}

.hero__card-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  animation: float 6s ease-in-out infinite;
}
.hero__card-badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__card-badge strong {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: 1;
}
.hero__card-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.hero__card-badge--top {
  top: var(--space-8);
  left: calc(-1 * var(--space-12));
}
.hero__card-badge--bottom {
  bottom: var(--space-8);
  left: calc(-1 * var(--space-8));
}

.avatar-group {
  display: flex;
}
.avatar-group img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid white;
  margin-left: -8px;
  object-fit: cover;
}
.avatar-group img:first-child { margin-left: 0; }

/* Scroll indicator */
.hero__scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
  position: relative;
  z-index: 1;
}
.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--color-text-light);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: var(--space-2);
  transition: border-color var(--transition-base);
}
.scroll-mouse:hover { border-color: var(--color-primary); }
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  animation: scroll-wheel 1.8s ease infinite;
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ── 7. TRUST BAR ── */
.trust-bar {
  padding-block: var(--space-6);
  background: white;
  border-block: 1px solid var(--color-border);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-bar__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.trust-bar__items {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  flex: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ── 8. LAYANAN SECTION ── */
.layanan {
  background: var(--color-bg-soft);
}

.layanan__grid {
  margin-bottom: 0;
}

.layanan__card {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.layanan__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.layanan__icon--blue   { background: #eff6ff; border: 1px solid #bfdbfe; }
.layanan__icon--teal   { background: #f0fdfa; border: 1px solid #99f6e4; }
.layanan__icon--red    { background: #fff1f2; border: 1px solid #fecdd3; }
.layanan__icon--purple { background: #f5f3ff; border: 1px solid #ddd6fe; }
.layanan__icon--amber  { background: #fffbeb; border: 1px solid #fde68a; }
.layanan__icon--sky    { background: #f0f9ff; border: 1px solid #bae6fd; }

.layanan__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-heading);
}

.layanan__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  flex: 1;
}

.layanan__price {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  background: var(--color-primary-50);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-light);
  width: fit-content;
}

.layanan__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  transition: gap var(--transition-base), color var(--transition-base);
}
.layanan__link:hover {
  gap: var(--space-3);
  color: var(--color-primary-dark);
}

/* ── 9. USP SECTION ── */
.usp {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 50%, #1d4ed8 100%);
  position: relative;
  overflow: hidden;
}
.usp::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgb(255 255 255 / 0.05);
  border-radius: var(--radius-full);
  top: -200px;
  right: -200px;
}

.usp__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.usp__content {
  padding-right: var(--space-8);
}

.usp__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.usp__item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.usp__item-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: rgb(255 255 255 / 0.15);
  border: 1px solid rgb(255 255 255 / 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background var(--transition-base);
}
.usp__item:hover .usp__item-icon {
  background: rgb(255 255 255 / 0.25);
}

.usp__item h3 {
  color: white;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-1);
}
.usp__item p {
  color: rgb(255 255 255 / 0.75);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
}

.usp__image-wrap {
  position: relative;
}

.usp__img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-2xl);
}

.usp__img-badge {
  position: absolute;
  bottom: var(--space-6);
  right: calc(-1 * var(--space-8));
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}
.usp__img-badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.usp__img-badge strong {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}
.usp__img-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── 10. DOKTER SECTION ── */
.dokter {
  background: var(--color-bg);
}

.dokter__card {
  padding: 0;
  overflow: hidden;
}

.dokter__img-wrap {
  position: relative;
  overflow: hidden;
}

.dokter__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-slow);
}
.dokter__card:hover .dokter__img {
  transform: scale(1.05);
}

.dokter__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.dokter__info {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.dokter__name {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-heading);
}

.dokter__spesialis {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
}

.dokter__exp {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.dokter__alumni {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.dokter__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ── 11. TESTIMONI SECTION ── */
.testimoni {
  background: var(--color-bg-soft);
}

.testimoni__card {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
}

.testimoni__card--featured {
  background: var(--color-primary);
  border-color: var(--color-primary-dark);
}
.testimoni__card--featured .testimoni__text,
.testimoni__card--featured .testimoni__author strong {
  color: white;
}
.testimoni__card--featured .testimoni__author span,
.testimoni__card--featured .testimoni__service {
  color: rgb(255 255 255 / 0.7);
}

.testimoni__stars span {
  font-size: var(--text-base);
  letter-spacing: 2px;
}

.testimoni__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  font-style: italic;
  flex: 1;
}
.testimoni__text::before {
  content: '"';
  font-size: var(--text-4xl);
  color: var(--color-primary-light);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: var(--space-1);
}

.testimoni__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimoni__author img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-border);
}
.testimoni__author strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}
.testimoni__author span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.testimoni__service {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-light);
}

.testimoni__rating-bar {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.rating-number {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1;
}
.rating-stars { font-size: var(--text-xl); }
.rating-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── 12. GALERI SECTION ── */
.galeri {
  background: var(--color-bg);
}

.galeri__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-4);
}

.galeri__item {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
}

.galeri__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.galeri__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  min-height: 200px;
}

.galeri__item--large img {
  min-height: 400px;
}

.galeri__item:hover img {
  transform: scale(1.07);
}

.galeri__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent);
  color: white;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
}
.galeri__item:hover .galeri__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ── 13. KONTAK SECTION ── */
.kontak {
  background: var(--color-bg-soft);
}

.kontak__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-10);
  align-items: start;
}

.kontak__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.kontak__card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: box-shadow var(--transition-base);
}
.kontak__card:hover { box-shadow: var(--shadow-md); }

.kontak__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontak__card h3 {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.kontak__card address,
.kontak__card p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: var(--lh-relaxed);
}

.kontak__link {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  transition: color var(--transition-base);
}
.kontak__link:hover { color: var(--color-primary-dark); }

.jam__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.jam__table td {
  padding: var(--space-1) 0;
  color: var(--color-text);
}
.jam__table td:first-child {
  font-weight: var(--fw-medium);
  padding-right: var(--space-6);
  white-space: nowrap;
}

.open-now {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-success);
}

.kontak__map {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}
.kontak__map iframe {
  display: block;
  border-radius: var(--radius-2xl);
}

/* ── 14. FAQ SECTION ── */
.faq {
  background: var(--color-bg);
}

.faq__grid {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq__item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.faq__item.is-open {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition-base), color var(--transition-base);
}
.faq__question:hover { background: var(--color-bg-soft); }
.faq__item.is-open .faq__question {
  color: var(--color-primary);
  background: var(--color-primary-50);
}

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}
.faq__icon svg { transition: transform var(--transition-base); }
.faq__item.is-open .faq__icon {
  background: var(--color-primary);
  color: white;
}
.faq__item.is-open .faq__icon svg {
  transform: rotate(180deg);
  stroke: white;
}

.faq__answer {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
}
.faq__item.is-open .faq__answer {
  display: block;
}

.faq__answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-3);
}
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer ol,
.faq__answer ul {
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.faq__answer ol { list-style: decimal; }
.faq__answer ul { list-style: disc; }
.faq__answer li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── 15. CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  padding-block: var(--space-20);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgb(37 99 235 / 0.2);
  border-radius: var(--radius-full);
  top: -150px;
  right: -100px;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner__text h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--fw-extrabold);
  color: white;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  max-width: 520px;
}

.cta-banner__text p {
  color: rgb(255 255 255 / 0.7);
  max-width: 480px;
  line-height: var(--lh-relaxed);
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── 16. FOOTER ── */
.footer {
  background: #0f172a;
  color: rgb(255 255 255 / 0.8);
  padding-top: var(--space-16);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}

.footer__logo {
  margin-bottom: var(--space-5);
}
.footer__logo .logo-icon {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.15);
}

.footer__desc {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.6);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 0.7);
  transition: all var(--transition-base);
}
.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}

.footer__nav-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__nav-list a {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.6);
  transition: color var(--transition-base);
}
.footer__nav-list a:hover { color: white; }

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.6);
  line-height: var(--lh-relaxed);
}
.footer__contact-list li svg { flex-shrink: 0; margin-top: 2px; stroke: rgb(255 255 255 / 0.5); }
.footer__contact-list a {
  color: rgb(255 255 255 / 0.6);
}
.footer__contact-list a:hover { color: white; }

.footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding-block: var(--space-6);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__bottom p {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.4);
}
.footer__bottom strong { color: rgb(255 255 255 / 0.7); }
.footer__bottom a {
  color: rgb(255 255 255 / 0.4);
  transition: color var(--transition-base);
}
.footer__bottom a:hover { color: white; }

/* ── 17. RESPONSIVE - TABLET (max 1024px) ── */
@media (max-width: 1024px) {
  :root { --header-height: 70px; }

  .hero__inner { gap: var(--space-10); }
  .hero__card-badge--top  { left: calc(-1 * var(--space-6)); }
  .hero__card-badge--bottom { left: calc(-1 * var(--space-4)); }

  .usp__inner { gap: var(--space-10); }
  .usp__img-badge { right: calc(-1 * var(--space-4)); }

  .footer__inner { grid-template-columns: 1fr 1fr; row-gap: var(--space-10); }

  .kontak__inner { grid-template-columns: 1fr; }
  .kontak__map { order: -1; }
}

/* ── 18. RESPONSIVE - MOBILE (max 768px) ── */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .section { padding-block: var(--space-16); }

  /* Header */
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
    z-index: 99;
  }
  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }
  .nav__link {
    padding: var(--space-3) var(--space-4);
    display: block;
  }
  .hamburger { display: flex; }
  .header__cta { display: none; }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding-block: var(--space-10);
    text-align: center;
  }
  .hero__subtitle { margin-inline: auto; }
  .hero__stats { margin-inline: auto; flex-wrap: wrap; justify-content: center; }
  .hero__actions { justify-content: center; }
  .hero__image-wrap { justify-content: center; }
  .hero__card-badge--top,
  .hero__card-badge--bottom { display: none; }
  .hero__img { height: 400px; }

  /* Trust Bar */
  .trust-bar__inner { flex-direction: column; gap: var(--space-4); }
  .trust-bar__items { justify-content: center; }

  /* Grids */
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }

  /* Layanan */
  .grid--3.layanan__grid { grid-template-columns: repeat(2, 1fr); }

  /* USP */
  .usp__inner { grid-template-columns: 1fr; }
  .usp__content { padding-right: 0; }
  .usp__img { height: 360px; }
  .usp__img-badge { right: var(--space-4); }

  /* Galeri */
  .galeri__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .galeri__item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .galeri__item--large img { min-height: 260px; }

  /* Kontak */
  .kontak__inner { grid-template-columns: 1fr; }

  /* FAQ */
  .faq__question { padding: var(--space-4) var(--space-5); font-size: var(--text-sm); }
  .faq__answer { padding: 0 var(--space-5) var(--space-5); }

  /* CTA Banner */
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__text h2 { max-width: 100%; }
  .cta-banner__actions { justify-content: center; }

  /* Testimoni */
  .grid--3.testimoni__grid { grid-template-columns: 1fr; }
  .testimoni__rating-bar { flex-direction: column; text-align: center; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  /* WhatsApp float */
  .whatsapp-float { bottom: var(--space-5); right: var(--space-5); width: 54px; height: 54px; }
  .whatsapp-tooltip { display: none; }
}

/* ── 19. RESPONSIVE - SMALL MOBILE (max 480px) ── */
@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }

  .grid--3.layanan__grid { grid-template-columns: 1fr; }

  .hero__title { font-size: var(--text-3xl); }
  .hero__stats { flex-direction: column; gap: var(--space-4); }
  .stat-divider { width: 40px; height: 1px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .cta-banner__actions { flex-direction: column; width: 100%; }
  .cta-banner__actions .btn { width: 100%; }

  .trust-bar__items { gap: var(--space-4); }

  .dokter__grid { grid-template-columns: 1fr; }

  .usp__img { height: 280px; }
}

/* ── 20. PRINT STYLES ── */
@media print {
  .header, .whatsapp-float, .hero__scroll-indicator, .cta-banner, .footer__bottom { display: none; }
  .hero { min-height: auto; padding-top: 0; }
  body { color: black; }
}

/* ── 21. REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── 22. FOCUS STYLES (ACCESSIBILITY) ── */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 23. 