/* Gaya dasar website: warna, tipografi, layout, formulir, kartu, dan panel admin. */
/* Warna dan ukuran terpusat agar identitas visual mudah dipelihara. */
/* Token desain bersama: warna, radius, dan nilai yang dipakai banyak komponen. */
:root {
    --ink: #183e3a;
    --muted: #647773;
    --green: #167366;
    --dark: #164d44;
    --mint: #eef5f0;
    --line: #dce6df;
    --cream: #fbfaf6;
    --white: #fff;
    --radius: 18px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
    line-height: 1.7;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
/* Gaya dasar isian formulir agar konsisten di seluruh halaman. */
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
img {
    max-width: 100%;
    display: block;
}
h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}
h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.035em;
}
h1 {
    font-size: clamp(38px, 4.8vw, 67px);
    font-weight: 500;
    margin-bottom: 24px;
}
h2 {
    font-size: clamp(28px, 3.1vw, 40px);
    font-weight: 500;
    margin-bottom: 24px;
}
h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
}
h4 {
    font-size: 14px;
}
p {
    color: var(--muted);
}
small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
/* Lebar konten utama dan jarak aman terhadap tepi layar. */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 38px;
    padding-right: 38px;
}
.topbar {
    background: var(--dark);
    color: #e3efe8;
    font-size: 11px;
    letter-spacing: 0.025em;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    padding-top: 9px;
    padding-bottom: 9px;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}
.nav-wrap {
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.35;
}
.brand small {
    font-size: 8px;
    letter-spacing: 0.16em;
    font-weight: 400;
    margin-top: 5px;
}
.brand-symbol {
    font-size: 40px;
    color: var(--green);
    line-height: 1;
}
.nav-wrap nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px;
}
.nav-wrap nav > a:not(.button) {
    padding: 12px 0;
}
.nav-wrap nav .active {
    color: var(--green);
    border-bottom: 2px solid var(--green);
}
/* Gaya tombol utama untuk tautan maupun elemen button. */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--green);
    color: white;
    padding: 15px 23px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    transition:
        background 0.2s,
        transform 0.2s;
}
.button:hover {
    background: #10574e;
    transform: translateY(-1px);
}
.button.small {
    padding: 12px 18px;
    font-size: 12px;
}
.button.light {
    background: #fff;
    color: var(--dark);
}
.button.light:hover {
    background: #e1eee5;
}
.text-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
}
a:hover.text-link {
    text-decoration: underline;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 22px;
}
.dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 7px;
}
.review-strip {
    background: #faf3df;
    color: #796132;
    text-align: center;
    font-size: 10px;
    padding: 5px 12px;
}
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 55px;
    padding-top: 56px;
    padding-bottom: 52px;
    align-items: center;
}
.hero-copy {
    padding: 24px 0;
}
.lead {
    font-size: 16px;
    line-height: 1.9;
    max-width: 590px;
}
.hero-copy .lead {
    max-width: 435px;
    margin-bottom: 30px;
}
.actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    border-top: 1px solid var(--line);
    margin-top: 36px;
    padding-top: 20px;
    font-size: 11px;
}
.hero-note strong {
    font-weight: 500;
}
.heart {
    font-size: 28px;
    color: var(--green);
}
.hero-visual {
    position: relative;
    background: #e4eee4;
    border-radius: 100px 16px 16px 16px;
    min-height: 470px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-visual > img {
    height: 470px;
    width: 100%;
    object-fit: cover;
}
.visual-label {
    position: absolute;
    bottom: 28px;
    left: 25px;
    right: 25px;
    background: #fffdf6f0;
    padding: 17px 19px;
    border-radius: 11px;
    display: flex;
    gap: 13px;
    align-items: center;
    font-size: 12px;
}
.visual-label small {
    font-size: 10px;
    margin-top: 3px;
}
.icon-circle {
    background: #e4efe6;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 24px;
}
.vertical-label {
    position: absolute;
    right: 9px;
    top: 30px;
    writing-mode: vertical-rl;
    font-size: 8px;
    letter-spacing: 0.22em;
}
.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
}
.quick-links > a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 27px 28px;
    background: var(--cream);
    border: 1px solid #eeeee7;
    transition: background 0.2s;
}
.quick-links > a:first-child {
    border-radius: 12px 0 0 12px;
}
.quick-links > a:last-child {
    border-radius: 0 12px 12px 0;
}
.quick-links > a:hover {
    background: #edf4ee;
}
.quick-links strong {
    font-size: 14px;
    font-weight: 500;
}
.quick-links small {
    font-size: 10px;
    margin-top: 4px;
}
.quick-links > a > span:last-child {
    margin-left: auto;
}
.quick-icon {
    font-size: 28px;
    color: var(--green);
}
.section {
    padding-top: 76px;
    padding-bottom: 76px;
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}
.section-heading h2 {
    margin-bottom: 0;
}
.section-heading .eyebrow {
    margin-bottom: 15px;
}
.section-heading > div > p:not(.eyebrow) {
    font-size: 13px;
    max-width: 310px;
}
.grid {
    display: grid;
    gap: 22px;
}
.grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card {
    position: relative;
    padding: 25px 23px 23px;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition:
        box-shadow 0.2s,
        border-color 0.2s;
}
.service-card:hover {
    box-shadow: 0 10px 30px #1d493810;
    border-color: var(--green);
}
.service-number {
    position: absolute;
    right: 22px;
    top: 19px;
    color: #a9b4ad;
    font-size: 10px;
}
.service-icon {
    font-size: 36px;
    margin: 8px 0 24px;
    color: var(--green);
}
.service-card h3 {
    font-size: 19px;
}
.service-card p {
    font-size: 12px;
    line-height: 1.85;
    min-height: 66px;
}
.card-link {
    display: block;
    border-top: 1px solid var(--line);
    padding-top: 15px;
    font-size: 10px;
    color: var(--green);
}
.soft-section {
    background: var(--mint);
}
.doctor-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.doctor-photo {
    height: 235px;
    background: #e5ede1;
    position: relative;
    overflow: hidden;
}
.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
}
.badge {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 10px;
    white-space: nowrap;
}
.doctor-photo .badge {
    position: absolute;
    left: 16px;
    top: 16px;
}
.doctor-info {
    padding: 24px;
}
.doctor-info .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
}
.doctor-info h3 {
    font-size: 21px;
}
.schedule {
    font-size: 11px;
    line-height: 1.8;
}
.doctor-cta {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 11px;
    color: var(--green);
}
.feature-banner {
    padding: 47px 50px;
    border-radius: 16px;
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}
.feature-banner p {
    color: #d2e4d8;
    font-size: 13px;
    line-height: 1.9;
}
.feature-banner .eyebrow {
    color: #b4d0b9;
}
.feature-banner h2 {
    font-size: 38px;
    position: relative;
    z-index: 1;
}
.banner-art {
    position: absolute;
    font-size: 320px;
    right: 25px;
    top: -68px;
    color: #719b7a70;
    line-height: 1.6;
    transform: rotate(12deg);
}
.feature-banner > div {
    position: relative;
    z-index: 1;
}
.compact-top {
    padding-top: 16px;
}
.article-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.article-image {
    height: 190px;
    overflow: hidden;
    background: #e7ede0;
}
.article-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.tone-1 {
    background: #eee9db;
}
.tone-2 {
    background: #dce9e6;
}
.article-content {
    padding: 24px;
}
.article-content .eyebrow {
    font-size: 8px;
}
.article-content h3 {
    font-size: 21px;
}
.article-content p:not(.eyebrow) {
    font-size: 12px;
}
.article-content .text-link {
    font-size: 11px;
}
footer {
    background: #f6f7f2;
    border-top: 1px solid var(--line);
    padding-top: 55px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.1fr;
    gap: 40px;
    padding-bottom: 45px;
}
.footer-grid p,
.footer-grid > div > a:not(.brand) {
    font-size: 11px;
    line-height: 1.9;
}
.footer-grid p {
    margin-top: 20px;
}
.footer-grid > div > a:not(.brand) {
    display: block;
    color: var(--muted);
    margin-bottom: 9px;
}
.footer-grid .brand {
    font-size: 17px;
}
.footer-grid .brand small {
    font-size: 7px;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 10px;
    color: var(--muted);
}
.floating-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 15;
}
.floating-help,
.floating-register {
    display: block;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 5px 25px #173e391a;
    border-radius: 40px;
    padding: 10px 19px;
    font-size: 13px;
    color: var(--green);
}
.page-intro {
    padding-top: 65px;
    padding-bottom: 40px;
}
.page-intro h1 {
    font-size: 52px;
}
.page-intro .lead {
    max-width: 710px;
}
.search-label {
    max-width: 580px;
    margin-top: 30px;
}
.panel {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 13px;
    padding: 28px;
    margin-bottom: 24px;
}
.pale {
    background: var(--cream);
}
.panel p {
    font-size: 14px;
}
.notice {
    background: #eaf4ed;
    border: 1px solid #d3e3d5;
    padding: 15px 19px;
    border-radius: 8px;
    font-size: 13px;
    margin: 16px 0 25px;
    color: #335d43;
}
.notice.error {
    background: #fcece8;
    border-color: #e9c5bc;
    color: #8e392d;
}
.narrow {
    max-width: 850px;
}
.detail-image {
    border-radius: 12px;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
}
.article-body {
    font-size: 17px;
    line-height: 2;
}
.registration-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 34px;
    align-items: start;
}
.steps {
    padding-left: 20px;
    font-size: 13px;
    color: var(--muted);
}
.steps li {
    padding: 8px 0;
}
.reference {
    font-size: 25px;
    letter-spacing: 0.04em;
}
.success-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--green);
    border-radius: 50%;
    margin-bottom: 24px;
    font-size: 26px;
}
label {
    display: block;
    font-size: 12px;
    color: var(--ink);
    margin-bottom: 19px;
    font-weight: 500;
}
input,
select,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #cddbd3;
    border-radius: 6px;
    background: #fff;
    padding: 11px 13px;
    color: var(--ink);
    margin-top: 7px;
    max-width: 100%;
    font-size: 14px;
}
textarea {
    resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #7caa94;
    outline-offset: 2px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.check {
    display: flex;
    align-items: start;
    gap: 10px;
    font-weight: 400;
}
.check input {
    width: 17px;
    height: 17px;
    margin: 3px 0;
    flex-shrink: 0;
}
.honeypot {
    position: absolute;
    left: -9999px;
}
.muted {
    font-size: 12px !important;
    color: var(--muted);
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 26px 0;
}
dialog {
    border: 1px solid var(--line);
    border-radius: 18px;
    max-width: 480px;
    width: calc(100% - 40px);
    padding: 42px;
    box-shadow: 0 30px 80px #12372b33;
    color: var(--ink);
}
dialog::backdrop {
    background: #173d365e;
    backdrop-filter: blur(3px);
}
dialog h2 {
    font-size: 32px;
}
.dialog-close {
    position: absolute;
    right: 14px;
    top: 8px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 28px;
}
/* Popup poster mengikuti rasio asli gambar, tanpa panel teks atau pemotongan. */
dialog.promo-poster-dialog {
    width: fit-content;
    max-width: min(860px, calc(100vw - 32px));
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    overflow: visible;
}
.promo-poster-dialog .popup-image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(860px, calc(100vw - 32px));
    max-height: calc(100dvh - 120px);
    object-fit: contain;
    border-radius: 10px 10px 0 0;
    margin: 0;
}
.promo-poster-link {
    display: block;
    border-radius: 10px;
}
/* Latar putih dan bayangan halus menjaga tombol tutup terbaca di atas poster. */
.promo-poster-dialog .dialog-close {
    display: grid;
    place-items: center;
    right: 8px;
    top: 8px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #173d36;
    font-size: 28px;
    line-height: 1;
    outline: none;
    box-shadow: 0 2px 12px #173d362e;
    cursor: pointer;
    z-index: 1;
}
.promo-poster-dialog .dialog-close:hover {
    background: #fff;
}
.promo-poster-dialog .dialog-close:focus-visible {
    outline: none;
    background: #fff;
    box-shadow: 0 3px 16px #173d3666;
}
.promo-poster-link:focus-visible {
    outline: 3px solid #17816c;
    outline-offset: 3px;
}
/* Akses ke program kesehatan lain di sudut kiri bawah popup. */
.promo-poster-footer {
    padding: 14px 18px;
    background: #f1f8f4;
    border-radius: 0 0 10px 10px;
    text-align: left;
}
.promo-poster-footer a {
    color: #175d49;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.promo-poster-footer a:hover {
    color: #0b4030;
}
.popup-admin-preview {
    display: block;
    max-width: min(100%, 420px);
    max-height: 320px;
    object-fit: contain;
    margin: 16px 0;
    border-radius: 8px;
}
.auth {
    min-height: 100vh;
    background: var(--mint);
    display: grid;
    place-items: center;
    padding: 25px;
}
.auth-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: 18px;
}
.auth-card > .brand {
    margin-bottom: 40px;
}
.auth-card h1 {
    font-size: 36px;
}
.auth-card p {
    font-size: 13px;
}
.auth-card .button {
    width: 100%;
    margin-bottom: 20px;
}
.auth-card > a:last-child {
    font-size: 12px;
}
.admin-body {
    background: #f6f8f6;
}
/* Navigasi panel pengelola pada layar desktop. */
.sidebar {
    width: 245px;
    background: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    border-right: 1px solid var(--line);
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
}
.sidebar .brand {
    font-size: 16px;
    margin-bottom: 45px;
}
.sidebar .brand small {
    font-size: 7px;
}
.sidebar nav a {
    display: block;
    font-size: 13px;
    padding: 12px 14px;
    border-radius: 7px;
    margin-bottom: 5px;
}
.sidebar nav a:hover,
.sidebar .selected {
    background: var(--mint);
    color: var(--green);
}
.sidebar-bottom {
    margin-top: auto;
    font-size: 12px;
    padding-top: 30px;
}
.sidebar-bottom form {
    margin-top: 14px;
}
.admin-main {
    margin-left: 245px;
    padding: 38px 45px;
    max-width: 1550px;
}
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}
.admin-header .eyebrow {
    margin-bottom: 10px;
}
.admin-header h1 {
    font-size: 33px;
    margin-bottom: 0;
}
.stats {
    margin: 30px 0 10px;
}
.stats strong {
    font-size: 38px;
    font-weight: 400;
}
.stats p {
    font-size: 12px;
}
.admin-shortcut {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--green);
}
.admin-shortcut strong {
    display: block;
    margin: 10px 0;
    font-size: 14px;
}
.text-button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--green);
    font-size: 12px;
    text-decoration: underline;
}
.danger {
    color: #a84838;
}
.tab-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 25px;
}
.tab-row a {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 12px;
    background: #fff;
}
.tab-row a.selected {
    background: var(--green);
    color: white;
    border-color: var(--green);
}
.table-wrap {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}
th,
td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
th {
    font-weight: 500;
    background: var(--mint);
}
td .actions {
    gap: 15px;
}
fieldset {
    border: 1px solid var(--line);
    border-radius: 7px;
    margin-bottom: 18px;
}
legend {
    font-size: 12px;
}
.day-checks {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.day-checks .check {
    margin: 10px 0;
}
.delete-row {
    margin-top: 18px;
}
.appointment .section-heading {
    margin-bottom: 12px;
}
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 23px;
}
.skip {
    position: fixed;
    left: 15px;
    top: -100px;
    background: white;
    padding: 12px;
    z-index: 99;
}
.skip:focus {
    top: 10px;
}
[hidden] {
    display: none !important;
}
:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}
.footer-partners {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 12px;
}
.footer-partners a {
    margin-right: 22px;
}
/* Tata letak tablet dan mobile: menu ringkas, kartu dan formulir satu kolom. */
/* Penyesuaian tata letak untuk layar yang lebih kecil. */
@media (max-width: 1050px) {
    .nav-wrap nav {
        gap: 16px;
    }
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero {
        gap: 25px;
    }
    .hero-visual,
    .hero-visual > img {
        min-height: 420px;
        height: 420px;
    }
    .hero h1 {
        font-size: 50px;
    }
    .grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .quick-links > a {
        padding: 22px 16px;
        gap: 12px;
    }
    .quick-links small {
        font-size: 9px;
    }
    .admin-main {
        padding: 28px 24px;
    }
    .sidebar {
        width: 210px;
    }
    .admin-main {
        margin-left: 210px;
    }
    .footer-grid {
        gap: 25px;
    }
}
/* Penyesuaian tata letak untuk layar yang lebih kecil. */
@media (max-width: 800px) {
    .menu-toggle {
        display: block;
    }
    .nav-wrap {
        height: 78px;
    }
    .nav-wrap nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 20px 24px;
        box-shadow: 0 15px 20px #143e3410;
    }
    .nav-wrap nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 32px;
    }
    .hero-copy {
        padding-top: 10px;
    }
    .hero-copy .lead {
        max-width: 580px;
    }
    .hero h1 {
        font-size: 54px;
    }
    .hero-visual {
        border-top-left-radius: 65px;
    }
    .hero-visual,
    .hero-visual > img {
        height: 400px;
        min-height: 400px;
    }
    .quick-links {
        grid-template-columns: 1fr;
    }
    .quick-links > a:first-child {
        border-radius: 10px 10px 0 0;
    }
    .quick-links > a:last-child {
        border-radius: 0 0 10px 10px;
    }
    .quick-links > a {
        padding: 20px 25px;
    }
    .quick-links small {
        font-size: 11px;
    }
    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 18px;
    }
    .grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid.three > *:last-child:nth-child(odd) {
        grid-column: auto;
    }
    .feature-banner {
        padding: 35px;
    }
    .feature-banner h2 {
        font-size: 34px;
    }
    .banner-art {
        right: -75px;
        opacity: 0.5;
    }
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
    }
    .registration-layout {
        grid-template-columns: 1fr;
    }
    .page-intro h1 {
        font-size: 44px;
    }
    .admin-body {
        display: block;
    }
    .sidebar {
        position: static;
        width: auto;
        padding: 20px 24px;
    }
    .sidebar .brand {
        margin-bottom: 18px;
    }
    .sidebar .eyebrow {
        display: none;
    }
    .sidebar nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    .sidebar nav a {
        font-size: 11px;
        padding: 8px 10px;
        margin: 0;
    }
    .sidebar-bottom {
        display: flex;
        gap: 20px;
        margin-top: 15px;
        padding: 0;
    }
    .sidebar-bottom form {
        margin: 0;
    }
    .admin-main {
        margin: 0;
        padding: 24px;
    }
    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .stats .panel {
        padding: 16px;
    }
    .admin-header h1 {
        font-size: 29px;
    }
    .compact-top {
        padding-top: 12px;
    }
}
/* Penyesuaian tata letak untuk layar yang lebih kecil. */
@media (max-width: 520px) {
    body {
        font-size: 14px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .topbar .container > span {
        font-size: 9px;
    }
    .topbar .container > a {
        display: none;
    }
    .brand {
        font-size: 17px;
    }
    .hero h1 {
        font-size: 45px;
    }
    .hero .eyebrow {
        font-size: 8px;
    }
    .hero .lead {
        font-size: 14px;
    }
    .hero .actions {
        gap: 18px;
    }
    .hero .button {
        padding: 14px 17px;
    }
    .hero-visual,
    .hero-visual > img {
        height: 340px;
        min-height: 340px;
    }
    .visual-label {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 14px;
        font-size: 10px;
    }
    .visual-label small {
        font-size: 9px;
    }
    .vertical-label {
        font-size: 7px;
    }
    .grid.three,
    .grid.four {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 24px;
    }
    .service-card p {
        min-height: 0;
    }
    .service-icon {
        margin-bottom: 16px;
    }
    .section-heading h2 {
        font-size: 29px;
    }
    .doctor-photo {
        height: 270px;
    }
    .feature-banner {
        padding: 30px 25px;
    }
    .feature-banner h2 {
        font-size: 30px;
    }
    .feature-banner p br {
        display: none;
    }
    .article-image {
        height: 220px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
    .footer-bottom {
        align-items: start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 85px;
    }
    .floating-actions {
        right: 14px;
        bottom: 14px;
    }
    .page-intro {
        padding-top: 40px;
        padding-bottom: 25px;
    }
    .page-intro h1 {
        font-size: 37px;
    }
    .page-intro .lead {
        font-size: 14px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .panel {
        padding: 22px;
    }
    .registration-layout {
        gap: 8px;
    }
    .auth-card {
        padding: 28px;
    }
    .auth-card h1 {
        font-size: 32px;
    }
    .admin-main {
        padding: 22px 16px;
    }
    .admin-header {
        align-items: start;
    }
    .admin-header .badge {
        display: none;
    }
    .admin-main .panel {
        padding: 20px;
    }
    .stats {
        gap: 8px;
    }
    .stats .panel {
        padding: 12px;
    }
    .stats strong {
        font-size: 29px;
    }
    .stats p {
        font-size: 10px;
        min-height: 34px;
    }
    .admin-header h1 {
        font-size: 28px;
    }
    .admin-main .grid.three {
        grid-template-columns: 1fr;
    }
    .day-checks {
        gap: 13px;
    }
    dialog {
        padding: 35px 25px;
    }
    dialog h2 {
        font-size: 29px;
    }
    .reference {
        font-size: 21px;
    }
}
/* Mengikuti pilihan pengguna yang ingin mengurangi gerakan animasi. */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.admin-logo-preview {
    width: 110px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: white;
}

/* Sampul informasi menampilkan foto asli dan jumlah galeri. */
.article-image {
    position: relative;
}

.information-no-photo {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 24px;
    color: #46745b;
    background: #edf4ee;
    font-size: 15px;
    letter-spacing: 0.04em;
}

.information-photo-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    border-radius: 6px;
    background: #ffffffed;
    color: var(--dark);
    font-size: 11px;
}

.information-video {
    display: block;
    width: 100%;
    max-width: 800px;
    max-height: 480px;
    margin: 20px 0;
    border-radius: 10px;
    background: #10271f;
}

/* Foto memenuhi banner; gradasi hijau menjaga keterbacaan tulisan. */
.registration-banner {
    min-height: 365px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: #164d44;
    background-position: center 45%;
}
.registration-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(10, 54, 45, 0.96) 0%,
        rgba(13, 61, 51, 0.88) 34%,
        rgba(14, 63, 52, 0.55) 58%,
        rgba(12, 49, 41, 0.12) 100%
    );
}
.registration-banner > div {
    max-width: 590px;
}
.registration-banner h2 {
    color: #fff;
}
.registration-banner p {
    color: #ecf5ef;
}
.registration-banner .eyebrow {
    color: #cee7d8;
}
@media (max-width: 1050px) {
    .registration-banner h2 {
        font-size: 30px;
    }
    .registration-banner p br {
        display: none;
    }
}
@media (max-width: 700px) {
    .registration-banner {
        min-height: 390px;
        background-position: 62% center;
    }
    .registration-banner::before {
        background: linear-gradient(
            90deg,
            rgba(10, 54, 45, 0.94),
            rgba(13, 61, 51, 0.74) 60%,
            rgba(12, 49, 41, 0.42)
        );
    }
}

/* Gerak ringan pada tautan cepat dan kartu layanan beranda. */
@media (prefers-reduced-motion: no-preference) {
    .quick-links > a,
    .home-services .service-card,
    .hero-intro-description .button {
        transition:
            transform 240ms ease,
            box-shadow 240ms ease,
            background-color 240ms ease,
            border-color 240ms ease;
    }
    .quick-links > a > span:last-child,
    .home-services .service-icon {
        transition: transform 260ms ease;
    }
    .quick-links > a:focus-visible,
    .home-services .service-card:focus-visible,
    .hero-intro-description .button:focus-visible {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px #164d441a;
    }
    @media (hover: hover) {
        .quick-links > a:hover {
            transform: translateY(-3px);
        }
        .quick-links > a:hover > span:last-child {
            transform: translate(3px, -3px);
        }
        .home-services .service-card:hover {
            transform: translateY(-7px);
            box-shadow: 0 16px 32px #164d4417;
        }
        .home-services .service-card:hover .service-icon {
            transform: translateY(-3px) scale(1.08);
        }
        .hero-intro-description .button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 24px #164d4424;
        }
    }
}

/* Ikon layanan tetap bergerak lembut setelah animasi masuk selesai. */
@media (prefers-reduced-motion: no-preference) {
    .home-services .service-icon {
        width: fit-content;
        position: relative;
        transform-origin: center;
        animation: service-icon-float 3.6s ease-in-out infinite;
    }
    .home-services .service-card:nth-child(2) .service-icon {
        animation-delay: -1.2s;
    }
    .home-services .service-card:nth-child(3) .service-icon {
        animation: service-icon-heartbeat 3.2s ease-in-out infinite;
    }
    .home-services .service-icon::before {
        content: '';
        position: absolute;
        width: 42px;
        height: 42px;
        top: 50%;
        left: 50%;
        border-radius: 50%;
        background: #1673660d;
        transform: translate(-50%, -50%);
        z-index: -1;
        pointer-events: none;
    }
    .home-services .service-card:hover .service-icon,
    .home-services .service-card:focus-visible .service-icon {
        animation-play-state: paused;
    }
}
@keyframes service-icon-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}
@keyframes service-icon-heartbeat {
    0%,
    40%,
    100% {
        transform: scale(1);
    }
    12%,
    28% {
        transform: scale(1.18);
    }
    20% {
        transform: scale(1.04);
    }
}

/* Lapisan foto bergerak terpisah agar teks dan gradasi tetap stabil. */
.registration-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('../branding/registration-online.avif');
    background-size: cover;
    background-position: inherit;
    background-repeat: no-repeat;
    transform-origin: 70% 45%;
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .registration-banner::after {
        animation: registration-photo-drift 6s ease-in-out infinite alternate;
    }
    .registration-banner .button {
        animation: registration-button-glow 3.6s ease-in-out infinite;
        transition: transform 240ms ease;
    }
    .registration-banner .button:hover,
    .registration-banner .button:focus-visible {
        transform: translateY(-3px);
        animation-play-state: paused;
    }
}
@keyframes registration-photo-drift {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.085);
    }
}
@keyframes registration-button-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 #c5f6d900;
    }
    50% {
        box-shadow:
            0 0 0 5px #c5f6d922,
            0 6px 24px #072f4533;
    }
}

/* Gerakan kartu informasi tidak mengubah posisi atau zoom foto sampul. */
@media (prefers-reduced-motion: no-preference) {
    .home-information .article-card {
        animation: information-card-float 4.8s ease-in-out infinite;
        transition:
            transform 240ms ease,
            box-shadow 240ms ease,
            border-color 240ms ease;
    }
    .home-information .article-card:nth-child(2) {
        animation-delay: -1.6s;
    }
    .home-information .article-card:nth-child(3) {
        animation-delay: -3.2s;
    }
    .home-information .article-card:focus-within {
        animation-play-state: paused;
        transform: translateY(-4px);
        border-color: var(--green);
        box-shadow: 0 14px 30px #164d441a;
    }
    @media (hover: hover) {
        .home-information .article-card:hover {
            animation-play-state: paused;
            transform: translateY(-4px);
            border-color: var(--green);
            box-shadow: 0 14px 30px #164d441a;
        }
    }
}
@keyframes information-card-float {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -6px;
    }
}

/* Semua kartu informasi memiliki respons hover dan fokus yang sama. */
.article-card {
    transition:
        box-shadow 240ms ease,
        border-color 240ms ease;
}
.article-card:focus-within {
    border-color: var(--green);
    box-shadow: 0 14px 32px #164d4420;
}
@media (hover: hover) {
    .article-card:hover {
        border-color: var(--green);
        box-shadow: 0 14px 32px #164d4420;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .article-card {
        transition:
            transform 240ms ease,
            box-shadow 240ms ease,
            border-color 240ms ease;
    }
    .article-card:focus-within {
        transform: translateY(-6px);
    }
    @media (hover: hover) {
        .article-card:hover {
            transform: translateY(-6px);
        }
    }
}

/* Pratinjau lokasi mengikuti lebar kolom footer pada semua ukuran layar. */
.footer-map {
    display: block;
    width: 100%;
    height: 190px;
    margin: 0 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--mint);
}

.career-introduction {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin: 0 0 32px;
    padding: 30px;
    border: 1px solid #d5e7de;
    border-left: 4px solid var(--green);
    border-radius: 16px;
    background: linear-gradient(110deg, #edf6f0, #f9fcfa);
}
.career-notice-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: #dceee3;
    color: var(--green);
}
.career-notice-icon svg {
    width: 30px;
    height: 30px;
}
.career-introduction .career-notice-label {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}
.career-introduction h2 {
    margin-bottom: 10px;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.3;
}
.career-introduction p {
    margin: 0;
    max-width: 760px;
}
@media (max-width: 600px) {
    .career-introduction {
        padding: 22px;
        gap: 16px;
        flex-direction: column;
    }
}

.floating-register {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    font-weight: 600;
}
.floating-register:hover,
.floating-register:focus-visible {
    background: var(--dark);
    border-color: var(--dark);
}
