/* =========================================================
   RELIEVE — SILVER ELEGANT OVERRIDES
   Tambahkan file ini setelah style.css di index.html.
   ========================================================= */

:root {
  --bg: #c9ccd0;
  --cream: #ffffff;
  --cream-warm: #eef0f2;
  --silver-100: #f7f8f9;
  --silver-200: #e6e8eb;
  --silver-300: #c9ccd0;
  --silver-500: #92979e;
  --silver-700: #51565d;
  --gold: #b8942f;
  --gold-deep: #86691c;
  --gold-light: #e8cc76;
  --ink: #17191c;
  --earth: #3d4248;
  --muted: #686e75;
  --line: rgba(23, 25, 28, 0.13);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html,
body {
  background: linear-gradient(135deg, #f6f7f8 0%, #dfe2e5 42%, #b9bdc2 100%);
}

body {
  color: var(--ink);
}

/* Header lebih seimbang dengan tinggi navigasi 51px */
.nav {
  height: 64px;
  max-height: 64px;
  padding: 0 1rem;
  background: rgba(247, 248, 249, 0.9);
  border-bottom: 1px solid rgba(23, 25, 28, 0.12);
  box-shadow: 0 8px 28px rgba(23, 25, 28, 0.1);
}

.nav__inner {
  width: min(1240px, 100%);
  height: 100%;
  margin: 0 auto;
}

.nav__logo img {
  height: 62%;
  width: auto;
}

.nav__mobile {
  top: 64px;
  height: calc(100vh - 64px);
  background: rgba(247, 248, 249, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Latar hero tetap silver meskipun video atau poster tidak tersedia */
.hero {
  min-height: 680px;
  height: 100svh;
  background:
    radial-gradient(circle at 78% 28%, rgba(255,255,255,.85), transparent 34%),
    linear-gradient(135deg, #f4f5f6 0%, #d9dcdf 48%, #aeb3b9 100%);
}

.hero__video {
  opacity: .42;
  filter: grayscale(.25) contrast(.9) brightness(1.18);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(245,246,247,.82) 0%, rgba(229,232,235,.48) 52%, rgba(150,155,161,.28) 100%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(23,25,28,.16));
}

.hero__content {
  height: 100%;
  justify-content: center;
  gap: 3rem;
  padding: 110px 1.25rem 70px;
}

.hero__title {
  width: min(100%, 960px) !important;
  margin: 0 auto !important;
  padding: 1.2rem 1.4rem !important;
  color: var(--ink) !important;
  font-family: 'Playfair Display', 'Fraunces', serif !important;
  font-size: clamp(2rem, 5.5vw, 4.6rem) !important;
  line-height: 1.08 !important;
  letter-spacing: .035em !important;
  text-shadow: 0 3px 22px rgba(255,255,255,.72) !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.0), transparent) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: elegantTitleReveal 1.1s var(--ease) both;
}

@keyframes elegantTitleReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__ctas {
  gap: .8rem;
  flex-wrap: wrap;
}

.btn,
.nav__btn,
.protocol__cta,
.nav__mobile-cta {
  border-radius: 999px;
}

.btn--gold,
.nav__btn--gold {
  background: linear-gradient(135deg, #c9a94c, #98751e);
  border-color: #a68127;
  box-shadow: 0 10px 24px rgba(134,105,28,.28);
}

.btn--dark {
  background: rgba(23,25,28,.92);
  border-color: rgba(23,25,28,.92);
  box-shadow: 0 10px 24px rgba(23,25,28,.18);
}

.btn:hover,
.nav__btn:hover,
.protocol__cta:hover {
  transform: translateY(-3px);
}

.hero-marquee {
  background: linear-gradient(90deg, #25282c, #575d64, #25282c);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* Semua section memiliki dasar silver yang konsisten */
.about,
.doctors,
.treatments,
.facilities,
.reviews,
.contact {
  background: transparent;
}

section {
  background: rgba(255,255,255,.24);
}

.container {
  width: min(1240px, 100%);
}

.section-head {
  width: auto;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  padding: 3.2rem 1.5rem;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(38,42,47,.94), rgba(74,80,87,.88)) !important;
  box-shadow: 0 18px 45px rgba(30,34,39,.14);
}

.section-head::before {
  opacity: 0;
  animation: horizontalGlow 10s infinite ease-in-out;
}

@keyframes horizontalGlow {
  0% { left: -40%; opacity: 0; }
  25% { opacity: .75; }
  75% { opacity: .75; }
  100% { left: 110%; opacity: 0; }
}

.about__grid,
.contact__grid {
  gap: 2.5rem;
}

.about__visual,
.contact__map,
.about__content,
.contact__info,
.doctor,
.facility-card,
.review-card,
.protocol,
.event-card {
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(35,39,44,.12);
}

.about__content,
.contact__info {
  background: linear-gradient(135deg, rgba(38,42,47,.94), rgba(75,81,88,.9)) !important;
  border: 1px solid rgba(255,255,255,.3);
}

.doctors__grid,
.facilities__scroll-grid,
.reviews__grid {
  scrollbar-color: var(--gold) rgba(255,255,255,.35);
}

.doctor,
.facility-card,
.review-card,
.protocol {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.doctor:hover,
.facility-card:hover,
.review-card:hover,
.protocol:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(35,39,44,.18);
}

.treatments__grid {
  max-width: 980px;
}

.protocol {
  border-color: rgba(184,148,47,.55);
  background: rgba(247,248,249,.85);
}

.protocol__body {
  background: rgba(255,255,255,.38);
}

.events {
  background: linear-gradient(135deg, #292d32, #575d64);
}

.event-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}

.contact__card {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

.contact__card-value {
  color: #fff;
}

.cta-final {
  background: linear-gradient(135deg, #c8a342, #80631b);
}

.footer {
  background: linear-gradient(135deg, #1d2024, #363b41);
}

.fab {
  background: linear-gradient(135deg, #d0ae4d, #916f1d);
  box-shadow: 0 12px 30px rgba(134,105,28,.4);
}

@media (max-width: 768px) {
  .nav {
    padding: 0 .65rem;
  }

  .nav__logo img {
    max-width: 150px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    padding-top: 105px;
  }

  .hero__title {
    font-size: clamp(1.65rem, 8.5vw, 3rem) !important;
    padding: 1rem .65rem !important;
  }

  .hero__ctas .btn {
    padding: .78rem .9rem;
    font-size: .72rem;
  }

  .section-head {
    padding: 2.4rem 1rem;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ===== Kembalikan Hero Video Seperti Sebelumnya ===== */

.hero {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 100vh;
  min-height: 600px;
}

.hero__video {
  opacity: 1;
  filter: none;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.8) 100%
    );
}

.hero__inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
}

.hero__content {
  width: 100%;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding-top: 130px;
  padding-bottom: 1rem;
}

.hero__title {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.8rem 1rem !important;
  font-family: 'Calibri', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.4rem, 3.8vw, 2.6rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
  color: #ffffff !important;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(201, 162, 39, 0.35) 50%,
    rgba(255, 255, 255, 0.05) 100%
  ) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
  animation: elegantTitleReveal 1.1s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes elegantTitleReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Foto sejajar dengan tinggi teks, khusus komputer */
@media (min-width: 981px) {
  .about__grid {
    align-items: stretch;
  }

  .about__visual {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .about__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about__content {
    height: 100%;
    min-height: 100%;
  }
}

/* Tampilan HP tetap seperti sebelumnya */
@media (max-width: 980px) {
  .about__visual {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .about__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}