:root {
    --green-dark: #003f39;
    --green-main: #0f5a52;
    --gold: #c59639;
    --text-dark: #233746;
    --text-soft: #415566;
    --white: #ffffff;
    --border: #e2e5e8;
    --bg-page: #f3f3f3;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 7%;
    background: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 70px;
}

.logo-nav img {
    height: 180px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-konsultasi {
    background: #0F3D3A;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-konsultasi:hover {
    background: #0F3D3A;
    transform: translateY(-2px);
}

.hero-perawatan {
    background-image: linear-gradient(rgba(7, 46, 39, 0.75), rgba(7, 46, 39, 0.75)), url('Img/interior amartha.jpeg');
    background-size: cover;
    background-position: center;
    height: 382px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    color: #fff;
}

.btn-back {
    position: absolute;
    top: 98px;
    left: 26px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.btn-back:hover {
    background: var(--green-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-back::before {
    content: '←';
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding-top: 30px;
}

.hero-content h1 {
    font-family: 'Madimi One', sans-serif;
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

.container {
    width: min(1490px, calc(100% - 54px));
    margin: 44px auto 60px;
}

.main-layout {
    display: grid;
    grid-template-columns: 325px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.card {
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.card-sidebar {
    padding: 34px 28px 30px;
}

.card-sidebar h3 {
     font-family: 'Marko One', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
     color: #0F3D3A;
    margin-bottom: 24px;
    font-weight: 700;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    background: #f1f2f3;
    border-radius: 18px;
    transition: background 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    cursor: pointer;
}
.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 16px 24px;
    text-decoration: none;
    color: #1f2b38;
    font-family: 'Marko One', sans-serif;
    font-size: 18px;
    font-weight: 100;
}

.category-name {
    font-family: 'Marko One', serif;
    font-size: 15px;
    line-height: 1.35;
}

.category-item:hover {
    background: #e8eded;
    transform: translateY(-1px);
}

.category-item.active {
    background: var(--green-dark);
}

.category-item.active a {
    color: #ffffff;
}

.arrow {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.content {
    min-width: 0;
}

.mobile-category {
    display: none;
    margin-bottom: 18px;
}

.mobile-category label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #173634;
}

.mobile-category select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    outline: none;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
}

.card-treatment {
    padding: 34px 38px 42px;
    min-height: 620px;
}

.treatment-title {
    font-family: 'Marko One', serif;
    font-size: 33px;
    color: #062f2c;
    margin-bottom: 20px;
    line-height: 1.25;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.content-anim {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.content-anim.is-switching {
    opacity: 0.45;
    transform: translateY(6px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeSlideIn 0.28s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-group + .service-group {
    margin-top: 22px;
}

.service-group-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.treatment-list {
    list-style: none;
}

.treatment-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.treatment-list li span {
    position: relative;
    padding-left: 22px;
    color: #314a5d;
    font-size: 17px;
    font-weight: 400;
}

.treatment-list li span::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
}

.treatment-list li strong {
    color: #062f2c;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.empty-state {
    padding: 24px 0;
    color: #6b7280;
    font-size: 16px;
}

.sect-footer-wrapper {
    background-color: #0F3D3A;
    padding-top: 20px;
    margin-top: 80px;
}

.footer-gold-layer {
    background-color: #cca457;
    border-radius: 50px 50px 0 0;
    padding: 70px 6% 30px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

.logo-box {
    background: #fff;
    width: 220px;
    height: 220px;
    padding: 15px;
    border-radius: 40px;
    border: 3px solid #0F3D3A;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.logo-box img {
    width: 100%;
    height: 100%;
    display: block;
    transform: scale(1.8);
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    border-color: #cca457;
}

.logo-box:hover img {
    transform: scale(2.1);
}

.brand-desc {
    color: #0F3D3A;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.social-buttons-box {
    display: flex;
    gap: 15px;
}

.soc-btn {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.soc-btn:hover {
    background-color: #fff;
    transform: translateY(-3px);
}

.soc-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.col-title {
    font-size: 20px;
    color: #0F3D3A;
    font-weight: 700;
    margin-bottom: 30px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.footer-list a:hover {
    color: #0F3D3A;
    padding-left: 5px;
}

.footer-list img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-copyright {
    border-top: 1px solid rgba(7, 46, 39, 0.2);
    padding-top: 25px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    clear: both;
}

.footer-copyright p {
    color: #0F3D3A;
    font-size: 14px;
    opacity: 0.8;
}

.admin-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.admin-link:hover {
    opacity: 0.8;
    cursor: pointer;
}

.nav-konsultasi-mobile,
.menu-toggle {
    display: none;
}

@media (max-width: 1100px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .mobile-category {
        display: block;
    }

    .card-treatment {
        min-height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 14px 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 20px 18px;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .desktop-konsultasi {
        display: none;
    }

    .nav-konsultasi-mobile,
    .menu-toggle {
        display: block;
    }

    .hero-perawatan {
        min-height: 280px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .btn-back {
        top: 18px;
        left: 18px;
        padding: 8px 14px;
        font-size: 14px;
    }

    .container {
        width: min(100% - 24px, 1280px);
        margin: 24px auto 40px;
    }

    .card-treatment {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .treatment-title {
        font-size: 28px;
        padding-bottom: 16px;
        margin-bottom: 12px;
    }

    .service-group-title {
        font-size: 16px;
    }

    .treatment-list li {
        padding: 16px 0;
        font-size: 15px;
        gap: 16px;
        align-items: flex-start;
    }

    .treatment-list li span {
        padding-left: 18px;
        font-size: 15px;
    }

    .treatment-list li strong {
        font-size: 15px;
        text-align: right;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-gold-layer {
        border-radius: 28px 28px 0 0;
        padding: 40px 18px 20px;
    }
}



