/*
 Theme Name:   Astra Child - Ambulance
 Theme URI:    http://ambulance.test
 Description:  Custom Astra child theme untuk website karoseri CKM Kendaraan Khusus
 Author:       Admin
 Author URI:   http://ambulance.test
 Template:     astra
 Version:      4.1.1
 Text Domain:  astra-child
*/

/* ============================================
   CSS VARIABLES - Navy + Gold v4.1.0
   ============================================ */
:root {
    --primary: #1B4DB1;
    --primary-dark: #0A1628;
    --primary-light: #2563EB;
    --accent: #D4A843;
    --accent-light: #E8C36A;
    --dark: #0A1628;
    --dark2: #0F1D35;
    --text: #1E293B;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --bg: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-alt: #F1F5F9;
    --border: #E2E8F0;
    --shadow: 0 4px 20px rgba(10,22,40,0.08);
    --shadow-lg: 0 10px 40px rgba(10,22,40,0.12);
    --radius: 6px;
    --radius-lg: 8px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================
   ASTRA THEME INTEGRATION
   ============================================ */
/* Force full-width layout on homepage */
body.home .site-content,
body.custom-front .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.home #content.site-content,
body.custom-front #content.site-content {
    padding: 0 !important;
    margin: 0 !important;
}

body.home .site-content > .ast-container,
body.custom-front .site-content > .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

body.home #primary,
body.custom-front #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
}

body.home .entry-content,
body.custom-front .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

body.home article.page,
body.custom-front article.page,
body.home .ast-article-single,
body.custom-front .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove Astra sidebar on homepage */
body.home #secondary,
body.custom-front #secondary {
    display: none !important;
}

/* Override Astra separate container background */
body.home.ast-separate-container,
body.custom-front.ast-separate-container {
    background: var(--bg) !important;
}

body.home.ast-separate-container #primary > .ast-article-single,
body.custom-front.ast-separate-container #primary > .ast-article-single {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Make Astra header transparent on homepage */
body.home .ast-primary-header-bar,
body.custom-front .ast-primary-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.home .ast-primary-header-bar.ast-header-sticked,
body.custom-front .ast-primary-header-bar.ast-header-sticked {
    position: fixed;
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(10,22,40,0.08) !important;
}

/* Header link colors: white on transparent, dark on scrolled */
body.home .ast-primary-header-bar .site-branding a,
body.home .ast-primary-header-bar .ast-site-identity a,
body.custom-front .ast-primary-header-bar .site-branding a,
body.custom-front .ast-primary-header-bar .ast-site-identity a {
    color: #fff !important;
}

body.home .ast-primary-header-bar.ast-header-sticked .site-branding a,
body.home .ast-primary-header-bar.ast-header-sticked .ast-site-identity a,
body.custom-front .ast-primary-header-bar.ast-header-sticked .site-branding a,
body.custom-front .ast-primary-header-bar.ast-header-sticked .ast-site-identity a {
    color: var(--primary-dark) !important;
}

body.home .ast-primary-header-bar .main-header-menu > .menu-item > a,
body.custom-front .ast-primary-header-bar .main-header-menu > .menu-item > a {
    color: #fff !important;
}

body.home .ast-primary-header-bar.ast-header-sticked .main-header-menu > .menu-item > a,
body.custom-front .ast-primary-header-bar.ast-header-sticked .main-header-menu > .menu-item > a {
    color: var(--text) !important;
}

body.home .ast-primary-header-bar.ast-header-sticked .main-header-menu > .menu-item > a:hover,
body.custom-front .ast-primary-header-bar.ast-header-sticked .main-header-menu > .menu-item > a:hover {
    color: var(--primary) !important;
}

/* Mobile toggle color */
body.home .ast-primary-header-bar .ast-mobile-menu-trigger-minimal,
body.home .ast-primary-header-bar .ast-button-wrap .menu-toggle,
body.custom-front .ast-primary-header-bar .ast-mobile-menu-trigger-minimal,
body.custom-front .ast-primary-header-bar .ast-button-wrap .menu-toggle {
    color: #fff !important;
}

body.home .ast-primary-header-bar.ast-header-sticked .ast-mobile-menu-trigger-minimal,
body.home .ast-primary-header-bar.ast-header-sticked .ast-button-wrap .menu-toggle,
body.custom-front .ast-primary-header-bar.ast-header-sticked .ast-mobile-menu-trigger-minimal,
body.custom-front .ast-primary-header-bar.ast-header-sticked .ast-button-wrap .menu-toggle {
    color: var(--text) !important;
}

/* Hide Astra page title on front page */
body.home .ast-archive-description,
body.home .page-header,
body.home .entry-header,
body.custom-front .ast-archive-description,
body.custom-front .page-header,
body.custom-front .entry-header {
    display: none !important;
}

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ============================================
   2. HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Navy gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(27,77,177,0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 160px;
    width: 100%;
    height: 100%;
}

/* Hero badge with gold border */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,168,67,0.12);
    color: #fff;
    border: 1px solid var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    width: fit-content;
    letter-spacing: 0.3px;
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
}

/* Gold accent on hero title span */
.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 550px;
    margin-bottom: 36px;
    line-height: 1.8;
}

/* Fixed buttons at bottom of hero */
.hero-btns-fixed {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

/* Gold primary hero button */
.btn-hero-primary {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.btn-hero-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,168,67,0.35);
    color: var(--dark);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

/* Gold active dot */
.hero-dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   3. STATS SECTION - Glass-morphism cards, Navy bg
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(212,168,67,0.04);
    border-radius: 50%;
}

.stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Glass-morphism stat card */
.stat-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(212,168,67,0.25);
}

/* Gold bg stat icon */
.stat-icon {
    width: 52px;
    height: 52px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--dark);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--accent-light);
    transform: scale(1.08);
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    font-weight: 400;
}

/* ============================================
   4. SECTIONS (.section)
   ============================================ */
.section {
    padding: 80px 20px;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Gold uppercase label replaces section-badge pills */
.section-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* 50px gold bar */
.section-line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Keep section-badge for backward compat */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27,77,177,0.08);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   5. PRODUCTS SECTION - Horizontal flex cards with gold left border
   ============================================ */
.products-section {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

/* Horizontal flex card with gold left border */
.product-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-left: 4px solid var(--accent);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-light);
}

/* Product card icon - sibling of product-card-body */
.product-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    width: 72px;
    background: rgba(27,77,177,0.06);
    font-size: 26px;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.product-card:hover .product-card-icon {
    background: var(--primary);
    color: #fff;
}

.product-card-body {
    padding: 24px 20px;
    flex: 1;
}

.product-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.product-count {
    display: block;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.product-card-link:hover {
    gap: 10px;
    color: var(--accent);
}

.product-card-link i {
    font-size: 12px;
    transition: var(--transition);
}

/* ============================================
   5b. PRODUCTS OVERLAY CARDS - Photo bg + gradient + white text
   ============================================ */
.products-overlay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card-overlay {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.product-card-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.product-card-overlay:hover img {
    transform: scale(1.08);
}

/* Dark gradient from bottom */
.product-card-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.35) 50%, rgba(10,22,40,0.1) 100%);
    z-index: 1;
    transition: var(--transition);
}

.product-card-overlay:hover::after {
    background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.45) 50%, rgba(10,22,40,0.15) 100%);
}

.product-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-overlay-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.product-overlay-count {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

.product-overlay-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    transition: var(--transition);
}

.product-card-overlay:hover .product-overlay-btn {
    color: var(--accent);
    gap: 10px;
}

.product-overlay-btn i {
    font-size: 11px;
    transition: var(--transition);
}

/* ============================================
   5c. TRUSTED BY / KLIEN SECTION
   ============================================ */
.trusted-section {
    background: var(--bg);
}

.trusted-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trusted-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

.trusted-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.trusted-icon {
    width: 48px;
    height: 48px;
    background: rgba(27,77,177,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.trusted-card:hover .trusted-icon {
    background: var(--accent);
    color: var(--dark);
}

.trusted-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
}

.trusted-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .trusted-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trusted-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .trusted-card {
        padding: 18px 14px;
    }

    .trusted-card h4 {
        font-size: 13px;
    }

    .trusted-card p {
        font-size: 12px;
    }
}

/* ============================================
   6. ABOUT SECTION - about-img-col + about-content-col
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-col {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-col img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.about-img-col:hover img {
    transform: scale(1.03);
}

/* Gold bg overlay badge */
.about-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--dark);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(212,168,67,0.3);
}

.about-overlay-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(10,22,40,0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark);
}

.about-overlay-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.about-overlay-text span {
    display: block;
    font-size: 12px;
    color: rgba(10,22,40,0.7);
}

/* About content column */

.about-text {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* About timeline with gold dots on left border line */
.about-timeline {
    position: relative;
    padding-left: 24px;
    margin-bottom: 30px;
    border-left: 2px solid var(--border);
}

.timeline-item {
    position: relative;
    padding: 8px 0 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.2);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    min-width: 44px;
}

.timeline-text {
    font-size: 14px;
    color: var(--text-light);
}

/* About features (backward compat from v3) */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(27,77,177,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Also support about-img-wrap from v3 */
.about-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.about-img-wrap:hover img {
    transform: scale(1.03);
}

/* ============================================
   7. SERVICES SECTION - Left-border accent cards
   ============================================ */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Accent bar element */
.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent);
}

.service-card:hover .service-card-accent {
    background: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(27,77,177,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--dark);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   8. WHY US SECTION - Horizontal flex cards, dark navy bg
   ============================================ */
.why-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    background-size: 30px 30px;
}

.why-section .section-label {
    color: var(--accent);
}

.why-section .section-line {
    background: var(--accent);
}

.why-section .section-badge {
    background: var(--accent);
    color: var(--dark);
}

.why-section .section-title {
    color: #fff;
}

.why-section .section-title span {
    color: var(--accent);
}

.why-section .section-desc {
    color: rgba(255,255,255,0.6);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Horizontal flex card with gold icon */
.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.why-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
    border-color: rgba(212,168,67,0.3);
}

/* Gold bg icon */
.why-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--dark);
    transition: var(--transition);
    flex-shrink: 0;
}

.why-card:hover .why-card-icon {
    background: var(--accent-light);
    transform: scale(1.08);
}

/* Keep backward compat for why-card-num */
.why-card-num {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: rgba(27,77,177,0.4);
    line-height: 1;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.why-card:hover .why-card-num {
    color: rgba(212,168,67,0.5);
}

.why-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ============================================
   9. BLOG/ARTIKEL SECTION - Gold date badge, gold meta icons
   ============================================ */
.blog-section {
    background: var(--bg-light);
}

.blog-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212,168,67,0.2);
}

.blog-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

/* Gold date badge */
.blog-card-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
}

.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Gold meta icons */
.blog-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-card-meta i {
    margin-right: 4px;
    color: var(--accent);
}

.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--dark);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.blog-card-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.blog-card-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* ============================================
   10. CTA SECTION - Navy-to-blue gradient, gold primary button
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(212,168,67,0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.cta-section .section-inner {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-desc {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gold CTA primary button */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--dark);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-cta-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,168,67,0.35);
    color: var(--dark);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* ============================================
   11. BUTTONS (.btn-karoseri) - Gold bg, dark text
   ============================================ */
.btn-karoseri {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--dark);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-karoseri:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,168,67,0.3);
    color: var(--dark);
}

.btn-karoseri.outline {
    background: transparent;
    color: var(--accent);
}

.btn-karoseri.outline:hover {
    background: var(--accent);
    color: var(--dark);
}

/* ============================================
   12. BACK TO TOP (#back-top) - Gold bg
   ============================================ */
#back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    font-size: 18px;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212,168,67,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

#back-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212,168,67,0.4);
}

/* ============================================
   13. RESPONSIVE
   ============================================ */

/* Tablet & below */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-col img,
    .about-img-wrap img {
        height: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .products-overlay-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-btns-fixed {
        bottom: 60px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-btns-fixed .btn-hero {
        width: 90%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .about-timeline {
        margin-left: auto;
        margin-right: auto;
        max-width: 320px;
    }

    .about-content .section-badge,
    .about-content-col .section-badge {
        display: block;
        text-align: center;
    }

    /* Product cards stack vertically */
    .product-card {
        flex-direction: column;
    }

    .product-card-icon {
        min-width: unset;
        width: 100%;
        min-height: 56px;
        height: 56px;
    }

    /* Why cards stack */
    .why-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    #back-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hero-btns-fixed {
        bottom: 50px;
        gap: 8px;
    }

    .hero-btns-fixed .btn-hero {
        width: 95%;
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .product-card-body {
        padding: 20px 16px;
    }

    .service-card {
        padding: 24px 18px;
    }

    .why-card {
        padding: 24px;
    }

    .why-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }

    .blog-cards-row {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-overlay-grid {
        grid-template-columns: 1fr;
    }

    .product-card-overlay {
        aspect-ratio: 16 / 10;
    }

    .about-img-col img,
    .about-img-wrap img {
        height: 260px;
    }

    .about-overlay {
        bottom: 12px;
        right: 12px;
        padding: 12px 14px;
    }

    .about-overlay-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
    }

    .about-overlay-text strong {
        font-size: 13px;
    }

    .about-overlay-text span {
        font-size: 11px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ============================================
   15. PRODUCT CATEGORY PAGE (page-produk-kategori.php)
   ============================================ */

/* Hero Banner */
.kategori-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.kategori-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kategori-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(27,77,177,0.7) 100%);
}

.kategori-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 40px;
}

/* Breadcrumb */
.kategori-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.kategori-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.kategori-breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    color: rgba(255,255,255,0.35);
    font-size: 10px;
}

.breadcrumb-current {
    color: var(--accent);
    font-weight: 600;
}

.kategori-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.kategori-hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
}

/* Content area inside Astra #primary */
.page-template-page-produk-kategori #primary {
    padding-top: 0;
}

.page-template-page-produk-kategori .ast-article-single {
    padding-top: 0;
}

/* Remove Astra's default page title on category pages (we use hero) */
.page-template-page-produk-kategori .entry-header,
.page-template-page-produk-kategori .page-header,
.page-template-page-produk-kategori .ast-archive-description {
    display: none;
}

/* Remove top padding on reopened #content */
.page-template-page-produk-kategori #content.site-content {
    padding-top: 0;
}

.kategori-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.kategori-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
    line-height: 1.3;
}

.kategori-content h2:first-child {
    margin-top: 0;
}

.kategori-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 28px 0 10px;
    line-height: 1.3;
}

.kategori-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.kategori-content ul,
.kategori-content ol {
    margin: 12px 0 20px 20px;
    list-style: disc;
}

.kategori-content li {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 6px;
}

.kategori-content li strong {
    color: var(--dark);
}

.kategori-content strong {
    color: var(--dark);
    font-weight: 600;
}

.kategori-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kategori-content a:hover {
    color: var(--accent);
}

/* CTA Box */
.kategori-cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.kategori-cta-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--dark);
}

.kategori-cta-text {
    flex: 1;
    min-width: 200px;
}

.kategori-cta-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.kategori-cta-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0;
}

.kategori-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Kategori Nav Widget in Astra Sidebar */
.kategori-nav-widget {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.kategori-nav-widget .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
}

.kategori-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kategori-nav-list li {
    margin-bottom: 4px;
}

.kategori-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}

.kategori-nav-list li a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.kategori-nav-list li.current a {
    background: rgba(27,77,177,0.08);
    color: var(--primary);
    font-weight: 600;
}

.kategori-nav-list li a img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.kategori-nav-list li a span {
    flex: 1;
    line-height: 1.3;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .kategori-hero {
        height: 280px;
    }

    .kategori-hero-content {
        padding-bottom: 30px;
    }

    .kategori-content {
        padding: 24px 20px;
    }

    .kategori-cta-box {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }

    .kategori-cta-btns {
        justify-content: center;
        width: 100%;
    }

    .kategori-cta-btns .btn-karoseri {
        width: 100%;
        justify-content: center;
    }

    .kategori-nav-list li a img {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   14. ANIMATIONS & UTILITIES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Selection color */
::selection {
    background: var(--accent);
    color: var(--dark);
}

::-moz-selection {
    background: var(--accent);
    color: var(--dark);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   15b. BLOG ARCHIVE PAGINATION
   High specificity to beat Astra dynamic CSS overrides.
   ============================================ */

nav.artikel-pagination {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--bg-alt);
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Shared button base — specificity 0,2,1 beats Astra's a{} rules */
nav.artikel-pagination .ap-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 2px solid var(--accent) !important;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    color: var(--dark) !important;
    background: transparent !important;
}

nav.artikel-pagination .ap-btn:hover {
    background: var(--accent) !important;
    color: var(--dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,168,67,0.3);
}

/* Prev / Next — text buttons */
nav.artikel-pagination .ap-prev,
nav.artikel-pagination .ap-next {
    padding: 0 20px;
    gap: 8px;
}

/* Page number — square buttons */
nav.artikel-pagination .ap-num {
    min-width: 48px;
    padding: 0;
}

/* Active page — gold filled */
nav.artikel-pagination .ap-active {
    background: var(--accent) !important;
    color: var(--dark) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 4px 12px rgba(212,168,67,0.3);
    pointer-events: none;
}

/* Disabled state */
nav.artikel-pagination .ap-disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 600px) {
    nav.artikel-pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    nav.artikel-pagination .ap-btn {
        height: 42px;
        font-size: 13px;
    }

    nav.artikel-pagination .ap-prev,
    nav.artikel-pagination .ap-next {
        padding: 0 14px;
    }

    nav.artikel-pagination .ap-num {
        min-width: 42px;
    }
}

/* ============================================
   15c. PRODUK ALL CATEGORIES PAGE (/produk/)
   ============================================ */

.produk-all-section {
    padding: 48px 20px;
    border-bottom: 2px solid var(--bg-alt);
}

.produk-all-section.produk-all-alt {
    background: var(--bg-alt);
}

.produk-all-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.produk-all-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 22px;
}

.produk-all-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.produk-all-title a {
    color: inherit;
    text-decoration: none;
}

.produk-all-title a:hover {
    color: var(--accent);
}

.produk-all-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Product items grid */
.produk-all-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.produk-all-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.produk-all-alt .produk-all-item {
    background: #fff;
}

.produk-all-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.produk-all-item i {
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
}

.produk-all-footer {
    text-align: left;
}

@media (max-width: 600px) {
    .produk-all-header {
        flex-direction: column;
        gap: 12px;
    }

    .produk-all-title {
        font-size: 20px;
    }

    .produk-all-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   16. SINGLE POST TEMPLATE
   Reuses .kategori-hero, .kategori-content, .kategori-cta-box
   from section 14 (produk-kategori). Only single-post-specific
   elements (meta, tags, share, author, related) are styled here.
   ============================================ */

/* --- Single Post: Hero Meta (date, author, category, reading time) --- */
.single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.single-hero-meta i {
    color: var(--accent);
    margin-right: 4px;
}

/* --- Single Post: Astra overrides --- */
/* Hide Astra default entry header (we use hero instead) */
.single .entry-header,
.single .ast-single-post-order .entry-header {
    display: none !important;
}

/* Remove top padding on #content (hero sits flush against header) */
.single #content.site-content {
    padding-top: 0 !important;
}

/* Remove Astra default article padding */
.single .ast-article-single {
    padding-top: 0;
}

/* --- Tags --- */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.single-tag {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--text);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.single-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* --- Share Buttons --- */
.single-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.single-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.single-share-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: var(--transition);
    text-decoration: none;
}

.single-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-tw { background: #0F1419; }

/* --- Author Box --- */
.single-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 30px 0;
}

.single-author-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.single-author-label {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-author-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 4px 0 8px;
}

.single-author-bio {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* --- Related Posts --- */
.single-related {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--bg-alt);
}

.single-related .section-header {
    margin-bottom: 30px;
}

/* --- Single Post: Responsive --- */
@media (max-width: 768px) {
    .single-hero-meta {
        gap: 10px;
        font-size: 12px;
    }

    .single-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .single-share {
        flex-wrap: wrap;
    }

    .single-related .blog-cards-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CKM CUSTOM LOGO - HEADER/NAVBAR
   ============================================ */
.ckm-logo-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.ckm-header-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
    transition: var(--transition);
}

.ckm-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.ckm-logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

/* Logo colors: white on transparent header (homepage) */
body.home .ast-primary-header-bar .ckm-logo-link,
body.custom-front .ast-primary-header-bar .ckm-logo-link {
    color: #fff !important;
}

/* Logo colors: dark on scrolled/sticky header */
body.home .ast-primary-header-bar.ast-header-sticked .ckm-logo-link,
body.custom-front .ast-primary-header-bar.ast-header-sticked .ckm-logo-link {
    color: var(--primary-dark) !important;
}

/* Logo colors: dark on non-homepage */
.ckm-logo-link {
    color: var(--primary-dark) !important;
}

/* Logo hover effect */
.ckm-logo-link:hover .ckm-header-logo {
    transform: scale(1.05);
}

.ckm-logo-link:hover {
    color: var(--primary) !important;
}

/* ============================================
   CKM LOGO - ABOUT SECTION BADGE
   ============================================ */
.about-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(10,22,40,0.06);
    transition: var(--transition);
}

.about-logo-badge:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 24px rgba(212,168,67,0.15);
    transform: translateY(-2px);
}

.about-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   CKM CUSTOM FOOTER
   ============================================ */
.ckm-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 0;
    margin-top: 0;
}

.ckm-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

.ckm-footer-col {
    min-width: 0;
}

/* Footer Brand Column */
.ckm-footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.ckm-footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    padding: 8px;
    transition: var(--transition);
}

.ckm-footer-logo-link:hover .ckm-footer-logo {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
}

.ckm-footer-company {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.ckm-footer-tagline {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 14px;
}

.ckm-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Footer Headings */
.ckm-footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* Footer Links */
.ckm-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ckm-footer-links li {
    margin-bottom: 10px;
}

.ckm-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ckm-footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--accent);
    transition: var(--transition);
}

.ckm-footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

/* Footer Contact */
.ckm-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ckm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.ckm-footer-contact li i {
    color: var(--accent);
    font-size: 15px;
    margin-top: 3px;
    min-width: 18px;
    text-align: center;
}

.ckm-footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: var(--transition);
}

.ckm-footer-contact a:hover {
    color: var(--accent);
}

/* Footer Bottom Bar */
.ckm-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.ckm-footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* ============================================
   CKM FOOTER - RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .ckm-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .ckm-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px 30px;
    }

    .ckm-footer-brand {
        text-align: center;
    }

    .ckm-footer-logo {
        width: 64px;
        height: 64px;
    }

    .ckm-footer-heading {
        font-size: 14px;
    }
}

/* ============================================
   CKM HEADER LOGO - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .ckm-header-logo {
        width: 36px;
        height: 36px;
    }

    .ckm-logo-text {
        font-size: 14px;
    }

    .ckm-logo-text span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .ckm-logo-text span {
        display: none;
    }

    .ckm-logo-text {
        font-size: 13px;
    }

    .ckm-header-logo {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   Pojok kanan bawah, di atas back-to-top button
   ============================================ */
.ckm-floating-wa {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: ckm-wa-pulse 2s infinite;
}

.ckm-floating-wa:hover {
    background: #20bd5a;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
    animation: none;
}

.ckm-floating-wa i {
    font-size: 22px;
    line-height: 1;
}

.ckm-floating-wa-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Pulse animation */
@keyframes ckm-wa-pulse {
    0% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile: icon only (no text), smaller position */
@media (max-width: 768px) {
    .ckm-floating-wa {
        bottom: 80px;
        right: 20px;
        padding: 14px;
        border-radius: 50%;
    }

    .ckm-floating-wa-text {
        display: none;
    }

    .ckm-floating-wa i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ckm-floating-wa {
        bottom: 72px;
        right: 16px;
        padding: 12px;
    }

    .ckm-floating-wa i {
        font-size: 22px;
    }
}

/* ============================================
   17. PROFIL PERUSAHAAN PAGE (page-profil.php)
   ============================================ */

/* Astra overrides for profil template */
.page-template-page-profil #primary {
    padding-top: 0;
}

.page-template-page-profil .ast-article-single {
    padding-top: 0;
}

.page-template-page-profil .entry-header,
.page-template-page-profil .page-header,
.page-template-page-profil .ast-archive-description {
    display: none !important;
}

.page-template-page-profil #content.site-content {
    padding-top: 0;
}

/* Alternating section background */
.profil-section-alt {
    background: var(--bg-light);
}

/* --- Identitas Perusahaan: Info Grid --- */
.profil-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.profil-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
}

.profil-info-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.profil-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(27,77,177,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.profil-info-card:hover .profil-info-icon {
    background: var(--accent);
    color: var(--dark);
}

.profil-info-body h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px;
}

.profil-info-body p {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
}

.profil-info-body a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.profil-info-body a:hover {
    color: var(--accent);
}

/* --- Tentang: About Content --- */
.profil-about-content {
    max-width: 860px;
    margin: 0 auto;
}

.profil-about-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.profil-about-content strong {
    color: var(--dark);
    font-weight: 700;
}

/* --- Visi & Misi Grid --- */
.profil-visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profil-visi-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.profil-visi-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.profil-visi-icon {
    width: 56px;
    height: 56px;
    background: rgba(27,77,177,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.profil-visi-card:hover .profil-visi-icon {
    background: var(--accent);
    color: var(--dark);
}

.profil-visi-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
}

.profil-visi-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.profil-visi-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profil-visi-card ul li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.profil-visi-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 13px;
}

/* --- PERFECT Values Grid --- */
.profil-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.profil-value-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.profil-value-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.profil-value-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: var(--transition);
}

.profil-value-card:hover .profil-value-letter {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--dark);
}

.profil-value-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
}

.profil-value-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* --- ISO Certification Grid --- */
.profil-iso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.profil-iso-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.profil-iso-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.profil-iso-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    border-radius: 50%;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.profil-iso-card:hover .profil-iso-badge {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--dark);
    transform: scale(1.08);
}

.profil-iso-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}

.profil-iso-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* --- Fasilitas Grid --- */
.profil-fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.profil-fasilitas-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}

.profil-fasilitas-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.profil-fasilitas-icon {
    width: 52px;
    height: 52px;
    background: rgba(27,77,177,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 18px;
    transition: var(--transition);
}

.profil-fasilitas-card:hover .profil-fasilitas-icon {
    background: var(--accent);
    color: var(--dark);
}

.profil-fasilitas-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}

.profil-fasilitas-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* --- Profil Page Responsive --- */
@media (max-width: 991px) {
    .profil-info-grid {
        grid-template-columns: 1fr;
    }

    .profil-visi-misi-grid {
        grid-template-columns: 1fr;
    }

    .profil-iso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profil-fasilitas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profil-iso-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .profil-iso-card {
        padding: 20px 14px;
    }

    .profil-iso-badge {
        width: 52px;
        height: 52px;
        font-size: 15px;
    }

    .profil-iso-card h4 {
        font-size: 14px;
    }

    .profil-value-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profil-values-grid {
        grid-template-columns: 1fr;
    }

    .profil-visi-card {
        padding: 24px 20px;
    }
}
