:root {
    --color-primary: #1B2A6B;
    --color-accent: #C2185B;
    --color-dark: #101B4D;
    --color-light-tint: #EEF0FA;
    --color-text: #222;
    --color-text-soft: #5b5f6e;
    --color-bg: #ffffff;
    --max-width: 1140px;

    /* Thang bo góc chuẩn - "bo nhẹ": dùng nhất quán 1 trong 3 mức, không số lẻ tự do */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Đổ bóng có sắc thái theo màu thương hiệu (navy), không dùng đen thuần */
    --shadow-sm: 0 2px 8px rgba(16, 27, 77, 0.08);
    --shadow-md: 0 8px 24px rgba(16, 27, 77, 0.12);
    --shadow-lg: 0 16px 40px rgba(16, 27, 77, 0.16);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
    font-family: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 12px;
}

/* EYEBROW - nhãn nhỏ phía trên tiêu đề section, thay cho việc mọi H2 đều trơ trọi giống nhau */
.eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.eyebrow-center { display: block; text-align: center; }

/* HEADER */
.site-header {
    background: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.logo img { height: 36px; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}
.main-nav a {
    position: relative;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 6px;
    transition: color .2s;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: #fff;
    transition: right .25s ease;
}
.main-nav a.active,
.main-nav a:hover {
    color: #fff;
}
.main-nav a.active::after,
.main-nav a:hover::after {
    right: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* VALUE SECTION (trang chủ) - bố cục bất đối xứng: nội dung + cụm thẻ điểm mạnh,
   không dùng hero căn giữa mặc định để tránh cảm giác template */
.value-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 56px 20px 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}
.value-content h1 {
    font-size: 2.4rem;
    color: var(--color-dark);
    margin-bottom: 18px;
}
.value-lead {
    color: var(--color-text-soft);
    font-size: 1.05rem;
    max-width: 52ch;
    margin-bottom: 28px;
}
.value-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.value-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pillar-card {
    background: var(--color-light-tint);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    position: relative;
}
.pillar-index {
    display: block;
    font-weight: 800;
    font-size: .85rem;
    color: var(--color-accent);
    letter-spacing: .06em;
    margin-bottom: 6px;
}
.pillar-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--color-dark); }
.pillar-card p { margin: 0; font-size: .9rem; color: var(--color-text-soft); }

/* CAROUSEL (đánh giá khách hàng) */
.carousel-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 50px 20px 56px;
}
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 640px;
    margin: 28px auto 0;
}
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}
.carousel-slide {
    min-width: 100%;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.carousel-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #d7d9e6;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.carousel-dots button.active { background: var(--color-primary); transform: scale(1.15); }
.carousel-caption {
    text-align: center;
    max-width: 560px;
    margin: 20px auto 0;
    color: var(--color-text-soft);
}

/* BANNER SLIDER (trang chủ) - chỉ ảnh, dạng thẻ bo góc, dots nằm dưới ảnh */
.banner-section {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding: 0 20px;
}
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.banner-track { display: flex; transition: transform 0.5s ease; }
.banner-slide { min-width: 100%; }
.banner-slide img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.banner-section .carousel-dots { margin-top: 14px; justify-content: center; }

.section-title {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-dark);
}

/* NEWS GRID */
.news-section { max-width: var(--max-width); margin: 0 auto; padding: 24px 20px 56px; background: var(--color-light-tint); border-radius: var(--radius-lg); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}
.news-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img { aspect-ratio: 16/10; background: #e3e6f2; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card h3 { font-size: 1.05rem; font-weight: 700; margin: 14px 16px 6px; color: var(--color-dark); }
.news-card p { font-size: .9rem; color: var(--color-text-soft); margin: 0 16px 10px; }
.news-card time { display: block; font-size: .78rem; color: #999; margin: 0 16px 16px; text-transform: uppercase; letter-spacing: .04em; }
.news-more { text-align: center; margin-top: 34px; }

/* BUTTONS - có phản hồi khi bấm (tactile feedback), không phải trạng thái tĩnh duy nhất */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    border: 1.5px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary,
.news-more .btn {
    background: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover,
.news-more .btn:hover { background: #a51350; box-shadow: var(--shadow-md); }

.btn-ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-ghost:hover { background: var(--color-light-tint); }

.btn-secondary { background: #999; color: #fff; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-text);
    transition: background-color .15s;
}
.pagination a:hover { background: var(--color-light-tint); }
.pagination a.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ARTICLE DETAIL */
.article-detail h1 { margin-bottom: 6px; color: var(--color-dark); }
.article-meta { color: #888; font-size: .9rem; margin-bottom: 20px; }
.article-thumbnail { width: 100%; border-radius: var(--radius-lg); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.article-content { line-height: 1.85; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }

/* GENERIC PAGE SECTION */
.page-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 20px;
}
.page-section h1 { color: var(--color-dark); }

/* FOOTER */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,.7);
    padding: 40px 20px 24px;
    margin-top: 48px;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; width: 100%; }

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 8px;
}
.pricing-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #eceef5;
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 5px 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.pricing-card h3 { font-size: 1.2rem; color: var(--color-dark); margin-bottom: 6px; text-align: center; }
.pricing-desc { color: var(--color-text-soft); font-size: .88rem; text-align: center; margin: 0 0 18px; min-height: 40px; }
.pricing-price {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-accent);
    text-align: center;
    margin: 0 0 22px;
}
.pricing-features {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex: 1;
}
.pricing-features li {
    padding: 9px 0;
    border-top: 1px solid #f1f2f8;
    font-size: .92rem;
    color: var(--color-text);
}
.pricing-features li:first-child { border-top: none; }
.pricing-features li::before { content: "✓ "; color: var(--color-accent); font-weight: 700; }
.pricing-cta { text-align: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .value-section { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
    }
    .main-nav.open { display: block; }
    .main-nav ul {
        flex-direction: column;
        padding: 12px 20px;
        gap: 12px;
    }
    .main-nav a::after { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .value-content h1 { font-size: 1.85rem; }
}
