/* ============================================================
   DIPAGI.COM - Main Stylesheet
   Color Palette:
   - Navy Primary: #1a3a6b
   - Blue Accent:  #2b7fc9
   - Yellow:       #f0d400
   - Light BG:     #f5f7fa
   - Text Dark:    #1e2a3a
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #1a3a6b;
    --navy-dark:  #102547;
    --navy-light: #1e4d8c;
    --blue:       #2b7fc9;
    --blue-light: #5ba3e0;
    --yellow:     #f0d400;
    --yellow-dk:  #d4ba00;
    --white:      #ffffff;
    --gray-50:    #f5f7fa;
    --gray-100:   #eef1f6;
    --gray-200:   #d8e0ec;
    --gray-400:   #8899b0;
    --gray-600:   #4a5a70;
    --gray-800:   #1e2a3a;
    --font:       'Inter', sans-serif;
    --radius:     10px;
    --radius-lg:  18px;
    --shadow-sm:  0 2px 8px rgba(26,58,107,.08);
    --shadow:     0 4px 24px rgba(26,58,107,.12);
    --shadow-lg:  0 8px 48px rgba(26,58,107,.18);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea { font-family: var(--font); }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---- Section Utilities ---- */
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }

.section-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.section-title span { color: var(--blue); }
.section-title .accent { color: var(--yellow-dk); }

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-subtitle { margin: .75rem auto 0; }

.section-divider {
    width: 56px;
    height: 4px;
    background: var(--blue);
    border-radius: 4px;
    margin: 1rem auto 0;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(43,127,201,.3);
}
.btn-primary:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(43,127,201,.4);
}

.btn-secondary {
    background: var(--yellow);
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(240,212,0,.3);
}
.btn-secondary:hover {
    background: var(--yellow-dk);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-wa {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,.4);
}

.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: 0 2px 16px rgba(26,58,107,.2);
    transition: var(--transition);
}

.navbar-inner {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}

.navbar-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
}

.nav-link {
    padding: .45rem .85rem;
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: .85rem;
    right: .85rem;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: 1rem;
}

.btn-search, .btn-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: rgba(255,255,255,.85);
    transition: var(--transition);
}
.btn-search:hover, .btn-hamburger:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
}

.btn-hamburger { flex-direction: column; gap: 5px; display: none; }
.btn-hamburger span {
    width: 22px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}

.search-bar {
    max-height: 0;
    overflow: hidden;
    background: var(--navy-dark);
    transition: max-height .35s ease;
}
.search-bar.open { max-height: 80px; }

.search-form {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 0;
}

.search-form input {
    flex: 1;
    padding: .6rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: var(--white);
    font-size: .95rem;
}
.search-form input::placeholder { color: rgba(255,255,255,.4); }
.search-form input:focus { outline: none; border-color: var(--blue); }

.search-form button {
    width: 42px; height: 42px;
    background: var(--blue);
    color: var(--white);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.search-form button:hover { background: var(--blue-light); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-swiper {
    position: relative;
    height: 90vh;
    min-height: 540px;
}

.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,58,107,.82) 0%, rgba(26,58,107,.4) 60%, transparent 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.swiper-slide-active .hero-bg { transform: scale(1); }

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 680px;
}

.hero-label {
    display: inline-block;
    background: rgba(240,212,0,.15);
    border: 1px solid var(--yellow);
    color: var(--yellow);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s .2s, transform .6s .2s;
}
.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s .4s, transform .6s .4s;
}
.hero-title .accent { color: var(--yellow); }

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s .5s, transform .6s .5s;
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s .65s, transform .6s .65s;
}

.swiper-slide-active .hero-label,
.swiper-slide-active .hero-title,
.swiper-slide-active .hero-desc,
.swiper-slide-active .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper .swiper-pagination { bottom: 2rem; }
.hero-swiper .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    transition: var(--transition);
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--yellow);
    width: 28px;
    border-radius: 5px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: var(--white);
    padding: 80px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-text .section-title { text-align: left; margin-bottom: 1.25rem; }
.about-text p { color: var(--gray-600); margin-bottom: 1rem; }
.about-text .btn { margin-top: 1.5rem; }

.about-gallery-swiper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-gallery-swiper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    background: var(--gray-50);
    padding: 80px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--blue-light);
}
.service-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dk));
    color: var(--navy);
    transform: scale(1.1) rotate(5deg);
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .75rem;
}
.service-card p { color: var(--gray-600); font-size: .93rem; }

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section { padding: 80px 0; background: var(--white); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 16px rgba(26,58,107,.07);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* List View Styles */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.product-list .product-card {
    flex-direction: row;
    height: 220px;
}
.product-list .product-thumb {
    width: 250px;
    flex-shrink: 0;
}
.product-list .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .product-list .product-card {
        flex-direction: column;
        height: auto;
    }
    .product-list .product-thumb {
        width: 100%;
        height: 200px;
    }
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(26,58,107,.15);
}

/* Image area - tinted background like reference */
.product-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #c5cae9 0%, #9fa8da 100%);
    position: relative;
    display: block;
}
.product-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }

/* Badge top-left */
.product-thumb .product-badge {
    position: absolute;
    top: .85rem;
    left: .85rem;
    background: rgba(255,255,255,.22);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,.35);
}

/* No image placeholder */
.product-thumb .no-image {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}

/* Body below image */
.product-body {
    padding: 1.25rem 1.25rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category tag pills */
.product-category {
    display: inline-block;
    font-size: .7rem;
    color: var(--navy);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--gray-100);
    padding: .2rem .65rem;
    border-radius: 4px;
    margin-bottom: .65rem;
    margin-right: .3rem;
}

.product-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-body p {
    font-size: .82rem;
    color: var(--gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
    margin-bottom: 0;
    flex: 1;
}

/* Footer: price + button */
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    border-top: 1px solid var(--gray-100);
    gap: .75rem;
}
.product-card-footer .price-label {
    font-size: .65rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
    display: block;
    margin-bottom: .1rem;
}
.product-card-footer .price-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-dark);
}
.product-card-footer .btn-order {
    flex-shrink: 0;
    background: var(--navy-dark);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    padding: .55rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.product-card-footer .btn-order:hover {
    background: var(--primary);
    transform: scale(1.03);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.why-section::before {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 500px; height: 500px;
    background: rgba(43,127,201,.15);
    border-radius: 50%;
}
.why-section::after {
    content: '';
    position: absolute;
    left: -80px; bottom: -80px;
    width: 350px; height: 350px;
    background: rgba(240,212,0,.06);
    border-radius: 50%;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-text .section-label { color: var(--yellow); }
.why-text .section-title { color: var(--white); margin-bottom: 2.5rem; }
.why-text .section-title .accent { color: var(--yellow); }

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.why-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.why-feature-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    background: rgba(43,127,201,.2);
    border: 1px solid rgba(43,127,201,.4);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--yellow);
    font-size: 1.25rem;
    transition: var(--transition);
}
.why-feature:hover .why-feature-icon {
    background: var(--yellow);
    color: var(--navy);
    border-color: var(--yellow);
}
.why-feature-text h4 { color: var(--white); font-weight: 700; margin-bottom: .25rem; }
.why-feature-text p { color: rgba(255,255,255,.65); font-size: .9rem; }

.why-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 450px; object-fit: cover; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section { padding: 80px 0; background: var(--gray-50); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,58,107,0);
    transition: var(--transition);
    pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { background: rgba(26,58,107,.4); }

.gallery-item-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: 2rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 80px 0; background: var(--white); }

.testimonial-swiper { padding: 1rem .5rem 3rem; }

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: auto;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testimonial-quote {
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: .75rem;
}
.testimonial-text {
    font-size: .93rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author-info strong { display: block; font-size: .9rem; color: var(--navy); }
.testimonial-author-info span { font-size: .8rem; color: var(--gray-400); }
.testimonial-stars { color: #f5c518; font-size: .85rem; margin-bottom: .25rem; }

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog-section { padding: 80px 0; background: var(--gray-50); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--blue-light);
}
.article-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}
.article-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-thumb-placeholder {
    width: 100%; height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,.2);
}

.article-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .78rem;
    color: var(--gray-400);
    margin-bottom: .75rem;
}
.article-meta .article-cat {
    background: var(--gray-100);
    color: var(--blue);
    font-weight: 600;
    padding: .15rem .6rem;
    border-radius: 50px;
}
.article-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .6rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}
.article-card:hover .article-body h3 { color: var(--blue); }

.article-body p {
    font-size: .87rem;
    color: var(--gray-600);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.article-read-more {
    font-size: .85rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.article-read-more svg { transition: var(--transition); }
.article-card:hover .article-read-more svg { transform: translateX(4px); }

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section {
    background: var(--blue);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: .4rem;
}
.stat-number .suffix { font-size: 2rem; color: var(--yellow); }
.stat-label { font-size: .9rem; opacity: .8; font-weight: 500; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--yellow) 0%, #ffc107 100%);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: .75rem;
}
.cta-section p {
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn-navy {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26,58,107,.3);
}
.cta-buttons .btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); }

.footer-main { padding: 80px 0 48px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
}
.footer-logo .brand-text { color: var(--white); font-size: 1.5rem; font-weight: 800; }

.footer-brand p {
    color: #9aabc5;
    font-size: .9rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: .75rem;
}
.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    transition: var(--transition);
}
.social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid rgba(240,212,0,.3);
    display: inline-block;
}

.footer-contact-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    color: #9aabc5;
    font-size: .88rem;
    margin-bottom: .9rem;
    line-height: 1.5;
}
.footer-contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.footer-contact-list a { color: #9aabc5; }
.footer-contact-list a:hover { color: var(--yellow); }

.footer-links li { margin-bottom: .65rem; }
.footer-links a {
    color: #9aabc5;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: var(--transition);
}
.footer-links a::before {
    content: '›';
    color: var(--blue);
    font-size: 1.1rem;
}
.footer-links a:hover { color: var(--yellow); padding-left: 4px; }

.footer-newsletter {
    display: flex;
    gap: .5rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: .35rem .35rem .35rem .85rem;
    align-items: center;
}
.footer-newsletter input {
    flex: 1;
    background: none;
    border: none;
    color: var(--white);
    font-size: .88rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter input:focus { outline: none; }
.footer-newsletter button {
    width: 38px; height: 38px;
    background: var(--blue);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: var(--transition);
}
.footer-newsletter button:hover { background: var(--blue-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .83rem; }

/* ============================================================
   WA FLOATING BUTTON
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: var(--white);
    border-radius: 50px;
    padding: .75rem 1.25rem .75rem 1rem;
    box-shadow: 0 4px 24px rgba(37,211,102,.45);
    display: flex;
    align-items: center;
    gap: .6rem;
    z-index: 999;
    transition: var(--transition);
    animation: wa-bounce 2.5s ease-in-out infinite;
}
.wa-float:hover {
    background: #1da851;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 36px rgba(37,211,102,.55);
    animation: none;
}
.wa-text { font-size: .82rem; line-height: 1.3; }
.wa-text strong { display: block; font-size: .88rem; }

@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================================
   PAGE BANNER (Inner pages)
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--blue) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(43,127,201,.2) 0%, transparent 70%);
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(240,212,0,.12) 0%, transparent 70%);
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: .75rem;
}
.page-banner h1 span { color: var(--yellow); }
.page-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.5rem; }

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }
.breadcrumb .current { color: var(--yellow); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 1.25rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.filter-inner {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: nowrap;
    overflow: hidden;
}
.filter-label { font-weight: 600; color: var(--navy); font-size: .9rem; white-space: nowrap; flex-shrink: 0; }

.filter-tag {
    padding: .35rem .9rem;
    border-radius: 50px;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-600);
    font-size: .83rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.filter-tag:hover, .filter-tag.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.filter-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    padding: .35rem .35rem .35rem 1rem;
}
.filter-search input {
    background: none;
    border: none;
    font-size: .85rem;
    color: var(--gray-800);
    width: 180px;
}
.filter-search input:focus { outline: none; }
.filter-search button {
    width: 32px; height: 32px;
    background: var(--blue);
    border-radius: 50%;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
}

.filter-actions-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section { padding: 80px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h2 { color: var(--navy); font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p { color: var(--gray-600); margin-bottom: 2rem; }

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-detail-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.contact-detail-content strong { display: block; color: var(--navy); font-weight: 700; font-size: .95rem; margin-bottom: .2rem; }
.contact-detail-content span { color: var(--gray-600); font-size: .9rem; }
.contact-detail-content a { color: var(--gray-600); }
.contact-detail-content a:hover { color: var(--blue); }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}
.contact-form-card h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .4rem;
}
.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: .93rem;
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--gray-50);
}
.form-control:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(43,127,201,.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.alert-success {
    background: rgba(37,211,102,.1);
    border: 1px solid rgba(37,211,102,.3);
    color: #1a7a40;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.pagination-wrap nav { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.pagination-wrap .page-numbers,
.pagination-wrap span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    font-size: .88rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition);
    padding: 0 .5rem;
}
.pagination-wrap a:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.pagination-wrap .page-item.active .page-link,
.pagination-wrap span.current {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail-section { padding: 80px 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.product-images-swiper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.product-images-swiper img { width: 100%; height: 400px; object-fit: cover; }

.product-detail-info h1 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.product-detail-cat { margin-bottom: 1.5rem; }
.product-detail-desc { color: var(--gray-600); line-height: 1.8; margin-bottom: 2rem; }
.product-detail-wa-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }

/* ============================================================
   MAP
   ============================================================ */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 450px; border: 0; display: block; }

/* ============================================================
   JUAL BELI, JASA PAGES
   ============================================================ */
.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    counter-increment: step;
}
.step-card::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--white);
    font-size: .8rem;
    font-weight: 800;
    padding: .25rem .65rem;
    border-radius: 50px;
    min-width: 36px;
    text-align: center;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* ============================================================
   ARTICLE DETAIL
   ============================================================ */
.article-detail-section { padding: 80px 0; }
.article-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
.article-content { line-height: 1.85; color: var(--gray-800); }
.article-content h2, .article-content h3, .article-content h4 {
    color: var(--navy);
    font-weight: 700;
    margin: 1.75rem 0 .75rem;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content ul, .article-content ol { margin: 1rem 0 1rem 1.5rem; }
.article-content li { margin-bottom: .4rem; }
.article-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-content blockquote {
    border-left: 4px solid var(--blue);
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray-600);
}

.article-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
}
.sidebar-widget h4 { color: var(--navy); font-weight: 700; margin-bottom: 1.25rem; font-size: 1rem; }

.sidebar-article {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .75rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.sidebar-article:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-article-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}
.sidebar-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-article-info h5 {
    font-size: .83rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}
.sidebar-article:hover .sidebar-article-info h5 { color: var(--blue); }
.sidebar-article-info span { font-size: .75rem; color: var(--gray-400); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
    opacity: 0;
    transition: opacity .8s ease;
}
.fade-in.visible { opacity: 1; }

/* stagger delays */
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
    .about-grid, .why-grid, .contact-grid, .product-detail-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .article-detail-grid { grid-template-columns: 1fr; }

    .btn-hamburger { display: flex; }
    .navbar-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        width: 300px;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: .25rem;
        transform: translateX(110%);
        transition: transform .35s cubic-bezier(.25,.8,.25,1);
        box-shadow: -8px 0 40px rgba(0,0,0,.3);
        z-index: 999;
        overflow-y: auto;
    }
    .navbar-nav.open { transform: translateX(0); }
    .nav-link {
        padding: .75rem 1.25rem;
        width: 100%;
        text-align: left;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
    }
    .nav-link.active, .nav-link:hover { background: rgba(255,255,255,.1); }
    .navbar-actions { margin-left: auto !important; }
}

/* ---- Filter Bar Mobile ---- */
@media (max-width: 768px) {
    .filter-inner {
        flex-wrap: wrap;
        row-gap: .75rem;
    }
    .filter-bar { padding: .85rem 0; }
    /* Row 1: label + swiper */
    .filter-label { order: 1; }
    .filter-swiper-wrap { order: 2; flex: 1; min-width: 0; }
    /* Row 2: search + view toggle go full width */
    .filter-actions-row {
        order: 3;
        width: 100%;
        display: flex;
        align-items: center;
        gap: .75rem;
    }
    .filter-search { flex: 1; }
    .filter-search input { width: 100%; }
    .view-toggle { flex-shrink: 0; }
}

@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .step-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-swiper { height: 75vh; min-height: 460px; }
    .wa-float .wa-text { display: none; }
    .wa-float { padding: .9rem; border-radius: 50%; }
    /* Two-column layouts that should stack on mobile */
    .two-col-section { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .step-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-decoration: none;
}

.pagination .page-item:not(.disabled):not(.active) .page-link:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    cursor: default;
}

.pagination .page-item.disabled .page-link {
    color: var(--gray-400);
    background: var(--gray-50);
    cursor: not-allowed;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.product-detail-images {
    position: sticky;
    top: 90px;
}

.product-detail-images .swiper-button-next,
.product-detail-images .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,.35);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.product-detail-images .swiper-button-next::after,
.product-detail-images .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 900;
}

.product-detail-images .swiper-pagination-bullet-active {
    background: var(--primary);
}

.product-desc-content a { color: var(--primary); }
.product-desc-content p { margin-bottom: .85rem; }
.product-desc-content ul, .product-desc-content ol { padding-left:1.5rem; margin-bottom:.85rem; }

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    .product-detail-images {
        position: static;
    }
    .product-detail-images img,
    .product-detail-images .swiper-slide img {
        height: 300px !important;
    }
}

/* ============================================================
   WA LEAD MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(16,37,71,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
}

.modal-close {
    color: var(--gray-400);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-50);
}

.modal-close:hover {
    color: var(--navy);
    background: var(--gray-100);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

/* ===== POPUP ADS SYSTEM ===== */
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.popup-backdrop.popup-visible { opacity: 1; }
.popup-backdrop.popup-visible .popup-modal {
  transform: translateY(0);
  opacity: 1;
}
.popup-modal {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.popup-modal-split {
  max-width: 580px;
  display: flex;
  min-height: 320px;
}
.popup-modal-simple { max-width: 400px; }
.popup-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  z-index: 2;
  transition: background 0.2s;
}
.popup-close-btn:hover { background: rgba(0,0,0,0.55); }
.popup-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.popup-content {
  padding: 24px;
}
.popup-content-split {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.popup-split-img {
  width: 45%;
  object-fit: cover;
  flex-shrink: 0;
}
.popup-headline {
  font-size: 18px;
  font-weight: 500;
  color: inherit;
  margin: 0 0 8px;
  line-height: 1.3;
}
.popup-subheadline {
  font-size: 14px;
  color: inherit;
  opacity: 0.8;
  margin: 0 0 20px;
  line-height: 1.6;
}
.popup-cta-btn {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: #2b7fc9;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.popup-cta-btn:hover { background: #1d5fa5; }
.popup-cta-btn:active { transform: scale(0.98); }
.popup-dismiss {
  display: block;
  text-align: center;
  font-size: 13px;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.popup-dismiss:hover { opacity: 0.85; }
@media (max-width: 540px) {
  .popup-modal-split { flex-direction: column; max-width: 92vw; }
  .popup-split-img { width: 100%; height: 180px; }
  .popup-modal { max-width: 92vw; }
}
/* ===== END POPUP ADS SYSTEM ===== */

/* ============================================================
   MOBILE SPECIFIC OVERRIDES
   ============================================================ */

/* About boxed on home page — stack on mobile */
@media (max-width: 768px) {
    .about-boxed {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }
    .about-section {
        margin-top: 0 !important;
    }
    /* Hero buttons should wrap */
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }
    .hero-actions .btn { width: fit-content; }

    /* Jasa page services cards — full width on mobile */
    section .section div[style*="grid-template-columns:repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    /* Two-column text+image sections (jasa, tentang, jual-beli) */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"],
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Jual-beli "Apa yang Kami Beli" cards — use Swiper horizontal scroll */
    .category-swiper-mobile {
        display: block !important;
    }
    .category-grid-desktop {
        display: none !important;
    }
    /* Jasa services grid on mobile */
    .jasa-services-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 769px) {
    .category-swiper-mobile { display: none !important; }
    .category-grid-desktop { display: grid !important; }
}
