:root {
    --primary: #ff7a1a;
    --primary-dark: #db5f00;
    --secondary: #ffcb35;
    --pink: #ff5fa2;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #eceff3;
    --bg: #fff8ef;
    --soft: #fff1dc;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(31, 41, 55, 0.13);
    --shadow-soft: 0 12px 30px rgba(31, 41, 55, 0.09);
    --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.6;
}
body.admin-body { background: linear-gradient(135deg, #fff8ef, #ffffff); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
code { background: #fff3d7; padding: 2px 7px; border-radius: 8px; }

.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); }

.top-ribbon {
    background: linear-gradient(90deg, var(--primary), var(--pink));
    color: white;
    font-size: 14px;
}
.ribbon-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.ribbon-inner a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(236, 239, 243, 0.95);
}
.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}
.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff7a1a 0%, #ffcb35 48%, #ff5fa2 100%);
    color: white;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(255, 122, 26, 0.32);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,.85);
}
.brand-mark::after {
    content: "";
    position: absolute;
    top: -70%;
    left: -70%;
    width: 48%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.74), transparent);
    transform: rotate(24deg);
    animation: brandShine 3.6s infinite;
}
.brand-mark span { position: relative; z-index: 1; text-shadow: 0 2px 10px rgba(0,0,0,.16); }
@keyframes brandShine { 0%, 55% { left: -70%; } 78%, 100% { left: 125%; } }
.brand-text strong { display: block; font-size: 22px; line-height: 1.1; }
.brand-text small { color: var(--muted); font-size: 12px; }
.main-nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #374151;
    font-weight: 700;
    transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--soft); color: var(--primary-dark); }
.header-call {
    display: grid;
    line-height: 1.2;
    padding: 10px 16px;
    border: 1px solid #ffd9b4;
    border-radius: 18px;
    background: #fff9f2;
    color: var(--primary-dark);
}
.header-call span { font-size: 12px; color: var(--muted); }
.header-call strong { font-size: 15px; }
.menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--soft);
    color: var(--primary-dark);
    font-size: 24px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 76px 0 70px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,203,53,.42), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(255,95,162,.20), transparent 26%),
        linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
}
.hero-decor { position: absolute; border-radius: 999px; opacity: .18; filter: blur(2px); }
.hero-decor-1 { width: 240px; height: 240px; background: var(--pink); right: -70px; top: 90px; }
.hero-decor-2 { width: 180px; height: 180px; background: var(--blue); left: -70px; bottom: 20px; }
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 54px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: 13px;
}
.hero-content h1, .page-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.hero-content p, .page-hero p { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--pink)); color: white; box-shadow: 0 14px 32px rgba(255, 122, 26, .25); }
.btn-outline { background: white; border-color: #ffd9b4; color: var(--primary-dark); }
.btn-light { background: white; color: var(--primary-dark); }
.btn-small { min-height: 42px; padding: 9px 16px; font-size: 14px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
    max-width: 580px;
}
.hero-stats div { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-soft); }
.hero-stats strong { display: block; font-size: 24px; color: var(--primary-dark); line-height: 1; }
.hero-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; }
.party-card {
    position: relative;
    border-radius: 34px;
    background: white;
    padding: 14px;
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
    overflow: hidden;
}
.party-card img { border-radius: 24px; }
.party-card .shine {
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.55) 38%, transparent 55%);
    transform: translateX(-100%);
    animation: cardShine 4.5s infinite;
    pointer-events: none;
}
@keyframes cardShine { 0%, 48% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.hero-mini-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 13px 16px;
}
.hero-mini-card span { font-size: 24px; }
.card-top { top: 26px; left: -28px; }
.card-bottom { right: -20px; bottom: 34px; }

.section { padding: 76px 0; }
.soft-bg { background: linear-gradient(180deg, #fff8ef, #fff); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-heading h2, .split-content h2, .cta-box h2 { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
.section-heading p, .split-content p { color: var(--muted); margin: 0; }
.card-grid { display: grid; gap: 22px; }
.four-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .package-card, .process-card, .contact-card, .contact-form, .admin-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.service-card { padding: 26px; transition: .22s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--soft); border-radius: 18px; font-size: 28px; margin-bottom: 18px; }
.service-card h3, .package-card h3, .process-card h3 { margin: 0 0 10px; font-size: 21px; }
.service-card p, .process-card p { color: var(--muted); margin: 0 0 18px; }
.service-card a { color: var(--primary-dark); font-weight: 900; }

.split-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.split-image { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: white; padding: 12px; transform: rotate(-1deg); }
.split-image img { border-radius: 24px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: #374151; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 999px; background: #eafff2; color: #16a34a; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.check-list.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-card { padding: 24px; position: relative; overflow: hidden; }
.process-card span { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--pink)); color: white; font-weight: 900; margin-bottom: 20px; box-shadow: 0 12px 26px rgba(255,122,26,.25); }
.process-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 999px; background: var(--soft); right: -34px; top: -34px; z-index: 0; }
.process-card > * { position: relative; z-index: 1; }

.package-card { padding: 28px; position: relative; }
.package-card.popular { border-color: #ffc47d; transform: translateY(-8px); box-shadow: var(--shadow); }
.package-tag { display: inline-flex; border-radius: 999px; background: var(--soft); color: var(--primary-dark); font-weight: 900; padding: 6px 12px; font-size: 12px; margin-bottom: 14px; }
.price { font-size: 28px; font-weight: 900; color: var(--primary-dark); margin: 0 0 16px; }
.package-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.package-card li { padding-left: 24px; position: relative; color: #374151; }
.package-card li::before { content: "•"; position: absolute; left: 6px; color: var(--pink); font-weight: 900; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gallery-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: white;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: .22s ease;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery-item img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-item span { display: inline-flex; margin: 14px 10px 6px; color: var(--primary-dark); font-size: 13px; font-weight: 900; }
.gallery-item strong { display: block; margin: 0 10px 10px; font-size: 18px; }
.gallery-toolbar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter-btn { border: 1px solid #ffd9b4; background: white; color: var(--primary-dark); border-radius: 999px; padding: 10px 16px; font-weight: 900; cursor: pointer; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.gallery-item.hidden { display: none; }

.faq-list { display: grid; gap: 12px; }
details { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-soft); }
summary { cursor: pointer; font-weight: 900; }
details p { color: var(--muted); margin: 12px 0 0; }

.cta-section { padding: 40px 0 80px; }
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: white;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}
.cta-box .eyebrow { color: white; opacity: .92; }
.cta-box h2 { margin-bottom: 0; max-width: 780px; }

.page-hero {
    padding: 66px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,203,53,.36), transparent 26%),
        radial-gradient(circle at 85% 10%, rgba(255,95,162,.18), transparent 22%),
        linear-gradient(180deg, #fff8ef, #ffffff);
    text-align: center;
}
.page-hero .container { max-width: 900px; }
.service-list { display: grid; gap: 34px; }
.service-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 34px; background: white; box-shadow: var(--shadow-soft); }
.service-detail:nth-child(even) .service-detail-image { order: 2; }
.service-detail-image img { border-radius: 26px; }
.service-detail-content { padding: 16px; }
.service-detail-content h2 { margin: 10px 0 12px; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
.service-detail-content p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-card, .contact-form { padding: 30px; }
.contact-card h2, .contact-form h2 { margin: 0 0 18px; font-size: 28px; }
.contact-card p { margin: 12px 0; color: #374151; }
.contact-card a { color: var(--primary-dark); font-weight: 900; }
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.contact-note-box { margin-top: 24px; padding: 16px; border-radius: 20px; background: var(--soft); display: grid; gap: 6px; }
.contact-note-box span { color: var(--muted); }
.contact-form { display: grid; gap: 16px; }
.contact-form label, .login-form label { display: grid; gap: 8px; color: #374151; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea, .login-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 15px;
    background: #fff;
    outline: none;
    font-weight: 400;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .login-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,122,26,.12); }
.form-note { color: var(--muted); font-size: 14px; margin: 0; }
.alert { border-radius: 16px; padding: 14px 16px; font-weight: 700; }
.alert p { margin: 0; }
.alert.success { background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; }
.alert.error { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }

.site-footer { background: #1f2937; color: white; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr 1fr; gap: 30px; }
.footer-brand .brand-text small { color: rgba(255,255,255,.65); }
.site-footer p, .site-footer li, .footer-bottom { color: rgba(255,255,255,.72); }
.site-footer h3 { margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; }

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: grid;
    gap: 10px;
}
.floating-actions a { min-width: 66px; min-height: 46px; display: grid; place-items: center; border-radius: 999px; color: white; font-weight: 900; box-shadow: var(--shadow-soft); }
.float-call { background: #16a34a; }
.float-zalo { background: #0068ff; }
.float-facebook { background: #1877f2; font-size: 22px; }

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 100;
    background: rgba(17, 24, 39, .82);
    padding: 30px;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 78vh; max-width: min(980px, 92vw); border-radius: 24px; background: white; }
.lightbox strong { color: white; margin-top: 14px; font-size: 20px; }
.lightbox-close { position: absolute; right: 24px; top: 18px; width: 48px; height: 48px; border: 0; border-radius: 999px; background: white; color: var(--ink); font-size: 34px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.admin-wrap { min-height: 100vh; padding: 34px 16px; display: grid; place-items: start center; }
.admin-card { width: min(1120px, 100%); padding: 28px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-head h1 { margin: 8px 0 0; font-size: 32px; }
.login-form { display: grid; gap: 16px; max-width: 440px; }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 18px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; background: white; }
.admin-table th, .admin-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: #fff8ef; color: var(--primary-dark); }

@media (max-width: 980px) {
    .header-call { display: none; }
    .menu-toggle { display: grid; place-items: center; }
    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% - 1px);
        margin-left: 0;
        display: none;
        grid-template-columns: 1fr;
        background: white;
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 10px;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: grid; }
    .main-nav a { border-radius: 16px; }
    .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-section { padding-top: 46px; }
    .hero-visual { max-width: 620px; margin: 0 auto; }
    .four-col, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .three-col, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-detail, .service-detail:nth-child(even) { grid-template-columns: 1fr; }
    .service-detail:nth-child(even) .service-detail-image { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 24px, 1160px); }
    .top-ribbon { display: none; }
    .nav-wrap { min-height: 68px; }
    .brand-mark { width: 48px; height: 48px; border-radius: 16px; }
    .brand-text strong { font-size: 19px; }
    .hero-content h1, .page-hero h1 { font-size: 38px; }
    .hero-content p, .page-hero p { font-size: 16px; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-mini-card { position: static; margin-top: 12px; }
    .party-card { transform: none; }
    .section { padding: 54px 0; }
    .four-col, .three-col, .process-grid, .gallery-grid, .footer-grid, .check-list.compact { grid-template-columns: 1fr; }
    .package-card.popular { transform: none; }
    .cta-box { padding: 26px; border-radius: 26px; }
    .footer-bottom { flex-direction: column; }
    .floating-actions { right: 12px; bottom: 12px; }
    .floating-actions a { min-width: 58px; min-height: 42px; font-size: 14px; }
    .contact-card, .contact-form, .admin-card { padding: 22px; }
}


/* =========================================================
   HEADER MẪU V17 - hotline thấp hơn + menu vẫn hiện khi cuộn
   Dùng với header có class sample-header/sample-tabs.
   ========================================================= */

/* Ẩn header cũ nếu còn tồn tại trong HTML */
.top-ribbon,
.nav-wrap,
.header-call {
    display: none !important;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
}

.footer-logo-img {
    width: auto;
    height: 110px;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.sample-header,
.sample-header * {
    box-sizing: border-box;
}

.sample-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.sample-header .container {
    width: min(1760px, calc(100% - 72px)) !important;
    margin: 0 auto !important;
}

.sample-header-inner {
    position: relative !important;
    height: 152px !important;
    min-height: 152px !important;
    background: #ffffff !important;
    overflow: visible !important;
    transition: height .32s ease, min-height .32s ease, box-shadow .32s ease;
}

.sample-header-stage {
    position: relative !important;
    height: 152px !important;
    min-height: 152px !important;
    display: grid !important;
    grid-template-columns: 245px minmax(0, 1fr) !important;
    align-items: end !important;
    gap: 0 !important;
    overflow: visible !important;
}

/* Logo tròn lớn bên trái */
.sample-logo {
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    width: 205px !important;
    height: 205px !important;
    display: block !important;
    z-index: 6 !important;
    text-decoration: none !important;
    transition: width .32s ease, height .32s ease, top .32s ease, left .32s ease;
}

.sample-logo-circle {
    position: relative !important;
    width: 205px !important;
    height: 205px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 4px solid #ffd6e5 !important;
    box-shadow:
        0 16px 34px rgba(255, 45, 116, .13),
        0 0 0 8px rgba(255, 220, 234, .20),
        0 0 48px rgba(255, 45, 116, .12) !important;
    overflow: hidden !important;
    transition: width .32s ease, height .32s ease, border-width .32s ease, box-shadow .32s ease;
}

.sample-logo-circle img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    padding: 14px !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    transition: padding .32s ease;
}

/* Vệt ánh sáng lóe qua logo */
.sample-logo-circle::before {
    content: "" !important;
    position: absolute !important;
    top: -42% !important;
    left: -58% !important;
    width: 36% !important;
    height: 195% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent) !important;
    transform: rotate(23deg) !important;
    animation: sampleLogoShine 4.3s ease-in-out infinite !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

.sample-logo-circle::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 999px !important;
    box-shadow:
        inset 0 0 28px rgba(255, 45, 116, .08),
        inset 0 0 48px rgba(255, 203, 53, .08) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

@keyframes sampleLogoShine {
    0%, 44% { left: -58%; opacity: 0; }
    52% { opacity: .95; }
    76%, 100% { left: 132%; opacity: 0; }
}

.sample-header-right {
    grid-column: 2 !important;
    position: relative !important;
    height: 152px !important;
    min-height: 152px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    transition: height .32s ease, min-height .32s ease;
}

/* Hotline hạ xuống gần ngang với menu hơn */
.sample-hotline {
    position: absolute !important;
    right: 0 !important;
    top: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #ff2d74 !important;
    text-decoration: none !important;
    line-height: 1.05 !important;
    z-index: 5 !important;
    white-space: nowrap !important;
    transition: opacity .22s ease, transform .32s ease;
}

.sample-hotline-icon {
    font-size: 40px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.sample-hotline em {
    display: block !important;
    margin-bottom: 2px !important;
    font-style: italic !important;
    font-weight: 900 !important;
    font-size: 17px !important;
    color: #ff2d74 !important;
}

.sample-hotline strong {
    display: block !important;
    font-weight: 900 !important;
    font-size: 19px !important;
    letter-spacing: .02em !important;
    color: #ff2d74 !important;
}

/* Menu tab màu sát đường hồng */
.sample-header .sample-tabs,
.sample-header .main-nav.sample-tabs {
    position: relative !important;
    inset: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 4 !important;
    overflow: visible !important;
}

.sample-header .sample-tabs a,
.sample-header .main-nav.sample-tabs a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 56px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: .01em !important;
    box-shadow: 0 10px 22px rgba(31, 41, 55, .10) !important;
    transition: transform .2s ease, filter .2s ease, min-width .32s ease, min-height .32s ease, font-size .32s ease !important;
    white-space: nowrap !important;
}

.sample-header .sample-tabs a:hover,
.sample-header .sample-tabs a.active {
    transform: translateY(-2px) !important;
    filter: brightness(1.04) !important;
}

/* Chiều rộng tab không vượt màn hình */
.sample-header .sample-tabs a:nth-child(1) { min-width: 158px !important; background: #ff1266 !important; }
.sample-header .sample-tabs a:nth-child(2) { min-width: 158px !important; background: #58cc05 !important; }
.sample-header .sample-tabs a:nth-child(3) { min-width: 140px !important; background: #ff6500 !important; }
.sample-header .sample-tabs a:nth-child(4) { min-width: 136px !important; background: #ff1266 !important; }
.sample-header .sample-tabs a:nth-child(5) { min-width: 126px !important; background: #f4cf00 !important; }
.sample-header .sample-tabs a:nth-child(6) { min-width: 176px !important; background: #ff6500 !important; }
.sample-header .sample-tabs a:nth-child(7) { min-width: 136px !important; background: #9756d6 !important; }

.sample-pink-line {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 5px !important;
    background: #ff2d74 !important;
    z-index: 2 !important;
}

.sample-menu-toggle {
    display: none !important;
}

/* Chừa khoảng cho logo chồm xuống */
.sample-header + main .hero-section,
.sample-header + main .page-hero {
    padding-top: 88px !important;
}

/* Khi cuộn: logo nhỏ lại, menu vẫn hiện đầy đủ trong header */
.sample-header.is-scrolled .sample-header-inner {
    height: 82px !important;
    min-height: 82px !important;
    box-shadow: 0 10px 26px rgba(31, 41, 55, .08) !important;
}

.sample-header.is-scrolled .sample-header-stage {
    height: 82px !important;
    min-height: 82px !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
}

.sample-header.is-scrolled .sample-logo,
.sample-header.is-scrolled .sample-logo-circle {
    width: 70px !important;
    height: 70px !important;
}

.sample-header.is-scrolled .sample-logo {
    top: 6px !important;
    left: 0 !important;
}

.sample-header.is-scrolled .sample-logo-circle {
    border-width: 2px !important;
    box-shadow:
        0 8px 16px rgba(255,45,116,.10),
        0 0 0 4px rgba(255,220,234,.15) !important;
}

.sample-header.is-scrolled .sample-logo-circle img {
    padding: 5px !important;
}

.sample-header.is-scrolled .sample-header-right {
    height: 82px !important;
    min-height: 82px !important;
    align-items: flex-end !important;
}

.sample-header.is-scrolled .sample-hotline {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
}

.sample-header.is-scrolled .sample-tabs,
.sample-header.is-scrolled .main-nav.sample-tabs {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 5px !important;
}

.sample-header.is-scrolled .sample-tabs a,
.sample-header.is-scrolled .main-nav.sample-tabs a {
    min-height: 42px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
    border-radius: 12px 12px 0 0 !important;
}

.sample-header.is-scrolled .sample-tabs a:nth-child(1) { min-width: 124px !important; }
.sample-header.is-scrolled .sample-tabs a:nth-child(2) { min-width: 126px !important; }
.sample-header.is-scrolled .sample-tabs a:nth-child(3) { min-width: 108px !important; }
.sample-header.is-scrolled .sample-tabs a:nth-child(4) { min-width: 106px !important; }
.sample-header.is-scrolled .sample-tabs a:nth-child(5) { min-width: 98px !important; }
.sample-header.is-scrolled .sample-tabs a:nth-child(6) { min-width: 136px !important; }
.sample-header.is-scrolled .sample-tabs a:nth-child(7) { min-width: 102px !important; }

.sample-header.is-scrolled + main .hero-section,
.sample-header.is-scrolled + main .page-hero {
    padding-top: 68px !important;
}

/* Màn hình vừa: thu menu để không tràn */
@media (max-width: 1500px) and (min-width: 1101px) {
    .sample-header .container {
        width: min(1440px, calc(100% - 48px)) !important;
    }

    .sample-header-stage {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }

    .sample-logo,
    .sample-logo-circle {
        width: 190px !important;
        height: 190px !important;
    }

    .sample-header .sample-tabs a {
        min-height: 52px !important;
        font-size: 13px !important;
        padding: 0 12px !important;
    }

    .sample-header .sample-tabs a:nth-child(1) { min-width: 132px !important; }
    .sample-header .sample-tabs a:nth-child(2) { min-width: 136px !important; }
    .sample-header .sample-tabs a:nth-child(3) { min-width: 118px !important; }
    .sample-header .sample-tabs a:nth-child(4) { min-width: 116px !important; }
    .sample-header .sample-tabs a:nth-child(5) { min-width: 106px !important; }
    .sample-header .sample-tabs a:nth-child(6) { min-width: 148px !important; }
    .sample-header .sample-tabs a:nth-child(7) { min-width: 110px !important; }

    .sample-hotline {
        top: 50px !important;
        transform: scale(.88) !important;
        transform-origin: right center !important;
    }
}

/* Tablet/mobile */
@media (max-width: 1100px) {
    .sample-header .container {
        width: min(100% - 24px, 1160px) !important;
    }

    .sample-header-inner,
    .sample-header-stage,
    .sample-header-right {
        height: 96px !important;
        min-height: 96px !important;
    }

    .sample-header-stage {
        grid-template-columns: 92px 1fr 50px !important;
        align-items: center !important;
    }

    .sample-logo,
    .sample-logo-circle {
        width: 82px !important;
        height: 82px !important;
    }

    .sample-logo {
        top: 7px !important;
        left: 0 !important;
    }

    .sample-logo-circle {
        border-width: 2px !important;
        box-shadow:
            0 8px 18px rgba(255,45,116,.10),
            0 0 0 4px rgba(255,220,234,.16) !important;
    }

    .sample-logo-circle img {
        padding: 5px !important;
    }

    .sample-header-right {
        grid-column: 2 / 4 !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    .sample-hotline {
        right: 58px !important;
        top: 22px !important;
        transform: scale(.88) !important;
        transform-origin: right center !important;
    }

    .sample-menu-toggle {
        display: grid !important;
        place-items: center !important;
        position: absolute !important;
        right: 0 !important;
        top: 26px !important;
        width: 42px !important;
        height: 42px !important;
        border: 0 !important;
        border-radius: 14px !important;
        background: #fff1dc !important;
        color: #db5f00 !important;
        font-size: 24px !important;
        z-index: 10 !important;
    }

    .sample-header .main-nav.sample-tabs {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 8px) !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px !important;
        border-radius: 20px !important;
        background: rgba(255,255,255,.98) !important;
        border: 1px solid var(--line) !important;
        box-shadow: var(--shadow) !important;
    }

    .sample-header .main-nav.sample-tabs.open {
        display: flex !important;
    }

    .sample-header .main-nav.sample-tabs a,
    .sample-header .main-nav.sample-tabs a:nth-child(1),
    .sample-header .main-nav.sample-tabs a:nth-child(2),
    .sample-header .main-nav.sample-tabs a:nth-child(3),
    .sample-header .main-nav.sample-tabs a:nth-child(4),
    .sample-header .main-nav.sample-tabs a:nth-child(5),
    .sample-header .main-nav.sample-tabs a:nth-child(6),
    .sample-header .main-nav.sample-tabs a:nth-child(7) {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        border-radius: 14px !important;
        font-size: 14px !important;
    }

    .sample-header + main .hero-section,
    .sample-header + main .page-hero {
        padding-top: 52px !important;
    }
}

@media (max-width: 640px) {
    .sample-header-stage {
        grid-template-columns: 78px 1fr 46px !important;
    }

    .sample-logo,
    .sample-logo-circle {
        width: 70px !important;
        height: 70px !important;
    }

    .sample-hotline {
        right: 48px !important;
        top: 24px !important;
        transform: scale(.76) !important;
    }

    .sample-hotline-icon {
        font-size: 28px !important;
    }
}
