:root {
    --primary: #0d1b2a;
    --primary-2: #12263f;
    --primary-3: #1b2d4a;
    --secondary: #f5f7fb;
    --accent: #ef4444;
    --accent-2: #f59e0b;
    --text: #1f2937;
    --muted: #64748b;
    --white: #ffffff;
    --card: #ffffff;
    --line: rgba(15, 23, 42, 0.08);
    --shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
    --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
    --radius: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--secondary);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 150px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(255, 255, 255, 0.18));
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.28);
    transition: 0.25s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 26px rgba(37, 211, 102, 0.35);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
}

/* BUTTON GLOBAL */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d12d2d);
    color: var(--white);
    box-shadow: 0 18px 32px rgba(239, 68, 68, 0.26);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(239, 68, 68, 0.36);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-kecil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-kecil:hover {
    background: #0a1422;
}

/* HERO */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 17, 30, 0.82), rgba(13, 27, 42, 0.55));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    padding: 80px 0;
}

.hero-text {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #edf6ff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
    color: white;
    margin: 0 0 18px;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2956b5;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.04em;
    margin: 0 0 10px;
    color: var(--primary);
}

.section-description {
    color: var(--muted);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
}

.carousel-section {
    padding: 56px 0 28px;
}

.slider-container {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #0b1220;
}

.slider {
    position: relative;
    height: 540px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Gambar utuh tidak terpotong, tetap di tengah */
    object-position: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 17, 30, 0.76), rgba(7, 17, 30, 0.28));
}

.slide-content {
    position: absolute;
    left: 60px;
    right: 60px;
    bottom: 56px;
    z-index: 2;
    max-width: 620px;
    color: white;
}

.slide-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.slide-content h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.slide-content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    font-size: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.slider-btn:hover {
    background: white;
}

.prev {
    left: 18px;
}

.next {
    right: 18px;
}

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 11px;
    height: 11px;
    background: rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.dot.active {
    background: white;
    width: 42px;
    border-radius: 999px;
}

.layanan-section,
.sales-section,
.produk-section,
.berita-section {
    padding: 80px 0 24px;
}

.view-all {
    text-align: center;
    margin-top: 28px;
}

.view-all h1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(13, 27, 42, 0.92);
    color: white;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.tiktok-embed {
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


.layanan-grid,
.sales-grid,
.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.layanan-card,
.sales-card,
.berita-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 26px 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: 0.25s ease;
}

.layanan-card:hover,
.sales-card:hover,
.berita-card:hover,
.produk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.layanan-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #eaf1ff, #ffe4e4);
    font-size: 2rem;
    margin-bottom: 18px;
}

.layanan-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--primary);
}

.layanan-card p {
    color: var(--muted);
    margin: 0 0 18px;
    line-height: 1.8;
}

.layanan-link {
    color: #0d6efd;
    font-weight: 700;
}

.layanan-link i {
    margin-left: 6px;
}

.sales-grid {
    display: grid;
    /* Mengatur grid agar card menyesuaikan ukuran secara otomatis dengan lebar maksimal tertentu */
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    /* KUNCI UTAMA: justify-content: center membuat seluruh item otomatis ke tengah jika ada sisa ruang */
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.sales-card {
    text-align: center;
    padding: 24px 18px;
}

.sales-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 4px solid #eef2ff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.sales-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sales-info h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.sales-desc {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.8;
    margin: 0 0 18px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    padding: 10px 16px;
    font-weight: 700;
}

.produk-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.produk-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.25s ease;
}

.produk-image {
    position: relative;
    overflow: hidden;
}

.produk-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.badge-best-seller {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.produk-body {
    padding: 18px 18px 20px;
}

.produk-body h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: var(--primary);
}

.produk-desc,
.produk-spesifikasi {
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 12px;
}

.produk-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    /* opsional */
    gap: 12px;
    margin-top: 12px;
}

.produk-harga {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.06rem;
}

.view-all {
    text-align: center;
    margin-top: 28px;
}

.cta-section {
    padding: 42px 0 12px;
}

.cta-content {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.96), rgba(18, 45, 74, 0.92));
    color: white;
    border-radius: 26px;
    padding: 34px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow);
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 8px;
    letter-spacing: -0.04em;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.berita-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.berita-card {
    overflow: hidden;
}

.berita-image {
    position: relative;
}

.berita-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.berita-date {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.berita-body {
    padding: 20px 20px 24px;
}

.berita-body h3 {
    margin: 0 0 12px;
    font-size: 1.26rem;
    color: var(--primary);
}

.berita-body p {
    color: var(--muted);
    margin: 0 0 14px;
    line-height: 1.8;
}

.berita-link {
    color: #0d6efd;
    font-weight: 700;
}

.floating-whatsapp-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.floating-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.28);
    transition: 0.25s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 26px rgba(37, 211, 102, 0.36);
}


.footer {
    background: #0a1524;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 72px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
    gap: 26px;
    padding: 52px 0 24px;
}

.footer-col h4 {
    color: white;
    margin: 0 0 18px;
    font-size: 1.1rem;
}

.footer-col p,
.footer-links {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: white;
    transition: 0.25s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0 22px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 17, 30, 0.78), rgba(7, 17, 30, 0.52));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0 64px;
    color: white;
}

.page-hero-content h1 {
    margin: 0 0 8px;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    letter-spacing: -0.05em;
}

.page-hero-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.04rem;
}

.page-content {
    padding: 52px 0 20px;
}

.kategori-list {
    display: grid;
    gap: 28px;
}

.kategori-item {
    background: white;
    border-radius: 24px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.kategori-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}


.kategori-header h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: var(--primary);
}

.produk-count {
    margin-left: auto;
    background: #eef5ff;
    color: #1d4ed8;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.kategori-desc {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.8;
}

.produk-list {
    display: grid;
    gap: 18px;
}

.produk-list-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    padding: 12px;
}

.produk-list-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
}

.produk-list-info h4 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--primary);
}

.produk-list-info p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.7;
}

.produk-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.produk-list-footer strong {
    color: var(--primary);
    font-size: 1.08rem;
}

.berita-list {
    display: grid;
    gap: 22px;
}

.berita-list-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.berita-list-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berita-list-info {
    padding: 22px 22px 22px 0;
}

.berita-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 12px;
}

.berita-list-info h3 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: var(--primary);
}

.berita-list-info p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.8;
}

.read-more {
    color: #0d6efd;
    font-weight: 700;
}

.single-news {
    padding: 30px 0 0;
}

.featured-image {
    width: min(1200px, calc(100% - 32px));
    height: 430px;
    object-fit: cover;
    border-radius: 26px;
    margin: 0 auto 26px;
    box-shadow: var(--shadow);
}

.single-news-content {
    max-width: 980px;
}

.article-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 18px;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 18px;
    letter-spacing: -0.05em;
    color: var(--primary);
}

.article-content {
    color: var(--text);
    line-height: 1.9;
    font-size: 1.04rem;
}

.article-content p {
    margin: 0 0 18px;
}

.article-footer {
    margin-top: 30px;
}

.lokasi-wrapper,
.kontak-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.lokasi-info,
.kontak-form-box,
.kontak-info-box {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.lokasi-info h2,
.kontak-form-box h2,
.kontak-info-box h2 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.info-item,
.kontak-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.info-item i,
.kontak-info-item i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef5ff;
    color: #0d6efd;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-item h4,
.kontak-info-item h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--primary);
}

.info-item p,
.kontak-info-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.lokasi-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.lokasi-map {
    border-radius: 24px;
    overflow: hidden;
    min-height: 440px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.lokasi-map iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

.kontak-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fafafa;
    color: var(--text);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.kontak-highlight {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 20px;
    color: var(--primary);
}

.gallery-section {
    padding: 80px 0 24px;
}

.gallery-section.container {
    max-width: 1180px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-caption {
    padding: 14px 16px;
    background: var(--card);
    border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .produk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .layanan-grid,
    .sales-grid,
    .berita-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lokasi-wrapper,
    .kontak-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-item img {
        height: 180px;
    }

    .gallery-caption {
        font-size: 0.92rem;
    }

    .gallery-caption p {
        margin: 0;
        color: var(--muted);
        line-height: 1.6;
    }

    .gallery-section .section-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }   
}

@media (max-width: 760px) {
    .hero-title {
        font-size: 2.7rem;
    }

    .slide-content {
        left: 24px;
        right: 24px;
        bottom: 28px;
    }

    .produk-grid,
    .layanan-grid,
    .sales-grid,
    .berita-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .produk-list-item,
    .berita-list-item {
        grid-template-columns: 1fr;
    }

    .btn-cta {
        display: none;
    }

    .page-hero-content h1,
    .section-title {
        text-align: center;
    }

    .header-action {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item img {
        height: 140px;
    }

    .gallery-caption {
        font-size: 0.88rem;
    }

    .gallery-section .section-title {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
    }

    .gallery-caption p {
        line-height: 1.5;
    }

}

/* ==========================================
   MODERN KATEGORI & PRODUK LIST STYLING
   ========================================== */

.kategori-list-wrapper {
    display: grid;
    gap: 40px;
}

.kategori-card-modern {
    background: var(--card);
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
}

.kategori-card-modern:hover {
    box-shadow: var(--shadow);
}

/* Banner Hero di dalam Kategori */
.kategori-banner-hero {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.kategori-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.2) 0%, rgba(13, 27, 42, 0.85) 100%);
}

.kategori-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.kategori-header-plain {
    padding: 30px 30px 10px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.kategori-icon-badge {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.kategori-card-modern .kategori-header-plain .kategori-icon-badge {
    background: linear-gradient(135deg, #eaf1ff, #ffe4e4);
    color: var(--primary);
    border: 1px solid var(--line);
}

.kategori-title-group h2 {
    margin: 0 0 6px 0;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: white;
    letter-spacing: -0.03em;
}

.kategori-card-modern .kategori-header-plain h2 {
    color: var(--primary);
}

.produk-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.kategori-card-modern .kategori-header-plain .produk-count-badge {
    background: #eef5ff;
    color: #1d4ed8;
}

.kategori-body-content {
    padding: 30px;
}

.kategori-desc {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Grid Daftar Produk di dalam Kategori */
.produk-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.produk-modern-item {
    background: #f8fafc;
    border: 1px solid #edf1f7;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.produk-modern-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 27, 42, 0.12);
}

.produk-thumb-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.produk-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.produk-modern-item:hover .produk-thumb-wrapper img {
    transform: scale(1.06);
}

.produk-badge-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(13, 27, 42, 0.88);
    backdrop-filter: blur(6px);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.produk-info-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.produk-info-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.12rem;
    color: var(--primary);
    font-weight: 700;
}

.produk-info-content p {
    margin: 0 0 16px 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.produk-item-action {
    border-top: 1px solid #edf1f7;
    padding-top: 14px;
    margin-top: auto;
}

.btn-wa-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.22);
    transition: all 0.2s ease;
}

.btn-wa-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.32);
}

/* Responsif untuk Layar Kecil */
@media (max-width: 768px) {
    .kategori-banner-hero {
        height: 180px;
        padding: 20px;
    }

    .kategori-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .kategori-body-content {
        padding: 20px;
    }

    .produk-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   STYLING SPESIFIKASI PRODUK
   ========================================== */
.produk-spesifikasi-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 12px 0 16px 0;
    font-size: 0.82rem;
}

.spesifikasi-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.75rem;
}

.spesifikasi-content {
    color: #475569;
    line-height: 1.5;
    max-height: 90px;
    overflow-y: auto;
    /* Memberikan scroll halus jika spesifikasinya panjang */
}

/* Kustomisasi scrollbar tipis untuk kotak spesifikasi */
.spesifikasi-content::-webkit-scrollbar {
    width: 4px;
}

.spesifikasi-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}