:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --border: rgba(15, 23, 42, 0.08);
    --accent-cyan: #0ea5e9;
    --accent-orange: #ea580c;
    --text-1: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --font-title: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(15, 23, 42, 0.06);
    --r: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.mobile-menu {
    box-sizing: border-box;
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 2px;
}

/* ── TOKENS ── */
:root {
    --bg-light: #f8fafc;
    --border-light: rgba(15, 23, 42, 0.08);
    --accent-cyan: #0ea5e9;
    --accent-orange: #ea580c;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --font-title: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-blur: blur(20px);

    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --border: rgba(15, 23, 42, 0.08);
    --text-1: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(15, 23, 42, 0.06);
    --r: 12px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BOOTSTRAP OVERRIDES ── */
/* Prevent Bootstrap from interfering with custom dropdown menus */
.nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-item:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Override Bootstrap's default row negative margins for custom sections */
.features-header.row {
    --bs-gutter-x: 40px;
}

.why-inner.row {
    --bs-gutter-x: 0;
    margin: 0;
}

.why-inner.row>* {
    padding-left: 0;
    padding-right: 0;
}

.footer-grid.row {
    --bs-gutter-x: 56px;
    margin: 0;
    margin-bottom: 64px;
}

/* Ensure Bootstrap form-control doesn't override custom newsletter input */
.newsletter-input.form-control {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 18px;
    color: var(--text-1);
    font-family: var(--font-body);
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.newsletter-input.form-control:focus {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Prevent Bootstrap's a color from overriding custom links */
a {
    color: inherit;
    text-decoration: none;
}

/* Ensure Bootstrap list-unstyled works with nav-menu */
.nav-menu.list-unstyled {
    padding-left: 0;
    margin-bottom: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.mobile-menu {
    box-sizing: border-box;
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 2px;
}

/* ══════════════════════════════════════════════
       HEADER
       ══════════════════════════════════════════════ */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

.site-header.scrolled .logo {
    color: var(--text-1);
}

.header-container {
    width: 100%;
    padding: 24px 48px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 48px;
}

.logo {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    color: #fff;
}

.logo span {
    color: #fff;
    transition: all 0.3s ease;
}

.logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.85;
    transform: translateX(2px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-title);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: #fff;
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 8px 16px;
    gap: 8px;
    transition: var(--transition-smooth);
}

.search-bar:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.search-bar svg {
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    transition: color 0.3s;
}

.search-bar:focus-within svg {
    color: #fff;
}

.search-bar input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    width: 120px;
    outline: none;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-bar input:focus {
    width: 180px;
}

/* Header scrolled */
.site-header.scrolled {
    position: fixed;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 0;
    position: relative;
    z-index: 100;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.75);
    transition: var(--transition-smooth);
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hamburger-menu.active span {
    background: rgba(15, 23, 42, 0.75) !important;
}

.site-header.scrolled .hamburger-menu span {
    background: rgba(15, 23, 42, 0.75);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: none;
    flex-direction: column;
    padding: 80px 16px 40px;
    gap: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    animation: slideIn 0.3s var(--ease) forwards;
    /* Hardware acceleration for iOS */
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.mobile-menu.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu .nav-link {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: block;
    word-break: break-word;
    color: var(--text-2);
}

.mobile-menu .nav-link:hover {
    color: var(--text-1);
}

.mobile-menu .nav-item {
    padding: 0;
    width: 100%;
    list-style: none;
}

.mobile-menu .dropdown-menu {
    position: static;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s var(--ease);
    padding: 0;
    margin-top: 0;
}

.mobile-menu .nav-item.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding: 8px 0;
}

.mobile-menu .dropdown-item {
    padding: 8px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 12px;
    word-break: break-word;
    color: var(--text-2);
}

.mobile-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-1);
}

.mobile-menu .search-bar {
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu .search-bar input {
    width: 100%;
    font-size: 12px;
    color: var(--text-1);
}

.mobile-menu .search-bar input::placeholder {
    color: var(--text-3);
}

.mobile-menu .search-bar svg {
    color: var(--text-2);
}

/* ══════════════════════════════════════════════
   NAV ICON (icon chuông — bị thiếu hoàn toàn)
══════════════════════════════════════════════ */
.nav-icon-link {
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.nav-icon-link:hover {
    color: #fff;
}

.icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #f43f5e;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.icon-dropdown-menu {
    right: -10px;
    left: auto;
    width: 320px;
    padding: 0;
    cursor: default;
    overflow: hidden;
}

.icon-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.icon-dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-dropdown-header h4 {
    font-family: var(--font-title);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.icon-dropdown-body {
    max-height: 300px;
    overflow-y: auto;
}

.icon-dropdown-menu .dropdown-item {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notif-text {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notif-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.icon-dropdown-footer {
    padding: 16px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.icon-dropdown-footer a {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.icon-dropdown-footer a:hover {
    opacity: 0.8;
}

/* scrolled overrides cho icon */
.site-header.scrolled .nav-icon-link {
    color: var(--text-2);
}

.site-header.scrolled .nav-icon-link:hover {
    color: var(--text-1);
}

.site-header.scrolled .icon-dropdown-header {
    border-bottom-color: var(--border);
}

.site-header.scrolled .icon-dropdown-header h4 {
    color: var(--text-1);
}

.site-header.scrolled .icon-dropdown-menu .dropdown-item {
    border-bottom-color: var(--border);
}

.site-header.scrolled .notif-time {
    color: var(--text-3);
}

.site-header.scrolled .icon-dropdown-footer {
    background: rgba(15, 23, 42, 0.02);
}

.site-header.scrolled .icon-dropdown-footer a {
    color: var(--text-1);
}

.site-header.scrolled .logo span {
    -webkit-text-fill-color: var(--text-1);
    color: var(--text-1);
}

.site-header.scrolled .nav-link {
    color: var(--text-2);
}

.site-header.scrolled .nav-link:hover {
    color: var(--text-1);
}

.site-header.scrolled .dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    border-color: var(--border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.site-header.scrolled .dropdown-item {
    color: var(--text-2);
}

.site-header.scrolled .dropdown-item:hover {
    background: var(--surface-2);
    color: var(--text-1);
}

.site-header.scrolled .nav-cta {
    background: var(--text-1);
    border-color: var(--text-1);
    color: #fff;
}

.site-header.scrolled .nav-cta:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.site-header.scrolled .search-bar {
    background: rgba(15, 23, 42, 0.05);
    border-color: var(--border);
}

.site-header.scrolled .search-bar:focus-within {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.site-header.scrolled .search-bar svg {
    color: var(--text-2);
}

.site-header.scrolled .search-bar:focus-within svg {
    color: var(--accent-cyan);
}

.site-header.scrolled .search-bar input {
    color: var(--text-1);
}

.site-header.scrolled .search-bar input::placeholder {
    color: var(--text-3);
}

.site-header.scrolled .nav-icon-link {
    color: var(--text-2);
}

.site-header.scrolled .nav-icon-link:hover {
    color: var(--text-1);
}

.site-header.scrolled .icon-dropdown-header {
    border-bottom-color: var(--border);
}

.site-header.scrolled .icon-dropdown-header h4 {
    color: var(--text-1);
}

.site-header.scrolled .icon-dropdown-menu .dropdown-item {
    border-bottom-color: var(--border);
}

.site-header.scrolled .cart-item {
    border-bottom-color: var(--border);
}

.site-header.scrolled .cart-item-title {
    color: var(--text-1);
}

.site-header.scrolled .cart-item-price {
    color: var(--text-2);
}

.site-header.scrolled .icon-dropdown-footer {
    background: rgba(15, 23, 42, 0.02);
}

.site-header.scrolled .icon-dropdown-footer a {
    color: var(--text-1);
}

.site-header.scrolled .icon-dropdown-footer a.nav-cta {
    color: #fff;
}

.site-header.scrolled .notif-time {
    color: var(--text-3);
}

.site-header.scrolled .hamburger-menu span {
    background: rgba(15, 23, 42, 0.75);
}

@media (max-width: 768px) {
    .mobile-menu {
        padding: 70px 12px 40px;
        gap: 8px;
    }

    .mobile-menu .nav-link {
        font-size: 13px;
        padding: 9px 0;
    }

    .header-actions .search-bar {
        display: flex;
        padding: 4px 8px;
        gap: 6px;
    }

    .header-actions .search-bar input {
        width: 60px;
        font-size: 12px;
        padding: 0;
    }

    .header-actions .search-bar:focus-within input {
        width: 120px;
    }

    .header-actions .nav-link {
        display: none;
    }

    .header-actions .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-container {
        gap: 20px;
        padding: 16px 20px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 14px 16px;
        gap: 10px;
    }

    .logo {
        font-size: 16px;
    }

    .logo::before {
        width: 6px;
        height: 6px;
    }


    .mobile-menu {
        padding: 60px 10px 40px;
        gap: 6px;
    }

    .mobile-menu .nav-link {
        font-size: 12px;
        padding: 8px 0;
    }

    .mobile-menu .nav-cta {
        padding: 8px;
        font-size: 11px;
    }

    .mobile-menu .dropdown-item {
        padding: 6px 16px;
        font-size: 11px;
    }

    .mobile-menu .search-bar {
        padding: 6px 12px;
    }

    .mobile-menu .search-bar input {
        width: 100%;
        font-size: 11px;
    }
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.page-hero {
    position: relative;
    min-height: 720px;
    background: #0a101e;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url('../img/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        radial-gradient(ellipse 70% 60% at 20% 40%, rgba(14, 165, 233, 0.13) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 80% 70%, rgba(234, 88, 12, 0.09) 0%, transparent 55%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
}

.hero-slice {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 48px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-eyebrow-line {
    width: 36px;
    height: 2px;
    background: var(--accent-cyan);
}

.hero-eyebrow-text {
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(52px, 6.5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: #fff;
}

.hero-title em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

.hero-desc {
    margin-top: 28px;
    font-size: clamp(14px, 1.4vw, 15px);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    max-width: 460px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    padding-bottom: 8px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 18px 24px;
    min-width: 160px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s, background 0.3s;
}

.hero-stat-card:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
}

.hero-stat-num {
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-stat-num span {
    color: var(--accent-cyan);
}

.hero-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 5px;
}

.hero-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 8px 16px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    transition: all 0.3s var(--ease);
}

.hero-pill:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.35);
    color: #fff;
}

.hero-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-pill-dot.cyan {
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
}

.hero-pill-dot.orange {
    background: var(--accent-orange);
}

.hero-pill-dot.green {
    background: #10b981;
}

@media (max-width: 860px) {
    .page-hero {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 90px 28px 60px;
        gap: 32px;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 20px);
    }

    .hero-desc {
        font-size: 13px;
        margin-top: 16px;
    }

    .hero-right {
        align-items: stretch;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        gap: 8px;
    }

    .hero-stat-card {
        flex: 1;
        min-width: 0;
        padding: 14px 10px;
    }

    .hero-stat-num {
        font-size: 24px;
    }
}

/* ══════════════════════════════════════════════
   REVEAL
══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--accent-cyan);
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-1);
}

/* ══════════════════════════════════════════════
   CONTACT BODY
══════════════════════════════════════════════ */
.contact-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info-intro {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 40px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: box-shadow 0.35s, transform 0.35s;
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon.cyan {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--accent-cyan);
}

.info-icon.orange {
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.15);
    color: var(--accent-orange);
}

.info-icon.green {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.info-icon.purple {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.info-card-label {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 4px;
}

.info-card-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
}

.info-card-sub {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 2px;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.social-btn:hover {
    background: var(--text-1);
    color: #fff;
    border-color: var(--text-1);
}

/* Form */
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
}

.form-sub {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-1);
    background: var(--bg);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group textarea {
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--text-1);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.35s var(--ease);
}

.btn-submit:hover {
    background: var(--accent-cyan);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.28);
}

.form-note {
    font-size: 11px;
    color: var(--text-3);
    text-align: center;
    margin-top: 12px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 32px 0;
}

.form-success .success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #10b981;
}

.form-success h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 14px;
    color: var(--text-2);
}

@media (max-width: 860px) {
    .contact-body {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }

    .info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* ══════════════════════════════════════════════
   MAP
══════════════════════════════════════════════ */
.map-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 80px;
}

.map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: none;
}

.map-overlay-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    flex-shrink: 0;
}

.map-badge-text {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.map-badge-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1px;
}

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 80px 48px;
}

.faq-inner {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1);
    text-align: left;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--text-3);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-cyan);
}

.faq-answer {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 22px;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
    background: var(--text-1);
    padding: 80px 56px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-bottom: 18px;
}

.footer-logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    flex-shrink: 0;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 26px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social .social-btn {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
}

.footer-social .social-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-col-title {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-title);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-bottom-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ══════════════════════════════════════════════
   AUTH MODAL
══════════════════════════════════════════════ */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.auth-modal.open {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.auth-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s var(--ease);
    margin: 20px;
}

.auth-modal.open .auth-modal-content {
    transform: scale(1) translateY(0);
}

.auth-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.auth-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.auth-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.auth-tab.active {
    color: #fff;
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.auth-tab.active::after {
    transform: scaleX(1);
}

.auth-form-container {
    display: none;
}

.auth-form-container.active {
    display: block;
    animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-title {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.auth-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.auth-input-group {
    margin-bottom: 16px;
}

.auth-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.auth-input-group input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.auth-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-input-group input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.auth-forgot {
    font-size: 13px;
    color: var(--accent-cyan);
    text-decoration: none;
}

.auth-submit {
    width: 100%;
    padding: 13px;
    background: var(--accent-cyan);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s;
}

.auth-submit:hover {
    background: #0284c7;
}

.auth-separator {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.auth-separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-separator span {
    padding: 0 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
}

.auth-social-btn {
    width: 100%;
    padding: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.25s;
}

.auth-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .contact-body {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 64px 32px;
    }

    .map-section {
        padding: 0 32px 64px;
    }

    .faq-section {
        padding: 64px 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 60px 24px 32px;
    }
}

@media (max-width: 768px) {
    .contact-body {
        padding: 48px 24px;
    }

    .info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .map-section {
        padding: 0 24px 48px;
    }

    .faq-section {
        padding: 48px 24px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .info-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SYNCED MOBILE MENU & HEADER MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .header-actions .search-bar {
        display: flex;
        padding: 4px 8px;
        gap: 6px;
    }

    .header-actions .search-bar input {
        width: 60px;
        font-size: 12px;
        padding: 0;
    }

    .header-actions .search-bar:focus-within input {
        width: 120px;
    }

    .header-actions .nav-link:not(:first-child) {
        display: none;
    }

    .header-actions .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-container {
        gap: 20px;
        padding: 16px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu {
        padding: 70px 12px 40px;
        gap: 8px;
    }

    .mobile-menu .nav-link {
        font-size: 13px;
        padding: 9px 0;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 14px 12px;
        gap: 10px;
    }

    .logo {
        font-size: 13px;
        letter-spacing: 0.1em;
    }

    .logo::before {
        width: 6px;
        height: 6px;
    }


    .mobile-menu {
        padding: 60px 10px 40px;
        gap: 6px;
    }

    .mobile-menu .nav-link {
        font-size: 13px;
        padding: 8px 0;
    }

    .mobile-menu .nav-cta {
        padding: 8px;
        font-size: 11px;
    }

    .mobile-menu .dropdown-item {
        padding: 6px 16px;
        font-size: 11px;
    }

    .mobile-menu .search-bar {
        padding: 6px 12px;
    }

    .mobile-menu .search-bar input {
        width: 100%;
        font-size: 11px;
    }
}





/* ── FOOTER SYNCED FROM INDEX ── */
/* ── FOOTER ── */
.site-footer {
    background: var(--text-1);
    padding: 80px 56px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-bottom: 18px;
}

.footer-logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    flex-shrink: 0;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 26px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-col-title {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.701);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-title);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-bottom-link:hover {
    color: rgba(255, 255, 255, 0.7);
}



@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media(max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        padding: 60px 24px 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}


@media(max-width:640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-link {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .footer-about {
        font-size: 12px;
    }
}


/* ── SUPPORT SYNCED FROM INDEX ── */
/* ── SUPPORT WIDGET ── */
.support-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.support-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
    margin-bottom: 4px;
}

.support-widget.open .support-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    color: var(--text-1);
    padding: 8px 16px 8px 8px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.support-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.support-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bg-zalo {
    background: #0068ff;
}

.bg-fb {
    background: #1877f2;
}

.bg-phone {
    background: #10b981;
}

.bg-chat {
    background: var(--accent-orange);
}

.support-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--text-1);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.3);
    transition: all 0.3s var(--ease);
}

.support-toggle:hover {
    transform: scale(1.05);
    background: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.support-toggle svg {
    transition: transform 0.3s;
}

.support-widget.open .support-toggle svg {
    transform: rotate(45deg);
}

/* ── LIVE CHAT BOX ── */
.chat-box {
    position: fixed;
    bottom: 95px;
    right: 28px;
    width: 320px;
    background: #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 400;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s var(--ease);
    border: 1px solid var(--border);
}

.chat-box.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, var(--text-1), #1e293b);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.chat-close:hover {
    color: #fff;
}

.chat-body {
    height: 320px;
    padding: 20px;
    background: #e2e8f0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.chat-msg.bot .msg-bubble {
    background: #f1f5f9;
    color: var(--text-1);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .msg-bubble {
    background: var(--accent-cyan);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 10px;
    color: var(--text-3);
    margin-top: 4px;
    align-self: flex-end;
}

.chat-msg.bot .msg-time {
    align-self: flex-start;
}

.chat-input-area {
    display: flex;
    padding: 14px 16px;
    background: #f1f5f9;
    border-top: 1px solid var(--border);
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: none;
    background: #e2e8f0;
    padding: 10px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-1);
    outline: none;
}

.chat-input-area input::placeholder {
    color: var(--text-3);
}

.chat-send {
    background: var(--accent-cyan);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.chat-send:hover {
    background: #0284c7;
}




/* ── FLOATING CTA SYNCED FROM INDEX ── */
/* ── FLOATING CTA ── */
.float-cta {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 300;
    background: var(--accent-cyan);
    color: #fff;
    padding: 11px 22px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.4s var(--ease);
}

.float-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.float-cta:hover {
    background: #0284c7;
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}

.float-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.45);
    }
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media(max-width:1200px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media(max-width:900px) {
    section {
        padding: 72px 24px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .news-panel,
    .product-panel {
        min-height: 100vh;
        border-right: none;
    }

    .news-panel {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-visual {
        aspect-ratio: 1/1;
    }

    .products-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-container {
        padding: 18px 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        padding: 60px 24px 32px;
    }
}

@media(max-width: 768px) {
    .header-actions .search-bar {
        display: flex;
        padding: 4px 8px;
        gap: 6px;
    }

    .header-actions .search-bar input {
        width: 60px;
        font-size: 12px;
        padding: 0;
    }

    .header-actions .search-bar:focus-within input {
        width: 120px;
    }

    .header-actions .nav-link:not(:first-child) {
        display: none;
    }

    .header-actions .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-container {
        gap: 20px;
        padding: 16px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-menu {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .features-header {
        grid-template-columns: 1fr;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .mobile-menu {
        padding: 70px 12px 40px;
        gap: 8px;
    }

    .mobile-menu .nav-link {
        font-size: 13px;
        padding: 9px 0;
    }
}

@media(max-width:640px) {
    .header-container {
        padding: 14px 12px;
        gap: 10px;
    }

    .logo {
        font-size: 13px;
        letter-spacing: 0.1em;
    }

    .logo::before {
        width: 6px;
        height: 6px;
    }


    .section-title {
        font-size: clamp(24px, 3vw, 36px);
    }

    section {
        padding: 60px 16px;
    }

    .stats-bar {
        overflow: hidden;
    }

    .banner-label {
        font-size: 24px;
        bottom: 20px;
        left: 16px;
    }

    .banner-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .banner-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .float-cta {
        bottom: 20px;
        left: 20px;
        font-size: 11px;
        padding: 9px 16px;
    }

    .mobile-menu {
        padding: 60px 10px 40px;
        gap: 6px;
    }

    .mobile-menu .nav-link {
        font-size: 13px;
        padding: 8px 0;
    }

    .mobile-menu .nav-cta {
        padding: 8px;
        font-size: 11px;
    }

    .mobile-menu .dropdown-item {
        padding: 6px 16px;
        font-size: 15px;
    }

    .mobile-menu .search-bar {
        padding: 6px 12px;
    }

    .mobile-menu .search-bar input {
        width: 100%;
        font-size: 11px;
    }

    /* Adjust text sizes to fit 2-column layout on mobile */
    .feature-card {
        padding: 24px 16px;
    }

    .feat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
    }

    .feat-icon svg {
        width: 18px;
        height: 18px;
    }

    .feat-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .feat-desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .feat-num {
        font-size: 24px;
        top: 16px;
        right: 16px;
    }

    .product-info {
        padding: 16px 12px;
    }

    .product-name {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .product-desc {
        font-size: 11px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .product-price {
        font-size: 15px;
    }

    .product-price span {
        font-size: 10px;
    }

    .btn-buy {
        padding: 6px 10px;
        font-size: 10px;
    }

    .testi-card {
        padding: 20px 16px;
    }

    .testi-text {
        font-size: 12px;
        line-height: 1.5;
    }

    .testi-name {
        font-size: 13px;
    }

    .testi-role {
        font-size: 11px;
    }

    .testi-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Why Section Adjustments */
    .why-visual {
        aspect-ratio: 4/5;
    }

    .why-card {
        padding: 14px 16px;
    }

    .why-card-1 {
        top: 6%;
        left: 5%;
        right: 5%;
    }

    .why-card-2 {
        bottom: 6%;
        left: 5%;
        right: 5%;
    }

    .why-card-label {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .why-card-value {
        font-size: 22px;
    }

    .why-card-sub {
        font-size: 11px;
    }

    .why-item {
        gap: 12px;
    }

    .why-icon {
        width: 36px;
        height: 36px;
    }

    .why-item-title {
        font-size: 14px;
    }

    .why-item-desc {
        font-size: 12px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-col-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-link {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .footer-about {
        font-size: 12px;
    }
}

@media(max-width:640px) {
    .float-cta {
        bottom: 20px;
        left: 20px;
        font-size: 11px;
        padding: 9px 16px;
    }
}



/* Limit nav links to 2 lines in responsive */
@media (max-width: 768px) {

    .mobile-menu .nav-link,
    .nav-item .nav-link {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        word-break: break-word;
    }

    .header-actions .nav-link:not(:first-child) {
        display: none !important;
    }
}


/* Fix nav-link wrapping to max 2 lines at 1024px */
@media (max-width: 1050px) {
    .nav-menu {
        gap: 12px;
    }

    .nav-link {
        min-width: 95px;
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Limit nav links to 2 lines on screens > 1000px */
@media (min-width: 1001px) {
    .nav-item .nav-link {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Hide header elements at 1050px except search and hamburger */
@media (max-width: 1050px) {
    .nav-menu {
        display: none !important;
    }

    .header-actions>*:not(.search-bar):not(.hamburger-menu):not(#notifDropdownWrap) {
        display: none !important;
    }

    .hamburger-menu {
        display: flex !important;
    }
}

@media (max-width: 900px) {
    .header-actions #notifDropdownWrap {
        display: block !important;
    }
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr 1fr !important;
    }
}