/*
Theme Name: Permata Bunda Care
Theme URI: https://rspermatabunda.co.id
Author: RS Permata Bunda
Description: Tema company profile RS Permata Bunda yang cepat, responsif, dan ramah aksesibilitas.
Version: 1.0.0
Text Domain: permata-bunda
*/

:root {
  --ink: #12302f;
  --muted: #5d706e;
  --teal: #087f78;
  --teal-dark: #075c59;
  --mint: #e7f5f1;
  --coral: #e96855;
  --sun: #f1b84b;
  --paper: #ffffff;
  --cloud: #f5f8f7;
  --line: #d9e5e2;
  --shadow: 0 16px 40px rgba(15, 70, 66, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Inter", "Segoe UI", Arial, sans-serif; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--coral); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 9999; padding: 10px 14px; background: var(--paper); }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; line-height: 1.05; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; position: relative; flex: 0 0 auto; background: var(--teal); border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
.brand-mark::before { width: 22px; height: 8px; left: 10px; top: 17px; }
.brand-mark::after { width: 8px; height: 22px; left: 17px; top: 10px; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; margin-top: 4px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font-size: 24px; cursor: pointer; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { color: var(--ink); font-size: 14px; font-weight: 700; }
.main-nav .nav-cta { color: #fff; background: var(--teal); padding: 10px 16px; border-radius: 6px; }
.main-nav .nav-cta:hover { background: var(--teal-dark); }

.hero { min-height: min(720px, calc(100vh - 76px)); display: grid; align-items: center; background: linear-gradient(90deg, rgba(5,55,52,.88) 0%, rgba(5,55,52,.68) 38%, rgba(5,55,52,.06) 70%), url("assets/hero-care.webp") center/cover no-repeat; color: #fff; }
.hero-content { max-width: 650px; padding-block: 88px 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--sun); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: 0; margin: 0 0 22px; max-width: 620px; }
.hero p { max-width: 560px; font-size: 19px; color: rgba(255,255,255,.9); margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 2px solid transparent; border-radius: 6px; font-weight: 800; }
.button-primary { background: var(--coral); color: #fff; }
.button-primary:hover { background: #cf5040; color: #fff; }
.button-light { border-color: rgba(255,255,255,.65); color: #fff; }
.button-light:hover { background: #fff; color: var(--teal-dark); }

.quick-bar { position: relative; margin-top: -42px; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.quick-item { padding: 24px 28px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.quick-item:last-child { border-right: 0; }
.quick-number { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--mint); color: var(--teal); font-weight: 900; }
.quick-item strong { display: block; font-size: 15px; }
.quick-item span { color: var(--muted); font-size: 13px; }

.section { padding: 92px 0; }
.section-soft { background: var(--cloud); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head > div { max-width: 680px; }
.kicker { color: var(--teal); font-size: 13px; font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; letter-spacing: 0; margin: 8px 0 12px; }
.section-head p, .lead { color: var(--muted); font-size: 17px; margin: 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-panel { background: var(--teal-dark); color: #fff; padding: 44px; border-radius: 8px; position: relative; }
.about-panel::after { content: ""; display: block; position: absolute; width: 70px; height: 8px; right: 0; top: 34px; background: var(--sun); }
.about-panel h3 { font-size: 29px; line-height: 1.2; margin: 0 0 16px; }
.about-panel p { color: rgba(255,255,255,.8); margin: 0; }
.fact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
.fact-list strong { display: block; color: var(--sun); font-size: 25px; }
.fact-list span { font-size: 13px; color: rgba(255,255,255,.75); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 240px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-index { color: var(--coral); font-size: 13px; font-weight: 900; }
.service-card h3 { margin: 50px 0 10px; font-size: 22px; }
.service-card p { color: var(--muted); font-size: 14px; margin: 0; }

.cta-band { background: var(--coral); color: #fff; padding: 54px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.cta-inner h2 { font-size: 34px; margin: 0 0 8px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); }
.cta-band .button { background: #fff; color: var(--teal-dark); white-space: nowrap; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-card-body { padding: 24px; }
.post-card time { color: var(--coral); font-size: 12px; font-weight: 800; }
.post-card h3 { font-size: 20px; line-height: 1.35; margin: 8px 0 10px; }
.post-card p { color: var(--muted); font-size: 14px; margin: 0; }

.page-hero { background: var(--mint); padding: 72px 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); margin: 6px 0 10px; line-height: 1.08; }
.content-area { padding: 70px 0 100px; }
.entry-content { max-width: 820px; font-size: 17px; }
.entry-content h2 { font-size: 34px; margin-top: 42px; }
.entry-content h3 { font-size: 23px; margin-top: 30px; }
.entry-content li { margin-bottom: 8px; }

.site-footer { padding: 68px 0 24px; background: #102d2c; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 60px; padding-bottom: 50px; }
.footer-brand { max-width: 410px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer .brand small, .site-footer p, .site-footer a { color: rgba(255,255,255,.68); }
.site-footer a:hover { color: #fff; }
.site-footer h3 { font-size: 15px; margin: 0 0 18px; }
.footer-links { display: grid; gap: 9px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 12px; color: rgba(255,255,255,.5); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .main-nav .nav-cta { text-align: center; }
  .hero { min-height: 680px; background-position: 64% center; }
  .hero-content { max-width: 570px; }
  .quick-grid, .service-grid, .news-grid { grid-template-columns: 1fr; }
  .quick-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-item:last-child { border-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner, .section-head { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand { font-size: 15px; }
  .brand small { font-size: 9px; }
  .hero { min-height: 660px; background-position: 66% center; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 16px; }
  .hero-content { padding-block: 72px 100px; }
  .section { padding: 68px 0; }
  .about-panel { padding: 32px 26px; }
  .fact-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
