/* =========================================================
   Klinik Utama Heliacare — Landing Page
   Palette derived from logo: Olive #424530 · Amber #E09132
   ========================================================= */

:root{
  --olive:#424530; --olive-700:#363927; --olive-600:#4c4f38; --olive-500:#5b5f45;
  --amber:#e09132; --amber-600:#cf8022; --amber-300:#f0b672; --amber-100:#f8e6cf;
  --cream:#fbf7f0; --cream-2:#f5eee2; --sand:#efe7d8;
  --ink:#2f3124; --body:#575a4c; --muted:#8b8d7e; --line:#e6ddcd; --white:#ffffff;
  --shadow-sm:0 4px 14px rgba(66,69,48,.06);
  --shadow-md:0 14px 40px rgba(66,69,48,.10);
  --shadow-lg:0 30px 70px rgba(66,69,48,.16);
  --r-sm:12px; --r-md:18px; --r-lg:26px; --r-xl:34px;
  --maxw:1180px; --gutter:clamp(18px,4vw,40px);
  --ff-head:"Fraunces",Georgia,serif;
  --ff-body:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{ margin:0; font-family:var(--ff-body); color:var(--body); background:var(--cream);
  line-height:1.65; font-size:16px; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--ff-head); color:var(--ink); line-height:1.15; margin:0; font-weight:600; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.ico{ width:1.1em; height:1.1em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }

/* ---------- Buttons ---------- */
.btn{ --pad-y:.72rem; --pad-x:1.25rem; display:inline-flex; align-items:center; gap:.55rem;
  padding:var(--pad-y) var(--pad-x); border-radius:999px; font-weight:600; font-size:.95rem;
  cursor:pointer; border:1.5px solid transparent;
  transition:transform .2s, box-shadow .2s, background .2s, color .2s; white-space:nowrap; }
.btn:active{ transform:translateY(1px); }
.btn--lg{ --pad-y:.95rem; --pad-x:1.7rem; font-size:1rem; }
.btn--primary{ background:var(--olive); color:var(--cream); box-shadow:var(--shadow-sm); }
.btn--primary:hover{ background:var(--olive-700); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--olive); }
.btn--ghost:hover{ background:var(--olive); color:var(--cream); transform:translateY(-2px); }
.btn--white{ background:var(--white); color:var(--olive); box-shadow:var(--shadow-md); }
.btn--white:hover{ background:var(--cream); transform:translateY(-2px); }

/* ---------- Top utility bar ---------- */
.topbar{ background:var(--olive); color:#d8d9cc; font-size:.82rem; }
.topbar__inner{ display:flex; align-items:center; gap:1.2rem; min-height:38px; }
.topbar__spacer{ flex:1; }
.topbar__item{ display:inline-flex; align-items:center; gap:.4rem; }
.topbar__item svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; color:var(--amber-300); }
.topbar__wa{ font-weight:600; color:var(--cream); }
.topbar__wa:hover{ color:var(--amber-300); }
.cls_wa {
        fill: #f0b672;
      }

/* ---------- Header / Nav ---------- */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(251,247,240,.85);
  backdrop-filter:saturate(160%) blur(12px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; gap:1.2rem; min-height:74px; }
.brand__logo{ height:48px; width:auto; }
.nav__menu{ display:flex; gap:.35rem; margin-left:auto; }
.nav__link{ padding:.5rem .8rem; border-radius:999px; font-weight:500; color:var(--body);
  font-size:.95rem; position:relative; transition:color .2s, background .2s; }
.nav__link:hover{ color:var(--olive); background:var(--cream-2); }
.nav__link.is-active{ color:var(--olive); font-weight:600; }
.nav__link.is-active::after{ content:""; position:absolute; left:50%; bottom:2px; width:18px; height:3px;
  background:var(--amber); border-radius:3px; transform:translateX(-50%); }
.nav__cta{ margin-left:.3rem; }
.nav__toggle{ display:none; flex-direction:column; gap:5px; width:44px; height:40px;
  border:1px solid var(--line); border-radius:12px; background:var(--white);
  align-items:center; justify-content:center; cursor:pointer; }
.nav__toggle span{ width:20px; height:2px; background:var(--olive); border-radius:2px; transition:.25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden;
  background:radial-gradient(120% 90% at 85% -10%, var(--amber-100) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.blob{ position:absolute; border-radius:50%; filter:blur(10px); opacity:.5; z-index:0; }
.blob--1{ width:340px; height:340px; left:-120px; top:40px;
  background:radial-gradient(circle at 30% 30%, #eef0e4, transparent 70%); }
.blob--2{ width:260px; height:260px; right:6%; bottom:-60px;
  background:radial-gradient(circle at 50% 50%, var(--amber-100), transparent 70%); }
.hero__grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr 1fr;
  gap:clamp(24px,4vw,56px); align-items:center; padding-block:clamp(48px,7vw,84px); }
.pill{ display:inline-flex; align-items:center; gap:.5rem; background:var(--white); border:1px solid var(--line);
  color:var(--olive); font-weight:600; font-size:.82rem; padding:.5rem .9rem; border-radius:999px; box-shadow:var(--shadow-sm); }
.pill .ico{ color:var(--amber); }
.hero__title{ font-size:clamp(2.5rem,5.4vw,4rem); font-weight:600; margin:1.1rem 0 0; letter-spacing:-.02em; }
.hero__title .accent{ color:var(--amber); font-style:italic; }
.hero__lead{ margin-top:1.1rem; font-size:1.1rem; max-width:46ch; color:var(--body); }
.hero__lead strong{ color:var(--olive); font-weight:700; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.8rem; }
.hero__media{ position:relative; }
.hero__photo{ border-radius:280px 280px var(--r-lg) var(--r-lg); overflow:hidden; box-shadow:var(--shadow-lg);
  border:8px solid var(--white); aspect-ratio:4/4.4; }
.hero__photo img{ width:100%; height:100%; object-fit:cover; }
.hero__badge{ position:absolute; left:-14px; bottom:26px; background:var(--white); border-radius:var(--r-md);
  padding:.7rem .95rem; display:flex; align-items:center; gap:.7rem; box-shadow:var(--shadow-md); border:1px solid var(--line); }
.hero__badge img{ width:40px; height:40px; }
.hero__badge strong{ display:block; color:var(--ink); font-family:var(--ff-body); font-size:.9rem; }
.hero__badge span{ color:var(--amber-600); font-weight:600; font-size:.85rem; }

/* ---------- Trust bar ---------- */
.trust{ background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; padding-block:1.8rem; }
.trust__item{ display:flex; gap:.85rem; align-items:flex-start; position:relative; }
.trust__item + .trust__item::before{ content:""; position:absolute; left:-.6rem; top:6px; bottom:6px; width:1px; background:var(--line); }
.trust__ico{ flex:0 0 auto; width:44px; height:44px; border-radius:14px;
  background:linear-gradient(135deg, var(--amber-100), var(--cream-2)); display:grid; place-items:center; color:var(--amber-600); }
.trust__ico svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.trust__item h3{ font-family:var(--ff-body); font-size:.98rem; color:var(--ink); font-weight:700; }
.trust__item p{ font-size:.85rem; color:var(--muted); margin-top:2px; }

/* ---------- Section scaffolding ---------- */
.section{ padding-block:clamp(56px,8vw,96px); }
.eyebrow{ display:inline-block; color:var(--amber-600); font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; font-size:.78rem; margin-bottom:.6rem; }
.section__title{ font-size:clamp(1.7rem,3.4vw,2.5rem); letter-spacing:-.01em; }
.section__sub{ margin-top:.8rem; color:var(--body); max-width:62ch; }
.section__head{ display:flex; justify-content:space-between; align-items:flex-end; gap:1.5rem; margin-bottom:2.4rem; }
.section__head--center{ flex-direction:column; align-items:center; text-align:center; }
.section__head--center .section__sub{ margin-inline:auto; }
.link-more{ color:var(--olive); font-weight:600; display:inline-flex; align-items:center; gap:.35rem; white-space:nowrap; }
.link-more:hover{ color:var(--amber-600); }

/* ---------- Services ---------- */
.services{ background:var(--cream); }
.services__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; }
.service-card{ position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:1.6rem 1.4rem; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s, border-color .25s;
  display:flex; flex-direction:column; }
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--amber-300); }
.service-card__ico{ width:56px; height:56px; border-radius:16px; display:grid; place-items:center;
  background:linear-gradient(135deg, var(--amber-100), var(--cream-2)); color:var(--amber-600); margin-bottom:1rem; }
.service-card__ico svg{ width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.service-card h3{ font-size:1.12rem; margin-bottom:.5rem; }
.service-card p{ font-size:.92rem; color:var(--body); flex:1; }
.service-card__link{ margin-top:1rem; color:var(--olive); font-weight:600; font-size:.9rem; display:inline-flex; align-items:center; gap:.35rem; }
.service-card__link:hover{ color:var(--amber-600); gap:.55rem; }
.service-card.is-soon .service-card__ico{ background:linear-gradient(135deg,#eef0e4,var(--cream-2)); color:var(--olive-500); }
.ribbon{ position:absolute; top:16px; right:16px; background:var(--olive); color:var(--cream);
  font-size:.66rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:.28rem .6rem; border-radius:999px; }
.service-card--placeholder{ background:linear-gradient(160deg,#fdfbf6,var(--cream-2));
  border:1.5px dashed var(--amber-300); box-shadow:none; }
.service-card--placeholder .service-card__ico{ background:var(--white); }

/* ---------- About ---------- */
.about{ background:var(--white); }
.about__grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(28px,5vw,64px); align-items:center; }
.about__media{ position:relative; }
.about__media img{ border-radius:var(--r-xl) var(--r-sm) var(--r-xl) var(--r-sm); box-shadow:var(--shadow-md);
  aspect-ratio:5/4.4; object-fit:cover; width:100%; }
.about__stat{ position:absolute; right:-12px; bottom:-18px; background:var(--olive); color:var(--cream);
  border-radius:var(--r-md); padding:1rem 1.2rem; box-shadow:var(--shadow-md); max-width:190px; }
.about__stat strong{ font-family:var(--ff-head); font-size:1.8rem; display:block; line-height:1; color:var(--amber-300); }
.about__stat span{ font-size:.82rem; display:block; margin-top:.3rem; }
.about__content p{ margin-top:1rem; }
.about__content .section__title{ margin-top:.2rem; }
.about__list{ display:grid; gap:.6rem; margin:1.4rem 0 1.8rem; }
.about__list li{ display:flex; align-items:center; gap:.6rem; font-weight:500; color:var(--ink); }
.about__list .ico{ color:var(--white); background:var(--amber); border-radius:50%; padding:3px; width:1.5em; height:1.5em; stroke-width:2.6; }

/* ---------- Doctors ---------- */
.doctors{ background:var(--cream); }
.doctors__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.3rem; }
.doctor-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:1.4rem; text-align:center; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; }
.doctor-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.doctor-card__photo{ width:120px; height:120px; margin:0 auto 1rem; border-radius:50%;
  background:linear-gradient(150deg, var(--cream-2), var(--sand)); display:grid; place-items:center;
  color:var(--olive-500); border:3px solid var(--white); box-shadow:inset 0 0 0 1px var(--line); overflow:hidden; }
.doctor-card__photo img{ width:100%; height:100%; object-fit:cover; }
.doctor-card__photo svg{ width:52px; height:52px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.doctor-card h3{ font-size:1.02rem; font-family:var(--ff-body); font-weight:700; }
.doctor-card p{ font-size:.86rem; color:var(--muted); margin-top:.25rem; }
.tag{ display:inline-block; background:var(--amber-100); color:var(--amber-600); font-weight:700; font-size:.68rem;
  padding:.1rem .45rem; border-radius:999px; margin-left:.3rem; }

/* ---------- Articles ---------- */
.articles{ background:var(--white); }
.articles__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.article-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.article-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.article-card__thumb{ height:190px; position:relative; overflow:hidden; }
.article-card__thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.article-card:hover .article-card__thumb img{ transform:scale(1.05); }
.article-card__thumb--grad{ background:linear-gradient(135deg,var(--amber-300),#c3cdb0); }
.chip{ position:absolute; left:14px; bottom:14px; background:rgba(255,255,255,.92); color:var(--olive);
  font-weight:700; font-size:.72rem; padding:.3rem .7rem; border-radius:999px; }
.article-card__body{ padding:1.3rem; display:flex; flex-direction:column; flex:1; }
.article-card__body h3{ font-size:1.1rem; line-height:1.3; }
.article-card__body p{ font-size:.9rem; margin:.55rem 0 .9rem; flex:1; }

/* ---------- CTA + Location ---------- */
.location{ background:var(--cream); }
.cta{ background:linear-gradient(120deg, var(--amber) 0%, var(--amber-600) 100%); border-radius:var(--r-xl);
  padding:clamp(28px,4vw,48px); display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  flex-wrap:wrap; box-shadow:var(--shadow-md); position:relative; overflow:hidden; margin-bottom:clamp(40px,6vw,72px); }
.cta::after{ content:""; position:absolute; right:-40px; top:-40px; width:220px; height:220px;
  background:radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); border-radius:50%; }
.cta__text{ position:relative; z-index:1; }
.cta h2{ color:var(--white); font-size:clamp(1.5rem,3vw,2.1rem); }
.cta p{ color:rgba(255,255,255,.92); margin-top:.4rem; }
.cta .btn{ position:relative; z-index:1; }
.location__grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(28px,4vw,52px); align-items:stretch; }
.contact-list{ display:grid; gap:1.1rem; margin-top:1.5rem; }
.contact-list li{ display:flex; gap:.9rem; align-items:flex-start; }
.contact-list__ico{ flex:0 0 auto; width:46px; height:46px; border-radius:14px; display:grid; place-items:center;
  background:var(--white); color:var(--amber-600); box-shadow:var(--shadow-sm); }
.contact-list__ico svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.contact-list strong{ color:var(--ink); font-family:var(--ff-body); }
.contact-list p{ font-size:.94rem; margin-top:2px; }
.contact-list a:hover{ color:var(--amber-600); }
.location__actions{ display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.8rem; }
.location__map{ position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-md);
  border:6px solid var(--white); min-height:340px; display:block; }
.location__map iframe{ width:100%; height:100%; border:0; min-height:340px; filter:saturate(.9); }
.location__pin{ position:absolute; left:16px; bottom:16px; background:var(--white); color:var(--olive);
  font-weight:700; font-size:.85rem; padding:.5rem .8rem; border-radius:999px; display:flex; align-items:center; gap:.4rem; box-shadow:var(--shadow-sm); }
.location__pin img{ width:24px; height:24px; }
.contact-list_wa {
        fill: #cf8022;
      }

/* ---------- Footer ---------- */
.footer{ background:var(--olive); color:#d8d9cc; padding-top:clamp(48px,6vw,72px); }
.footer__grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.4fr; gap:2rem; padding-bottom:2.5rem; }
.footer__logo{ height:64px; width:auto; }
.footer__tag{ color:var(--amber-300); font-family:var(--ff-head); font-style:italic; margin-top:.6rem; font-size:1.05rem; }
.footer__desc{ margin-top:.7rem; font-size:.9rem; color:#b9bbaa; max-width:34ch; }
.footer__col h4{ color:var(--cream); font-family:var(--ff-body); font-size:1rem; margin-bottom:1rem; }
.footer__col ul{ display:grid; gap:.6rem; }
.footer__col a{ color:#c7c9b8; font-size:.92rem; }
.footer__col a:hover{ color:var(--amber-300); }
.footer__contact li{ font-size:.9rem; color:#c7c9b8; }
.socials{ display:flex; gap:.6rem; margin-top:1.2rem; }
.socials a{ width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
  background:rgba(255,255,255,.08); color:var(--cream); transition:.2s; }
.socials a:hover{ background:var(--amber); color:var(--olive-700); transform:translateY(-3px); }
.socials svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.footer__bar{ border-top:1px solid rgba(255,255,255,.10); }
.footer__bar-inner{ display:flex; justify-content:space-between; gap:1rem; padding-block:1.2rem; flex-wrap:wrap; }
.footer__bar p{ font-size:.83rem; color:#a9ab9a; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa{ position:fixed; right:20px; bottom:20px; z-index:60; width:56px; height:56px; border-radius:50%;
  background:#25d366; color:#fff; display:grid; place-items:center; box-shadow:0 10px 30px rgba(37,211,102,.45); transition:transform .2s; }
.fab-wa:hover{ transform:scale(1.08); }
.fab-wa svg{ width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }

/* ---------- Reveal animation ---------- */
[data-reveal]{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible{ opacity:1; transform:none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1024px){
  .services__grid{ grid-template-columns:repeat(2,1fr); }
  .doctors__grid{ grid-template-columns:repeat(2,1fr); }
  .footer__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .topbar__inner{ justify-content:center; gap:.9rem; }
  .topbar .topbar__item:first-child{ display:none; }
  .nav__menu{ position:fixed; inset:74px 0 auto 0; flex-direction:column; gap:0; background:var(--cream);
    border-bottom:1px solid var(--line); padding:.6rem var(--gutter) 1rem; margin:0;
    transform:translateY(-160%); transition:transform .3s ease; box-shadow:var(--shadow-md); }
  .nav__menu.is-open{ transform:translateY(0); }
  .nav__link{ padding:.85rem .4rem; border-radius:10px; }
  .nav__link.is-active::after{ display:none; }
  .nav__cta{ display:none; }
  .nav__toggle{ display:flex; margin-left:auto; }
  .hero__grid{ grid-template-columns:1fr; }
  .hero__media{ order:-1; max-width:440px; margin-inline:auto; width:100%; }
  .hero__photo{ aspect-ratio:4/3.4; border-radius:var(--r-xl); }
  .hero__content{ text-align:center; }
  .hero__lead{ margin-inline:auto; }
  .hero__actions{ justify-content:center; }
  .pill{ margin-inline:auto; }
  .trust__grid{ grid-template-columns:repeat(2,1fr); gap:1.4rem 1rem; }
  .trust__item + .trust__item::before{ display:none; }
  .about__grid{ grid-template-columns:1fr; }
  .about__media{ max-width:480px; }
  .articles__grid{ grid-template-columns:1fr; }
  .location__grid{ grid-template-columns:1fr; }
  .section__head{ flex-direction:column; align-items:flex-start; }
  .cta{ flex-direction:column; align-items:flex-start; text-align:left; }
}
@media (max-width:520px){
  .services__grid{ grid-template-columns:1fr; }
  .doctors__grid{ grid-template-columns:1fr 1fr; }
  .footer__grid{ grid-template-columns:1fr; }
  .brand__logo{ height:42px; }
  .doctor-card__photo{ width:100px; height:100px; }
  .topbar{ font-size:.76rem; }
}
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  [data-reveal]{ opacity:1; transform:none; }
}
