/* =====================================================================
   TOKI_WEB - Bangkok Toki System Co., Ltd.
   Site-wide stylesheet (converted from the Figma / React reference design)
   ===================================================================== */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: #F7FAF5;
    font-family: "Noto Sans Thai", "Noto Sans JP", "Inter", sans-serif;
    color: #1a1a2e;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------------------------------------------------------------------
   Header — modern bright
   --------------------------------------------------------------------- */
.site-header-modern {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: auto;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-name-modern {
    font-size: 15px;
    font-weight: 700;
    color: #15622C;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.brand-name-jp-modern {
    font-size: 10px;
    color: #64748b;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.main-nav-modern {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav-modern a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
    color: #475569;
    transition: all 0.2s ease;
    position: relative;
    line-height: 1.4;
}

.main-nav-modern a:hover {
    color: #15622C;
    background: rgba(21,98,44,0.06);
}

.main-nav-modern a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2.5px;
    background: #438700;
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.main-nav-modern a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav-modern a .nav-en {
    font-size: 9.5px;
    opacity: 0.55;
    letter-spacing: 0.5px;
}

.main-nav-modern .nav-cta {
    background: #438700;
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 100px;
    margin-left: 8px;
}

.main-nav-modern .nav-cta:hover {
    background: #356e00 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67,135,0,0.3);
}

.main-nav-modern .nav-cta::after {
    display: none;
}

.main-nav-modern .nav-cta .nav-en {
    opacity: 0.75;
}

.mobile-toggle-modern {
    display: none;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #1a1a2e;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.15s;
}

.mobile-toggle-modern:hover {
    background: rgba(0,0,0,0.04);
}

.mobile-nav-modern {
    display: none;
    padding: 8px 16px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: #fff;
}

.mobile-nav-modern a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.15s;
    margin-bottom: 2px;
}

.mobile-nav-modern a:hover {
    background: rgba(21,98,44,0.06);
    color: #15622C;
}

.mobile-nav-modern a i {
    font-size: 16px;
    color: #438700;
    width: 20px;
    text-align: center;
}

.mobile-nav-modern a .nav-en {
    font-size: 11px;
    opacity: 0.5;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .main-nav-modern {
        display: none !important;
    }

    .mobile-toggle-modern {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-modern.open {
        display: block !important;
        animation: slideDown 0.25s ease;
    }

    .header-inner {
        height: 64px;
        padding: 0 16px;
    }

    .brand-logo {
        width: 44px;
    }

    .brand-name-modern {
        font-size: 13px;
    }
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to   { opacity: 1; max-height: 400px; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
    /*background: linear-gradient(135deg, #001d5c < Very deep blue 0%, #003087 55%, #0055cc 100%);#00872f*/
    /*  background: linear-gradient(135deg,#15622C 0%,#79997c 0%,#3c7a43 50%);*/
    background: linear-gradient(135deg,#15622C 0%,#4bb35b 0%,#3c7a43 50%);
    /* padding: 48px 24px 56px;
    position: relative;*/
    overflow: hidden;
}

    .hero .hero-inner {
        max-width: 1200px;
        margin: 0 auto;
        /*position: relative;*/
        padding: 12px 0 24px 24px;
        box-shadow: 0 4px 8px rgba(60,60,60,.22);
    }

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge-location {
    /*background: rgba(0,170,255,0.2);*/
    background: rgba(46,204,113,0.2); /*
    border: 1px solid rgba(0,170,255,0.4);*/
    border: 1px solid rgba(31,151,82,0.4);
    /*color: #7dd3fc; Sky*/
    color: #A9FC7D; /*Lima*/
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.badge-role {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff;
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

    .hero h1 .hero-subtitle {
        display: block;
        font-size: clamp(13px, 2vw, 17px);
        font-weight: 400;
        color: rgba(255,255,255,0.65);
        margin-top: 6px;
        letter-spacing: 0;
    }

.hero p.lead {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    max-width: 520px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary {
    /* background: #0ea5e9; */
    background: #42C702; /*   << Candy Green*/
    border: none;
    color: #fff;
    padding: 11px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.15s;
    display: inline-block;
}
    /*#0284c7 Honolulu Blue >> #2ecc71 Turtle Warrior
  Hypnotic Green
*/
    .btn-primary:hover {
        background: #6FEF02; 
    }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
    padding: 11px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
    display: inline-block;
}

    .btn-outline:hover {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.6);
    }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

    .hero-stats .stat-value {
        font-size: 26px;
        font-weight: 800;
        color: #13DE23; /*Monstrous Green
*/
        line-height: 1;
    }

    .hero-stats .stat-label {
        font-size: 11px;
        color: rgba(255,255,255,0.5);
        margin-top: 2px;
        letter-spacing: 0.5px;
    }

/* ---------------------------------------------------------------------
   Products section
   --------------------------------------------------------------------- */
.products-main {
    background: rgba(121,153,124,0.18);
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 64px;
    /*box-shadow: 0 4px 20px rgba(0,0,0,0.25);*/
    box-shadow: 0 4px 8px rgba(60,60,60,.44);
}

.section-heading {
    margin-bottom: 36px;
}

    .section-heading .heading-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }

    .section-heading .bar {
        width: 4px;
        height: 28px;
        /* background: #003087;*/
        background: #438700;
        border-radius: 2px;
        flex-shrink: 0;
    }

    .section-heading h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
        color: #0f1929;
        letter-spacing: -0.3px;
    }

    .section-heading .heading-en {
        font-size: 12px;
        color: #64748b;
        letter-spacing: 0.5px;
    }

    .section-heading .heading-desc {
        margin: 0;
        font-size: 13.5px;
        color: #475569;
        max-width: 560px;
        line-height: 1.7;
        padding-left: 16px;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.06);
}

    .product-card:hover {
        box-shadow: 0 8px 32px rgba(0,48,135,0.16), 0 2px 8px rgba(0,0,0,0.08);
        transform: translateY(-4px);
    }

    .product-card .card-image {
        position: relative;
        height: 160px;
        overflow: hidden;
        background: #e2e8f0;
    }

        .product-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

    .product-card:hover .card-image img {
        transform: scale(1.04);
    }

    .product-card .card-image .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 55%, rgba(0,20,80,0.35) 100%);
        transition: background 0.22s;
    }

    .product-card:hover .card-image .overlay {
        background: linear-gradient(180deg, transparent 40%, rgba(0,20,80,0.5) 100%);
    }

    .product-card .card-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 2px;
        letter-spacing: 0.8px;
        text-transform: uppercase;
    }

    .product-card .card-body {
        padding: 16px 18px 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .product-card .card-title {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #0f1929;
        line-height: 1.3;
    }

    .product-card .card-title-en {
        font-size: 11px;
        color: #64748b;
        font-weight: 500;
        margin-top: 2px;
    }

    .product-card .card-desc {
        margin: 0;
        font-size: 12.5px;
        color: #475569;
        line-height: 1.65;
    }

    .product-card .card-footer {
        margin-top: auto;
        padding-top: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .product-card .card-cta {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    .product-card .card-cta-en {
        font-size: 10px;
        color: #94a3b8;
    }

/* CTA strip  #001d5c>> Subnautical, #003087 One Minute to Midnight 
    New >> Sacro Bosco , Kelp Forest 
*/
.cta-strip {
    margin-top: 48px;
    background: linear-gradient(135deg, #2FA30C 0%, #438700 100%);
    border-radius: 10px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

    .cta-strip .cta-title {
        font-size: 17px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 6px;
    }

    .cta-strip .cta-desc {
        font-size: 13px;
        color: rgba(255,255,255,0.65);
    }

/* ---------------------------------------------------------------------
   Inner pages — modern hero small
   --------------------------------------------------------------------- */
.page-hero-modern-sm {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #15622C 0%, #2FA30C 50%, #58B100 100%);
    padding: 19px 7px;
    margin: 0 4px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 12px rgba(21,98,44,0.22);
    transition: all 0.4s ease;
}

.hero-sm-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-sm-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: #fff;
}

.hero-sm-shape.s1 { width: 160px; height: 160px; top: -60px; right: -40px; }
.hero-sm-shape.s2 { width: 80px; height: 80px; bottom: -30px; left: -20px; }

.hero-sm-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.hero-sm-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.4s ease;
}

.sidebar-product-nav {
    width: 100%;
    background: #f6f8f5;
    border: 1px solid rgba(67,135,0,0.15);
    color: #2d5a1e;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 28px 6px 10px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23438700'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.sidebar-product-nav:hover {
    background: #eef2ec;
    border-color: rgba(67,135,0,0.3);
}

.sidebar-product-nav option {
    background: #fff;
    color: #2d5a1e;
}

.page-hero-modern-sm.hero-minimized {
    padding: 9px 3px;
    margin-top: -3px;
    cursor: pointer;
}

.page-hero-modern-sm.hero-minimized .hero-sm-content h1 {
    font-size: clamp(10px, 1vw, 13px);
}

.page-hero-modern-sm.hero-minimized .hero-sm-badge {
    font-size: 6px;
    padding: 1px 5px;
}

.hero-sm-content h1 {
    color: #fff;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.page-hero-modern-sm.hero-minimized {
    padding: 10px 7px;
    margin-top: -1px;
    font-size: 8px;
}

.hero-separator {
    max-width: 1200px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid #d1d5db;
}

/* ---------------------------------------------------------------------
   Inner pages — content cards
   --------------------------------------------------------------------- */
.content-modern-s {
    max-width: 860px;
    margin: 0 auto;
    padding: 44px 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.content-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.content-modern-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease;
}

.content-modern-card:hover {
    box-shadow: 0 4px 20px rgba(21,98,44,0.08), 0 1px 4px rgba(0,0,0,0.04);
}

.content-modern-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.content-modern-title {
    text-align: center;
    /*text-decoration: underline; */
    margin-bottom: 24px;
    font-size: 1.8rem; 
  border-bottom: 2px solid black;
  padding-bottom: 5px; /* Controls spacing above the line */
}

.content-modern-icon {
    width: 44px;
    height: 44px;
    background: rgba(67,135,0,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #438700;
    font-size: 20px;
    flex-shrink: 0;
}

.content-modern h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f1929;
    margin: 0;
}

.content-modern p {
    font-size: 14px;
    color: #475569;
    line-height: 1.85;
    margin: 0 0 10px;
}

.content-modern ul {
    margin: 0 0 10px;
    padding-left: 20px;
}

.content-modern li {
    font-size: 14px;
    color: #475569;
    line-height: 1.85;
}

.content-modern * + h2 {
    margin-top: 28px;
}

.content-modern h2 + p {
    margin-top: 12px;
}

.content-modern-card a:not([class]) {
    color: #438700;
    text-decoration: underline;
}

.content-modern .content-en {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.7;
}

.identity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.identity-item:last-child {
    border-bottom: none;
}

.identity-no {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(67,135,0,0.08);
    color: #438700;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.identity-desc {
    margin: 2px 0 0 !important;
}

.content-link {
    color: #438700 !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(67,135,0,0.25);
    transition: border-color 0.15s;
}

.content-link:hover {
    border-color: #438700;
}

/* ---------------------------------------------------------------------
   Contact page — modern
   --------------------------------------------------------------------- */
.contact-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-modern-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(21,98,44,0.10);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(67,135,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #438700;
    font-size: 22px;
    transition: all 0.25s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: #438700;
    color: #fff;
    transform: scale(1.05);
}

.contact-info-icon.active {
    background: #438700;
    color: #fff;
    transform: scale(1.05);
}

.contact-info-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 6px;
    letter-spacing: 0.3px;
}

.contact-info-card p {
    font-size: 14px;
    font-weight: 500;
    color: #0f1929;
    margin: 0;
}

.contact-info-card p a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(67,135,0,0.25);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-info-card p a:hover {
    color: #438700;
    border-bottom-color: #438700;
}

.form-modern {
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 720px;
}

.form-modern-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-modern-group {
    margin-bottom: 20px;
}

.form-modern-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f1929;
    margin-bottom: 7px;
}

.form-modern-group .req {
    color: #dc2626;
}

.form-modern-group input[type="text"],
.form-modern-group input[type="email"],
.form-modern-group input[type="tel"],
.form-modern-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    background: #F7FAF5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-modern-group input:focus,
.form-modern-group textarea:focus {
    border-color: #438700;
    box-shadow: 0 0 0 3px rgba(67,135,0,0.10);
    background: #fff;
}

.form-modern-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error-modern {
    color: #dc2626;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    padding-left: 2px;
}

.form-success-modern {
    background: #ecfdf5;
    border: 1px solid #34d399;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #065f46;
    font-size: 13px;
    line-height: 1.7;
    max-width: 720px;
}

.form-success-modern i {
    font-size: 24px;
    color: #34d399;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-modern-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #438700;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 32px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(67,135,0,0.3);
    margin-top: 4px;
}

.btn-modern-submit:hover {
    background: #356e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67,135,0,0.35);
}

.btn-submit-en {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

.contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 28px;
    align-items: start;
}

.contact-form-layout .form-modern {
    max-width: none;
    width: 100%;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    position: sticky;
    top: 96px;
}

.contact-map img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .contact-modern-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-modern-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-modern {
        padding: 24px 20px;
    }

    .contact-form-layout {
        grid-template-columns: 1fr;
    }

    .contact-map {
        position: static;
    }

    .content-modern-card {
        padding: 24px 20px;
    }
}

/* ---------------------------------------------------------------------
   ERP page — modern
   --------------------------------------------------------------------- */
.page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px 64px;
}

.erp-layout-tree {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.erp-tree-sidebar {
    background: #fff;
    border-radius: 14px;
    padding: 20px 12px;
    position: sticky;
    top: 88px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    color: #438700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 0 6px 12px;
    border-bottom: 2px solid rgba(67,135,0,0.12);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-heading i {
    font-size: 14px;
}

.tree-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tree-branch {
    display: flex;
    flex-direction: column;
}

.tree-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.15s;
    text-align: left;
    width: 100%;
    font-family: inherit;
    line-height: 1.4;
    text-decoration: none;
}

    .tree-tab:hover {
        background: rgba(67,135,0,0.06);
        color: #15622C; 
    }

.tree-toggle-icon {
    font-size: 10px;
    color: #94a3b8;
    width: 14px;
    flex-shrink: 0;
    transition: color 0.15s;
}

.tree-tab:hover .tree-toggle-icon {
    color: #438700; 
}

.tree-tab-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.tree-tab-en {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 400;
}

.tree-children {
    display: flex;
    flex-direction: column;
    margin-left: 14px;
    padding-left: 10px;
    border-left: 2px solid rgba(67, 135, 0, 0.904);
    gap: 1px;
    padding-bottom: 4px;
}

.tree-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: transparent;
    border: none;
    color: #475569;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s;
    text-align: left;
    width: 100%;
    font-family: inherit;
    line-height: 1.4;
    text-decoration: none;
}

.tree-item:hover {
    background: rgba(67,135,0,0.06);
    color: #15622C;
}

    .tree-item.active {
        background: rgba(67,135,0,0.10);
        color: #15622C;
        font-weight: 600;  
    }

.tree-bullet {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    transition: background 0.15s;
}

.tree-item:hover .tree-bullet,
.tree-item.active .tree-bullet {
    background: #438700;
}

.tree-item-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.tree-item-en {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 400;
}

.page-content-modern {
    background: #fff;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    min-height: 640px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.page-content-modern::-webkit-scrollbar {
    width: 8px;
}

.page-content-modern::-webkit-scrollbar-track {
    background: transparent;
}

.page-content-modern::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

.page-content-modern::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.page-content-header {
    /*position: sticky;*/
    top: 0;
    z-index: 1;
    background: #fff;
    margin-bottom: 2.8px;
    padding-bottom: 1.8px;
}

.erp-page-content-desc {
    margin-top: 12px;
}

.page-content-desc-jpn {
    display: block;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
}

.page-content-desc-eng {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2px;
}

.page-content-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
    color: #0f1929;
    letter-spacing: -0.3px;
}

.page-content-title-en {
    font-size: 12px;
    color: #64748b;
    letter-spacing: 0.5px;
}

.page-content-body {
    display: flex;
    flex-direction: column;
}

.concept-card {
    padding: 8px 0; /*20px*/
}
/*
.concept-card:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
*/
.concept-card-title {
    margin: 0 0 3px;
    font-size: 17px;
    font-weight: 700;
    color: #0f1929;
}

.concept-card-title-en {
    margin: 0 0 12px;
    font-size: 12px;
    color: #64748b;
}

.concept-image-wrap {
    margin: 14px 0 18px;
    text-align: center;
}

.concept-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.concept-desc-modern {
    margin: 0 0 8px;
    font-size: 14px;
    color: #475569;
     line-height: 1.85;/**/
}

.concept-desc-en-modern {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.7;
    font-style: italic;
}

.no-content-modern {
    display: block;
    text-align: center;
    padding: 48px 24px;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 768px) {
    .erp-layout-tree {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .erp-tree-sidebar {
        position: static;
    }

    .page-content-modern {
        padding: 24px 20px;
        max-height: none;
        overflow-y: visible;
    }
}

.tree-tab.active {
    background: rgba(21,98,44,0.18);
    color: #0e4d20;
    font-weight: 600;
    border-left: 3px solid #438700;
    box-shadow: inset 0 0 8px rgba(67,135,0,0.15);
}

.content-panel {
    display: block;
}

.module-table-head {
    border-bottom: none;
    margin-bottom: 0;
}

.module-table-head thead th {
    border-bottom: 2px solid #c8dcc6;
}

.repeater-scroll {
    max-height: 520px;
    overflow: auto;
    border: 1px solid #e9edf0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.repeater-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.repeater-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.repeater-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.repeater-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.repeater-scroll .module-table {
    border: none;
    border-radius: 0;
}

.module-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid #e9edf0;
    border-radius: 10px;
    overflow: hidden;
}

.module-table thead th {
    background: #f0f7ee;
    color: #1a3a1a;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border-bottom: 2px solid #c8dcc6;
    text-align: left;
}

.module-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #eef2f0;
    vertical-align: top;
    line-height: 1.6;
}

.module-table tbody tr:last-child td {
    border-bottom: none;
}

.module-table tbody tr:hover {
    background: #f6faf4;
}

.module-table .col-no {
    width: 50px;
    color: #64748b;
    font-weight: 600;
    text-align: center;
}

.module-table .col-name {
    width: 30%;
    font-weight: 600;
    color: #1e293b;
}

.module-table .col-desc {
    color: #475569;
}

.item-name-en {
    display: block;
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 2px;
}

.history-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.history-item:last-child {
    border-bottom: none;
}

.history-period {
    flex-shrink: 0;
    min-width: 96px;
    font-size: 13px;
    font-weight: 700;
    color: #438700;
    line-height: 1.8;
}

.history-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.8;
}

@media (max-width: 640px) {
    .history-item {
        flex-direction: column;
        gap: 4px;
    }
}

.module-intro-card {
    background: linear-gradient(135deg, #f0f7ee 0%, #e8f5e4 100%);
    border-radius: 12px;
    padding: 28px 32px;
    border: 1px solid #d4e4d0;
    text-align: center;
}

.module-intro-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #0f3b0f;
}

.module-intro-en {
    margin: 0;
    font-size: 13px;
    color: #5a7a5a;
}

.sales-card {
    padding: 8px 0; /*14px*/
    display: flex;
    gap: 12px; 
    align-items: flex-start;
}
/*
.sales-card:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
*/

.sales-num {
    font-weight: 700;
    color: #438700;
    font-size: 14px;
    min-width: 28px;
    flex-shrink: 0;
}

.sales-desc {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.85;
}

.qa-card {
    padding: 8px 0;
}
/*
.qa-card:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
*/
.qa-desc {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.85;
    white-space: pre-line;
}

.workflow-wrap {
    text-align: center;
    padding: 12px 0;
}

.workflow-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    border: 1px solid #e9edf0;
}

/* ---------------------------------------------------------------------
   Content system page — content layouts
   --------------------------------------------------------------------- */
/*#0284c7 #075985 #64748b */
.page-subtitle-block {
    margin-top: 10px;
    padding-left: 14px;
    border-left: 3px solid #00a300;
   
}

.page-subtitle-jpn {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #048213;
}

.page-subtitle-eng {
    display: block;
    font-size: 11.5px;
    color: #6b8b64;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.content-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.content-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.content-txt {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 880px;
    line-height: 1.9;
}

.content-img-only {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .content-img-only .qr-img {
        max-width: 640px;
    }

    .content-img-only .qr-img-placeholder {
        width: 50%;
        max-width: 640px;
          /*820px*/
    }

.content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.pager-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f1929;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pager-btn:hover {
    background: #eef2f7;
    border-color: #cbd5e1;
    color: #15622C;
}

.pager-btn[disabled="disabled"] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pager-arrow {
    font-size: 15px;
    line-height: 1;
}

.pager-label {
    line-height: 1.3;
}

.page-content-desc {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.9;
    white-space: pre-line;
}

.page-content-desc-en {
    margin: 8px 0 0;
    font-size: 12.5px;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.7;
}

.page-content-image {
    text-align: center;
}

.qr-img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(2,132,199,0.12);
    border: 1px solid #e2e8f0;
}

.qr-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 260px;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    color: #94a3b8;
    font-size: 13px;
    background: #f8fafc;
    padding: 24px;
    text-align: center;
}

.qr-img-placeholder i {
    font-size: 44px;
    color: #bae6fd;
}

@media (max-width: 768px) {
    .content-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ---------------------------------------------------------------------
   Footer — modern bright
   --------------------------------------------------------------------- */
.site-footer-modern {
    background: #fff;
    border-top: 3px solid #438700;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.04);
}

.footer-modern-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.footer-modern-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-modern-brand {}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo {
    width: 48px;
    height: auto;
}

.footer-company-name {
    font-size: 13px;
    font-weight: 700;
    color: #15622C;
    line-height: 1.3;
}

.footer-description {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.8;
    color: #64748b;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(67,135,0,0.08);
    color: #438700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #438700;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67,135,0,0.25);
}

.footer-modern-col {}

.footer-col-heading {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(67,135,0,0.15);
}

.footer-modern-link {
    font-size: 13px;
    color: #64748b;
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.footer-modern-link:hover {
    color: #438700;
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: #438700;
    font-size: 15px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    text-decoration: none;
}

.footer-contact-link:hover {
    color: #438700;
    text-decoration: underline;
}

/* Public visitor counter — footer */
.footer-counter-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-counter-widget .counter-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.footer-counter-widget .counter-label i {
    color: #438700;
    font-size: 13px;
}

.footer-counter-widget .counter-stats {
    display: flex;
    gap: 10px;
}

.footer-counter-widget .counter-item {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 5px 13px;
    border: 1px solid rgba(67,135,0,0.14);
    border-radius: 999px;
    background: rgba(67,135,0,0.06);
}

.footer-counter-widget .counter-num {
    font-size: 14px;
    font-weight: 800;
    color: #438700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.footer-counter-widget .counter-desc {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.footer-modern-bottom {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-modern-bottom > span {
    font-size: 11.5px;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links span {
    font-size: 11.5px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s;
}

.footer-bottom-links span:hover {
    color: #438700;
}

@media (max-width: 768px) {
    .footer-modern-cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-modern-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-modern-cols {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------------
   Products page — modern redesign
   --------------------------------------------------------------------- */

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page-hero-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #15622C 0%, #2FA30C 40%, #58B100 100%);
    padding: 52px 24px;
    margin: 0 8px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 24px rgba(21,98,44,0.25);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 400px; height: 400px;
    background: #fff;
    top: -160px; right: -80px;
}

.shape-2 {
    width: 240px; height: 240px;
    background: #fff;
    bottom: -80px; left: -60px;
}

.shape-3 {
    width: 120px; height: 120px;
    background: #fff;
    top: 40px; left: 30%;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.hero-content p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    max-width: 520px;
    line-height: 1.7;
    margin: 0;
}

.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

.products-container {
    background: rgba(121,153,124,0.10);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.10);
    color: #475569;
    padding: 8px 18px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    border-color: #438700;
    color: #438700;
    background: rgba(67,135,0,0.06);
}

.filter-btn.active {
    background: #438700;
    border-color: #438700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(67,135,0,0.25);
}

.filter-btn .filter-en {
    font-size: 10px;
    opacity: 0.6;
}

.filter-btn.active .filter-en {
    opacity: 0.8;
}

.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card-modern {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
    animation: cardFadeIn 0.5s ease both;
}

.product-card-modern:nth-child(1) { animation-delay: 0.05s; }
.product-card-modern:nth-child(2) { animation-delay: 0.10s; }
.product-card-modern:nth-child(3) { animation-delay: 0.15s; }
.product-card-modern:nth-child(4) { animation-delay: 0.20s; }
.product-card-modern:nth-child(5) { animation-delay: 0.25s; }
.product-card-modern:nth-child(6) { animation-delay: 0.30s; }
.product-card-modern:nth-child(7) { animation-delay: 0.35s; }
.product-card-modern:nth-child(8) { animation-delay: 0.40s; }

.product-card-modern:hover {
    box-shadow: 0 8px 32px rgba(21,98,44,0.12), 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-6px);
    border-color: rgba(67,135,0,0.12);
}

.card-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #e8ece6;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-modern:hover .card-image-wrapper img {
    transform: scale(1.06);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-body-modern {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-title-modern {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f1929;
    line-height: 1.35;
}

.card-subtitle-modern {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    margin: 0 0 4px;
}

.card-desc-modern {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
}

.card-desc-en-modern {
    margin: 0;
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.6;
    font-style: italic;
}

.card-action {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.card-link {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    text-decoration: none;
}

.card-link-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.product-card-modern:hover .card-link-main {
    gap: 10px;
}

.card-link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.product-card-modern:hover .card-link i {
    transform: translateX(3px);
}

.card-link-en {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 500;
}

.no-products-msg {
    display: block;
    text-align: center;
    padding: 48px 24px;
    color: #64748b;
    font-size: 14px;
}

.cta-section-modern {
    max-width: 1200px;
    margin: -24px auto 48px;
    padding: 0 24px;
}

.cta-inner {
    background: linear-gradient(135deg, #15622C 0%, #2FA30C 50%, #58B100 100%);
    border-radius: 18px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(21,98,44,0.20);
}

.cta-inner h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
}

.cta-inner p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0;
}

.cta-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #15622C;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 100px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.cta-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: #f5fff0;
}

@media (max-width: 640px) {
    .page-hero-modern {
        padding: 40px 20px;
        margin: 0 4px;
        border-radius: 0 0 16px 16px;
    }

    .products-container {
        padding: 20px 16px;
    }

    .product-grid-modern {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        padding: 28px 24px;
        text-align: center;
        justify-content: center;
    }
}

/* ---------------------------------------------------------------------
   Default page — hero modern
   --------------------------------------------------------------------- */
.hero-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d3b1e 0%, #15622C 30%, #2FA30C 65%, #58B100 100%);
    padding: 72px 24px 64px;
    margin: 0 8px;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 8px 32px rgba(21,98,44,0.28);
}

.hero-modern-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: #fff;
}

.hero-shape-1 { width: 500px; height: 500px; top: -200px; right: -120px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.hero-shape-3 { width: 160px; height: 160px; top: 60px; left: 25%; }
.hero-shape-4 { width: 80px; height: 80px; bottom: 80px; right: 30%; }

.hero-modern-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.hero-modern-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.92);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 0.8px;
}

.hero-modern-badge i {
    font-size: 13px;
}

.hero-modern-badge-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.hero-modern-content h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero-modern-sub {
    display: block;
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    letter-spacing: 0;
}

.hero-modern-lead {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    max-width: 540px;
    line-height: 1.8;
    margin: 16px 0 28px;
}

.hero-modern-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #15622C;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 100px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    background: #f5fff0;
}

.btn-modern-primary small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.55;
}

.btn-modern-primary i {
    font-size: 16px;
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 100px;
    transition: all 0.25s ease;
}

.btn-modern-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

.btn-modern-outline small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.55;
}

.btn-modern-outline i {
    font-size: 16px;
}

.hero-modern-stats {
    display: flex;
    gap: 40px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-size: 30px;
    font-weight: 800;
    color: #A9FC7D;
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

/* ---------------------------------------------------------------------
   Default page — products section
   --------------------------------------------------------------------- */
.section-products-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 56px;
}

.section-products-inner {
    background: rgba(121,153,124,0.10);
    border-radius: 20px;
    padding: 36px 32px 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.section-header-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}

.section-header-line {
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #438700, #58B100);
    border-radius: 3px;
    flex-shrink: 0;
}

.section-header-modern h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f1929;
    letter-spacing: -0.3px;
}

.section-header-en {
    font-size: 12px;
    color: #64748b;
    letter-spacing: 0.5px;
}

.section-header-desc {
    margin: 10px 0 36px;
    font-size: 13.5px;
    color: #475569;
    max-width: 560px;
    line-height: 1.7;
    padding-left: 18px;
}

@media (max-width: 640px) {
    .hero-modern {
        padding: 48px 20px 44px;
        margin: 0 4px;
        border-radius: 0 0 20px 20px;
    }

    .hero-shape-1 { width: 300px; height: 300px; top: -120px; right: -80px; }
    .hero-shape-2 { width: 180px; height: 180px; }

    .hero-modern-stats {
        gap: 24px;
    }

    .section-products-modern {
        padding: 28px 16px 36px;
    }

    .section-products-inner {
        padding: 24px 16px 28px;
    }

    .product-grid-modern {
        grid-template-columns: 1fr;
    }
}
