/* THUELAI — Static Template (Grab-inspired Green) */
/* ============================================================ */

/* -- Reset & base ---------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    color: inherit;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font: inherit;
    color: inherit;
}

/* -- Design tokens -------------------------------------------- */
:root {
    --bg: #ffffff;
    --fg: #16261f;
    --fg-soft: rgba(22, 38, 31, 0.75);
    --muted: #6b7d76;
    --card: #ffffff;
    --border: #dbe7e1;
    --primary: #00B14F;
    --primary-glow: #0fce63;
    --primary-dark: #00703a;
    --primary-darker: #003d20;
    --primary-soft: rgba(0, 177, 79, 0.10);
    --primary-soft-2: rgba(0, 177, 79, 0.06);
    --accent: #f5b22b;
    --secondary: #f3faf6;
    --secondary-2: #e9f6ee;
    --shadow-soft: 0 4px 16px -4px rgba(22, 38, 31, 0.06);
    --shadow-card: 0 1px 3px rgba(22, 38, 31, 0.04), 0 8px 24px -8px rgba(22, 38, 31, 0.08);
    --shadow-elegant: 0 20px 50px -20px rgba(0, 177, 79, 0.25);
    --shadow-green: 0 12px 28px -8px rgba(0, 177, 79, 0.4);
    --radius-sm: 0.5rem;
    --radius: 0.875rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --container: 72rem; /* 1152px */
}

body {
    font-family: var(--font-body);
    color: var(--fg);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--primary-darker);
}

/* -- Layout helpers ------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 3.5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 6rem 0;
    }
}

.section--alt {
    background: var(--secondary);
}

/* Performance: defer rendering of off-screen sections */
.section {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* Exception: first visible section should not be deferred */
.hero, .page-hero {
    content-visibility: visible;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    line-height: 1.25; /* leading-tight */
    letter-spacing: -0.025em; /* tracking-tight */
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}
/* sm:text-4xl */
.section-title em {
    color: var(--primary);
    font-style: normal;
}

.section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

    .section-head p {
        margin-top: 1rem;
        color: var(--muted);
    }

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.muted {
    color: var(--muted);
}

.center {
    text-align: center;
}

/* -- Buttons -------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 0.95rem;
    border-radius: 999px;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
    white-space: nowrap;
    border: 2px solid transparent;
}

    .btn:hover {
        transform: translateY(-2px);
        will-change: transform;
    }

.btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-green);
}

    .btn-primary:hover {
        background: var(--primary-glow);
    }

.btn-soft {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
    box-shadow: var(--shadow-soft);
}

    .btn-soft:hover {
        background: var(--secondary);
    }

.btn-outline-light {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    backdrop-filter: blur(4px);
}

    .btn-outline-light:hover {
        background: rgba(255,255,255,0.1);
    }

.btn-block {
    width: 100%;
}

/* -- Header --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--primary-darker);
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.logo span em {
    color: var(--primary);
    font-style: normal;
}

.nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

.nav a {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 999px;
    color: var(--fg-soft);
    transition: color 0.15s, background 0.15s;
}

    .nav a:hover {
        color: var(--primary);
    }

    .nav a.active {
        background: var(--primary-soft);
        color: var(--primary);
    }

.header-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .header-cta {
        display: flex;
    }
}

.header-cta .phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-darker);
}

    .header-cta .phone:hover {
        color: var(--primary);
    }

.menu-toggle {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    color: var(--primary-darker);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu .container {
        padding-top: 1rem;
        padding-bottom: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .mobile-menu a {
        padding: 0.7rem 0.85rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 0.5rem;
        color: var(--fg);
    }

        .mobile-menu a:hover {
            background: var(--secondary);
        }

        .mobile-menu a.active {
            background: var(--primary-soft);
            color: var(--primary);
        }

    .mobile-menu .btn {
        margin-top: 0.5rem;
    }

/* -- Hero ----------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f3faf6 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    padding: 4rem 1.25rem;
}

@media (min-width: 768px) {
    .hero-grid {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        padding: 7rem 0;
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    margin-top: 1.25rem;
    line-height: 1.25; /* leading-tight */
    letter-spacing: -0.025em; /* tracking-tight */
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 3rem;
        line-height: 1;
    }
}
/* sm:text-5xl */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
        line-height: 1;
    }
}
/* lg:text-6xl */
.hero p.lead {
    margin-top: 1.25rem;
    max-width: 36rem;
    font-size: 1.05rem;
    color: var(--fg-soft);
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stats .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-darker);
}

.stats .lbl {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.hero-img-wrap {
    position: relative;
}

    .hero-img-wrap::before {
        content: "";
        position: absolute;
        inset: -1rem;
        background: var(--primary-soft);
        border-radius: var(--radius-xl);
        filter: blur(40px);
        z-index: 0;
    }

.hero-img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elegant);
}

.hero-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
    .hero-badge {
        display: flex;
    }
}

.hero-badge .star {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.25rem;
}

.hero-badge .t {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-badge .s {
    font-size: 0.72rem;
    color: var(--muted);
}

/* -- Page hero (inner pages) ---------------------------------- */
.page-hero {
    background: linear-gradient(135deg, #00B14F 0%, #003d20 100%);
    color: #fff;
    padding: 4rem 0;
}

    .page-hero h1 {
        color: #fff;
        font-family: var(--font-display);
        font-size: 2.25rem; /* text-4xl */
        font-weight: 800; /* font-extrabold */
        line-height: 1.25; /* leading-tight */
        letter-spacing: -0.025em; /* tracking-tight */
        margin-top: 1.25rem;
    }

@media (min-width: 640px) {
    .page-hero h1 {
        font-size: 3rem;
        line-height: 1;
    }
}
/* sm:text-5xl */
.page-hero p {
    margin-top: 1rem;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.5;
}

.page-hero .eyebrow {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.page-hero em {
    color: var(--accent);
    font-style: normal;
}

/* -- Cards / grids -------------------------------------------- */
.grid-2 {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-3 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: block;
}

    .card:hover {
        transform: translateY(-4px) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        box-shadow: var(--shadow-card);
        border-color: rgba(0,177,79,0.3);
    }

    .card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-top: 1.25rem;
    }

    .card p {
        color: var(--muted);
        font-size: 0.9rem;
        margin-top: 0.5rem;
        line-height: 1.6;
    }

.card-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.35rem;
    transition: background 0.25s, color 0.25s;
}

.card-img {
    width: 3rem;
    height: 3rem;
}

.card:hover .card-icon {
    background: var(--primary);
    color: #fff;
}

.card-icon--filled {
    background: var(--primary);
    color: #fff;
}

.card:hover .card-icon--filled {
    background: var(--primary-glow);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

    .card-link svg, .card-link .arrow {
        transition: transform 0.2s;
    }

.card:hover .card-link .arrow {
    transform: translateX(4px);
}

/* News card */
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, box-shadow 0.25s;
}

    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-card);
    }

    .news-card .thumb {
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }

        .news-card .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

    .news-card:hover .thumb img {
        transform: scale(1.05);
    }

    .news-card .body {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .news-card h3 {
        font-size: 1rem;
        font-weight: 700;
        margin-top: 0.75rem;
        line-height: 1.35;
    }

    .news-card .excerpt {
        margin-top: 0.5rem;
        font-size: 0.9rem;
        color: var(--muted);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card .meta {
        margin-top: 1rem;
        font-size: 0.75rem;
        color: var(--muted);
    }

.tag {
    align-self: flex-start;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}

/* Press card */
.press-card {
    display: flex;
    flex-direction: column;
}

    .press-card .src {
        font-size: 0.7rem;
        font-weight: 800;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-top: 1.2rem;
    }

    .press-card h3 {
        margin-top: 0.5rem;
        font-size: 1rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .press-card .top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .press-card .ext {
        color: var(--muted);
        transition: color 0.2s;
        font-size: 1rem;
    }

    .press-card:hover .ext {
        color: var(--primary);
    }

/* Video card */
.video-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, box-shadow 0.25s;
}

    .video-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-card);
    }

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--primary-darker);
    overflow: hidden;
}

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-thumb .overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.video-card:hover .video-thumb .overlay {
    background: rgba(0,0,0,0.4);
}

.play-btn {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-elegant);
    transition: transform 0.2s;
    font-size: 1.4rem;
}

.video-card:hover .play-btn {
    transform: scale(1.1);
}

.video-card .body {
    padding: 1.25rem;
}

.video-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -- Promo banner --------------------------------------------- */
.promo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00B14F 0%, #003d20 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-elegant);
}

@media (min-width: 768px) {
    .promo {
        padding: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .promo {
        padding: 4.5rem;
    }
}

.promo::before {
    content: "";
    position: absolute;
    right: -5rem;
    top: -5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: rgba(0,177,79,0.4);
    filter: blur(60px);
}

.promo .inner {
    position: relative;
    max-width: 36rem;
}

.promo .eyebrow {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.promo h2 {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    margin-top: 1.25rem;
    line-height: 1.15;
}

    .promo h2 em {
        color: var(--accent);
        font-style: normal;
    }

.promo p {
    margin-top: 1rem;
    color: rgba(255,255,255,0.8);
}

/* -- Featured news (large) ------------------------------------ */
.featured-news {
    display: grid;
    gap: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.25s;
    margin-top: 2.5rem;
}

    .featured-news:hover {
        box-shadow: var(--shadow-elegant);
    }

@media (min-width: 768px) {
    .featured-news {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
}

.featured-news .thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}

    .featured-news .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.featured-news:hover .thumb img {
    transform: scale(1.05);
}

.featured-news .body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .featured-news .body {
        padding: 2.5rem;
    }
}

.featured-news h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    margin-top: 1rem;
    line-height: 1.2;
}

.featured-news .excerpt {
    margin-top: 0.75rem;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-news .meta {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--muted);
}

/* -- Filter bar ------------------------------------------------ */
.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .filter-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--fg-soft);
    transition: all 0.15s;
}

    .chip:hover {
        color: var(--primary);
        border-color: rgba(0,177,79,0.3);
    }

    .chip.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        box-shadow: var(--shadow-soft);
    }

.search-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem 0.6rem 2.4rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    width: 100%;
    max-width: 18rem;
    position: relative;
}

.search-wrap {
    position: relative;
    max-width: 18rem;
    width: 100%;
}

    .search-wrap::before {
        content: "🔍";
        position: absolute;
        left: 0.85rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.85rem;
        opacity: 0.55;
        pointer-events: none;
    }

    .search-wrap input {
        width: 100%;
        padding: 0.65rem 1rem 0.65rem 2.4rem;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: var(--card);
        font-size: 0.9rem;
    }

        .search-wrap input:focus {
            outline: 2px solid var(--primary);
            outline-offset: 1px;
        }

/* -- Article (news detail) ------------------------------------ */
.article-head {
    padding-top: 2.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .article-head {
        padding-top: 3.5rem;
    }
}

.article-head .back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

    .article-head .back:hover {
        text-decoration: underline;
    }

.article-head h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    margin-top: 1.5rem;
    line-height: 1.15;
}

.article-head .lead {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--muted);
}

.article-head .meta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    align-items: center;
}

.article-cover {
    max-width: 64rem;
    margin: 2.5rem auto 0;
}

    .article-cover img {
        aspect-ratio: 16/9;
        width: 100%;
        object-fit: cover;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-card);
    }

.article-body {
    max-width: 48rem;
    margin: 3rem auto;
    padding-bottom: 4rem;
}

    .article-body p {
        margin-bottom: 1.1rem;
        font-size: 1rem;
        line-height: 1.75;
        color: var(--fg-soft);
    }

    .article-body h2 {
        margin: 2.5rem 0 1rem;
        font-size: 1.5rem;
        font-weight: 800;
    }

    .article-body h3 {
        margin: 2rem 0 0.75rem;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .article-body ul {
        margin: 0 0 1.1rem 1.5rem;
        list-style: disc;
    }

        .article-body ul li {
            margin-bottom: 0.5rem;
            color: var(--fg-soft);
        }

/* -- Service detail ------------------------------------------- */
.service-hero {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-hero {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }
}

.service-hero .icon-wrap {
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    font-size: 2rem;
}

.feature-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

    .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        background: var(--card);
        border: 1px solid var(--border);
        padding: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow-soft);
        font-size: 0.95rem;
    }

    .feature-list .check {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 999px;
        background: var(--primary);
        color: #fff;
        font-size: 0.75rem;
        margin-top: 0.1rem;
    }

.steps {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .steps li {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

.step-num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
}

.steps li span:last-child {
    padding-top: 0.4rem;
    font-size: 1rem;
    color: var(--fg-soft);
}

.aside-card {
    background: linear-gradient(180deg, #f3faf6 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    height: fit-content;
}

    .aside-card h3 {
        font-size: 1.2rem;
        font-weight: 800;
    }

    .aside-card .sub {
        margin-top: 0.5rem;
        font-size: 0.9rem;
        color: var(--muted);
    }

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-top: 1.25rem;
    transition: box-shadow 0.2s;
}

    .contact-row:hover {
        box-shadow: var(--shadow-card);
    }

    .contact-row .ico {
        display: grid;
        place-items: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.75rem;
        background: var(--primary);
        color: #fff;
        font-size: 1.1rem;
    }

    .contact-row .lbl {
        font-size: 0.7rem;
        color: var(--muted);
    }

    .contact-row .val {
        font-family: var(--font-display);
        font-weight: 700;
        color: var(--primary-darker);
    }

.split-2 {
    
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .split-2 {
        display: grid;
        grid-template-columns: 1.3fr 1fr;
    }
}

/* -- About page ----------------------------------------------- */
.story-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-grid img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.mission-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

    .mission-card .icon-wrap {
        display: grid;
        place-items: center;
        width: 3rem;
        height: 3rem;
        border-radius: 1rem;
        background: var(--primary);
        color: #fff;
        font-size: 1.3rem;
    }

    .mission-card h3 {
        font-size: 1.4rem;
        font-weight: 800;
        margin-top: 1.25rem;
    }

    .mission-card p {
        margin-top: 0.75rem;
        line-height: 1.7;
        color: var(--fg-soft);
    }

.vision-card {
    background: linear-gradient(135deg, #00B14F 0%, #003d20 100%);
    color: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elegant);
}

    .vision-card .icon-wrap {
        display: grid;
        place-items: center;
        width: 3rem;
        height: 3rem;
        border-radius: 1rem;
        background: rgba(255,255,255,0.15);
        color: var(--accent);
        font-size: 1.3rem;
    }

    .vision-card h3 {
        color: #fff;
        font-size: 1.4rem;
        font-weight: 800;
        margin-top: 1.25rem;
    }

    .vision-card p {
        margin-top: 0.75rem;
        color: rgba(255,255,255,0.85);
        line-height: 1.7;
    }

    .vision-card em {
        color: var(--accent);
        font-style: normal;
    }

.timeline-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

    .timeline-card .yr {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 0.85rem;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .timeline-card .ttl {
        font-family: var(--font-display);
        font-weight: 700;
        margin-top: 0.5rem;
    }

    .timeline-card .desc {
        margin-top: 0.5rem;
        font-size: 0.78rem;
        color: var(--muted);
        line-height: 1.6;
    }

/* -- Become driver page --------------------------------------- */
.driver-hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    /* tránh nhảy layout */
    min-height: 420px;
}
    .driver-hero > div:first-child {
        min-height: 300px;
    }
    .driver-hero h1 {
        line-height: 1.2;
        min-height: 2.4em; /* giữ chỗ cho 2 dòng */
    }

@media (min-width: 1024px) {
    .driver-hero {
        grid-template-columns: 1fr 1fr;
    }
}

.img-wrap {
    width: 100%;
    aspect-ratio: 651 / 407;
    overflow: hidden;
    display: block;
}

    .img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-elegant);
    }

.req-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

    .req-card .head {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--primary-soft);
        color: var(--primary);
        padding: 0.35rem 0.85rem;
        border-radius: 999px;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

.req-list {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.85rem;
}

    .req-list li {
        display: flex;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .req-list .ico {
        display: grid;
        place-items: center;
        width: 2rem;
        height: 2rem;
        border-radius: 0.5rem;
        background: var(--secondary-2);
        color: var(--primary);
        font-size: 0.85rem;
        flex-shrink: 0;
    }

.process-card {
    background: linear-gradient(135deg, #00B14F 0%, #003d20 100%);
    color: #fff;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elegant);
}

    .process-card .head {
        display: inline-flex;
        background: rgba(255,255,255,0.15);
        padding: 0.35rem 0.85rem;
        border-radius: 999px;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .process-card .list {
        margin-top: 1.25rem;
        display: grid;
        gap: 1rem;
    }

        .process-card .list li {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .process-card .list .num {
            display: grid;
            place-items: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.75rem;
            background: rgba(255,255,255,0.15);
            font-family: var(--font-display);
            font-weight: 800;
            font-size: 0.85rem;
            color: var(--accent);
            flex-shrink: 0;
        }

        .process-card .list .ttl {
            font-family: var(--font-display);
            font-weight: 700;
        }

        .process-card .list .desc {
            margin-top: 0.15rem;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.8);
        }

/* -- Forms ---------------------------------------------------- */
.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elegant);
}

@media (min-width: 640px) {
    .form-card {
        padding: 2.5rem;
    }
}

.form-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.form-card .sub {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.form {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

/* -- Driver register grid (form + app card) ------------------- */
.driver-register-grid {
    display: grid;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .driver-register-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.driver-register-grid > * {
    height: 100%;
}

.driver-app-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-glow) 100%);
    color: #fff;
    box-shadow: var(--shadow-elegant);
}

@media (min-width: 640px) {
    .driver-app-card {
        padding: 2.5rem;
    }
}

.driver-app-card .badge-free {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: fit-content;
    padding: .4rem .9rem;
    background: var(--accent);
    color: var(--primary-darker);
    border-radius: 9999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.driver-app-card .app-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}

@media (min-width: 640px) {
    .driver-app-card .app-title {
        font-size: 1.875rem;
    }
}

.driver-app-card .app-title em {
    color: var(--accent);
    font-style: normal;
}

.driver-app-card .app-desc {
    margin-top: .5rem;
    font-size: .9rem;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
}

.driver-app-card .qr-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
}

@media (min-width: 640px) {
    .driver-app-card .qr-row {
        flex-direction: row;
        gap: 1.25rem;
        align-items: center;
    }
}

.driver-app-card .qr-box {
    background: #fff;
    padding: .75rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

    .driver-app-card .qr-box img {
        display: block;
        width: 128px;
        height: 128px;
    }

.driver-app-card .qr-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 640px) {
    .driver-app-card .qr-text {
        text-align: left;
    }
}

.driver-app-card .qr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
}

.driver-app-card .qr-text p {
    margin-top: .35rem;
    font-size: .875rem;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
}

.driver-app-card .store-row {
    display: grid;
    gap: .75rem;
}

@media (min-width: 640px) {
    .driver-app-card .store-row {
        grid-template-columns: 1fr 1fr;
    }
}

.driver-app-card .store-btn {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 1rem;
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
    color: #fff;
    transition: all .2s ease;
}

    .driver-app-card .store-btn:hover {
        background: rgba(255,255,255,.2);
        transform: translateY(-2px);
    }

.driver-app-card .store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.driver-app-card .store-eyebrow {
    font-size: .625rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.7);
}

.driver-app-card .store-name {
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 700;
}

.driver-app-card .app-disclaimer {
    margin-top: auto;
    font-size: .72rem;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--fg);
}

.field input, .field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    background: var(--card);
    font-size: 0.95rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .field input:focus, .field textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0,177,79,0.15);
    }

.field .err {
    display: none;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: #d42a2a;
}

.field.error .err {
    display: block;
}

.field.error input, .field.error textarea {
    border-color: #d42a2a;
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* -- Toast (vanilla) ------------------------------------------ */
.toast-stack {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    background: var(--primary-darker);
    color: #fff;
    padding: 0.85rem 1.1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    max-width: 22rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    animation: toast-in 0.25s forwards;
    pointer-events: auto;
}

    .toast.error {
        background: #b32a2a;
    }

    .toast .t {
        font-weight: 700;
    }

    .toast .d {
        font-size: 0.8rem;
        opacity: 0.85;
        margin-top: 0.15rem;
    }

@keyframes toast-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -- Contact list --------------------------------------------- */
.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .contact-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-card);
    }

    .contact-card .ico {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 3rem;
        height: 3rem;
        border-radius: 1rem;
        background: var(--primary-soft);
        color: var(--primary);
        font-size: 1.2rem;
        transition: background 0.2s, color 0.2s;
    }

    .contact-card:hover .ico {
        background: var(--primary);
        color: #fff;
    }

    .contact-card .lbl {
        font-size: 0.7rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .contact-card .val {
        font-family: var(--font-display);
        font-weight: 700;
        color: var(--primary-darker);
        margin-top: 0.15rem;
    }

/* -- Download CTA --------------------------------------------- */
.download-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
    .download-card {
        padding: 3rem;
    }
}

.download-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .reveal, .aside-card {
        margin-top: 30px !important;
    }
}
.store-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-darker);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    transition: transform 0.2s;
}

    .store-btn:hover {
        transform: translateY(-2px);
    }

    .store-btn .ico {
        font-size: 1.6rem;
    }

    .store-btn .top {
        font-size: 0.65rem;
        text-transform: uppercase;
        opacity: 0.7;
    }

    .store-btn .bot {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.9rem;
    }

.qr-box {
    background: linear-gradient(180deg, #f3faf6, #fff);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.qr-frame {
    margin: 0 auto;
    width: 10rem;
    height: 10rem;
    display: grid;
    place-items: center;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

    .qr-frame .pattern {
        width: 150px;
        height: 150px;
        background-size: 16px 16px;
        background-position: 0 0, 0 8px, 8px -8px, -8px 0;
        border-radius: 0.25rem;
    }

.qr-box .label {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-darker);
}

/* -- Footer --------------------------------------------------- */
.site-footer {
    background: var(--primary-darker);
    color: rgba(255,255,255,0.7);
}

    .site-footer .container {
        padding-top: 3.5rem;
        padding-bottom: 1.5rem;
    }

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.site-footer h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

.site-footer ul {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.site-footer a:hover {
    color: var(--primary);
}

.services-footer:hover {
    color: var(--primary);
    cursor: pointer;
}

.footer-about p {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 22rem;
}

.socials {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

    .socials a {
        display: grid;
        place-items: center;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.15);
        font-size: 0.95rem;
        transition: background 0.2s, border-color 0.2s;
    }

        .socials a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

.contact-li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

    .contact-li .i {
        color: var(--primary);
        flex-shrink: 0;
        margin-top: 0.15rem;
    }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* -- Reveal animation ----------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s, transform 0.7s;
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

/* -- Misc ----------------------------------------------------- */
.flex-between {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.see-all {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

    .see-all:hover {
        text-decoration: underline;
    }

@media (min-width: 640px) {
    .see-all {
        display: inline-flex;
    }
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.text-center {
    text-align: center;
}

/* -- Floating contact widget --------------------------------- */
.float-widget {
    position: fixed;
    right: 1rem;
    bottom: 1.25rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .85rem;
}

@media (min-width: 640px) {
    .float-widget {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

.fw-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    color: #fff;
    box-shadow: var(--shadow-elegant);
    transition: transform .2s ease;
}

    .fw-btn:hover {
        transform: scale(1.08);
    }

.fw-call {
    background: var(--primary);
}

.fw-zalo {
    background: #0068FF;
    box-shadow: 0 20px 50px -20px rgba(0,104,255,.45);
}

.fw-icon {
    position: relative;
    font-size: 1.4rem;
    line-height: 1;
}

.fw-ping {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: currentColor;
    opacity: .35;
    animation: fw-ping 1.6s cubic-bezier(0,0,.2,1) infinite;
}

.fw-call .fw-ping {
    background: var(--primary);
}

.fw-zalo .fw-ping {
    background: #0068FF;
}

@keyframes fw-ping {
    0% {
        transform: scale(1);
        opacity: .45;
    }

    80%, 100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.fw-tip {
    position: absolute;
    right: calc(100% + .65rem);
    top: 50%;
    transform: translateY(-50%);
    background: var(--fg);
    color: #fff;
    padding: .4rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    box-shadow: var(--shadow-card);
}

.fw-btn:hover .fw-tip {
    opacity: 1;
}

@media (max-width: 640px) {
    .fw-tip {
        display: none;
    }
}

/* -- Video modal --------------------------------------------- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.85);
    padding: 1rem;
}

    .video-modal.open {
        display: flex;
        animation: vm-in .2s ease;
    }

@keyframes vm-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.vm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition: background .2s;
}

    .vm-close:hover {
        background: rgba(255,255,255,.3);
    }

@media (min-width: 640px) {
    .vm-close {
        top: 1.5rem;
        right: 1.5rem;
    }
}

.vm-frame {
    position: relative;
    width: 100%;
    max-width: 64rem;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
}

    .vm-frame iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

/* Video card: button reset */
button.video-card {
    background: var(--card);
    text-align: left;
    cursor: pointer;
    border: 1px solid var(--border);
    font-family: inherit;
    color: inherit;
    width: 100%;
    padding: 0;
}

/* -- Vertical timeline (About) -------------------------------- */
.timeline {
    position: relative;
    max-width: 48rem;
    margin: 3.5rem auto 0;
    padding: 0;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 1.25rem;
        top: .5rem;
        bottom: .5rem;
        width: 2px;
        background: linear-gradient(to bottom, var(--primary), rgba(0,177,79,.25), transparent);
        border-radius: 2px;
    }

.tl-item {
    position: relative;
    padding-left: 3.75rem;
    margin-bottom: 2.25rem;
    list-style: none;
}

    .tl-item:last-child {
        margin-bottom: 0;
    }

.tl-dot {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .7rem;
    box-shadow: var(--shadow-green);
    outline: 4px solid var(--secondary);
}

.tl-year {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: .65rem;
}

.tl-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
    max-width: 22rem;
}

.tl-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-darker);
}

.tl-desc {
    margin-top: .5rem;
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Desktop: alternate left / right */
@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .tl-item {
        padding-left: 0;
        min-height: 5rem;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: 3rem;
    }

    .tl-dot {
        position: absolute;
        left: 50%;
        top: .25rem;
        transform: translateX(-50%);
    }

    /*.tl-left .tl-year, .tl-left .tl-card {
        grid-column: 1;
        text-align: right;
        padding-right: 0;
    }*/

    .tl-left .tl-year {
        align-self: end;
        margin-bottom: .35rem;
        grid-column: 1;
        text-align: right;
        padding-right: 1.5rem;
        justify-self: end;
    }

    .tl-left .tl-card {
        grid-column: 1;
        margin-top: 0.5rem;
        text-align: right;
    }

    /*.tl-right .tl-year, .tl-right .tl-card {
        grid-column: 2;
        text-align: left;
    }*/

    .tl-right .tl-year {
        grid-column: 3;
        text-align: left;
        padding-left: 1.5rem;
        justify-self: start;
    }
    .tl-right .tl-card {
        grid-column: 3;
        margin-top: 0.5rem;
        text-align: left;
    }
}

/* -- Service modal ------------------------------------------- */
.service-card {
    background: var(--card);
    text-align: left;
    cursor: pointer;
    border: 1px solid var(--border);
    font-family: inherit;
    color: inherit;
    width: 100%;
    padding: 2rem;
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: var(--accent-foreground, #0F1A0E);
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    z-index: 1;
}

.sm-eyebrow .coming-soon-badge {
    position: static;
    margin-left: .5rem;
    padding: .15rem .5rem;
    font-size: .6rem;
    box-shadow: none;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
}

    .service-modal.open {
        display: block;
    }

.sm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    animation: vm-in .2s ease;
}

.sm-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 1rem);
    max-width: 48rem;
    max-height: 92vh;
    background: var(--card);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-elegant);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sm-in .25s cubic-bezier(.2,.8,.2,1);
}

@keyframes sm-in {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 640px) {
    .sm-panel {
        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        transform: none;
        max-height: 92vh;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    @keyframes sm-in {
        from {
            transform: translateY(20px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

.sm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition: background .2s;
}

    .sm-close:hover {
        background: rgba(255,255,255,.35);
    }

.sm-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sm-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem 2rem;
    padding-right: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    flex-shrink: 0;
}

.sm-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: rgba(255,255,255,.2);
    font-size: 1.75rem;
}

.sm-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .8;
}

.sm-head h2 {
    margin-top: .35rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}

.sm-body {
    overflow-y: auto;
    padding: 1.5rem 2rem 2rem;
    flex: 1;
    min-height: 0;
}

.sm-intro {
    font-size: .95rem;
    line-height: 1.65;
    color: var(--fg);
}

.sm-h3 {
    margin-top: 2rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-darker);
}

.sm-benefits {
    margin-top: 1rem;
    display: grid;
    gap: .75rem;
}

@media (min-width: 640px) {
    .sm-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.sm-benefit {
    background: var(--secondary);
    border-radius: 1rem;
    padding: 1rem;
}

    .sm-benefit .t {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: .9rem;
        color: var(--primary-darker);
    }

    .sm-benefit .d {
        margin-top: .35rem;
        font-size: .8rem;
        line-height: 1.55;
        color: var(--muted);
    }

.sm-process {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

    .sm-process li {
        display: flex;
        gap: .85rem;
        align-items: flex-start;
    }

    .sm-process .n {
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
        border-radius: 9999px;
        background: var(--primary);
        color: #fff;
        display: grid;
        place-items: center;
        font-family: var(--font-display);
        font-weight: 800;
        font-size: .8rem;
    }

    .sm-process .t {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: .9rem;
        color: var(--primary-darker);
    }

    .sm-process .d {
        margin-top: .15rem;
        font-size: .8rem;
        line-height: 1.55;
        color: var(--muted);
    }

.sm-table-wrap {
    margin-top: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
}

.sm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

    .sm-table tr:nth-child(odd) {
        background: var(--secondary);
    }

    .sm-table td {
        padding: .75rem 1rem;
    }

        .sm-table td.price {
            text-align: right;
            font-family: var(--font-display);
            font-weight: 800;
            color: var(--primary);
            white-space: nowrap;
        }

        .sm-table td.note {
            text-align: right;
            font-size: .75rem;
            color: var(--muted);
        }

@media (max-width: 640px) {
    .sm-table td.note {
        display: none;
    }
}

.sm-note {
    margin-top: .5rem;
    font-size: .75rem;
    color: var(--muted);
    font-style: italic;
}

.sm-faqs {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.sm-faq {
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: .85rem 1.1rem;
    background: var(--card);
}

    .sm-faq[open] {
        background: var(--secondary);
    }

    .sm-faq summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: .75rem;
        font-family: var(--font-display);
        font-weight: 600;
        font-size: .9rem;
        color: var(--primary-darker);
    }

        .sm-faq summary::-webkit-details-marker {
            display: none;
        }

    .sm-faq .ic {
        color: var(--primary);
        font-weight: 800;
        transition: transform .2s;
    }

    .sm-faq[open] .ic {
        transform: rotate(45deg);
    }

    .sm-faq p {
        margin-top: .65rem;
        font-size: .8rem;
        line-height: 1.6;
        color: var(--muted);
    }

.sm-cta {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
}

    .sm-cta p {
        font-size: .95rem;
        line-height: 1.55;
    }

.sm-cta-btns {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
}

    .btn-outline:hover {
        background: rgba(255,255,255,.1);
    }

/* ===== Founders ===== */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem
}

@media(min-width:768px) {
    .founders-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

.founder-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding-bottom: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease,box-shadow .25s ease;
    overflow: hidden;
    text-align: center
}

    .founder-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-elegant)
    }

.founder-banner {
    height: 6.5rem;
    background: linear-gradient(135deg,var(--primary),#0d8a3f);
    position: relative
}

    .founder-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 50%,rgba(255,255,255,.25) 0,transparent 55%)
    }

.founder-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-top: -4rem;
    position: relative;
    z-index: 2
}

.founder-avatar {
    display: grid;
    place-items: center;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--primary),#0d8a3f);
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    border: 5px solid var(--card);
    box-shadow: 0 14px 30px -10px rgba(0,177,79,.55)
}

.founder-avatar-img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--card);
    box-shadow: 0 14px 30px -10px rgba(0,177,79,.55);
    display: block
}

.founder-body {
    padding: 1.25rem 1.5rem 0
}

    .founder-body h3 {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--primary-dark,var(--fg));
        margin: 0
    }

.founder-role {
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    margin: .4rem 0 0;
    text-transform: uppercase;
    letter-spacing: .08em
}

.founder-bio {
    margin-top: 1rem;
    font-size: .9rem;
    line-height: 1.65;
    color: var(--fg-soft)
}

.founder-socials {
    display: flex;
    gap: .5rem;
    margin-top: 1.25rem;
    justify-content: center
}

    .founder-socials span {
        display: grid;
        place-items: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: .85rem;
        background: var(--secondary,#f1f5f9);
        color: var(--primary);
        font-weight: 700;
        font-size: .9rem;
        transition: background .2s ease,color .2s ease
    }

.founder-card:hover .founder-socials span {
    background: var(--primary);
    color: #fff
}




/* ===== Lucide inline SVG sizing inside containers ===== */
.card-icon svg, .icon-wrap svg, .sm-icon svg, .fw-icon svg, .contact-li .i svg, .contact-row .ico svg, .store-btn .ico svg, .founder-socials svg, .socials a svg, .tl-card svg, .eyebrow svg, .play-btn svg, .btn svg, .phone svg {
    display: inline-block;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    stroke-width: 2;
    flex-shrink: 0
}

.card-icon svg, .icon-wrap svg {
    width: 1.6em;
    height: 1.6em
}

.sm-icon svg {
    width: 1.4em;
    height: 1.4em
}

.fw-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff
}

.socials a svg {
    width: 1.05rem;
    height: 1.05rem
}

.store-btn .ico svg {
    width: 1.4rem;
    height: 1.4rem
}

.founder-socials svg {
    width: 1.05rem;
    height: 1.05rem
}

.contact-li .i svg, .contact-row .ico svg {
    width: 1rem;
    height: 1rem
}

.eyebrow svg {
    margin-right: .35em;
    width: .95em;
    height: .95em
}

.play-btn svg {
    width: 1.4rem;
    height: 1.4rem;
    margin-left: .15em
}

.phone svg, .btn svg {
    margin-right: .4em
}
.news-title {
    color: #007047;
}
.news-date {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-share-news {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
}
.btn-share-news:hover {
    text-decoration: underline;
}