:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #202124;
  --muted: #6b7280;
  --border: rgba(0,0,0,0.10);

  --primary: rgb(252, 147, 11);   
  --primary-soft: rgb(5, 196, 186);
  --dark: #0f0f10;           /* footer */
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a{ color: inherit; text-decoration:none; }
.container{ width:min(1160px, 92%); margin:0 auto; }

html {
  scroll-behavior: smooth;
}

/* HEADER */
.header{
  position: sticky; top:0; z-index:50;

  background: linear-gradient(
  to bottom,
  rgba(255,255,255,0.98) 0%,
  rgba(255,255,255,0.96) 60%,
  rgba(252,147,11,0.12) 80%,
  rgba(252,147,11,0.18) 90%,
  rgba(5,196,186,0.12) 100%
  );

  border-bottom: 1px solid rgba(252,147,11,0.55); /* soft border */
  backdrop-filter: blur(8px);
}
.header-top{
  display:flex; align-items:center; gap:10px;
  padding: 10px 0;
  position: relative;
}
.logo img{ height:90px; width:auto; display:block; padding: 10px;}

.nav{ display:flex; gap:18px; margin-left: 10px; align-items: center;}
.nav a{
  font-size: 17px;
  padding: 10px 8px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.nav a:hover{ color: var(--text); }
.nav a.active{
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header-actions{
  margin-left:auto;
  display:flex; gap:10px; align-items:center;
}

.header-actions a{
  font-size: 14px;
}

.nav-toggle{
  display:none;
  margin-left:auto;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  cursor:pointer;
  position: relative;
  z-index: 200;
}

/* Dropdown wrapper */
.dropdown{
  position: relative;
}

/* Button dropdown */
.dropbtn{
  background: none;
  border: none;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  padding: 10px 8px;
}

.dropbtn:hover{
  color: var(--primary);
}

/* Menu */
.dropdown-menu{
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  padding: 8px 0;
  min-width: 180px;
  display: none;
  z-index: 100;
}

.dropdown-menu a{
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
}

.dropdown-menu a:hover{
  background: var(--primary-soft);
  color: var(--bg);
}

/* Hover desktop */
.dropdown:hover .dropdown-menu{
  display: block;
}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .2s ease;
}
.btn-primary{
  background: var(--primary);
  color:#fff;
  box-shadow: 0 10px 20px rgb(252, 147, 11, 0.18);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.btn-primary:hover{ filter: brightness(0.95); }
.btn-outline{
  border-color: rgba(24, 168, 139, 0.45);
  background: var(--primary-soft);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgb(34, 133, 169, 0.5);
}

/* HERO (banner besar) */
.hero{
  height: 520px;
  position: relative;
  overflow:hidden;
  background: #ddd;
}
.hero img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.05);
}
.hero-overlay{
  position:absolute; inset:0;
  background: rgba(243, 240, 240, 0.2);
}
.hero-card{
  position:absolute;
  left: min(4vw, 40px);
  bottom: 50px;
  width: min(520px, 92%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-left: 4px solid var(--primary);
  padding: 18px 18px 16px;
}
.hero-card h1{ margin:0 0 8px; font-size: 28px; letter-spacing: 0.5px; }
.hero-card h2{ margin:0 0 8px; color:var(--primary-soft);font-size: 20px; letter-spacing: 0.5px; }
.hero-card p{ margin:0 0 12px; color: rgba(255,255,255,0.85); line-height:1.6; }

.hero-slider{
  position: relative;
  height: 520px;
  overflow: hidden;
}

.hero-slider .slides{
  position:absolute;
  inset:0;
}

.hero-slider .slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity:0;
  transition: opacity 1s ease-in-out;
}
.slides video.slide{
  object-fit: contain !important;
  background: #000;       
}

.hero-slider .slide.active{
  opacity:1;
}

/* SECTION */
.section {
  padding: 60px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
}

.grid-4{ 
  display:flex;
  justify-content:center; 
  gap: 40px;              
  flex-wrap: wrap;        
}


.section h1 {
  font-size: 30px;
  padding: 20px 0;
}

.section p {
  text-align: justify;
}

.section strong {
  color: var(--primary-soft);
}

.section-title-info {
  padding-bottom: 80px;
}

.section-title img {
  width: 250px;
  height: 100%;
  padding-bottom: 10px;
}

.info-logo {
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.deskripsi-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

.section-title-nk h2, .section-title-u h2 {
  padding-top: 50px;
}

.section-milestones img {
  width: 1000px;
  height: 100%;
  padding-bottom: 10px;
  border-radius: 50px;
}

.section-manajemen img {
  width: 250px;
  height: 100%;
  padding-bottom: 10px;
}

.section-manajemen h3 {
  color: var(--primary-soft)
}

.manajemen-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 30px;
  text-align: center;
}

.manajemen-card img{
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.manajemen-card h2{
  margin: 10px 0 5px;
  font-size: 18px;
}

.manajemen-card h3{
  font-size: 14px;
  color: var(--muted);
  font-weight: normal;
}

.desc.short {
  max-height: 120px;
  overflow: hidden;
  position: relative;
}

.links-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1100px){
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid-3{ grid-template-columns: 1fr; }
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  border-color: rgba(21, 136, 125, 0.35);
}

.fc-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.card-body{
  flex: 1;
}

.card-icon{
  font-size: 42px;
  color: var(--primary);
  min-width: 60px;
  text-align: right;
}

.clinic-card{
  overflow:hidden;
  padding:0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body{
  flex: 1;  
  padding: 16px;
  text-align: center;
}

.card-body img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.card-footer{
  padding: 16px;
  text-align: center;
}

.catalog-wrapper{
  display: none;
  margin: 12px 0 8px; 
  text-align: center;
}

.service-card{
  width: 150px;
  overflow:hidden;
  padding:0;
  cursor: pointer;
}

.card-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 120px;
  font-size: 50px;
  color: var(--primary);
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}

.card:hover .card-icon{
  background: var(--primary);
  color: #fff;
}

.card-image{ height: 180px; overflow:hidden; }

.card-image img{
  width:100%;
  height:100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card:hover .card-image img{
  transform: scale(1.06);
}

.card-body{ padding:16px; text-align: center;}

.desc.short{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;          
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-link{
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.btn-link:hover{
  text-decoration: underline;
}

.map-wrapper{
  display: flex;
  align-items: stretch;
  margin-top: 20px;
}

.map-box{
  flex: 2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.contact-info{
  flex: 1;
  background: var(--surface);
  padding: 40px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info h3{
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--primary);
}

.contact-info p{
  margin-bottom: 18px;
  color: var(--muted);
}

/* promo sbu */
.promo-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.promo-popup.show {
  opacity: 1;
  visibility: visible;
}

.promo-content {
  background: #ffffff;
  width: 92%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 14px;
  padding: 30px 35px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: scale(0.95);
  transition: all 0.3s ease;
  scroll-behavior: smooth;
}

.promo-popup.show .promo-content {
  transform: scale(1);
}

/* Close Button */
.promo-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: transparent;
  color: #888;
  border: none;
  font-size: 50px;
  cursor: pointer;
  transition: 0.2s;
}

.promo-close:hover {
  color: #111;
}

/* Promo Item */
.promo-item {
  display: none;
}

.promo-item.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Content */
.promo-inner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.promo-inner iframe {
  width: 100%;
}

/* Date */
.promo-date {
  margin-top: 20px;
  font-size: 13px;
  color: #999;
  text-align: right;
}

.promo-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.promo-nav-left,
.promo-nav-right {
  display: flex;
  gap: 10px;
}

.promo-nav-wrapper button {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Disabled */
.promo-nav-wrapper button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #525151;
}

/* promo gmart */
.gmartpromo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.gmartpromo-modal.active {
  opacity: 1;
  visibility: visible;
}

.gmartpromo-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gmartpromo-modal.active .gmartpromo-content {
  transform: scale(1);
}

.gmartpromo-content img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.gmart-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}

.gmart-prev { left: 0; }
.gmart-next { right: 0; }

.gmart-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 50px;
  cursor: pointer;
}

.gmartpromo-info {
  margin-top: 10px;
  font-weight: bold;
  color: var(--muted);
}

/* FOOTER hitam */
.footer{
  background: linear-gradient(180deg, #111 0%, #0b0b0c 100%);
  color: rgba(255,255,255,0.86);
  margin-top: 40px;
}
.footer-grid{
  padding: 44px 0 26px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 24px;
}
.footer h4{
  margin:0 0 12px;
  color:#fff;
  font-size: 18px;
}

.footer strong {
  color: var(--bg);
}

.footer-cta {
  font-weight: 700; 
  letter-spacing: 0.3px;
}

.footer a{
  display:block;
  color: rgba(255,255,255,0.65);
  margin: 8px 0;
  font-size: 14px;
  
}
.footer a:hover{ color:#fff; }
.footer-text{ color: rgba(255,255,255,0.65); line-height:1.6; margin:0;}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 14px 0;
  color: rgba(255,255,255,0.55);
}


/* Responsive */
@media (max-width: 980px){
  .grid-3{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }

  .nav-toggle{
    display:inline-block;
  }

  .nav{
    display:none;
    position:absolute;
    left: 4%;
    right: 4%;
    top: calc(100% + 8px);
    background:#fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    flex-direction:column;
    z-index: 150;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  }

  .nav.show{ display:flex; }

  .header-actions{ display:none; }
}

/* GALLERY */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid img{
  padding-bottom: 10px;
}

.gallery-item{
  width:100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 1100px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item{ height: 220px; }
}

/* LIGHTBOX */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
}

.lightbox.show{
  display: flex;
}

.lightbox-inner{
  position: relative;
  max-width: 650px;
  max-height: 750px;
  width: 100%;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.lightbox-inner img{
  width: 100%;
  height: auto;
  display: block;
}

.lightbox-close{
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  color: #555252;
  font-size: 26px;
  cursor: pointer;
}
.lightbox-close:hover{
  background: rgba(162, 160, 160, 0.3);
  color: #000;
}