/* ============================================================
   Trang giới thiệu thương hiệu template (NANATI, ANNATI…)
   Dùng chung cho Views/Showcase/Index.cshtml
   Màu thương hiệu đặt qua biến --sc1 (cam) và --sc2 (xanh)
   ============================================================ */

.sc {
    --sc1: #F99C00;
    --sc2: #2596BE;
    --sc-ink: #0b1220;
    --sc-muted: #5a6b80;
    --sc-line: #e3e9f0;
    --sc-soft: #f5f8fb;
    color: var(--sc-ink);
}

.sc .container {
    /* Dùng đúng khung ngang của DaHyTi (--max: 1560px) để 3 trang thương hiệu rộng bằng nhau */
    max-width: var(--max, 1560px);
    margin: 0 auto;
    padding: 0 clamp(16px, 1.6vw, 26px);
}

/* ---------- Hero ---------- */
.sc-hero {
    background: radial-gradient(1200px 520px at 15% -10%, rgba(37, 150, 190, .28), transparent 60%),
                radial-gradient(900px 480px at 90% 0%, rgba(249, 156, 0, .22), transparent 62%),
                #0b1220;
    color: #fff;
    padding: 64px 0 56px;
}

.sc-hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(28px, 3vw, 56px);
    align-items: center;
}

.sc-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sc1);
    margin-bottom: 14px;
}

.sc-eyebrow-dark {
    color: var(--sc2);
}

.sc-hero h1 {
    font-size: clamp(27px, 3.3vw, 42px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 18px;
}

.sc-hero h1 em {
    font-style: normal;
    color: var(--sc1);
}

.sc-lead {
    font-size: 16px;
    line-height: 1.75;
    color: #c8d3e0;
    text-align: justify;
    margin: 0 0 26px;
    max-width: 58ch;
}

.sc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sc-actions-center {
    justify-content: center;
}

.sc-btn-1.btn-primary {
    background: var(--sc1);
    border-color: var(--sc1);
    color: #101820;
    font-weight: 700;
}

.sc-btn-1.btn-primary:hover {
    filter: brightness(1.06);
}

.sc-btn-2.btn-ghost {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.sc-btn-2.btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
}

/* Logo chữ chạy theo nhịp màu */
.sc-name {
    display: flex;
    gap: 2px;
    margin: 30px 0 0;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
}

.sc-name .is-orange {
    color: var(--sc1);
}

.sc-name .is-blue {
    color: var(--sc2);
}

/* Thẻ logo bên phải */
.sc-hero-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 24px 60px rgba(3, 12, 26, .45);
    color: var(--sc-ink);
}

.sc-hero-logo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 16px;
}

.sc-hero-tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: center;
    color: var(--sc-muted);
    margin: 0 0 20px;
}

.sc-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    border-top: 1px solid var(--sc-line);
    padding-top: 16px;
}

.sc-stats div {
    text-align: center;
}

.sc-stats dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--sc-muted);
    margin-bottom: 4px;
}

.sc-stats dd {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--sc2);
}

.sc-fanpage {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
    border-radius: 999px;
    border: 1px solid var(--sc-line);
    background: #fff;
    padding: 7px 14px 7px 7px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--sc-ink);
    transition: border-color .2s, color .2s, background .2s;
}

/* Ảnh đại diện thật của fanpage (thay icon Facebook chung) */
.sc-fanpage-av {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--sc-line);
    background: #fff;
}

.sc-fanpage-tx {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.sc-fanpage-lb {
    font-weight: 800;
}

.sc-fanpage-sub {
    font-size: 11px;
    font-weight: 600;
    color: #6b7785;
}

.sc-fanpage:hover {
    border-color: var(--sc1);
    color: var(--sc1);
    background: var(--sc-soft);
}

/* ---------- Section chung ---------- */
.sc-section {
    padding: 68px 0;
}

.sc-section-alt {
    background: var(--sc-soft);
    border-top: 1px solid var(--sc-line);
    border-bottom: 1px solid var(--sc-line);
}

.sc-head {
    max-width: 780px;
    margin: 0 0 34px;
}

.sc-head h2 {
    font-size: clamp(23px, 2.6vw, 33px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
}

.sc-head p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--sc-muted);
    margin: 0;
}

/* ---------- Lưới template ---------- */
.sc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.sc-card {
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 150, 190, .45);
    box-shadow: 0 18px 38px rgba(11, 18, 32, .12);
}

.sc-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.sc-card-media {
    position: relative;
    background: #eef3f8;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.sc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.sc-card-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(11, 18, 32, .78);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 4px 9px;
    border-radius: 999px;
}

.sc-card-body {
    padding: 18px 18px 16px;
}

.sc-card-logo {
    display: block;
    height: 22px;
    width: auto;
    max-width: 60%;
    object-fit: contain;
    margin-bottom: 10px;
}

.sc-card-body h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px;
}

.sc-card-full {
    font-size: 12.5px;
    color: var(--sc-muted);
    margin: 0 0 10px;
}

.sc-card-tag {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.sc-hl {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.sc-hl li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #35404f;
    margin-bottom: 4px;
}

.sc-hl li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--sc2);
}

.sc-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px dashed var(--sc-line);
    padding-top: 12px;
}

.sc-industry {
    font-size: 12px;
    color: var(--sc-muted);
}

.sc-go {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sc1);
    white-space: nowrap;
}

/* ---------- Trạng thái chưa có mẫu ---------- */
.sc-empty {
    background: #fff;
    border: 1px dashed #c9d6e3;
    border-radius: 14px;
    padding: 26px 24px;
}

.sc-empty h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.sc-empty p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sc-muted);
}

/* ---------- Ba lớp sản phẩm ---------- */
.sc-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sc-tier {
    background: #fff;
    border: 1px solid var(--sc-line);
    border-top: 3px solid var(--sc2);
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
}

.sc-tier h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 6px;
}

.sc-tier-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--sc1);
    margin: 0 0 2px;
}

.sc-tier-time {
    font-size: 12.5px;
    color: var(--sc-muted);
    margin: 0 0 12px;
}

.sc-tier-sum {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.sc-tier .sc-hl {
    flex: 1 1 auto;
    margin-bottom: 16px;
}

.sc-tier-cta {
    font-size: 14px;
    font-weight: 700;
    color: var(--sc2);
    text-decoration: none;
}

.sc-tier-cta:hover {
    text-decoration: underline;
}

/* ---------- Ghi chú ---------- */
.sc-note-wrap {
    padding: 40px 0 64px;
    background: #fff;
}

.sc-note {
    max-width: 900px;
    margin: 0 auto 22px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--sc-muted);
    text-align: justify;
}

.sc-note-wrap .sc-btn-1.btn-primary {
    color: #101820;
}

.sc-note-wrap .sc-btn-2.btn-ghost {
    border-color: #c9d6e3;
    color: var(--sc-ink);
}

.sc-note-wrap .sc-btn-2.btn-ghost:hover {
    background: var(--sc-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sc-hero-in {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .sc-hero-card {
        max-width: 460px;
    }

    .sc-tiers {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .sc-hero {
        padding: 44px 0 40px;
    }

    .sc-section {
        padding: 48px 0;
    }

    .sc-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sc-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
