/* ===== NGEMS ABOUT PAGE TEMPLATE ===== */
:root {
    --ngems-ab-primary: #b45309;
    --ngems-ab-primary-dark: #92400e;
    --ngems-ab-dark: #1f2937;
    --ngems-ab-gold: #fde68a;
    --ngems-ab-border: #e5e7eb;
    --ngems-ab-muted: #4b5563;
    --ngems-ab-soft: #fffaf5;
}

html {
    scroll-behavior: smooth;
}

.ngems-about-page {
    padding-bottom: 40px;
}

.ngems-ab-section {
    margin-bottom: 42px;
    scroll-margin-top: 90px;
}

/* Hero */
.ngems-ab-hero {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    color: #f9fafb;
    border-radius: 18px;
    padding: 40px 28px 32px;
    margin: 12px 0 38px;
    text-align: center;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.ab-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.ab-eyebrow {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(253, 230, 138, 0.14);
    border: 1px solid rgba(253, 230, 138, 0.42);
    color: var(--ngems-ab-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ab-title {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
}

.ab-lead {
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.65;
    color: #e5e7eb;
}

.ab-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 640px;
    margin: 0 auto 24px;
}

.ab-stat {
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ab-stat strong {
    display: block;
    font-size: 20px;
    color: var(--ngems-ab-gold);
    margin-bottom: 2px;
}

.ab-stat span {
    font-size: 12.5px;
    color: #d1d5db;
}

.ab-anchor-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ab-anchor-nav a {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.ab-anchor-nav a:hover {
    background: var(--ngems-ab-gold);
    color: #111827 !important;
}

/* Section Headers */
.ab-sec-head {
    margin-bottom: 22px;
}

.ab-sec-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--ngems-ab-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ab-sec-head h2 {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    color: var(--ngems-ab-dark);
}

.ab-sec-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 14.5px;
    color: var(--ngems-ab-muted);
    line-height: 1.55;
}

/* Cara Section */
.ab-cara-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.ab-cara-story p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #374151;
}

.ab-cara-pillars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.cara-pillar {
    padding: 14px 16px;
    background: var(--ngems-ab-soft);
    border: 1px solid #f3e8d8;
    border-left: 3px solid var(--ngems-ab-primary);
    border-radius: 10px;
}

.cara-pillar h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ngems-ab-dark);
}

.cara-pillar p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ngems-ab-muted);
}

.ab-cara-channels {
    background: #ffffff;
    border: 1px solid var(--ngems-ab-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ab-cara-channels h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ngems-ab-dark);
}

.ab-cara-channels p {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: var(--ngems-ab-muted);
    line-height: 1.5;
}

.ab-channel-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ab-ch-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13.5px;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.ab-ch-btn:hover {
    transform: translateX(3px);
    opacity: 0.94;
}

.ab-ch-btn span { font-size: 12px; opacity: 0.9; }
.ab-ch-btn.is-fb    { background: linear-gradient(135deg, #1877f2 0%, #0d5bd9 100%); }
.ab-ch-btn.is-yt    { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); }
.ab-ch-btn.is-blog  { background: linear-gradient(135deg, #b45309 0%, #92400e 100%); }
.ab-ch-btn.is-group { background: linear-gradient(135deg, #0f766e 0%, #115e59 100%); }

/* Grid 4 Cam kết */
.ab-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ab-feature-card {
    background: #ffffff;
    border: 1px solid var(--ngems-ab-border);
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.ab-fc-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--ngems-ab-primary);
    background: #fef3c7;
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.ab-feature-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ngems-ab-dark);
}

.ab-feature-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ngems-ab-muted);
}

/* 5 Giá trị phục vụ */
.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ab-value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid var(--ngems-ab-border);
    border-radius: 14px;
}

.ab-value-item.is-wide {
    grid-column: 1 / -1;
    background: var(--ngems-ab-soft);
    border-color: #fde68a;
}

.val-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--ngems-ab-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ab-value-item h3 {
    margin: 0 0 4px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ngems-ab-dark);
}

.ab-value-item p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ngems-ab-muted);
}

/* Dịch vụ Gia công & Thiết kế */
.ab-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ab-custom-service {
    background: #ffffff;
    border: 1px solid var(--ngems-ab-border);
    border-top: 4px solid var(--ngems-ab-primary);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-badge {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fef3c7;
    color: var(--ngems-ab-primary-dark);
    font-size: 11px;
    font-weight: 700;
}

.ab-custom-service h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--ngems-ab-dark);
}

.ab-custom-service > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ngems-ab-muted);
}

.cs-contact-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-contact-list li { margin: 0 !important; }
.cs-contact-list a { color: var(--ngems-ab-primary); font-weight: 600; text-decoration: none; }

.cs-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cs-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 9px 14px;
    border-radius: 9px;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
}

.cs-btn.is-msg  { background: #0084ff; }
.cs-btn.is-zalo { background: #0068ff; }

.ab-reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ab-reviews-box {
    background: var(--ngems-ab-soft);
    border: 1px solid #f3e8d8;
    border-radius: 16px;
    padding: 20px;
}

.ab-review-branch {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ngems-ab-primary-dark);
}

/* Video & Story Cards (Về N GEMS) */
.ab-video-wrap {
    max-width: 820px;
    margin: 0 auto 24px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    border: 1px solid var(--ngems-ab-border);
    background: #111827;
}

.ab-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.ab-story-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ab-story-card {
    background: #ffffff;
    border: 1px solid var(--ngems-ab-border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.ab-story-card.is-highlight {
    background: var(--ngems-ab-soft);
    border-color: #fde68a;
}

.ab-story-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ngems-ab-primary-dark);
}

.ab-story-card p {
    margin: 0;
    font-size: 13.8px;
    line-height: 1.62;
    color: #374151;
}

.ngems-ab-seo {
    margin-top: 24px;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .ab-cara-grid,
    .ab-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ab-cara-grid,
    .ab-story-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ngems-ab-hero {
        padding: 28px 16px 24px;
    }

    .ab-hero-stats,
    .ab-grid-4,
    .ab-values-grid,
    .ab-grid-2 {
        grid-template-columns: 1fr;
    }
}
