:root { --sumi:#2B2B28; --washi:#FAF8F4; --stone:#DCD6C9; --accent:#6B7A5E; }
* { box-sizing:border-box; margin:0; padding:0; }
body { background:var(--washi); color:var(--sumi); font-family:"Helvetica Neue",Arial,"Hiragino Sans",sans-serif; line-height:1.7; }
h1,h2,h3 { font-weight:300; letter-spacing:0.02em; }
a { color:inherit; text-decoration:none; }
.container { max-width:1000px; margin:0 auto; padding:0 24px; }
.site-header { position:sticky; top:0; z-index:40; background:var(--washi); border-bottom:1px solid rgba(43,43,40,0.1); }
.site-header nav { max-width:1000px; margin:0 auto; padding:16px 24px; display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:12px; font-size:13px; letter-spacing:0.1em; }
.brand img { height:40px; width:40px; object-fit:contain; border-radius:50%; }
.nav-links { display:flex; gap:24px; list-style:none; flex-wrap:wrap; }
.nav-links a { font-size:12px; letter-spacing:0.05em; color:rgba(43,43,40,0.7); }
.nav-links a:hover { color:var(--sumi); }
.lang-switch { display:flex; gap:12px; padding-left:24px; border-left:1px solid rgba(43,43,40,0.1); }
.lang-switch a { font-size:12px; color:rgba(43,43,40,0.4); }
.lang-switch a.active { color:var(--sumi); font-weight:600; }
.menu-toggle { display:none; background:none; border:none; cursor:pointer; }
@media (max-width:900px) { .nav-links, .lang-switch { display:none; } .menu-toggle { display:block; } }
.hero { display:grid; gap:60px; align-items:center; padding:80px 24px 96px; max-width:1000px; margin:0 auto; }
@media (min-width:768px) { .hero { grid-template-columns:1fr 1fr; } }
.hero h1 { font-size:34px; line-height:1.4; }
.hero p { margin-top:24px; max-width:420px; font-size:14px; color:rgba(43,43,40,0.7); }
.hero img { width:100%; aspect-ratio:4/5; object-fit:cover; filter:grayscale(10%); border-radius:4px; }
.section { max-width:1000px; margin:0 auto; padding:96px 24px; border-top:1px solid rgba(43,43,40,0.1); }
.section-title { font-size:12px; font-weight:600; letter-spacing:0.15em; color:rgba(43,43,40,0.5); margin-bottom:56px; text-transform:uppercase; }
.points-grid { display:grid; gap:40px 48px; }
@media (min-width:640px) { .points-grid { grid-template-columns:1fr 1fr; } }
.point-item { display:flex; gap:16px; align-items:baseline; border-bottom:1px solid rgba(43,43,40,0.1); padding-bottom:24px; }
.point-item span.idx { font-size:12px; color:var(--accent); }
.two-col { display:grid; gap:48px; }
@media (min-width:640px) { .two-col { grid-template-columns:1fr 1fr; } }
.step-item { display:flex; gap:24px; padding:32px 0; border-top:1px solid rgba(43,43,40,0.1); }
.step-item:first-child { border-top:none; padding-top:0; }
.step-item span.idx { font-size:12px; color:var(--accent); }
.step-item h2 { font-size:14px; font-weight:500; margin-bottom:4px; }
.step-item p { font-size:14px; color:rgba(43,43,40,0.7); }
table.schedule-table { width:100%; border-collapse:collapse; font-size:14px; }
table.schedule-table th { text-align:left; font-size:11px; letter-spacing:0.05em; color:rgba(43,43,40,0.5); border-bottom:1px solid rgba(43,43,40,0.1); padding-bottom:12px; }
table.schedule-table td { padding:14px 0; border-bottom:1px solid rgba(43,43,40,0.1); }
.article-item { display:grid; gap:24px; padding:40px 0; border-top:1px solid rgba(43,43,40,0.1); }
.article-item:first-child { border-top:none; }
@media (min-width:640px) { .article-item { grid-template-columns:1fr 2fr; } }
.article-item img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.article-item h2 { font-size:14px; font-weight:500; margin-bottom:8px; }
.article-item p { font-size:14px; color:rgba(43,43,40,0.7); margin-bottom:12px; }
.read-more { font-size:12px; font-weight:600; letter-spacing:0.05em; color:var(--accent); }
.testimonial-card { border-top:1px solid rgba(43,43,40,0.1); padding:32px 0; }
.testimonial-card:first-child { border-top:none; }
.testimonial-stars { color:var(--accent); font-size:14px; margin-bottom:8px; }
.testimonial-name { font-size:13px; font-weight:600; margin-top:12px; }
.testimonial-nat { font-size:12px; color:rgba(43,43,40,0.5); }
.alert-success { background:#EEF3EA; border:1px solid var(--accent); color:var(--accent); padding:16px; font-size:13px; margin-bottom:24px; }
.form-field { margin-bottom:20px; }
.form-field label { display:block; font-size:12px; font-weight:500; color:rgba(43,43,40,0.6); margin-bottom:6px; }
.form-field input, .form-field select, .form-field textarea { width:100%; border:none; border-bottom:1px solid rgba(43,43,40,0.2); background:transparent; padding:8px 0; font-size:14px; color:var(--sumi); font-family:inherit; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline:none; border-color:var(--accent); }
.form-field input[type=file] { border:1px dashed rgba(43,43,40,0.3); padding:12px; }
.btn-primary { display:inline-block; background:var(--sumi); color:var(--washi); border:none; padding:14px 28px; font-size:12px; font-weight:600; letter-spacing:0.08em; cursor:pointer; transition:background 0.2s ease; }
.btn-primary:hover { background:var(--accent); animation:bounce-hover 0.4s ease; }
.btn-link-danger { color:#c0392b; font-size:12px; font-weight:600; background:none; border:none; cursor:pointer; }
.btn-link-accent { color:var(--accent); font-size:12px; font-weight:600; background:none; border:none; cursor:pointer; }
.gallery-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
@media (min-width:640px) { .gallery-grid { grid-template-columns:repeat(3,1fr); } }
.gallery-grid figure img { width:100%; aspect-ratio:1/1; object-fit:cover; transition:transform 0.3s ease; border-radius:4px; }
.gallery-grid figure:hover img { transform:scale(1.03); }
.gallery-grid figcaption { font-size:11px; color:rgba(43,43,40,0.5); margin-top:6px; }
.site-footer { border-top:1px solid rgba(43,43,40,0.1); margin-top:120px; }
.footer-grid { display:grid; gap:40px; max-width:1000px; margin:0 auto; padding:64px 24px; }
@media (min-width:640px) { .footer-grid { grid-template-columns:repeat(3,1fr); } }
.footer-grid h3 { font-size:11px; letter-spacing:0.08em; color:rgba(43,43,40,0.5); margin-bottom:12px; text-transform:uppercase; }
.footer-grid p { font-size:13px; color:rgba(43,43,40,0.75); }
.footer-bottom { text-align:center; font-size:11px; letter-spacing:0.05em; color:rgba(43,43,40,0.4); padding:24px 0; border-top:1px solid rgba(43,43,40,0.1); }
.floating-wa { position:fixed; bottom:24px; right:24px; z-index:50; display:flex; align-items:center; gap:8px; background:rgba(250,248,244,0.95); border:1px solid rgba(43,43,40,0.15); border-radius:999px; padding:10px 16px; font-size:12px; font-weight:500; animation:bounce-in 0.8s ease 0.5s both; }
.floating-wa:hover { border-color:var(--accent); color:var(--accent); }
.floating-wa svg { width:20px; height:20px; }
@keyframes bounce-in { 0%{transform:translateY(40px) scale(0.8); opacity:0;} 60%{transform:translateY(-8px) scale(1.05); opacity:1;} 80%{transform:translateY(4px) scale(0.98);} 100%{transform:translateY(0) scale(1);} }
@keyframes bounce-hover { 0%{transform:scale(1);} 40%{transform:scale(1.08);} 70%{transform:scale(0.97);} 100%{transform:scale(1);} }
.admin-wrap { display:flex; min-height:100vh; }
.admin-sidebar { width:220px; flex-shrink:0; border-right:1px solid rgba(43,43,40,0.1); padding:24px; }
.admin-sidebar h2 { font-size:12px; letter-spacing:0.05em; color:rgba(43,43,40,0.5); margin-bottom:32px; }
.admin-sidebar nav { display:flex; flex-direction:column; gap:12px; font-size:13px; }
.admin-main { flex:1; padding:32px; max-width:900px; }
.admin-table { width:100%; border-collapse:collapse; font-size:13px; }
.admin-table th { text-align:left; font-size:11px; color:rgba(43,43,40,0.5); border-bottom:1px solid rgba(43,43,40,0.1); padding-bottom:10px; }
.admin-table td { padding:12px 8px 12px 0; border-bottom:1px solid rgba(43,43,40,0.1); }
.badge { font-size:10px; padding:2px 8px; border-radius:999px; }
.badge-pending { background:#FCEFD4; color:#946200; }
.badge-approved { background:#E4EEDF; color:#3E5C36; }
.badge-rejected { background:#F6DADA; color:#933; }
.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(43,43,40,0.1); border-bottom:1px solid rgba(43,43,40,0.1); }
.stat-grid > div { padding:24px; border-left:1px solid rgba(43,43,40,0.1); }
.stat-grid > div:first-child { border-left:none; }
.stat-grid .num { font-size:28px; font-weight:300; margin-top:8px; }

/* ==============================================================
   JADWAL DOKTER: GRID 3 KOLOM + FOTO ELIPS
   ============================================================== */

.doctor-schedule-page {
    max-width: 1080px;
}

.schedule-heading {
    max-width: 600px;
    margin-bottom: 42px;
}

.schedule-heading .section-title {
    margin-bottom: 14px;
}

.schedule-heading p,
.schedule-empty {
    color: rgba(43, 43, 40, 0.62);
    font-size: 13px;
    line-height: 1.8;
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px 28px;
}

/* Tablet: 2 kartu per baris */
@media (min-width: 600px) {
    .doctor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop: 3 kartu per baris */
@media (min-width: 960px) {
    .doctor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.doctor-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    text-align: center;
    transition: transform 0.25s ease;
}

.doctor-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
}

.doctor-photo-wrap {
    position: relative;
    width: 150px;
    height: 190px;
    overflow: hidden;
    border: 1px solid rgba(43, 43, 40, 0.12);
    border-radius: 50% / 42%;
    background: #e9e6de;
}

/* Tidak memakai gradient gelap agar wajah dokter tetap bersih */
.doctor-photo-wrap::after {
    display: none;
}

.doctor-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.9);
}

.doctor-photo-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        145deg,
        rgba(107, 122, 94, 0.18),
        rgba(220, 214, 201, 0.85)
    );
}

.doctor-photo-placeholder span {
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(43, 43, 40, 0.35);
    border-radius: 50%;
    color: #2B2B28;
    font-size: 23px;
    font-weight: 300;
}

.doctor-card-content {
    display: flex;
    width: 100%;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 18px 8px 0;
}

.doctor-specialty {
    margin-bottom: 6px;
    color: #6B7A5E;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    line-height: 1.45;
    text-transform: uppercase;
}

.doctor-card h2 {
    margin: 0 0 16px;
    color: #2B2B28;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.doctor-schedule-line {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 3px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(43, 43, 40, 0.12);
    color: rgba(43, 43, 40, 0.76);
    font-size: 12px;
    line-height: 1.45;
}

.doctor-schedule-line span:last-child {
    color: #6B7A5E;
    font-weight: 600;
}

.doctor-notes {
    margin-top: 9px;
    color: rgba(43, 43, 40, 0.56);
    font-size: 11px;
    line-height: 1.55;
}

/* HP: tetap 1 kolom dengan foto elips lebih kecil */
@media (max-width: 599px) {
    .doctor-grid {
        gap: 36px;
    }

    .doctor-photo-wrap {
        width: 128px;
        height: 162px;
    }
}

/* ==============================================================
   EMERGENCY CALLOUT
   Dipakai hanya untuk informasi kondisi gawat darurat
   ============================================================== */

.emergency-callout {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    margin-top: 64px;
    padding: 28px;
    background: #FFF1C7;
    border: 1px solid #C98700;
    border-left: 5px solid #B42318;
    border-radius: 4px;
    color: #3B2F12;
}

.emergency-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #B42318;
    color: #FFFFFF;
}

.emergency-icon svg {
    width: 25px;
    height: 25px;
}

.emergency-label {
    margin: 0 0 7px;
    color: #8A1C13;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.emergency-content h2 {
    margin: 0 0 8px;
    color: #65140F;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.emergency-content > p:not(.emergency-label) {
    margin: 0;
    color: #3B2F12;
    font-size: 14px;
    line-height: 1.75;
}

.emergency-link {
    display: inline-block;
    margin-top: 18px;
    color: #65140F;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.emergency-link:hover {
    color: #B42318;
}

/* Tampilan HP */
@media (max-width: 560px) {
    .emergency-callout {
        grid-template-columns: 42px 1fr;
        gap: 13px;
        margin-top: 48px;
        padding: 20px;
    }

    .emergency-icon {
        width: 36px;
        height: 36px;
    }

    .emergency-icon svg {
        width: 20px;
        height: 20px;
    }

    .emergency-content h2 {
        font-size: 15px;
    }
}

/* ==============================================================
   ARTIKEL KESEHATAN DI BERANDA
   Grid 3 kolom, kartu kotak, dan garis/border kuat.
   Tambahkan blok ini di bagian PALING BAWAH:
   public/assets/css/style.css
   ============================================================== */

.home-articles {
    max-width: 1100px;
}

.home-articles-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 42px;
}

.home-articles-header .section-title {
    margin-bottom: 0;
}

.all-articles-link {
    color: #6B7A5E;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.all-articles-link:hover {
    color: #2B2B28;
}

.article-empty {
    color: rgba(43, 43, 40, 0.62);
    font-size: 13px;
}

.home-article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 650px) {
    .home-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .home-article-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-article-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.home-article-card:hover {
    background: transparent;
    transform: translateY(-3px);
    opacity: 0.86;
}

.home-article-image {
    display: block;
    width: 100%;
    height: 165px;
    border: none;
    object-fit: cover;
}

.home-article-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 18px;
}

.home-article-date {
    margin: 0 0 10px;
    color: #6B7A5E;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-article-card h3 {
    margin: 0 0 12px;
    color: #2B2B28;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
}

.home-article-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: rgba(43, 43, 40, 0.7);
    font-size: 13px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-article-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 20px;
    color: #2B2B28;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-article-link:hover {
    color: #6B7A5E;
}

@media (max-width: 649px) {
    .home-articles-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .home-article-card {
        min-height: 0;
    }
}

/* ==============================================================
   MENGAPA MEMILIH KAMI
   Japanese minimalism: tanpa frame kotak, garis bawah halus
   ============================================================== */

.why-section {
    max-width: 1100px;
}

.why-header {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.2fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 50px;
}

.why-header .section-title {
    margin-bottom: 0;
}

.why-header > p {
    max-width: 530px;
    color: rgba(43, 43, 40, 0.65);
    font-size: 14px;
    line-height: 1.8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    row-gap: 0;
}

.why-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    min-height: 190px;
    padding: 26px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(43, 43, 40, 0.14);
    border-radius: 0;
    transition: opacity 0.25s ease;
}

/* Garis atas hanya untuk dua item awal agar tata letak terlihat rapi */
.why-card:nth-child(-n + 2) {
    border-top: 1px solid rgba(43, 43, 40, 0.14);
}

.why-card:hover {
    background: transparent;
    border-color: rgba(107, 122, 94, 0.65);
    transform: none;
    opacity: 0.82;
}

.why-image-wrap {
    width: 116px;
    height: 142px;
    overflow: hidden;
    border: 1px solid rgba(43, 43, 40, 0.16);
    border-radius: 50% / 42%;
    background: #DCD6C9;
}

.why-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.88);
    transition: transform 0.35s ease;
}

.why-card:hover .why-image {
    transform: scale(1.035);
}

.why-content {
    min-width: 0;
}

.why-label {
    margin: 0 0 7px;
    color: #6B7A5E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.why-content h3 {
    margin: 0 0 10px;
    color: #2B2B28;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.35;
}

.why-content > p:last-child {
    margin: 0;
    color: rgba(43, 43, 40, 0.68);
    font-size: 13px;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 850px) {
    .why-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .why-card:nth-child(-n + 2) {
        border-top: none;
    }

    .why-card:first-child {
        border-top: 1px solid rgba(43, 43, 40, 0.14);
    }
}

/* HP */
@media (max-width: 560px) {
    .why-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 16px;
        min-height: 0;
        padding: 22px 0;
    }

    .why-image-wrap {
        width: 92px;
        height: 116px;
    }

    .why-content h3 {
        font-size: 17px;
    }

    .why-content > p:last-child {
        font-size: 12px;
    }
}
/* Judul besar khusus section Mengapa Memilih Kami */
.why-header .section-title {
    color: #2B2B28;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: none;
}

/* ==============================================================
   PENYESUAIAN UKURAN FONT
   Agar informasi klinik lebih mudah dibaca dan lebih aksesibel
   ============================================================== */

body {
    font-size: 16px;
    line-height: 1.7;
}

/* Navigasi */
.nav-links a,
.lang-switch a {
    font-size: 14px;
}

/* Teks paragraf umum */
.hero p,
.schedule-heading p,
.why-header > p,
.why-content > p:last-child,
.step-item p,
.home-article-excerpt,
.emergency-content > p:not(.emergency-label),
.footer-grid p {
    font-size: 16px;
}

/* Isi artikel kesehatan */
.article-item p,
article div[style*="line-height:1.9"] {
    font-size: 17px !important;
    line-height: 1.85 !important;
}

/* Label kecil yang tetap perlu terbaca */
.section-title,
.why-label,
.doctor-specialty,
.home-article-date,
.emergency-label,
.footer-grid h3 {
    font-size: 12px;
}

/* Judul kartu */
.why-content h3 {
    font-size: 22px;
}

.home-article-card h3 {
    font-size: 20px;
}

.doctor-card h2 {
    font-size: 18px;
}

/* Judul hero */
.hero h1 {
    font-size: clamp(36px, 4.5vw, 52px);
}

/* Halaman HP */
@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .nav-links a,
    .lang-switch a {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p,
    .schedule-heading p,
    .why-header > p,
    .why-content > p:last-child,
    .step-item p,
    .home-article-excerpt,
    .emergency-content > p:not(.emergency-label),
    .footer-grid p {
        font-size: 15px;
    }

    .why-content h3,
    .home-article-card h3 {
        font-size: 18px;
    }

    .doctor-card h2 {
        font-size: 17px;
    }
}

/* ==============================================================
   LAYANAN DI BERANDA
   Satu foto kiri, dua caption layanan kanan
   ============================================================== */

.home-services {
    max-width: 1100px;
}

.home-services-heading .section-title {
    margin-bottom: 42px;
}

.services-feature-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
    align-items: start;
    gap: clamp(40px, 7vw, 100px);
}

.services-feature-image {
    margin: 0;
    overflow: hidden;
}

.services-feature-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9);
    transition: transform 0.4s ease;
}

.services-feature-image:hover img {
    transform: scale(1.025);
}

.services-feature-captions {
    display: flex;
    flex-direction: column;
}

.service-caption {
    padding: 0 0 42px;
    margin: 0 0 42px;
    border-bottom: 1px solid rgba(43, 43, 40, 0.15);
}

.service-caption:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.service-feature-label {
    margin: 0 0 12px;
    color: #6B7A5E;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.service-caption h3 {
    margin: 0 0 16px;
    color: #2B2B28;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.28;
}

.service-caption > p:last-child {
    margin: 0;
    color: rgba(43, 43, 40, 0.72);
    font-size: 16px;
    line-height: 1.85;
}

/* Tablet dan HP */
@media (max-width: 720px) {
    .services-feature-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-feature-image img {
        aspect-ratio: 16 / 10;
    }

    .service-caption {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .service-caption h3 {
        font-size: 26px;
    }

    .service-caption > p:last-child {
        font-size: 15px;
    }
}

/* ==============================================================
   PERBAIKAN JARAK ANTARA KONTEN DAN FOOTER
   Menghilangkan ruang kosong berlebih sebelum footer.
   Tambahkan di bagian paling bawah style.css
   ============================================================== */

/* Pastikan section terakhir tidak punya margin bawah besar */
.home-services {
    padding-bottom: 32px;
}

/* Jika ada section lain yang menjadi konten terakhir, pastikan jaraknya proporsional */
main > section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 32px;
}

/* Perkecil padding bawah footer agar tidak terlalu renggang */
.site-footer {
    padding-top: 32px;
}

/* Perbaiki jarak internal footer */
.footer-grid {
    margin-bottom: 20px;
}

.footer-bottom {
    padding-top: 20px;
}

/* Perbaiki tampilan HP */
@media (max-width: 720px) {
    .home-services {
        padding-bottom: 24px;
    }

    main > section:last-of-type {
        padding-bottom: 24px;
    }

    .site-footer {
        padding-top: 24px;
    }
}

/* ==============================================================
   TEMA BARU GENKI CLINIC
   Warna aksen: #2eb86d
   Gaya: minimalis, bersih, mirip RisetMu
   Tambahkan seluruh blok ini di PALING BAWAH style.css
   ============================================================== */

/* -------------------------
   VARIABEL WARNA
   ------------------------- */
:root {
    --genki-primary: #2eb86d;
    --genki-primary-dark: #249a5a;
    --genki-text: #1f2937;
    --genki-text-light: #4b5563;
    --genki-bg: #ffffff;
    --genki-bg-alt: #f9fafb;
    --genki-border: #e5e7eb;
}

/* -------------------------
   HEADER / NAVIGASI
   ------------------------- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--genki-border);
}

.site-header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--genki-text);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.brand img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--genki-text-light);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--genki-primary);
}

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch a {
    text-decoration: none;
    color: var(--genki-text-light);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch a.active,
.lang-switch a:hover {
    background: var(--genki-primary);
    color: #ffffff;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        color: var(--genki-text);
    }
}

/* -------------------------
   HERO SECTION
   ------------------------- */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) 24px 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: clamp(32px, 6vw, 64px);
}

.hero h1 {
    color: var(--genki-text);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.hero p {
    color: var(--genki-text-light);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    max-width: 520px;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }

    .hero img {
        order: -1;
    }
}

/* -------------------------
   SECTION UMUM
   ------------------------- */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) 24px;
}

.section-title {
    color: var(--genki-text);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

/* -------------------------
   MENGAPA MEMILIH KAMI
   ------------------------- */
.why-section {
    background: var(--genki-bg-alt);
}

.why-header {
    margin-bottom: 40px;
}

.why-header p {
    color: var(--genki-text-light);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Kartu: tambahkan text-align agar konten terpusat */
.why-card {
    background: #ffffff;
    border: 1px solid var(--genki-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}

/* Area gambar: buat ruang untuk lingkaran */
.why-image-wrap {
    /* Hapus aspect-ratio agar tidak memaksa elips */
    aspect-ratio: auto;
    overflow: visible;
    background: #f3f4f6;
    padding: 28px 24px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gambar bulat sempurna */
.why-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--genki-border);
    background: #ffffff;
    transition: transform 0.35s ease;
}

.why-card:hover .why-image {
    transform: scale(1.05);
}

/* Konten: teks tetap di tengah, tidak terlalu lebar */
.why-content {
    padding: 20 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.why-content h3 {
    color: var(--genki-text);
    font-size: 20px;
    font-weight: 700;
    margin: 14px 0 10px;
    line-height: 1.25;
    max-width: 90%;
}

.why-content > p {
    color: var(--genki-text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 90%;
}

@media (max-width: 760px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Di HP, lingkaran sedikit lebih kecil */
    .why-image {
        width: 140px;
        height: 140px;
    }

    .why-content h3 {
        font-size: 19px;
    }

    .why-content > p {
        font-size: 14px;
    }
}


/* -------------------------
   ARTIKEL KESEHATAN
   ------------------------- */
.home-articles {
    background: #ffffff;
}

.home-articles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.home-articles-header .section-title {
    margin: 0;
}

.all-articles-link {
    text-decoration: none;
    color: var(--genki-primary);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.all-articles-link:hover {
    color: var(--genki-primary-dark);
}

.home-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-article-card {
    background: #ffffff;
    border: 1px solid var(--genki-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.home-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}

.home-article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f3f4f6;
}

.home-article-content {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.home-article-date {
    color: var(--genki-text-light);
    font-size: 13px;
    margin: 0;
}

.home-article-content h3 {
    color: var(--genki-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.home-article-excerpt {
    color: var(--genki-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-article-link {
    text-decoration: none;
    color: var(--genki-primary);
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    transition: color 0.2s ease;
}

.home-article-link:hover {
    color: var(--genki-primary-dark);
}

@media (max-width: 900px) {
    .home-article-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------
   LAYANAN DI BERANDA
   ------------------------- */
.home-services {
    background: var(--genki-bg-alt);
}

.home-services-heading .section-title {
    margin-bottom: 32px;
}

.services-feature-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
    align-items: start;
    gap: clamp(40px, 7vw, 100px);
}

.services-feature-image {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.services-feature-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95);
    transition: transform 0.4s ease;
}

.services-feature-image:hover img {
    transform: scale(1.025);
}

.services-feature-captions {
    display: flex;
    flex-direction: column;
}

.service-caption {
    padding: 0 0 42px;
    margin: 0 0 42px;
    border-bottom: 1px solid var(--genki-border);
}

.service-caption:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.service-feature-label {
    margin: 0 0 10px;
    color: var(--genki-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-caption h3 {
    color: var(--genki-text);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 14px;
}

.service-caption > p:last-child {
    margin: 0;
    color: var(--genki-text-light);
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 760px) {
    .services-feature-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-feature-image img {
        aspect-ratio: 16 / 10;
    }
}

/* -------------------------
   FOOTER
   ------------------------- */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--genki-border);
    padding: 40px 24px 24px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 24px;
}

.footer-grid h3 {
    color: var(--genki-text);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.footer-grid p {
    color: var(--genki-text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--genki-border);
    color: var(--genki-text-light);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* -------------------------
   FLOATING WA
   ------------------------- */
.floating-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.floating-wa svg {
    width: 22px;
    height: 22px;
    display: block;
}

.floating-wa span {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 560px) {
    .floating-wa span {
        display: none;
    }
}