/* Unicare Clinic Labuan Bajo — shared stylesheet
   Brand colors: navy #12395f, green #25D366 (per Unicare brand imagery/messaging guide).
   System-font stack only (no external font requests) to keep mobile load fast. */

:root {
  --navy-900: #0a2038;
  --navy-800: #12395f;
  --navy-600: #1e4f7c;
  --navy-100: #eaf1f8;
  --ink: #16232f;
  --muted: #5c6b78;
  --white: #ffffff;
  --green: #25d366;
  --green-dark: #1ebd59;
  --border: #e4ebf1;
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Utility top bar (desktop only) ---- */
.topbar {
  background: var(--navy-900);
  color: #cfe0ee;
  font-size: 13px;
  display: none;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}
.topbar a { color: var(--white); }
.topbar .topbar-links { display: flex; gap: 18px; }

/* ---- Main header / nav ---- */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
header.site .navrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-800);
  white-space: nowrap;
}
.brand .logo {
  height: 34px;
  width: auto;
  display: block;
}
@media (min-width: 900px) {
  .brand .logo { height: 40px; }
}

nav.mainnav {
  display: none;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
}
nav.mainnav a:hover { color: var(--green-dark); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy-900); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

#nav-check { display: none; }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 6px 0 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 10px 4px;
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--border);
}
#nav-check:checked ~ .mobile-menu { display: flex; }

@media (min-width: 900px) {
  .topbar { display: block; }
  nav.mainnav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---- Hero ---- */
.hero { padding: 44px 0 40px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-100);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--green-dark); }

.hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 520px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy-800); border: 1.5px solid var(--navy-800); }

.quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.quickfacts .fact { display: flex; align-items: center; gap: 10px; }
.quickfacts .fact .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.quickfacts .fact strong { display: block; font-size: 14px; color: var(--navy-900); }
.quickfacts .fact span { display: block; font-size: 12.5px; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-blob {
  position: absolute;
  inset: 4% 6% 10% 10%;
  background: linear-gradient(160deg, var(--navy-800), var(--green-dark));
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  opacity: 0.14;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy-100), #dcecff);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy-600);
  font-size: 13px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo strong { display: block; font-size: 14px; margin-bottom: 6px; color: var(--navy-800); }

.floating-card {
  position: absolute;
  z-index: 2;
  right: 6%;
  bottom: -18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 32, 56, 0.14);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-card .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy-800);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  font-size: 18px;
}
.floating-card strong { display: block; font-size: 15px; color: var(--navy-900); }
.floating-card span { display: block; font-size: 12px; color: var(--muted); }

/* ---- Sections ---- */
section { padding: 40px 0; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 26px; }
.section-head .eyebrow {
  color: var(--green-dark); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; display: block;
}
section h2 {
  font-size: 24px;
  color: var(--navy-900);
  margin: 0 0 6px;
  font-weight: 800;
}
.section-head p { color: var(--muted); font-size: 14.5px; margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card .ico-circle {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  font-size: 20px;
}
.card h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--navy-900); }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.card a.learn { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--green-dark); }

/* Feature strip (secondary row) */
.feature-strip { background: var(--navy-100); }
.feature-strip .grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-card h3 { margin: 0; font-size: 16px; color: var(--navy-900); }
.feature-card p { margin: 0; color: var(--muted); font-size: 13.5px; flex: 1; }
.feature-card .tag { color: var(--green-dark); font-weight: 800; font-size: 13px; }
.feature-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; }
.feature-card ul li { margin-bottom: 4px; }
.feature-card .mini-btn {
  align-self: flex-start;
  background: var(--navy-800);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.info-box dl { margin: 0; }
.info-box dt { font-weight: 700; color: var(--navy-900); margin-top: 12px; font-size: 14px; }
.info-box dt:first-child { margin-top: 0; }
.info-box dd { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

details.faq { border-bottom: 1px solid var(--border); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-900); font-size: 15px; }
details.faq p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

/* ---- Sticky mobile WA bar ---- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  z-index: 40;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
.sticky-cta a { width: 100%; justify-content: center; }
body { padding-bottom: 74px; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ---- Footer ---- */
footer.site {
  background: var(--navy-900);
  color: #b9cee1;
  padding: 30px 0;
  font-size: 13px;
  margin-top: 20px;
}
footer.site a { color: var(--white); text-decoration: underline; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
