/* =============================================================================
   LANDING MODERN — Isolated CSS for page-landing-modern.php
   Prefix: lm- (landing-modern)
   Palette: Deep Navy + Teal accent + Warm amber highlight
   Style: Glassmorphism • Clip-paths • CSS Grid / Bento • Scroll reveals
   ============================================================================= */

/* Global overflow fix — ngăn scroll ngang trên mọi thiết bị */
html,
body.page-template-page-landing-modern {
    overflow-x: hidden;
    max-width: 100%;
}
body.page-template-page-landing-modern img {
    max-width: 100%;
    height: auto;
}

/* -------------------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   ------------------------------------------------------------------------- */
.lm {
    --lm-bg:          #f7f8fc;
    --lm-bg-tinted:   #eef2ff;
    --lm-bg-dark:     #0d1b2a;
    --lm-bg-dark2:    #112233;

    --lm-primary:     #1a6bff;
    --lm-primary-dk:  #0d4fd4;
    --lm-accent:      #00c9a7;
    --lm-accent-dk:   #009d84;
    --lm-amber:       #ffb830;
    --lm-amber-dk:    #e09500;

    --lm-text:        #1a2332;
    --lm-text-soft:   #4a5568;
    --lm-text-muted:  #718096;
    --lm-text-inv:    #ffffff;

    --lm-border:      rgba(26,107,255,0.12);
    --lm-shadow-sm:   0 2px 8px rgba(26,107,255,0.08);
    --lm-shadow:      0 8px 32px rgba(26,107,255,0.12);
    --lm-shadow-lg:   0 24px 64px rgba(26,107,255,0.18);
    --lm-glass:       rgba(255,255,255,0.72);
    --lm-glass-dark:  rgba(13,27,42,0.72);

    --lm-radius:      1rem;
    --lm-radius-lg:   1.75rem;
    --lm-radius-xl:   2.5rem;

    --lm-font-body:   'Inter', sans-serif;
    --lm-font-head:   'Quicksand', sans-serif;

    --lm-transition:  0.3s cubic-bezier(0.4,0,0.2,1);
    --lm-transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);

    font-family: var(--lm-font-body);
    color: var(--lm-text);
    background: var(--lm-bg);
    overflow-x: hidden;
}

:root {
    /* Colors */
    --primary-color: #FF6B9D;
    --secondary-color: #FFA94D;
    --accent-color: #FFD93D;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --bg-light: #FFF9F5;
    --bg-white: #FFFFFF;
    --success-color: #4CAF50;
    --border-color: #E8E8E8;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Quicksand', var(--font-primary);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Container */
    --container-width: 1200px;
}
/* -------------------------------------------------------------------------
   1. ANIMATIONS
   ------------------------------------------------------------------------- */
@keyframes lm-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes lm-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26,107,255,0.45); }
    50%       { box-shadow: 0 0 0 18px rgba(26,107,255,0); }
}
@keyframes lm-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes lm-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes lm-reveal-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes lm-blink-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
@keyframes lm-orbit {
    from { transform: rotate(0deg) translateX(60px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}
@keyframes lm-counter {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

/* -------------------------------------------------------------------------
   2. UTILITY — Reveal on scroll
   ------------------------------------------------------------------------- */
.lm-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
                transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.lm-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.lm-reveal:nth-child(2) { transition-delay: 0.1s; }
.lm-reveal:nth-child(3) { transition-delay: 0.2s; }
.lm-reveal:nth-child(4) { transition-delay: 0.3s; }
.lm-reveal:nth-child(5) { transition-delay: 0.4s; }
.lm-reveal:nth-child(6) { transition-delay: 0.5s; }

/* -------------------------------------------------------------------------
   3. LAYOUT — Wrapper & Sections
   ------------------------------------------------------------------------- */
.lm-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.lm-sec {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.lm-sec--no-pad { padding: 0; }
.lm-sec--tinted { background: var(--lm-bg-tinted); }
.lm-sec--dark   {
    background: var(--lm-bg-dark);
    color: var(--lm-text-inv);
}
.lm-sec--dark .lm-sec__title,
.lm-sec--dark h2,
.lm-sec--dark h3,
.lm-sec--dark h4 { color: var(--lm-text-inv); }
.lm-sec--dark .lm-sec__desc,
.lm-sec--dark p  { color: rgba(255,255,255,0.72); }

/* Wave dividers shared */
.lm-wave-top,
.lm-wave-bot {
    position: absolute;
    left: 0; right: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.lm-wave-top { top: 0; }
.lm-wave-bot { bottom: 0; }
.lm-wave-top svg,
.lm-wave-bot svg { width: 100%; display: block; }

/* Section headings */
.lm-sec__hd { margin-bottom: 3.5rem; }
.lm-sec__hd--center { text-align: center; }

.lm-sec__title {
    font-family: var(--lm-font-head);
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--lm-text);
    margin: 0.5rem 0 1rem;
}
.lm-sec__desc {
    font-size: 1.1rem;
    color: var(--lm-text-soft);
    max-width: 640px;
}
.lm-sec__hd--center .lm-sec__desc { margin: 0 auto; }
.lm-sec__hd--light .lm-sec__title { color: var(--lm-text-inv); }

/* Labels & badges */
.lm-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lm-primary);
    background: rgba(26,107,255,0.1);
    border: 1px solid rgba(26,107,255,0.2);
    padding: 8px 15px;
    border-radius: 100px;
    margin-bottom: 0.75rem;
    background: #fff;
}
.lm-label--light {
    color: var(--lm-accent);
    background: rgba(0,201,167,0.15);
    border-color: rgba(0,201,167,0.3);
}
.lm-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.25em 0.75em;
    border-radius: 100px;
    background: var(--lm-primary);
    color: #fff;
}
.lm-badge--accent { background: var(--lm-accent); }

/* -------------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------------- */
.lm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--lm-font-head);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    padding: 0.75em 1.75em;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--lm-transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.lm-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.lm-btn:hover::after { opacity: 1; }
.lm-btn:focus-visible { outline: 3px solid var(--lm-primary); outline-offset: 3px; }

.lm-btn--lg { padding: 1em 2.25em; font-size: 1.05rem; }
.lm-btn--full { width: 100%; }

.lm-btn--primary {
    background: linear-gradient(135deg, var(--lm-primary), #4d9eff);
    color: #fff;
    box-shadow: 0 4px 20px rgba(26,107,255,0.35);
}
.lm-btn--primary:hover {
    background: linear-gradient(135deg, var(--lm-primary-dk), var(--lm-primary));
    box-shadow: 0 8px 32px rgba(26,107,255,0.45);
    transform: translateY(-2px);
}

.lm-btn--glass {
    background: var(--lm-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--lm-primary);
    border-color: rgba(26,107,255,0.25);
}
.lm-btn--glass:hover {
    background: #fff;
    transform: translateY(-2px);
}

.lm-btn--white {
    background: #fff;
    color: var(--lm-primary);
    border-color: #fff;
}
.lm-btn--white:hover {
    background: #f0f5ff;
    transform: translateY(-2px);
}

.lm-btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.lm-btn--outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* -------------------------------------------------------------------------
   5. HERO SECTION — full-screen image + glass content box
   ------------------------------------------------------------------------- */
.lm-sec--hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 0;
    background: var(--lm-bg-dark);
}

.lm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.lm-hero-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.55) saturate(1.1);
    transform: scale(1.04);
    transition: transform 8s ease;
}
.lm-sec--hero:hover .lm-hero-bg__img { transform: scale(1.0); }

.lm-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg,
        rgba(13,27,42,0.85) 0%,
        rgba(26,107,255,0.35) 50%,
        rgba(0,201,167,0.2) 100%);
}

.lm-sec--hero .lm-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.lm-hero {
    max-width: 720px;
    animation: lm-reveal-up 1s cubic-bezier(0.4,0,0.2,1) both;
}

.lm-hero__school {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lm-accent);
    background: rgba(0,201,167,0.12);
    border: 1px solid rgba(0,201,167,0.35);
    padding: 0.35em 1em;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.lm-hero__slogan {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem;
}

.lm-hero__title {
    font-family: var(--lm-font-head);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 1.25rem;
    /* gradient text */
    background: linear-gradient(135deg, #ffffff 30%, var(--lm-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lm-hero__desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 560px;
}

.lm-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.lm-hero__hotline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--lm-glass-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--lm-radius);
    padding: 0.75rem 1.25rem;
}
.lm-hero__hotline-icon { font-size: 1.4rem; }
.lm-hero__hotline small { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.55); }
.lm-hero__hotline strong { display: block; font-size: 1.1rem; color: var(--lm-amber); }

/* -------------------------------------------------------------------------
   6. BENTO GRID — Why Choose section
   ------------------------------------------------------------------------- */
.lm-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

/* Span rules for asymmetric "bento" feel */
.lm-bento__cell--1 { grid-column: span 2; grid-row: span 2; }
.lm-bento__cell--4 { grid-column: span 2; }
.lm-bento__cell--6 { grid-column: span 2; }

.lm-bento__cell {
    background: #fff;
    border-radius: var(--lm-radius-lg);
    padding: 2rem;
    border: 1px solid var(--lm-border);
    box-shadow: var(--lm-shadow-sm);
    transition: var(--lm-transition);
    position: relative;
    overflow: hidden;
}
.lm-bento__cell::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lm-primary), var(--lm-accent));
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.lm-bento__cell:hover {
    transform: translateY(-6px);
    box-shadow: var(--lm-shadow-lg);
    border-color: rgba(26,107,255,0.2);
}
.lm-bento__cell:hover::before { opacity: 1; }

.lm-bento__cell--1 {
    background: linear-gradient(145deg, var(--lm-primary), var(--lm-primary-dk));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.lm-bento__cell--1 .lm-bento__icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.lm-bento__cell--1 .lm-bento__name { color: #fff; font-size: 1.4rem; }
.lm-bento__cell--1 .lm-bento__text { color: rgba(255,255,255,0.8); font-size: 1rem; }

.lm-bento__icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    display: block;
}
.lm-bento__name {
    font-family: var(--lm-font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lm-text);
    margin: 0 0 0.5rem;
}
.lm-bento__text {
    font-size: 0.92rem;
    color: var(--lm-text-soft);
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------------------------------------------
   7. PROGRAM TABS
   ------------------------------------------------------------------------- */
.lm-sec--program { background: var(--lm-bg-dark); color: var(--lm-text-inv); }
.lm-sec--program .lm-sec__title { color: var(--lm-text-inv); }
.lm-sec--program .lm-sec__desc { color: rgba(255,255,255,0.7); }
.lm-sec--program .lm-wave-top path { fill: var(--lm-bg); }
.lm-sec--program .lm-wave-bot path { fill: var(--lm-bg); }

.lm-philosophy {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 1.25rem 2rem;
    border-left: 3px solid var(--lm-accent);
    background: rgba(0,201,167,0.06);
    border-radius: 0 var(--lm-radius) var(--lm-radius) 0;
}

/* Tab nav */
.lm-tabs__nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
    justify-content: center;
}
.lm-tabs__nav::-webkit-scrollbar { display: none; }

.lm-tabs__btn {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
    padding: 0.75rem 1.5rem;
    border-radius: var(--lm-radius);
    border: 1.5px solid rgba(255,255,255,0.12);
    background: transparent;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    font-family: var(--lm-font-body);
    transition: var(--lm-transition);
}
.lm-tabs__btn.is-active,
.lm-tabs__btn:hover {
    background: rgba(26,107,255,0.18);
    border-color: var(--lm-primary);
    color: #fff;
}
.lm-tabs__age {
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lm-accent);
}
.lm-tabs__name { font-weight: 600; font-size: 0.95rem; }

/* Tab panels */
.lm-tabs__panel { display: none; }
.lm-tabs__panel.is-active { display: block; }

.lm-prog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.lm-prog__img-wrap {
    border-radius: var(--lm-radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.lm-prog__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.lm-prog__img-wrap:hover .lm-prog__img { transform: scale(1.05); }
.lm-prog__body h3 {
    font-family: var(--lm-font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0.75rem 0 0.875rem;
}
.lm-prog__body p { color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 1.5rem; }
.lm-prog__skills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lm-skill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid rgba(0,201,167,0.3);
    color: #d92fa4;
}

/* -------------------------------------------------------------------------
   8. FACILITY — Masonry
   ------------------------------------------------------------------------- */
.lm-masonry {
    columns: 3;
    column-gap: 1.25rem;
    margin-bottom: 2rem;
}
.lm-masonry__item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    border-radius: var(--lm-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.lm-masonry__item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.lm-masonry__item:hover img { transform: scale(1.04); }
.lm-masonry__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(13,27,42,0.75));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}
.lm-masonry__item:hover .lm-masonry__caption { transform: translateY(0); }

.lm-safety {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: linear-gradient(135deg, #e8f4ff, #f0fff9);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius-lg);
    padding: 1.75rem 2rem;
    margin-top: 1.5rem;
}
.lm-safety__icon { font-size: 2.5rem; flex-shrink: 0; }
.lm-safety__body h3 { font-family: var(--lm-font-head); font-size: 1.1rem; font-weight: 700; margin: 0 0 0.4rem; color: var(--lm-primary); }
.lm-safety__body div { font-size: 0.95rem; color: var(--lm-text-soft); }

/* -------------------------------------------------------------------------
   9. TEACHER — Dark section horizontal cards
   ------------------------------------------------------------------------- */
.lm-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.lm-team__card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--lm-radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: var(--lm-transition);
}
.lm-team__card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(26,107,255,0.35);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(26,107,255,0.2);
}
.lm-team__avatar-wrap { flex-shrink: 0; }
.lm-team__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0,201,167,0.4);
}
.lm-team__info h4 {
    font-family: var(--lm-font-head);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
}
.lm-team__role {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--lm-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.lm-team__info p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }

/* -------------------------------------------------------------------------
   10. SCHEDULE TIMELINE — alternating left / right
   ------------------------------------------------------------------------- */
.lm-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 0;
}
.lm-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--lm-primary), var(--lm-accent));
    border-radius: 2px;
}

.lm-tl__item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 2rem);
    margin-bottom: 1.75rem;
    position: relative;
}
.lm-tl__item--right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 2rem);
}

.lm-tl__dot {
    position: absolute;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lm-primary);
    border: 3px solid var(--lm-bg);
    box-shadow: 0 0 0 3px rgba(26,107,255,0.3);
    z-index: 1;
    animation: lm-blink-dot 2s ease infinite;
}

.lm-tl__card {
    background: #fff;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    padding: 0.875rem 1.25rem;
    box-shadow: var(--lm-shadow-sm);
    max-width: 260px;
    transition: var(--lm-transition);
}
.lm-tl__card:hover {
    transform: scale(1.03);
    box-shadow: var(--lm-shadow);
    border-color: rgba(26,107,255,0.25);
}
.lm-tl__time {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lm-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}
.lm-tl__act {
    font-size: 0.92rem;
    color: var(--lm-text);
    margin: 0;
    font-weight: 600;
}

/* -------------------------------------------------------------------------
   11. MENU (THỰC ĐƠN) — Day pill nav
   ------------------------------------------------------------------------- */
.lm-menu__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.lm-menu__pill {
    padding: 0.5em 1.4em;
    border-radius: 100px;
    border: 1.5px solid var(--lm-border);
    background: #fff;
    color: var(--lm-text-soft);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--lm-transition);
}
.lm-menu__pill.is-active,
.lm-menu__pill:hover {
    background: var(--lm-primary);
    border-color: var(--lm-primary);
    color: #fff;
}
.lm-menu__panel { display: none; }
.lm-menu__panel.is-active { display: block; }
.lm-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: var(--lm-radius-lg);
    box-shadow: var(--lm-shadow-sm);
    overflow: hidden;
    border: 1px solid var(--lm-border);
}
.lm-menu__row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--lm-border);
    transition: background 0.2s;
}
.lm-menu__row:last-child { border-bottom: 0; }
.lm-menu__row:hover { background: rgba(26,107,255,0.04); }
.lm-menu__mname {
    min-width: 130px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--lm-primary);
    padding: 1rem 1.25rem;
    background: rgba(26,107,255,0.05);
    border-right: 1px solid var(--lm-border);
    display: flex;
    align-items: center;
}
.lm-menu__dishes {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--lm-text);
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.lm-commit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e8f4ff, #f0fff9);
    border-radius: var(--lm-radius);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lm-text);
    border: 1px solid var(--lm-border);
}
.lm-commit span { font-size: 1.2rem; color: var(--lm-accent); }

/* -------------------------------------------------------------------------
   12. PRICING CARDS — glassmorphism deck
   ------------------------------------------------------------------------- */
.lm-pricing {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
.lm-price-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--lm-border);
    border-radius: var(--lm-radius-xl);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--lm-shadow-sm);
    transition: var(--lm-transition);
    position: relative;
    overflow: hidden;
}
.lm-price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lm-shadow-lg);
    border-color: rgba(26,107,255,0.3);
}
.lm-price-card--hot {
    background: linear-gradient(170deg, #f0f6ff 0%, #fff 60%);
    border-color: var(--lm-primary);
    box-shadow: var(--lm-shadow), 0 0 0 3px rgba(26,107,255,0.1);
    transform: scale(1.04);
}
.lm-price-card--hot:hover { transform: scale(1.04) translateY(-8px); }
.lm-price-card__ribbon {
    position: absolute;
    top: 1.25rem; right: -2.5rem;
    background: linear-gradient(135deg, var(--lm-primary), var(--lm-accent));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3em 3.5em;
    transform: rotate(30deg);
    letter-spacing: 0.05em;
}
.lm-price-card__name {
    font-family: var(--lm-font-head);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lm-text);
    margin: 0 0 0.75rem;
}
.lm-price-card__price {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--lm-font-head);
    color: var(--lm-primary);
    margin: 0.75rem 0 1.25rem;
    line-height: 1;
}
.lm-price-card__price small {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lm-text-muted);
    display: block;
    margin-top: 0.2em;
}
.lm-price-card__feats {
    list-style: none;
    padding: 0; margin: 0 0 1.5rem;
    flex: 1;
}
.lm-price-card__feats li {
    font-size: 0.9rem;
    color: var(--lm-text-soft);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.lm-price-card__feats li::before {
    content: '✓';
    color: var(--lm-accent);
    font-weight: 700;
    flex-shrink: 0;
}

.lm-policy-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--lm-text-muted);
    margin-top: 1.75rem;
    font-style: italic;
}

/* -------------------------------------------------------------------------
   13. PROCESS STEPS — vertical stepper with gradient connector
   ------------------------------------------------------------------------- */
.lm-steps {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    padding-left: 3.5rem;
}
.lm-steps::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--lm-primary), var(--lm-accent));
    border-radius: 2px;
}

.lm-step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}
.lm-step:last-child { margin-bottom: 0; }

.lm-step__num {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lm-primary), var(--lm-primary-dk));
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(26,107,255,0.12);
    z-index: 1;
    flex-shrink: 0;
    font-family: var(--lm-font-head);
    animation: lm-counter 0.6s ease both;
}

.lm-step__body {
    background: #fff;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--lm-shadow-sm);
    transition: var(--lm-transition);
}
.lm-step__body:hover {
    box-shadow: var(--lm-shadow);
    border-color: rgba(26,107,255,0.2);
    transform: translateX(6px);
}
.lm-step__body h3 {
    font-family: var(--lm-font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lm-text);
    margin: 0 0 0.4rem;
}
.lm-step__body p { font-size: 0.9rem; color: var(--lm-text-soft); line-height: 1.6; margin: 0; }

/* -------------------------------------------------------------------------
   14. TESTIMONIALS — quote card grid
   ------------------------------------------------------------------------- */
.lm-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.lm-quote {
    background: #fff;
    border-radius: var(--lm-radius-lg);
    border: 1px solid var(--lm-border);
    padding: 2rem;
    box-shadow: var(--lm-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--lm-transition);
    position: relative;
}
.lm-quote::before {
    content: '"';
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 5rem;
    line-height: 1;
    color: rgba(26,107,255,0.07);
    font-family: Georgia, serif;
    font-weight: 900;
}
.lm-quote:hover {
    transform: translateY(-6px);
    box-shadow: var(--lm-shadow);
    border-color: rgba(26,107,255,0.2);
}
.lm-quote__stars { color: var(--lm-amber); font-size: 0.95rem; letter-spacing: 0.1em; }
.lm-quote__text {
    font-size: 0.95rem;
    color: var(--lm-text-soft);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    flex: 1;
}
.lm-quote__author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    border-top: 1px solid var(--lm-border);
    padding-top: 1rem;
}
.lm-quote__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(26,107,255,0.2);
}
.lm-quote__author strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--lm-text); }
.lm-quote__author small  { display: block; font-size: 0.75rem; color: var(--lm-text-muted); }

/* -------------------------------------------------------------------------
   15. FAQ — 2-column accordion grid
   ------------------------------------------------------------------------- */
.lm-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.lm-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.lm-acc__item {
    background: #fff;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    overflow: hidden;
    box-shadow: var(--lm-shadow-sm);
    transition: border-color 0.3s;
}
.lm-acc__item.is-open { border-color: rgba(26,107,255,0.25); }
.lm-acc__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--lm-font-body);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--lm-text);
    text-align: left;
    transition: var(--lm-transition);
}
.lm-acc__q:hover { background: rgba(26,107,255,0.04); }
.lm-acc__ico {
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--lm-primary);
    transition: transform 0.3s;
    line-height: 1;
}
.lm-acc__item.is-open .lm-acc__ico { transform: rotate(45deg); }
.lm-acc__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.lm-acc__item.is-open .lm-acc__a { max-height: 600px; }
.lm-acc__a-inner {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.88rem;
    color: var(--lm-text-soft);
    line-height: 1.7;
}

/* -------------------------------------------------------------------------
   16. REGISTRATION FORM — glass card on dark section
   ------------------------------------------------------------------------- */
.lm-form-card {
    max-width: 780px;
    margin: 0 auto;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--lm-radius-xl);
    padding: 3rem;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.lm-form-card__hd {
    text-align: center;
    margin-bottom: 2.5rem;
}
.lm-form-card__hd h2 {
    font-family: var(--lm-font-head);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0.5rem 0 0.75rem;
}
.lm-form-card__hd p { color: rgba(255,255,255,0.65); font-size: 1rem; }

.lm-form { display: flex; flex-direction: column; gap: 1.25rem; }
.lm-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.lm-form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.lm-form__group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
}
.lm-form__group label span { color: var(--lm-amber); }
.lm-form__group input,
.lm-form__group select,
.lm-form__group textarea {
    padding: 0.8rem 1rem;
    border-radius: var(--lm-radius);
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--lm-font-body);
    transition: border-color 0.3s, background 0.3s;
    backdrop-filter: blur(4px);
    outline: none;
}
.lm-form__group input::placeholder,
.lm-form__group textarea::placeholder { color: rgba(255,255,255,0.35); }
.lm-form__group select option { background: var(--lm-bg-dark2); color: #fff; }
.lm-form__group input:focus,
.lm-form__group select:focus,
.lm-form__group textarea:focus {
    border-color: var(--lm-accent);
    background: rgba(255,255,255,0.12);
}
.lm-form__check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.lm-form__check input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: var(--lm-accent); }
.lm-form__check label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.lm-form__commit {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
    margin-top: 0.25rem;
}

/* -------------------------------------------------------------------------
   17. CTA BAND
   ------------------------------------------------------------------------- */
.lm-sec--cta {
    background: linear-gradient(135deg, #fb8703 0%, #fe8556 40%, #c99200 100%);
    background-size: 200% 200%;
    animation: lm-gradient-shift 8s ease infinite;
    padding: 5rem 0;
    color: #000;
}
.lm-cta-band {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.lm-cta-band__left h2 {
    font-family: var(--lm-font-head);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}
.lm-cta-band__left p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0; max-width: 480px; }
.lm-cta-band__right {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   18. SLIDES SECTION
   ------------------------------------------------------------------------- */
.lm-sec--slides .lm-sec__hd { padding-top: 5rem; }
.slides-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/7;
    min-height: 340px;
    max-height: 640px;
    background: var(--lm-bg-dark);
}
.slides-section__track { position: relative; width: 100%; height: 100%; }
.slides-section__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.slides-section__item.is-active { opacity: 1; }
.slides-section__image-wrap {
    position: absolute;
    inset: 0;
}
.slides-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}
.slides-section__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}
.slides-section__title {
    font-family: var(--lm-font-head);
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.slides-section__description {
    color: rgba(255,255,255,0.85);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    max-width: 560px;
    margin: 0;
}
.slides-section__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    transition: var(--lm-transition);
}
.slides-section__nav:hover { background: rgba(26,107,255,0.5); }
.slides-section__nav--prev { left: 1.25rem; }
.slides-section__nav--next { right: 1.25rem; }
.slides-section__dots {
    position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem; z-index: 10;
}
.slides-section__dot {
    width: 8px; height: 8px;
    border-radius: 100px;
    background: rgba(255,255,255,0.35);
    border: none; cursor: pointer;
    transition: background 0.3s, width 0.3s;
}
.slides-section__dot.is-active { background: #fff; width: 24px; }

/* -------------------------------------------------------------------------
   19. GALLERY MASONRY
   ------------------------------------------------------------------------- */
.lm-gallery-masonry {
    columns: 4;
    column-gap: 1rem;
}
.lm-gallery-masonry__item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--lm-radius);
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}
.lm-gallery-masonry__item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.lm-gallery-masonry__item:hover img { transform: scale(1.05); }
.lm-gallery-masonry__cap {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(13,27,42,0.8));
    color: #fff; font-size: 0.78rem; padding: 0.75rem 0.875rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.lm-gallery-masonry__item:hover .lm-gallery-masonry__cap { transform: translateY(0); }

/* -------------------------------------------------------------------------
   20. VIDEO GALLERY
   ------------------------------------------------------------------------- */
.lm-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.lm-video-item--featured { grid-column: 1 / -1; }
.lm-video-item__player {
    border-radius: var(--lm-radius-lg);
    overflow: hidden;
    background: var(--lm-bg-dark);
    aspect-ratio: 16/9;
    position: relative;
}
.lm-video-item__player video,
.lm-video-item__player iframe { width: 100%; height: 100%; border-radius: 0; display: block; }
.lm-video-item__info {
    margin-top: 0.875rem;
}
.lm-video-item__info h3 { font-size: 1rem; font-weight: 700; color: var(--lm-text); margin: 0 0 0.3rem; }
.lm-video-item__info p  { font-size: 0.85rem; color: var(--lm-text-soft); margin: 0; }

/* YouTube thumbnail overlay */
.video-embed { position: relative; width: 100%; height: 100%; }
.video-embed img.video-thumbnail { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    background: none; border: none; cursor: pointer; padding: 0;
    transition: transform 0.3s;
}
.video-play-btn:hover { transform: translate(-50%,-50%) scale(1.12); }
.video-embed.playing { display: none; }

/* -------------------------------------------------------------------------
   21. RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .lm-bento {
        grid-template-columns: repeat(3, 1fr);
    }
    .lm-bento__cell--1 { grid-column: span 2; grid-row: span 1; }
    .lm-bento__cell--4 { grid-column: span 1; }
    .lm-bento__cell--6 { grid-column: span 1; }

    .lm-gallery-masonry { columns: 3; }
    .lm-masonry { columns: 2; }
}

@media (max-width: 768px) {
    .lm-sec { padding: 4rem 0; }

    .lm-bento {
        grid-template-columns: 1fr 1fr;
    }
    .lm-bento__cell--1 { grid-column: span 2; }
    .lm-bento__cell--4, .lm-bento__cell--6 { grid-column: span 2; }

    .lm-prog { grid-template-columns: 1fr; gap: 1.5rem; }

    .lm-timeline::before { left: 1rem; }
    .lm-tl__item,
    .lm-tl__item--right {
        padding-left: 3rem;
        padding-right: 0;
        justify-content: flex-start;
    }
    .lm-tl__dot { left: 1rem; }

    .lm-faq-grid { grid-template-columns: 1fr; }

    .lm-form__row { grid-template-columns: 1fr; }

    .lm-cta-band { flex-direction: column; align-items: flex-start; }
    .lm-cta-band__right { width: 100%; }

    .lm-gallery-masonry { columns: 2; }
    .lm-masonry { columns: 1; }

    .lm-videos { grid-template-columns: 1fr; }
    .lm-video-item--featured { grid-column: span 1; }

    .lm-steps { padding-left: 2.75rem; }
    .lm-steps::before { left: 0.9rem; }
    .lm-step__num { left: -2.75rem; width: 2rem; height: 2rem; font-size: 0.85rem; }

    .lm-form-card { padding: 2rem 1.25rem; }

    .lm-hero__title { font-size: 2rem; }
    .lm-hero__ctas { flex-direction: column; }
}

@media (max-width: 480px) {
    .lm-bento { grid-template-columns: 1fr; }
    .lm-bento__cell--1,
    .lm-bento__cell--4,
    .lm-bento__cell--6 { grid-column: span 1; }

    .lm-pricing { grid-template-columns: 1fr; }
    .lm-price-card--hot { transform: none; }

    .lm-gallery-masonry { columns: 1; }

    .lm-team { grid-template-columns: 1fr; }

    .lm-quotes { grid-template-columns: 1fr; }

    .lm-form-card { padding: 1.25rem 1rem; }
    .lm-wrap {padding: 0 0.875rem !important;min-height: auto !important;width: auto !IMPORTANT;}
    .lm-sec {padding: 3rem 0;min-height: auto;}
    .lm-sec__hd { margin-bottom: 1.75rem; }
}

/* =========================================================================
   LIGHTBOX — gallery zoom overlay
   ========================================================================= */

.lm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    /* start hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lm-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

/* Dark backdrop */
.lm-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: zoom-out;
}

/* Image wrapper */
.lm-lightbox__inner {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 1100px);
    max-height: 90svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    /* pop-in animation */
    transform: scale(0.86);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lm-lightbox.is-open .lm-lightbox__inner {
    transform: scale(1);
}

.lm-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 82svh;
    width: auto;
    height: auto;
    border-radius: var(--lm-radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    object-fit: contain;
    user-select: none;
}

/* Caption */
.lm-lightbox__cap {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    text-align: center;
    min-height: 1.2em;
}

/* Close button */
.lm-lightbox__close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.lm-lightbox__close:hover {
    background: rgba(255,255,255,0.22);
    transform: rotate(90deg) scale(1.1);
}

/* Prev / Next arrows */
.lm-lightbox__prev,
.lm-lightbox__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}
.lm-lightbox__prev { left: 1.25rem; }
.lm-lightbox__next { right: 1.25rem; }
.lm-lightbox__prev:hover,
.lm-lightbox__next:hover { background: rgba(255,255,255,0.22); }

/* Counter badge */
.lm-lightbox__counter {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.35);
    padding: 0.3em 0.9em;
    border-radius: 100px;
    pointer-events: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .lm-lightbox__prev { left: 0.5rem; width: 2.5rem; height: 2.5rem; font-size: 1.2rem; }
    .lm-lightbox__next { right: 0.5rem; width: 2.5rem; height: 2.5rem; font-size: 1.2rem; }
    .lm-lightbox__close { top: -0.6rem; right: -0.6rem; }
}

/* =========================================================================
   22. LANDING HEADER  (scoped — adapts from style.css with lm- vars)
   ========================================================================= */

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.landing-header.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.header-logo a {
    display: block;
    transition: opacity 0.3s ease;
}

.header-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.header-logo .site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a6bff;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
}

.header-logo a:hover {
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a6bff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0px 10px;
    color: #1a2332;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.nav-link:hover {
    color: var(--lm-primary);
    background: rgba(26, 107, 255, 0.08);
}

.nav-item-highlight .nav-link {
    background: #0d4fd4;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.nav-item-highlight .nav-link:hover {
    background: #1a6bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 107, 255, 0.25);
}

/* Body padding for fixed header */
body.page-template-page-landing-modern {
    padding-top: 80px;
    margin: 0px;
}

/* Mobile menu overlay backdrop */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        padding: 80px 20px 20px;
        overflow-y: auto;
        flex: none;
        display: block;
        z-index: 999;
    }

    .header-nav.menu-open {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        padding: 1rem;
        color: #1a2332;
        border-bottom: 1px solid rgba(26, 107, 255, 0.12);
        border-radius: 0;
    }

    .nav-item-highlight .nav-link {
        margin: 1rem 0;
        border-bottom: none;
        text-align: center;
        border-radius: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .header-logo img {
        max-height: 45px;
    }

    body.page-template-page-landing-modern {
        padding-top: 70px;
    }
}

/* =========================================================================
   23. LANDING FOOTER
   ========================================================================= */

.landing-footer {
    background: linear-gradient(135deg, #1a6bff, #0d4fd4);
    color: #fff;
    padding: 3rem 0 1rem;
}

/* Inherit container from theme — provide fallback */
.landing-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    padding: 0;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter';
    color: #fff;
    letter-spacing: 0.01em;
}

.footer-text {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 0.93rem;
    font-family: 'Inter';
}

/* Contact list */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    line-height: 1.6;
    font-size: 0.9rem;
    opacity: 0.92;
    font-family: 'Inter';
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.85;
}

.footer-contact-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.25s;
}

.footer-contact-item a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* Social icons */
.footer-social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background var(--lm-transition), transform var(--lm-transition);
    border: 1px solid rgba(255,255,255,0.12);
}

.social-link:hover {
    background: #fff;
    color: #1a6bff;
    transform: translateY(-3px);
    border-color: #fff;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-copyright {
    opacity: 0.8;
    font-size: 0.85rem;
    margin: 0;
    color: #fff;
}

/* =========================================================================
   24. FLOATING CONTACT BUTTONS
   ========================================================================= */

.floating-contacts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    /* translateX sang trái — tránh "hover trap" khi nút xếp dọc bên phải màn hình */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    white-space: nowrap;
}

.floating-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.28);
}

.floating-btn svg { flex-shrink: 0; }

.floating-btn-zalo     { background: linear-gradient(135deg, #0068FF, #0095FF); color: #fff; }
.floating-btn-facebook { background: linear-gradient(135deg, #1877F2, #42A5F5); color: #fff; }
.floating-btn-phone    { background: linear-gradient(135deg, #00c9a7, #009d84); color: #fff; }

@media (min-width: 768px) {
    .floating-btn-text { display: inline; }
}

@media (max-width: 767px) {
    .floating-contacts {
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: row;
        justify-content: space-around;
        background: #fff;
        padding: 8px 10px;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
        border-radius: 0;
        gap: 6px;
    }

    .floating-btn {
        flex: 1;
        border-radius: 6px;
        padding: 8px 4px;
        flex-direction: column;
        gap: 3px;
        font-size: 0;
        justify-content: center;
        box-shadow: none;
        will-change: auto;
    }

    /* Tắt hover effect trên mobile bar — không dùng transform trong layout ngang */
    .floating-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .floating-btn svg { width: 26px; height: 26px; }

    .floating-btn-text {
        display: block;
        font-size: 0.65rem;
        font-weight: 600;
    }

    /* Đẩy footer lên trên floating bar */
    body.page-template-page-landing-modern {
        padding-bottom: 68px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .landing-footer {
        padding: 2rem 0 1rem;
    }
}
