/* =============================================
   SehatSejahtera.asia — Minimal CSS
   (Sisa styling yang tidak bisa di-handle Tailwind CDN)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; overflow-x: hidden; }

/* ── ANIMASI FADE UP ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ── SCROLL REVEAL (dipakai JS) ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #d4ead9;
  height: 68px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem; font-weight: 700;
  color: #1a5c3a; text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: #4aaa73; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: #3d5a47;
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: #2d7d52;
  transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: #1a5c3a; }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: #1a5c3a; color: white;
  padding: 0.5rem 1.25rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: #2d7d52; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #1a5c3a; border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: white; border-bottom: 1px solid #d4ead9;
  padding: 1.5rem 5%; flex-direction: column; gap: 1rem;
  z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: #3d5a47;
  font-size: 0.95rem; font-weight: 500; padding: 0.5rem 0;
  border-bottom: 1px solid #d4ead9;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── SECTION BASE ── */
section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 2.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { max-width: 600px; margin: 0 auto; }

/* ── SECTION LABEL CHIP ── */
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  color: #2d7d52; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem; background: #e8f5ee;
  border-radius: 100px; border: 1px solid #d4ead9;
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700; color: #1a2e22;
  line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: #2d7d52; }
.section-desc { color: #7a9985; font-size: 0.975rem; line-height: 1.8; }

/* ── BUTTONS ── */
.btn-primary {
  background: #1a5c3a; color: white;
  padding: 0.875rem 1.75rem; border-radius: 100px;
  text-decoration: none; font-weight: 500; font-size: 0.925rem;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #2d7d52; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,92,58,0.25); }
.btn-outline {
  border: 1.5px solid #2d7d52; color: #1a5c3a;
  padding: 0.875rem 1.75rem; border-radius: 100px;
  text-decoration: none; font-weight: 500; font-size: 0.925rem;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
  background: transparent; cursor: pointer;
}
.btn-outline:hover { background: #e8f5ee; transform: translateY(-2px); }
.btn-white {
  background: white; color: #1a5c3a;
  padding: 0.875rem 1.75rem; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 0.9rem 2rem; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: all 0.25s; box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,0.4); }
.btn-yt {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FF0000; color: white;
  padding: 0.9rem 2rem; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: all 0.25s; box-shadow: 0 8px 24px rgba(255,0,0,0.25);
}
.btn-yt:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(255,0,0,0.35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── CARDS ── */
.card {
  background: white; border: 1px solid #d4ead9;
  border-radius: 20px; padding: 1.75rem;
  transition: all 0.25s;
}
.card:hover { box-shadow: 0 16px 64px rgba(26,92,58,0.12); transform: translateY(-4px); border-color: #2d7d52; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card .card-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.card h3 { font-size: 1rem; font-weight: 600; color: #1a2e22; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: #7a9985; line-height: 1.7; }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, #f2faf5 0%, #fafcfb 100%);
  padding: 120px 5% 60px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -150px; right: -100px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(74,170,115,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-header .breadcrumb {
  font-size: 0.8rem; color: #7a9985;
  margin-bottom: 1rem; display: flex; align-items: center; gap: 6px;
}
.page-header .breadcrumb a { color: #2d7d52; text-decoration: none; }
.page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.2;
  color: #1a2e22; letter-spacing: -0.02em;
  max-width: 700px; margin-bottom: 1rem;
}
.page-header h1 em { font-style: italic; color: #2d7d52; }
.page-header p { color: #3d5a47; font-size: 1.05rem; max-width: 600px; line-height: 1.8; }

/* ── CLOSING CTA ── */
.cta-closing {
  background: #1a5c3a;
  padding: 80px 5%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-closing::before {
  content: ''; position: absolute; top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(92,191,138,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-closing-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-closing h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; color: white;
  line-height: 1.3; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.cta-closing h2 em { font-style: italic; color: #5cbf8a; }
.cta-closing p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; line-height: 1.8; }

/* ── FOOTER ── */
footer {
  background: #1a2e22;
  padding: 4rem 5% 2rem;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.f-brand .nav-logo { display: block; margin-bottom: 0.75rem; font-size: 1.1rem; }
.f-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 260px; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-links a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55); font-size: 0.8rem; text-decoration: none;
  padding: 0.35rem 0.75rem; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; transition: all 0.2s;
}
.social-links a:hover { color: #5cbf8a; border-color: #5cbf8a; }
.f-col h4 { color: white; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.f-col a { color: rgba(255,255,255,0.55); font-size: 0.825rem; text-decoration: none; transition: color 0.2s; }
.f-col a:hover { color: #5cbf8a; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; font-size: 0.775rem;
}
.footer-bottom p { max-width: 620px; line-height: 1.6; }
.footer-bottom span { flex-shrink: 0; color: rgba(255,255,255,0.35); }

/* ── DISCLAIMER ── */
.disclaimer {
  font-size: 0.8rem; color: #7a9985;
  font-style: italic; padding: 1rem 1.25rem;
  background: #f2faf5; border-left: 3px solid #2d7d52;
  border-radius: 0 12px 12px 0;
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  nav .nav-links { display: none; }
  nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .card-grid-3, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 60px 5%; }
  .page-header { padding: 100px 5% 50px; }
  .btn-row { flex-direction: column; }
}
