/* ============================================
   G KOSMETIK - MAIN.MIN.CSS
   Gabungan style.css + slider.css + responsive.css + kontak.css
   Versi: 1.2 (2026-08-15)
   ============================================ */

/* ============================================
   FONT-FACE - SELF-HOSTED
   ============================================ */

/* Poppins Regular (400) */
@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Poppins SemiBold (600) */
@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Playfair Display Bold (700) */
@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/playfair-display-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   STYLE UTAMA (dari style.css)
   ============================================ */

/* ----- RESET & VARIABEL ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F8BBD0;
    --primary-dark: #E91E63;
    --primary-light: #FCE4EC;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #666666;
    --dark: #333333;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --transition: 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img,
video,
iframe,
.section,
.hero__video-wrapper {
    max-width: 100%;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ----- TOMBOL ----- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn--primary {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}
.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.btn--large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* ----- SECTION ----- */
.section {
    padding: 80px 0;
}
.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
}
.section__subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ----- HEADER / NAVIGASI ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo img {
    filter: drop-shadow(0 0 8px rgba(248, 187, 208, 0.8));
    height: 40px;
    width: auto;
}

/* ----- NAVIGASI DESKTOP ----- */
.nav__list {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
    transition: var(--transition);
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: var(--transition);
}
.nav__link:hover::after,
.nav__link:focus-visible::after {
    width: 100%;
}
.nav__link:hover {
    color: var(--primary-dark);
}

/* ----- HAMBURGER (Mobile) ----- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger__bar {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}
.hamburger.active .hamburger__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active .hamburger__bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ----- TOMBOL CLOSE DI MENU MOBILE ----- */
.nav__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--dark);
    transition: var(--transition);
    z-index: 1001;
    display: none;
}
.nav__close:hover {
    transform: rotate(90deg);
    color: var(--primary-dark);
}

/* ----- HERO ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero__video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}
.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}
.hero__content .btn {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.hero__content .btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ----- TENTANG (VERTIKAL) ----- */
.tentang {
    background: var(--gray-light);
}
.tentang__teks {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}
.tentang__teks p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
}
.tentang__keunggulan-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.keunggulan-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark);
    margin: 0 0 16px 0;
    text-align: center;
}
.tentang__keunggulan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 90%;
    margin: 0 auto;
    overflow: hidden;
}
.keunggulan-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    max-width: 100%;
    word-wrap: break-word;
    overflow: hidden;
}
.keunggulan-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.keunggulan-item img {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    filter: invert(27%) sepia(51%) saturate(1000%) hue-rotate(316deg) brightness(100%);
}
.keunggulan-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.keunggulan-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ----- PRODUK (Slider) ----- */
.produk {
    background: var(--white);
}
.produk__slider {
    position: relative;
    overflow: hidden;
}
.slider__container {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}
.produk-item {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding: 16px;
}
.produk-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.produk-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
}
.produk-item .badge {
    display: inline-block;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 8px 0;
}
.produk-item h4 {
    font-size: 1rem;
    margin: 8px 0 4px;
}
.produk-item .harga {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.produk-item .btn {
    font-size: 0.85rem;
    padding: 8px 20px;
}

/* ----- TESTIMONI ----- */
.testimoni {
    background: var(--primary-light);
}
.testimoni__slider {
    padding: 0 10px;
    overflow: hidden;
}
.testimoni-item {
    flex: 0 0 95%;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.testimoni-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}
.testimoni-item blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 16px;
}
.testimoni-item cite {
    font-weight: 600;
    color: var(--dark);
}

/* ----- ARTIKEL (SLIDER) ----- */
.artikel {
    background: var(--white);
}
.artikel__slider {
    position: relative;
    overflow: hidden;
}
.artikel__slider .slider__container {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}
.artikel__slider .artikel-item {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
.artikel__slider .artikel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.artikel__slider .artikel-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.artikel__slider .artikel-item .artikel__body {
    padding: 20px;
}
.artikel__slider .artikel-item .kategori {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
}
.artikel__slider .artikel-item h4 {
    font-size: 1.1rem;
    margin: 8px 0;
    color: var(--dark);
}
.artikel__slider .artikel-item p {
    color: var(--gray);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.artikel__slider .artikel-item .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
    background: none;
    color: var(--primary-dark);
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}
.artikel__slider .artikel-item .btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ----- KONTAK (Form + Maps) ----- */
.kontak {
    background: var(--gray-light);
}
.kontak__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.kontak__form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kontak__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kontak__form input,
.kontak__form textarea {
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}
.kontak__form input:focus,
.kontak__form textarea:focus {
    border-color: var(--primary-dark);
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}
.kontak__map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kontak__map {
    flex: 1;
    min-height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
}
.kontak__map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
}
.kontak__info {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kontak__info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.kontak__info img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    filter: invert(27%) sepia(51%) saturate(1000%) hue-rotate(316deg) brightness(100%);
}

/* ----- TOMBOL WHATSAPP DI FORM KONTAK ----- */
.kontak__whatsapp-wrapper {
    margin-top: 16px;
    text-align: center;
}
.kontak__whatsapp-text {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 8px;
}
.btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn--whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.btn--whatsapp img {
    filter: brightness(0) invert(1);
}

/* ----- FLOATING WHATSAPP ----- */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-float img {
    filter: brightness(0) invert(1);
}

/* ----- FOOTER ----- */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 48px 0 24px;
}
.footer__grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.footer__social {
    display: flex;
    gap: 16px;
    margin: 0 auto;
}
.footer__social a {
    transition: var(--transition);
}
.footer__social a:hover {
    transform: translateY(-4px);
}
.footer__social img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
}
.footer__social a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
    transform: scale(1.1);
}
.footer__bottom {
    text-align: center;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #444;
    font-size: 0.85rem;
    color: #888;
}
.footer__brand {
    margin-bottom: 5px;
}
.footer__brand img {
    display: block;
    margin: 0 auto;
}
.footer__brand p {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ----- DARK MODE ----- */
body.dark-mode {
    --white: #1a1a2e;
    --gray-light: #16213e;
    --dark: #eaeaea;
    --gray: #aaa;
    background: #0f0f1a;
}
body.dark-mode .header {
    background: rgba(26, 26, 46, 0.85);
}
body.dark-mode .keunggulan-item,
body.dark-mode .produk-item,
body.dark-mode .testimoni-item,
body.dark-mode .artikel-item,
body.dark-mode .kontak__form-wrapper,
body.dark-mode .kontak__info {
    background: #1a1a2e;
}
body.dark-mode .kontak__form input,
body.dark-mode .kontak__form textarea {
    background: #1a1a2e;
    border-color: #333;
    color: #eaeaea;
}
body.dark-mode .footer {
    background: #0a0a1a;
}
body.dark-mode .nav__close {
    color: #eaeaea;
}
body.dark-mode .nav__close:hover {
    color: var(--primary-dark);
}
body.dark-mode .logo img {
    filter: brightness(0) invert(1);
}
body.dark-mode .hero__title,
body.dark-mode .hero__subtitle,
body.dark-mode .hero__content .btn {
    color: #F8BBD0 !important;
}
body.dark-mode .hero__overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
}
body.dark-mode .testimoni {
    background: #2a2a4a;
}
body.dark-mode .testimoni .section__title {
    color: #ffffff !important;
}
body.dark-mode .keunggulan-item img {
    filter: invert(27%) sepia(51%) saturate(1000%) hue-rotate(316deg) brightness(100%);
}
body.dark-mode .kontak__info img {
    filter: invert(27%) sepia(51%) saturate(1000%) hue-rotate(316deg) brightness(100%);
}
body.dark-mode .tentang__teks p {
    color: #F8BBD0;
}

/* ----- OPTIMALISASI CLS ----- */
.hero {
    contain: layout style paint;
}
.hero__content {
    contain: layout style;
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.5;
}
.footer__brand img {
    width: 120px;
    height: 40px;
    object-fit: contain;
}

/* ============================================
   ARTIKEL DETAIL
   ============================================ */

.artikel-detail {
    padding: 120px 0 80px;
    background: var(--gray-light);
    min-height: 100vh;
}
.artikel-detail__wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    word-wrap: break-word;
}
.artikel-detail__kategori {
    display: inline-block;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.artikel-detail__judul {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 16px;
}
.artikel-detail__gambar {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.artikel-detail__konten {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    overflow: hidden;
    word-wrap: break-word;
}
.artikel-detail__konten img {
    max-width: 100%;
    height: auto;
}
.artikel-detail__konten table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
.artikel-detail__konten pre,
.artikel-detail__konten code {
    white-space: pre-wrap;
    word-wrap: break-word;
}
.artikel-detail__konten h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin: 24px 0 12px;
}
.artikel-detail__konten ul {
    padding-left: 24px;
    margin: 12px 0;
}
.artikel-detail__konten li {
    margin-bottom: 8px;
}

/* ===== FOOTER BAWAH (Back + Share) ===== */
.artikel-detail__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--primary-light);
}
.artikel-detail__back {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
}
.artikel-detail__back:hover {
    transform: translateX(-4px);
}

/* ===== TOMBOL SHARE ARTIKEL ===== */
.artikel-detail__share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.artikel-detail__share .share-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-right: 4px;
}
.artikel-detail__share .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: #fff;
}
.artikel-detail__share .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.artikel-detail__share .share-btn:active {
    transform: scale(0.92);
}
.share-btn.facebook { background: #1877F2; }
.share-btn.instagram { background: #E4405F; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.copy { background: var(--gray); }
.share-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ===== SLIDER ARTIKEL LAINNYA ===== */
.artikel-lainnya {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--primary-light);
}
.artikel-lainnya__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    color: var(--dark);
    margin-bottom: 24px;
}
.artikel-lainnya__slider {
    overflow: hidden;
}
.artikel-lainnya .slider__container {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    overflow: visible;
}
.artikel-lainnya .artikel-item {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    max-width: 100%;
}
.artikel-lainnya .artikel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.artikel-lainnya .artikel-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.artikel-lainnya .artikel-item .artikel__body {
    padding: 16px;
}
.artikel-lainnya .artikel-item .kategori {
    font-size: 0.7rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
}
.artikel-lainnya .artikel-item h4 {
    font-size: 1rem;
    margin: 8px 0 4px;
    color: var(--dark);
}
.artikel-lainnya .artikel-item p {
    font-size: 0.9rem;
    color: var(--gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.artikel-lainnya .artikel-item .btn {
    font-size: 0.8rem;
    padding: 6px 16px;
    background: none;
    color: var(--primary-dark);
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}
.artikel-lainnya .artikel-item .btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}
.artikel-lainnya .slider__controls {
    margin-top: 24px;
}

/* ===== DARK MODE ARTIKEL DETAIL ===== */
body.dark-mode .artikel-detail {
    background: #0f0f1a;
}
body.dark-mode .artikel-detail__wrapper {
    background: #1a1a2e;
}
body.dark-mode .artikel-detail__judul {
    color: #eaeaea;
}
body.dark-mode .artikel-detail__konten {
    color: #aaa;
}
body.dark-mode .artikel-detail__konten h3 {
    color: #eaeaea;
}
body.dark-mode .artikel-lainnya .artikel-item {
    background: #1a1a2e;
}
body.dark-mode .artikel-lainnya .artikel-item h4 {
    color: #eaeaea;
}
body.dark-mode .artikel-lainnya__title {
    color: #eaeaea;
}

/* ===== RESPONSIF ARTIKEL DETAIL ===== */
@media (max-width: 992px) {
    .artikel-lainnya .artikel-item {
        flex: 0 0 calc(50% - 12px);
    }
}
@media (max-width: 768px) {
    .artikel-detail {
        padding: 100px 0 80px;
    }
    .artikel-lainnya { 
        margin-bottom: 40px !important;
    }
    .artikel-lainnya .slider__controls { 
        margin-bottom: 24px !important;
    }
    .artikel-detail__wrapper {
        padding: 16px;
        padding-bottom: 60px;
    }
    .artikel-detail__judul {
        font-size: 1.4rem;
    }
    .artikel-detail__konten {
        font-size: 0.95rem;
    }
    .artikel-lainnya .artikel-item {
        flex: 0 0 100%;
    }
}

/* ============================================
   SLIDER / CAROUSEL (dari slider.css)
   ============================================ */

.slider__container {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    scroll-behavior: smooth;
}
.slider__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}
.slider__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-dark);
    background: var(--white);
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider__btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: scale(1.05);
}
.slider__dots {
    display: flex;
    gap: 8px;
}
.slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.slider__dot.active {
    background: var(--primary-dark);
    transform: scale(1.2);
}
.slider__dot:hover {
    background: var(--primary-dark);
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE (dari responsive.css)
   ============================================ */

/* ----- PENCEGAHAN HORIZONTAL SCROLL ----- */
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ----- TABLET (max-width: 992px) ----- */
@media (max-width: 992px) {
    .hero__title {
        font-size: 2.8rem;
    }
    .tentang__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .produk-item {
        flex: 0 0 calc(50% - 12px);
    }
    .kontak__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ----- MOBILE (max-width: 768px) ----- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 24px 24px;
        transition: right 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }
    .nav__close {
        display: block;
    }
    .nav.active {
        right: 0;
    }
    .nav__list {
        flex-direction: column;
        gap: 20px;
    }
    .nav__link {
        font-size: 1.1rem;
        display: block;
        padding: 8px 0;
    }
    .hero {
        min-height: 80vh;
    }
    .hero__title {
        font-size: 2rem;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
    .hero__content .btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
    .section {
        padding: 48px 0;
    }
    .section__title {
        font-size: 2rem;
    }
    .section__subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    .produk-item {
        flex: 0 0 100%;
    }
    .artikel__slider .artikel-item {
        flex: 0 0 100%;
    }
    .tentang__keunggulan {
        grid-template-columns: 1fr;
    }
    .tentang__keunggulan-wrapper {
        gap: 12px;
    }
    .keunggulan-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .kontak__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .kontak__grid .kontak__map-wrapper {
        order: -1;
    }
    .kontak__map {
        min-height: 200px;
    }
    .kontak__map iframe {
        min-height: 200px;
    }
    .kontak__form-wrapper,
    .kontak__map-wrapper,
    .kontak__info {
        max-width: 100%;
        overflow: hidden;
    }
    .kontak__map iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        min-height: unset;
    }
    .kontak__form input,
    .kontak__form textarea {
        width: 100%;
        box-sizing: border-box;
    }
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 95px;
        right: 16px;
    }
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
    .footer__grid {
        flex-direction: column;
        text-align: center;
    }
}

/* ----- MOBILE KECIL (max-width: 480px) ----- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero__title {
        font-size: 1.6rem;
    }
    .hero__subtitle {
        font-size: 0.9rem;
    }
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    .section__title {
        font-size: 1.6rem;
    }
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 85px;
        right: 12px;
    }
    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}

/* ----- TABLET SEDANG (769px - 992px) ----- */
@media (min-width: 769px) and (max-width: 992px) {
    .artikel__slider .artikel-item {
        flex: 0 0 calc(50% - 12px);
    }
}

/* ============================================
   KONTAK - GAYA KHUSUS (dari kontak.css)
   ============================================ */

.kontak-page {
    padding: 120px 0 80px;
    background: var(--gray-light);
    min-height: 100vh;
}
.kontak-page .kontak__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
    margin-top: 32px;
}
.kontak-page .kontak__form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kontak-page .kontak__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kontak-page .kontak__form input,
.kontak-page .kontak__form textarea {
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}
.kontak-page .kontak__form input:focus,
.kontak-page .kontak__form textarea:focus {
    border-color: var(--primary-dark);
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}
.kontak-page .kontak__map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kontak-page .kontak__map {
    flex: 1;
    min-height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
}
.kontak-page .kontak__map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}
.kontak-page .kontak__info {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kontak-page .kontak__info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.kontak-page .kontak__info img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    filter: invert(27%) sepia(51%) saturate(1000%) hue-rotate(316deg) brightness(100%);
}
.kontak-page .kontak__info a {
    color: var(--primary-dark);
    text-decoration: none;
}
.kontak-page .kontak__info a:hover {
    text-decoration: underline;
}

/* ===== MAP PLACEHOLDER (CLICK-TO-LOAD) ===== */
.map-placeholder {
    background: var(--gray-light);
    border-radius: var(--radius);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    box-shadow: var(--shadow);
    border: 2px dashed var(--primary);
}

.map-placeholder__content {
    width: 100%;
    max-width: 400px;
}

.map-placeholder__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.map-placeholder__buttons .map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.map-placeholder__buttons .map-btn:hover {
    transform: translateY(-2px);
}

.map-placeholder__buttons .btn--whatsapp {
    background: #25D366 !important;
    color: #fff !important;
}
.map-placeholder__buttons .btn--whatsapp:hover {
    background: #1da851 !important;
}

.map-placeholder__buttons .btn--primary {
    background: var(--primary-dark);
    color: #fff;
}
.map-placeholder__buttons .btn--primary:hover {
    background: #c2185b;
}

.map-placeholder__buttons .btn--whatsapp[style*="background: #4285F4"] {
    background: #4285F4 !important;
}
.map-placeholder__buttons .btn--whatsapp[style*="background: #4285F4"]:hover {
    background: #3367d6 !important;
}

@media (max-width: 768px) {
    .map-placeholder__buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .map-placeholder__buttons .map-btn {
        flex: 0 1 auto;
        min-width: 120px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Dark mode */
body.dark-mode .kontak-page {
    background: #0f0f1a;
}
body.dark-mode .kontak-page .kontak__form-wrapper,
body.dark-mode .kontak-page .kontak__info {
    background: #1a1a2e;
}
body.dark-mode .kontak-page .kontak__form input,
body.dark-mode .kontak-page .kontak__form textarea {
    background: #1a1a2e;
    border-color: #333;
    color: #eaeaea;
}
body.dark-mode .map-placeholder {
    background: #1a1a2e;
    border-color: var(--primary-dark);
}
body.dark-mode .map-placeholder h3 {
    color: #eaeaea;
}
body.dark-mode .map-placeholder p {
    color: #aaa;
}

/* Responsif */
@media (max-width: 992px) {
    .kontak-page .kontak__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .kontak-page .kontak__map {
        min-height: 250px;
    }
    .kontak-page .kontak__map iframe {
        min-height: 250px;
    }
}
@media (max-width: 768px) {
    .kontak-page .kontak__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .kontak-page .kontak__map {
        min-height: 200px;
        order: -1;
    }
    .kontak-page .kontak__map iframe {
        min-height: 200px;
    }
    .kontak-page .kontak__form-wrapper {
        padding: 24px;
    }
    .kontak-page .kontak__info {
        padding: 16px;
    }
    .map-placeholder {
        min-height: 200px;
        padding: 24px 16px;
    }
    .map-placeholder__icon {
        font-size: 3rem;
    }
    .map-placeholder h3 {
        font-size: 1.2rem;
    }
}

body.page-kontak .whatsapp-float {
    display: none !important;
}