/* ===== CORPORATE SITE — Additional Styles ===== */
/* Extends style-luxury.css for multi-page corporate layout */

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }
.dropdown-trigger { cursor: pointer; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 9, 12, 0.97);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-gold);
    min-width: 200px;
    padding: 12px 0;
    list-style: none;
    z-index: 1001;
    margin-top: 12px;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { padding: 0; }
.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: all 0.3s;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    color: var(--gold);
    background: var(--gold-glow);
}

/* ===== PAGE HERO (Sub-pages) ===== */
.page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(201, 168, 76, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero-short { min-height: 50vh; }
.page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.page-hero-content .eyebrow {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}
.page-hero-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.page-hero-content .hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero subtitle */
.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 24px !important;
}

/* ===== SERVICES OVERVIEW (Home) ===== */
.services-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}
.service-overview-card {
    display: block;
    background: var(--bg-card);
    padding: 48px 36px;
    text-decoration: none;
    color: inherit;
    transition: background var(--dur-std) var(--ease-premium),
                transform var(--dur-std) var(--ease-premium),
                box-shadow var(--dur-std) var(--ease-premium);
    position: relative;
    z-index: 0;
}
.service-overview-card:hover {
    background: var(--bg-card-hover);
    color: inherit;
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    z-index: 1;
}
.service-overview-card:hover h3 { color: var(--gold); }
.service-overview-card .svc-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.7;
    transition: transform var(--dur-std) var(--ease-emphasized),
                opacity var(--dur-std) var(--ease-premium);
}
.service-overview-card:hover .svc-icon { transform: scale(1.12) translateY(-2px); opacity: 1; }
.service-overview-card:hover .svc-cta { letter-spacing: 3px; }
.service-overview-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    font-weight: 600;
    margin-bottom: 16px;
    transition: 0.3s;
}
.service-overview-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.svc-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.svc-highlights span {
    padding: 4px 12px;
    border: 1px solid var(--border);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.svc-cta {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: letter-spacing var(--dur-std) var(--ease-premium);
}

/* ===== WHY GRID (Home) ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}
.why-card {
    background: var(--bg);
    padding: 40px 32px;
    transition: background var(--dur-std) var(--ease-premium),
                transform var(--dur-std) var(--ease-premium),
                box-shadow var(--dur-std) var(--ease-premium);
    position: relative;
    z-index: 0;
}
.why-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    z-index: 1;
}
.why-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.4;
    font-weight: 600;
    margin-bottom: 16px;
    transition: opacity var(--dur-std) var(--ease-premium);
}
.why-card:hover .why-number { opacity: 0.7; }
.why-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    font-weight: 600;
    margin-bottom: 12px;
}
.why-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* ===== FEATURED GRID (Home) ===== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}
.featured-card {
    display: block;
    background: var(--bg-card);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background var(--dur-std) var(--ease-premium),
                transform var(--dur-std) var(--ease-premium),
                box-shadow var(--dur-std) var(--ease-premium);
    position: relative;
    z-index: 0;
}
.featured-card:hover {
    background: var(--bg-card-hover);
    color: inherit;
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.5);
    z-index: 1;
}
.featured-card:hover h3 { color: var(--gold); }
.featured-card .card-preview {
    height: 200px;
    overflow: hidden;
    opacity: 0.85;
    transition: opacity var(--dur-slow) var(--ease-premium);
}
.featured-card:hover .card-preview { opacity: 1; }
.featured-card .card-preview img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-premium); /* Ken Burns zoom */
}
.featured-card:hover .card-preview img { transform: scale(1.06); }
.featured-card .card-body { padding: 24px 28px; }
.featured-card .card-category {
    font-size: 0.65rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.featured-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 8px;
    transition: 0.3s;
}
.featured-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section { padding: 100px 0; }
.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 20px;
}
.cta-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 36px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BENEFIT GRID ===== */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}
.benefit-card {
    background: var(--bg);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s;
}
.benefit-card:hover { background: var(--bg-card-hover); }
.benefit-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    opacity: 0.7;
}
.benefit-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    font-weight: 600;
    margin-bottom: 12px;
}
.benefit-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

/* ===== SEO FEATURES GRID ===== */
.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    max-width: 900px;
    margin: 0 auto;
}
.seo-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 32px;
    background: var(--bg-card);
    transition: all 0.4s;
}
.seo-feature:hover { background: var(--bg-card-hover); }
.seo-check {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.seo-feature h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    font-weight: 600;
    margin-bottom: 6px;
}
.seo-feature p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

/* ===== PRICING ACTIONS (2 buttons side by side) ===== */
.pricing-actions {
    display: flex;
    gap: 8px;
}
.pricing-actions .btn {
    flex: 1;
    justify-content: center;
}
.btn-sm {
    padding: 12px 16px;
    font-size: 0.68rem;
    letter-spacing: 2px;
}

/* ===== DEMO BANNER ===== */
.demo-banner {
    margin-top: 48px;
    padding: 40px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.demo-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    font-weight: 600;
    margin-bottom: 8px;
}
.demo-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ===== ARTICLES GRID (Knowledge Hub) ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}
.article-card {
    background: var(--bg-card);
    padding: 36px 32px;
    transition: all 0.4s;
}
.article-card:hover { background: var(--bg-card-hover); }
.article-category {
    font-size: 0.65rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.article-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 12px;
}
.article-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.article-tags span {
    padding: 3px 10px;
    border: 1px solid var(--border);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== ARTICLE PAGE ===== */
.page-hero-article { min-height: 50vh; }
.article-back {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    transition: 0.3s;
}
.article-back:hover { color: var(--gold-light); }
.article-category-tag {
    font-size: 0.65rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.article-meta {
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 1px;
}
.article-section { padding: 80px 0; }
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}
.article-body {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.9;
}
.article-body h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 48px 0 20px;
    color: var(--text);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 36px 0 16px;
    color: var(--gold);
}
.article-body p { margin-bottom: 16px; }
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol {
    margin: 16px 0;
    padding-left: 24px;
}
.article-body li {
    margin-bottom: 8px;
    color: var(--text-muted);
}
.article-body li strong { color: var(--text); }

/* Article Tables */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.85rem;
}
.article-table th {
    background: var(--bg-card);
    color: var(--gold);
    text-align: left;
    padding: 12px 16px;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.article-table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    line-height: 1.6;
}
.article-table tr:hover td { background: var(--bg-card-hover); }

/* Article Code/Highlight Blocks */
.article-highlight {
    background: var(--bg-card);
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 0.88rem;
    line-height: 1.8;
}
.article-code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px 24px;
    margin: 24px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    overflow-x: auto;
    color: var(--gold);
}

/* Article Sidebar */
.article-sidebar { position: sticky; top: 120px; }
.sidebar-cta {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 32px 28px;
    margin-bottom: 32px;
}
.sidebar-cta h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.sidebar-cta p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.sidebar-related {
    background: var(--bg-card);
    padding: 28px;
}
.sidebar-related h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.related-link {
    display: block;
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--gold);
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}
.related-link:hover {
    color: var(--gold-light);
    padding-left: 8px;
}
.related-link:last-child { border-bottom: none; }

/* Article page responsive */
@media (max-width: 968px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .article-sidebar { position: static; }
}

/* ===== CONTACT SERVICES LINKS ===== */
.contact-services {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.contact-services h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    font-weight: 600;
    margin-bottom: 16px;
}
.contact-service-link {
    display: block;
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--gold);
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}
.contact-service-link:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

/* ===== FOOTER GRID ===== */
.footer { padding: 80px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}
.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}
.footer-links a,
.footer-links p {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 6px 0;
    transition: 0.3s;
    line-height: 1.6;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .services-overview { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-grid { grid-template-columns: 1fr; }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .seo-features-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .page-hero { min-height: 60vh; padding-top: 100px; }
    .page-hero-short { min-height: 40vh; }
    .why-grid { grid-template-columns: 1fr; }
    .benefit-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        backdrop-filter: none;
        margin-top: 0;
        padding: 8px 0;
    }
    .dropdown-menu a {
        padding: 8px 16px;
        text-align: center;
    }
}

/* ===== V3 2026-07-04: SVG icons + flagship ERP + featured grid + tap targets ===== */
.svc-icon svg{width:42px;height:42px;stroke:var(--gold);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.card-preview img{object-position:top}
.featured-grid{gap:14px;background:transparent}
.featured-card{border:1px solid var(--gold-border);border-radius:10px}
.footer-links a{display:inline-block;padding:12px 0}
.footer-links p{padding:6px 0}
.nav-links a{padding:12px 4px;display:inline-block}
.lang-toggle{min-height:44px;min-width:44px}
.svc-cta{padding:12px 0;display:inline-block}
.menu-toggle{min-height:44px;min-width:44px}
.nav-logo{padding:8px 0}
/* flagship ERP (confidential) */
.erp-flag{display:block;border:1px solid var(--gold-border);border-radius:12px;background:var(--bg-card);
  padding:clamp(26px,4vw,42px);margin-bottom:26px;position:relative;overflow:hidden}
.erp-flag::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(60% 80% at 100% 0%, var(--gold-glow), transparent 60%)}
.erp-tag{display:inline-block;font-size:12px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--gold-light);border:1px solid var(--gold-border);padding:5px 14px;border-radius:99px;margin-bottom:16px}
.erp-flag h3{font-size:clamp(20px,3.2vw,27px);color:var(--text);margin:0 0 10px;line-height:1.35}
.erp-flag .d{color:var(--text-muted);font-size:15px;max-width:64ch;line-height:1.75;position:relative}
.erp-mods{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;position:relative}
.erp-mods span{font-size:12.5px;color:var(--text);border:1px solid var(--border);background:var(--bg-alt);
  padding:5px 13px;border-radius:99px;white-space:nowrap}
.erp-kpis{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;position:relative}
.erp-kpis div{background:var(--bg-alt);border:1px solid var(--border);border-radius:9px;padding:10px 16px;min-width:130px}
.erp-kpis span{display:block;font-size:11px;color:var(--text-muted)}
.erp-kpis b{font-size:16px;color:var(--gold-light);letter-spacing:.5px}
.erp-note{margin-top:18px;font-size:12.5px;color:var(--text-muted);border-top:1px solid var(--border);padding-top:12px;position:relative}

/* ============================================================
   LUXE LAYER (2026-07-12) — "เติมความแพง" จาก mockup C01+C13
   โอมากาเสะ × อัญมณี: film grain / scroll rail / แสงแกลเลอรี hero /
   ตู้โชว์เครื่องเพชรบนการ์ด / ป้ายโลหะแถวสถิติ / ornament คั่น section
   ธีมดำ-ทองเดิมทุกอย่าง — เติมมิติ ไม่รื้อ
   ============================================================ */

/* --- Film grain บางมาก คลุมทั้งเฟรม (soft-light, ~4.5%) --- */
.film-grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.045;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 240px 240px;
    will-change: transform;
}
.js-cine .film-grain { animation: grainShift 0.8s steps(4) infinite; }
@keyframes grainShift {
    0%   { transform: translate3d(0,0,0); }
    25%  { transform: translate3d(-6%,3%,0); }
    50%  { transform: translate3d(4%,-5%,0); }
    75%  { transform: translate3d(-3%,6%,0); }
    100% { transform: translate3d(5%,-2%,0); }
}

/* --- Scroll progress hairline ทองแชมเปญ --- */
.scroll-rail { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1002; background: transparent; pointer-events: none; }
.scroll-rail span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); box-shadow: 0 0 12px rgba(201,168,76,0.5); transform-origin: left; }

/* --- Hero: จัดแสง cinematic แบบไฟแกลเลอรี --- */
.hero-beam {
    position: absolute; top: -14%; left: 50%; transform: translateX(-50%);
    width: 96vw; max-width: 1500px; height: 88%;
    pointer-events: none; z-index: 0;
    background: radial-gradient(46% 60% at 50% 0%,
        rgba(223,192,113,0.17), rgba(201,168,76,0.06) 46%, transparent 72%);
}
#hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-vignette {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: radial-gradient(126% 94% at 50% 42%,
        transparent 50%, rgba(3,3,5,0.42) 84%, rgba(2,2,4,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; }

/* hairline ทองขนาบ subtitle แบบป้ายแกลเลอรี */
.hero .hero-subtitle { display: flex; align-items: center; gap: 18px; }
.hero .hero-subtitle::before, .hero .hero-subtitle::after {
    content: ''; height: 1px; width: 52px; flex: none;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.55));
}
.hero .hero-subtitle::after { background: linear-gradient(90deg, rgba(201,168,76,0.55), transparent); }

/* --- แถวสถิติ: ป้ายโลหะแกะสลัก + ตัวเลข serif ทอง (Marcellus) --- */
.stats { padding: 76px 0; }
.stats-grid { gap: 18px; }
.stat-item {
    position: relative;
    border: 1px solid var(--border-gold);
    background: linear-gradient(180deg, rgba(201,168,76,0.065), rgba(201,168,76,0.018) 55%, rgba(255,255,255,0.006));
    padding: 30px 16px 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.stat-item::before {
    content: ''; position: absolute; inset: 6px;
    border: 1px solid rgba(201,168,76,0.10); pointer-events: none;
}
.stat-item::after {
    content: ''; position: absolute; top: -1px; left: 50%; margin-left: -17px;
    width: 34px; height: 1px; background: var(--gold); opacity: 0.65;
}
.stat-item .stat-number {
    font-family: 'Marcellus', 'Anuphan', serif;
    font-size: 3.7rem; font-weight: 400; line-height: 1.15; letter-spacing: 0;
}

/* --- Ornament คั่นระหว่าง section (hairline + เพชรทอง) --- */
.sect-divider {
    max-width: 1200px; margin: 0 auto; padding: 30px 40px;
    display: flex; align-items: center; gap: 22px;
}
.sect-divider::before, .sect-divider::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3));
}
.sect-divider::after { background: linear-gradient(90deg, rgba(201,168,76,0.3), transparent); }
.sect-divider svg { width: 12px; height: 12px; flex: none; stroke: var(--gold); stroke-width: 1.3; fill: none; opacity: 0.9; }

/* --- การ์ดผลงาน: ภาษา "ตู้โชว์เครื่องเพชร" (inner frame + มุมทอง 4 มุม)
       markup ฉีดโดย main.js (ตกแต่งล้วน — no-JS เสียแค่ ornament) --- */
.vit { position: absolute; inset: 0; pointer-events: none; z-index: 3; display: block; }
.vf {
    position: absolute; inset: 10px; display: block;
    border: 1px solid rgba(201,168,76,0.22); border-radius: 5px;
    transition: border-color var(--dur-std) var(--ease-premium),
                box-shadow var(--dur-std) var(--ease-premium);
}
.vc { position: absolute; width: 26px; height: 26px; stroke: var(--gold); stroke-width: 1.2; fill: none; opacity: 0.85; }
.vc.tl { top: 4px; left: 4px; }
.vc.tr { top: 4px; right: 4px; transform: scaleX(-1); }
.vc.bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.vc.br { bottom: 4px; right: 4px; transform: scale(-1); }
.featured-card:hover .vf {
    border-color: rgba(201,168,76,0.5);
    box-shadow: inset 0 0 36px rgba(201,168,76,0.07);
}
.featured-card:hover {
    box-shadow: 0 28px 70px rgba(0,0,0,0.5), 0 0 42px rgba(201,168,76,0.10);
    border-color: rgba(201,168,76,0.45);
}
/* flagship ERP: มุมทองใหญ่ขึ้น จางลง (เข้ากับ radius 12px) */
.vc.ec { width: 30px; height: 30px; opacity: 0.55; stroke-width: 1.1; }
.vc.ec.tl { top: 9px; left: 9px; }
.vc.ec.tr { top: 9px; right: 9px; }
.vc.ec.bl { bottom: 9px; left: 9px; }
.vc.ec.br { bottom: 9px; right: 9px; }

/* เส้นทองกวาดบนการ์ดตอนเผย */
.featured-card::after {
    content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0); transform-origin: left; opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    z-index: 2; pointer-events: none;
}
.js-cine .featured-card.fade-in.visible::after { transform: scaleX(1); opacity: 0.9; transition-delay: 0.15s; }
.featured-card.fade-in.visible:hover::after { opacity: 0; }

@media (max-width: 968px) {
    .sect-divider { padding: 26px 24px; }
    .hero .hero-subtitle { justify-content: center; }
}
@media (max-width: 768px) {
    .stat-item .stat-number { font-size: 2.7rem; }
    .stat-item { padding: 22px 10px 18px; }
    .vc { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .film-grain { animation: none; }
    .fade-in, .featured-card.fade-in { opacity: 1 !important; transform: none !important; }
    .featured-card::after { display: none; }
}

/* benefit icons — SVG monoline ทอง (แทนอีโมจิ 12 จุด, 2026-07-12) */
.benefit-icon svg {
    width: 38px; height: 38px;
    stroke: var(--gold); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
