/* HOME */
:root {
    --primary: #0f5132;
    --primary-dark: #0a3622;
    --primary-light: #d1e7dd;
    --accent: #ff6b00;
    --accent-dark: #e05d00;
    --text: #212529;
    --text-muted: #6c757d;
    --bg-soft: #f8f9fa;
    --border: #e9ecef;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   GENERAL
===================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #ffffff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 26px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(15, 81, 50, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 81, 50, 0.35);
}

.btn-outline {
    color: var(--text);
    border: 1px solid #ced4da;
    background: #ffffff;
}

.btn-outline:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.btn-white {
    color: var(--primary);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: #fff;
    background: radial-gradient( circle at 80% 20%, rgba(255,102,0,.18), transparent 30% ), linear-gradient( 135deg, #006400 0%, #006400 55%, #006400 100% );
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: linear-gradient(45deg, #fff 25%, transparent 25%), linear-gradient(-45deg, #fff 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #fff 75%), linear-gradient(-45deg, transparent 75%, #fff 75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
    padding: 80px 0;
}
.government-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    background: rgba(255,255,255,.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
}
.government-badge i {
    color: #ffb27a;
}
.hero h1 {
    max-width: 700px;
    margin: 24px 0 20px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -2px;
} .hero h1 span {
    display: block;
    color: #ff6b00;
 } .hero-text > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.8;
} .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 35px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.7);
    font-size: 12px;
}
.trust-item i {
    color: #ff9a52;
}

/* ===================================================== HERO CERTIFICATE ===================================================== */
.hero-image {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
    .hero-glow {
        position: absolute;
        width: 390px;
        height: 390px;
        border-radius: 50%;
        background: rgba(255,102,0,.18);
        filter: blur(50px);
    }
    .certificate-showcase {
        position: relative;
        z-index: 2;
        width: min(460px, 100%);
        padding: 12px;
        border-radius: 18px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.2);
        box-shadow: 0 35px 80px rgba(0,0,0,.3);
        transform: rotate(2deg);
        transition: transform .35s ease;
    }
    .certificate-showcase:hover {
        transform: rotate(0deg) translateY(-6px);
    }
    .showcase-header {
        height: 25px;
        display: flex;
        align-items: center;
        gap: 6px;
        padding-left: 8px;
    } .showcase-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); } .certificate-img { display: block; width: 100%; border-radius: 10px; } /* ===================================================== FLOATING CARDS ===================================================== */ .floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--text); box-shadow: 0 15px 40px rgba(0,0,0,.18); font-size: 12px; } .floating-card i { color: var(--accent); font-size: 20px; } .floating-card strong { display: block; margin-bottom: 3px; font-size: 12px; } .floating-card small { color: var(--text-muted); } .floating-card-one { left: -20px; bottom: 60px; } .floating-card-two { right: -15px; top: 70px; }

/* =====================================================
   STATS BAR (Glassmorphism Overlay)
===================================================== */
.stats-section {
    position: relative;
    z-index: 4;
    margin-top: -50px;
}

.stats-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon-1 {
    background: #fff3eb;
    color: var(--accent);
}

.stat-icon-2 {
    background: #eef7f2;
    color: var(--primary);
}

.stat-icon-3 {
    background: #fff3eb;
    color: var(--accent);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Curved Divider */
.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -2px;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* =====================================================
   INTRO SECTION
===================================================== */
.intro-section {
    padding: 60px 0 20px;
    background: #ffffff;
}

.section-title {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.section-eyebrow {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-title h2 span {
    color: var(--accent);
}

.section-title p {
    margin: 16px auto 0;
    max-width: 620px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* =====================================================
   FEATURES SECTION
===================================================== */
.features-section {
    padding: 50px 0 90px;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 32px 26px;
    border: 1px solid #f1f3f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 81, 50, 0.15);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
    background: var(--primary);
}

.feature-card:nth-child(2n) .feature-icon-box {
    background: var(--accent);
}

.feature-number {
    position: absolute;
    top: 28px;
    right: 26px;
    color: #e9ecef;
    font-size: 26px;
    font-weight: 800;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   BENEFITS SECTION
===================================================== */
.benefits-section {
    padding: 90px 0;
    background-color: var(--bg-soft);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.benefits-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin: 12px 0 20px;
    line-height: 1.2;
}

.benefits-content h2 span {
    color: var(--accent);
}

.benefits-content > p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.benefits-list {
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefits-list i {
    color: #ffff;
}

.benefit-icon-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.benefit-item p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Visual Card Side */
.benefits-visual {
    display: flex;
    justify-content: center;
}

.visual-card-large {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 45px;
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(15, 81, 50, 0.25);
    position: relative;
    overflow: hidden;
}

.visual-card-large .visual-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 107, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 24px;
}

.visual-card-large .badge-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffb885;
    margin-bottom: 12px;
}

.visual-card-large h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
}

.visual-line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 10px;
    margin: 20px 0;
}

.visual-card-large p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.visual-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

/* =====================================================
   CTA SECTION
===================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f5132 0%, #165712 100%);
    color: #ffffff;
}

.cta-content {
    align-items: center;
}

.cta-text .section-eyebrow {
    color: #ffb885;
}

.cta-text h2 {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 12px;
}

.cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}
.cta-action{
    margin-top: 20px;
}
/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 8px 0 16px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .cta-content {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 34px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    position: relative;
    overflow: hidden;
    padding: 65px 0 0;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #0a0a0a 0%,
        #0a0a0a 65%,
        #0a0a0a 100%
    );
}

/* Aksen oranye di bagian atas */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        #ff6600 0%,
        #ff9a52 45%,
        #ff6600 100%
    );
}

.footer-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1.2fr;
    gap: 65px;
    padding-bottom: 45px;
}

/* Identitas aplikasi */
.footer-brand-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    font-size: 21px;
}

.footer-brand-heading h4 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}

.footer-brand-heading span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    line-height: 1.5;
}

.footer-description {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.9;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    font-size: 11px;
}

.footer-badge i {
    color: #ff9957;
}

/* Judul kolom */
.footer-heading {
    position: relative;
    margin: 7px 0 25px;
    padding-bottom: 13px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    border-radius: 5px;
    background: #ff6600;
}

/* Navigasi */
.footer-links,
.footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links {
    display: grid;
    gap: 15px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a i {
    color: #ff8a3d;
    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Informasi kontak */
.footer-contact-list {
    display: grid;
    gap: 19px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #ff9957;
    background: rgba(255, 102, 0, 0.13);
    font-size: 14px;
}

.footer-contact-list li > div {
    min-width: 0;
}

.footer-contact-list small {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.footer-contact-list a,
.footer-contact-list p {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #ff9957;
}

/* Copyright */
.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    line-height: 1.7;
}

.footer-bottom strong {
    color: #ffffff;
}

.footer-bottom-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}

.footer-bottom-note i {
    color: #ff9957;
}

/* Responsif */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer {
        padding-top: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-heading {
        margin-bottom: 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

.header.scrolled .btn-primary, .header.always-solid .btn-primary {
    color: #ffff !important;
}


/* FAQ */
    :root {
        --faq-green: #005000;
        --faq-orange: #ff6600;
        --faq-light: #f5f8f4;
        --faq-text: #26352a;
        --faq-muted: #68756b;
        --faq-border: #e4ebe3;
    }

    .faq-page {
        background: var(--faq-light);
        padding-bottom: 80px;
    }

    /* Hero */
    .faq-hero {
        position: relative;
        overflow: hidden;
        padding: 125px 0 100px;
        background: linear-gradient(135deg, #005000 0%, #063d20 100%);
        color: #fff;
    }

    .faq-hero::before,
    .faq-hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .faq-hero::before {
        width: 340px;
        height: 340px;
        top: -180px;
        right: 5%;
        border: 55px solid rgba(255,255,255,.055);
    }

    .faq-hero::after {
        width: 220px;
        height: 220px;
        bottom: -155px;
        left: 8%;
        background: rgba(255,102,0,.15);
    }

    .faq-hero-content {
        position: relative;
        z-index: 1;
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .faq-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 16px;
        margin-bottom: 22px;
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 50px;
        background: rgba(255,255,255,.08);
        color: #fff;
        font-size: .85rem;
        font-weight: 600;
        letter-spacing: .5px;
    }

    .faq-eyebrow i {
        color: #ff994d;
    }

    .faq-hero h1 {
        margin: 0 0 18px;
        color: #fff;
        font-size: clamp(2rem, 4vw, 3.1rem);
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -.8px;
    }

    .faq-hero h1 span {
        color: #ff994d;
    }

    .faq-hero p {
        max-width: 650px;
        margin: 0 auto;
        color: rgba(255,255,255,.83);
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .faq-hero-line {
        width: 65px;
        height: 4px;
        margin: 25px auto 0;
        border-radius: 5px;
        background: var(--faq-orange);
    }

    /* Main content */
    .faq-main {
        position: relative;
        z-index: 2;
        max-width: 950px;
        margin: 55px auto 0;
        padding: 0 20px;
    }

    .faq-heading {
        margin-bottom: 25px;
        text-align: center;
    }

    .faq-heading h2 {
        margin: 0 0 10px;
        color: var(--faq-green);
        font-size: 1.65rem;
        font-weight: 800;
    }

    .faq-heading p {
        margin: 0;
        color: var(--faq-muted);
        line-height: 1.7;
    }

    /* FAQ accordion */
    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .faq-item {
        overflow: hidden;
        border: 1px solid var(--faq-border);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0,80,0,.035);
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .faq-item:hover,
    .faq-item[open] {
        border-color: rgba(0,80,0,.25);
        box-shadow: 0 7px 24px rgba(0,80,0,.07);
    }

    .faq-question {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 21px 24px;
        cursor: pointer;
        list-style: none;
    }

    .faq-question::-webkit-details-marker {
        display: none;
    }

    .faq-question::marker {
        content: "";
    }

    .faq-question-icon {
        display: flex;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(0,80,0,.07);
        color: var(--faq-green);
        font-size: 1rem;
        transition: background .2s ease, color .2s ease;
    }

    .faq-item[open] .faq-question-icon {
        background: var(--faq-green);
        color: #fff;
    }

    .faq-question-text {
        flex: 1;
        color: var(--faq-text);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.6;
    }

    .faq-toggle {
        display: flex;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f2f5f1;
        color: var(--faq-green);
        transition: transform .2s ease, background .2s ease;
    }

    .faq-item[open] .faq-toggle {
        transform: rotate(180deg);
        background: #fff0e6;
        color: var(--faq-orange);
    }

    .faq-answer {
        padding: 0 24px 23px 81px;
        color: var(--faq-muted);
        font-size: .96rem;
        line-height: 1.85;
        overflow-wrap: anywhere;
    }

    .faq-answer p:last-child {
        margin-bottom: 0;
    }

    .faq-answer a {
        color: var(--faq-green);
        font-weight: 600;
    }

    .faq-answer ul,
    .faq-answer ol {
        padding-left: 22px;
    }

    /* Empty state */
    .faq-empty {
        padding: 45px 25px;
        border: 1px dashed #cbd8ca;
        border-radius: 16px;
        background: #fff;
        text-align: center;
    }

    .faq-empty-icon {
        display: inline-flex;
        width: 65px;
        height: 65px;
        align-items: center;
        justify-content: center;
        margin-bottom: 17px;
        border-radius: 20px;
        background: #edf4eb;
        color: var(--faq-green);
        font-size: 1.7rem;
    }

    .faq-empty h3 {
        margin-bottom: 8px;
        color: var(--faq-green);
    }

    .faq-empty p {
        margin: 0;
        color: var(--faq-muted);
        line-height: 1.7;
    }

    /* Contact panel */
    .faq-contact {
        position: relative;
        overflow: hidden;
        margin-top: 55px;
        padding: 38px;
        border: 1px solid rgba(0,80,0,.1);
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 8px 30px rgba(0,80,0,.055);
        text-align: center;
    }

    .faq-contact-icon {
        display: flex;
        width: 58px;
        height: 58px;
        align-items: center;
        justify-content: center;
        margin: 0 auto 18px;
        border-radius: 17px;
        background: #fff0e6;
        color: var(--faq-orange);
        font-size: 1.45rem;
    }

    .faq-contact h2 {
        margin: 0 0 12px;
        color: var(--faq-green);
        font-size: 1.65rem;
        font-weight: 800;
    }

    .faq-contact > p {
        max-width: 560px;
        margin: 0 auto 25px;
        color: var(--faq-muted);
        line-height: 1.8;
    }

    .faq-contact-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .faq-contact-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 46px;
        padding: 12px 19px;
        border: 1px solid var(--faq-border);
        border-radius: 10px;
        background: #fff;
        color: var(--faq-green);
        font-size: .9rem;
        font-weight: 700;
        text-decoration: none;
        overflow-wrap: anywhere;
        transition: all .2s ease;
    }

    .faq-contact-link:hover {
        border-color: var(--faq-green);
        background: #f3f8f1;
        color: var(--faq-green);
    }

    .faq-contact-link.primary {
        border-color: var(--faq-orange);
        background: var(--faq-orange);
        color: #fff;
    }

    .faq-contact-link.primary:hover {
        border-color: #e85c00;
        background: #e85c00;
        color: #fff;
    }

    .faq-contact-link i {
        font-size: 1rem;
    }

    @media (max-width: 767px) {
        .faq-hero {
            padding: 85px 0 75px;
        }

        .faq-hero h1 {
            letter-spacing: -.4px;
        }

        .faq-hero p {
            font-size: .95rem;
        }

        .faq-main {
            padding: 0 15px;
        }

        .faq-heading h2 {
            font-size: 1.4rem;
        }

        .faq-question {
            gap: 11px;
            padding: 17px 15px;
        }

        .faq-question-icon {
            flex-basis: 36px;
            width: 36px;
            height: 36px;
            border-radius: 10px;
        }

        .faq-question-text {
            font-size: .93rem;
        }

        .faq-toggle {
            flex-basis: 28px;
            width: 28px;
            height: 28px;
        }

        .faq-answer {
            padding: 0 17px 20px;
            font-size: .92rem;
        }

        .faq-contact {
            margin-top: 38px;
            padding: 30px 18px;
        }

        .faq-contact h2 {
            font-size: 1.4rem;
        }

        .faq-contact-actions {
            flex-direction: column;
        }

        .faq-contact-link {
            width: 100%;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .faq-item,
        .faq-question-icon,
        .faq-toggle,
        .faq-contact-link {
            transition: none;
        }
    }

    /* TEMPLATE SERTIFIKAT */
/* =====================================================
   TEMPLATE PAGE VARIABLES
===================================================== */

:root {
    --tpl-green: #005000;
    --tpl-green-dark: #003b00;
    --tpl-green-soft: #edf5ed;
    --tpl-orange: #ff6600;
    --tpl-orange-soft: #fff1e7;
    --tpl-text: #1f2937;
    --tpl-muted: #667085;
    --tpl-border: #e7ebe7;
    --tpl-background: #f7f9f7;
}


/* =====================================================
   HERO
===================================================== */

.template-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(255, 102, 0, 0.18),
            transparent 28%
        ),
        linear-gradient(
            125deg,
            #005000,
            #005000 68%,
            #006400
        );
}

.template-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 22px 22px;
}

.template-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
    min-height: 590px;
    padding-top: 55px;
    padding-bottom: 55px;
}

.template-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.template-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.template-breadcrumb a:hover {
    color: #ffad78;
}

.template-breadcrumb i {
    font-size: 9px;
    opacity: 0.6;
}

.template-breadcrumb span {
    color: #ffad78;
}

.template-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: #ffb17f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.template-eyebrow span {
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background: var(--tpl-orange);
}

.template-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 4.2vw, 54px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.template-hero h1 span {
    display: block;
    color: #ff9957;
}

.template-hero-content > p {
    max-width: 610px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.9;
}

.template-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
}

.template-hero-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
}

.template-hero-meta i {
    color: #ff9957;
}


/* =====================================================
   HERO VISUAL
===================================================== */

.template-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.template-visual-circle {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 0 0 30px rgba(255, 255, 255, 0.025),
        0 0 0 60px rgba(255, 255, 255, 0.02);
}

.template-visual-card {
    position: relative;
    z-index: 1;
    width: min(320px, 85%);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.23);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.template-visual-card:hover {
    transform: rotate(0) translateY(-4px);
}

.template-visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.template-visual-top i {
    color: #ff9957;
    font-size: 20px;
}

.template-visual-paper {
    padding: 22px 20px 15px;
    border: 5px double #d5b578;
    background: #fffdf6;
    color: var(--tpl-green);
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.template-paper-emblem {
    margin-bottom: 8px;
    color: var(--tpl-green);
    font-size: 28px;
}

.template-paper-title {
    color: #806026;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.template-paper-subtitle {
    margin-top: 8px;
    color: #8a8a7b;
    font-size: 9px;
}

.template-paper-line {
    width: 65%;
    height: 4px;
    margin: 10px auto;
    border-radius: 5px;
    background: #d8d9d0;
}

.template-paper-line.long {
    width: 82%;
    margin-top: 18px;
    background: #b6c6ae;
}

.template-paper-line.short {
    width: 43%;
}

.template-paper-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    color: #bd9450;
}

.template-paper-footer span {
    width: 50px;
    height: 2px;
    background: #d8d9d0;
}

.template-paper-footer i {
    font-size: 25px;
}

.template-visual-badge {
    position: absolute;
    right: -24px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--tpl-text);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.17);
    font-size: 11px;
    font-weight: 700;
}

.template-visual-badge i {
    color: var(--tpl-green);
    font-size: 17px;
}


/* =====================================================
   CATALOG SECTION
===================================================== */

.template-catalog {
    padding: 70px 0 90px;
    background: var(--tpl-background);
}

.template-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}

.template-section-eyebrow {
    margin-bottom: 11px;
    color: var(--tpl-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.template-section-heading h2 {
    margin: 0;
    color: var(--tpl-green);
    font-size: clamp(29px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.template-section-heading h2 span {
    color: var(--tpl-orange);
}

.template-section-heading p {
    max-width: 570px;
    margin: 13px 0 0;
    color: var(--tpl-muted);
    font-size: 13px;
    line-height: 1.8;
}

.template-total {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 16px;
    border: 1px solid var(--tpl-border);
    border-radius: 12px;
    background: #ffffff;
}

.template-total-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: var(--tpl-green);
    background: var(--tpl-green-soft);
    font-size: 17px;
}

.template-total strong {
    display: block;
    color: var(--tpl-green);
    font-size: 19px;
}

.template-total small {
    display: block;
    margin-top: 2px;
    color: var(--tpl-muted);
    font-size: 10px;
}


/* =====================================================
   FILTER
===================================================== */

.template-filter-area {
    margin-bottom: 28px;
}

.template-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
}

.template-filter-label i {
    color: var(--tpl-orange);
}

.template-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.template-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 39px;
    padding: 9px 15px;
    border: 1px solid #e1e7e1;
    border-radius: 9px;
    color: #475467;
    background: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.template-filter-btn i {
    color: var(--tpl-green);
    font-size: 11px;
}

.template-filter-btn:hover {
    border-color: var(--tpl-green);
    color: var(--tpl-green);
    transform: translateY(-1px);
}

.template-filter-btn.active {
    border-color: var(--tpl-green);
    color: #ffffff;
    background: var(--tpl-green);
    box-shadow: 0 4px 12px rgba(0, 80, 0, 0.12);
}

.template-filter-btn.active i {
    color: #ff9957;
}


/* =====================================================
   TEMPLATE GRID & CARDS
===================================================== */

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 45px;
}

.template-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e7ebe7;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(25, 45, 25, 0.035);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.template-card:hover {
    transform: translateY(-5px);
    border-color: #d4e2d4;
    box-shadow: 0 16px 35px rgba(0, 55, 0, 0.09);
}

.template-card-thumb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 245px;
    overflow: hidden;
    background: #f0f3ef;
}

.template-thumb-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 50% 40%,
            #ffffff 0,
            #f6f8f4 55%,
            #e9eee8 100%
        );
}

.template-image-trigger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.template-thumbnail {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.10));
    transition: transform 0.35s ease;
}

.template-card:hover .template-thumbnail {
    transform: scale(1.035);
}

.template-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(0, 59, 0, 0.92);
    font-size: 10px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.template-card:hover .template-zoom,
.template-image-trigger:focus-visible .template-zoom {
    opacity: 1;
    transform: translateY(0);
}

.template-category-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    max-width: 65%;
    overflow: hidden;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 7px;
    color: var(--tpl-green);
    background: rgba(255, 255, 255, 0.94);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template-featured-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 7px;
    color: #ffffff;
    background: var(--tpl-orange);
    font-size: 10px;
    font-weight: 700;
}

.template-no-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #98a398;
    font-size: 11px;
}

.template-no-preview i {
    font-size: 43px;
}


/* Card content */

.template-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px;
}

.template-card-heading {
    margin-bottom: 16px;
}

.template-card-heading h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--tpl-text);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.template-card-accent {
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 11px;
    border-radius: 5px;
    background: var(--tpl-orange);
}

.template-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.template-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid #e8ede8;
    border-radius: 6px;
    color: #59675a;
    background: #f8faf8;
    font-size: 10px;
    line-height: 1.2;
}

.template-chip i {
    color: var(--tpl-green);
    font-size: 10px;
}

.template-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf0ed;
}

.template-card-date {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--tpl-muted);
    font-size: 10px;
}

.template-card-date i {
    color: var(--tpl-orange);
}

.template-usage {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    color: var(--tpl-green);
    font-size: 10px;
    font-weight: 700;
}

.template-preview-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 43px;
    margin-top: 17px;
    padding: 10px 14px;
    border: 1px solid var(--tpl-green);
    border-radius: 8px;
    color: #ffffff;
    background: var(--tpl-green);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.template-preview-action:hover {
    border-color: var(--tpl-green-dark);
    background: var(--tpl-green-dark);
}

.template-action-arrow {
    margin-left: auto;
    color: #ff9957;
    transition: transform 0.2s ease;
}

.template-preview-action:hover .template-action-arrow {
    transform: translateX(3px);
}


/* =====================================================
   PAGINATION
===================================================== */

.template-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 auto 15px;
}

.template-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 39px;
    height: 39px;
    padding: 0 11px;
    border: 1px solid #e0e7e0;
    border-radius: 8px;
    color: var(--tpl-green);
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.template-page-btn:hover:not(.disabled) {
    border-color: var(--tpl-green);
    background: var(--tpl-green-soft);
}

.template-page-btn.active {
    border-color: var(--tpl-green);
    color: #ffffff;
    background: var(--tpl-green);
}

.template-page-btn.disabled {
    color: #b6beb6;
    background: #f1f3f1;
    cursor: not-allowed;
}

.template-pagination-info {
    margin: 0 0 45px;
    color: var(--tpl-muted);
    text-align: center;
    font-size: 11px;
}


/* =====================================================
   EMPTY STATE
===================================================== */

.template-empty {
    max-width: 620px;
    margin: 0 auto 55px;
    padding: 55px 30px;
    border: 1px solid var(--tpl-border);
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.template-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 22px;
    color: var(--tpl-green);
    background: var(--tpl-green-soft);
    font-size: 30px;
}

.template-empty h3 {
    margin: 0 0 12px;
    color: var(--tpl-text);
    font-size: 21px;
}

.template-empty p {
    max-width: 420px;
    margin: 0 auto 22px;
    color: var(--tpl-muted);
    font-size: 13px;
    line-height: 1.8;
}

.template-empty-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tpl-green);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.template-empty-link:hover {
    color: var(--tpl-orange);
}


/* =====================================================
   INFORMATION PANEL
===================================================== */

.template-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%;
    margin-top: 55px;
    padding: 30px;
    border: 1px solid #dfe9df;
    border-radius: 14px;
    background:
        linear-gradient(
            110deg,
            #edf5ed,
            #ffffff 75%
        );
}

.template-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    color: #ffffff;
    background: var(--tpl-green);
    font-size: 19px;
}

.template-info-content h3 {
    margin: 2px 0 10px;
    color: var(--tpl-green);
    font-size: 17px;
}

.template-info-content p {
    margin: 0;
    color: var(--tpl-muted);
    font-size: 12px;
    line-height: 1.9;
}

.template-info-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--tpl-green);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.template-info-content a i {
    color: var(--tpl-orange);
    transition: transform 0.2s ease;
}

.template-info-content a:hover i {
    transform: translateX(4px);
}


/* =====================================================
   PREVIEW MODAL
===================================================== */

.template-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 28, 0, 0.78);
    backdrop-filter: blur(5px);
}

.template-modal-dialog {
    display: flex;
    flex-direction: column;
    width: min(1000px, 96vw);
    max-height: 92vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.28);
    animation: templateModalIn 0.2s ease-out;
}

@keyframes templateModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.template-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--tpl-border);
}

.template-modal-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.template-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    color: var(--tpl-green);
    background: var(--tpl-green-soft);
    font-size: 18px;
}

.template-modal-heading small {
    display: block;
    margin-bottom: 4px;
    color: var(--tpl-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.template-modal-heading h3 {
    overflow: hidden;
    margin: 0;
    color: var(--tpl-text);
    font-size: 15px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid var(--tpl-border);
    border-radius: 9px;
    color: #59675a;
    background: #ffffff;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
}

.template-modal-close:hover {
    border-color: #ffddd0;
    color: var(--tpl-orange);
    background: var(--tpl-orange-soft);
}

.template-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    overflow: auto;
    padding: 25px;
    background:
        radial-gradient(
            circle at center,
            #ffffff,
            #f1f4f0
        );
}

.template-modal-body img {
    display: block;
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.template-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 22px;
    border-top: 1px solid var(--tpl-border);
}

.template-modal-footer > span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tpl-muted);
    font-size: 11px;
}

.template-modal-footer > span i {
    color: var(--tpl-orange);
}

.template-modal-done {
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--tpl-green);
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
}

.template-modal-done:hover {
    background: var(--tpl-green-dark);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {
    .template-hero-inner {
        grid-template-columns: 1fr 0.7fr;
        gap: 25px;
    }

    .template-hero-visual {
        min-height: 280px;
    }

    .template-visual-badge {
        right: -5px;
    }

    .template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .template-hero-inner {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .template-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .template-hero-content > p {
        font-size: 13px;
    }

    .template-hero-visual {
        min-height: 270px;
        margin-top: 10px;
    }

    .template-visual-card {
        width: 260px;
    }

    .template-visual-circle {
        width: 210px;
        height: 210px;
    }

    .template-visual-badge {
        right: max(0px, calc((100% - 290px) / 2));
        bottom: 12px;
    }

    .template-catalog {
        padding: 48px 0 60px;
    }

    .template-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .template-total {
        width: 100%;
    }

    .template-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .template-card-thumb {
        height: 250px;
    }

    .template-zoom {
        opacity: 1;
        transform: none;
    }

    .template-info {
        gap: 14px;
        padding: 22px 18px;
    }

    .template-info-icon {
        width: 40px;
        height: 40px;
    }

    .template-modal {
        padding: 10px;
    }

    .template-modal-dialog {
        width: 100%;
        max-height: 94vh;
    }

    .template-modal-header {
        padding: 13px;
    }

    .template-modal-body {
        padding: 12px;
    }

    .template-modal-body img {
        max-height: 68vh;
    }

    .template-modal-footer {
        padding: 12px;
    }
}

@media (max-width: 400px) {
    .template-hero h1 {
        font-size: 33px;
    }

    .template-hero-meta {
        flex-direction: column;
        gap: 12px;
    }

    .template-filter-btn {
        flex: 1 1 auto;
        font-size: 11px;
    }

    .template-card-body {
        padding: 17px;
    }

    .template-card-thumb {
        height: 220px;
    }

    .template-pagination {
        gap: 5px;
    }

    .template-page-btn {
        min-width: 34px;
        height: 35px;
        padding: 0 8px;
    }

    .template-info {
        flex-direction: column;
    }
}
