/* ══════════════════════════════════════════════
   SERVICES.CSS — Trang Dịch Vụ
   Dựa trên design system của index.css
   ══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --border: rgba(15, 23, 42, 0.08);
    --border-light: rgba(15, 23, 42, 0.08);
    --text-1: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --accent-cyan: #0ea5e9;
    --accent-orange: #ea580c;
    --accent-green: #22c55e;
    --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;
    --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);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    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;
}

::-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;
}

.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);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span {
    background: none;
    -webkit-text-fill-color: var(--text-1);
    color: var(--text-1);
}

.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: 20px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-title);
    color: var(--text-2);
    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: var(--text-1);
    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.97);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 180px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    border: 1px solid var(--border);
}

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

.dropdown-item {
    display: block;
    padding: 10px 24px;
    color: var(--text-2);
    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: var(--surface-2);
    color: var(--text-1);
}

.nav-cta {
    background: var(--text-1);
    border: 1px solid var(--text-1);
    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: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #fff;
}

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

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

.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);
}

.search-bar svg {
    color: var(--text-2);
    flex-shrink: 0;
    transition: color 0.3s;
}

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

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-1);
    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: var(--text-3);
}

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

/* NAV ICONS */
.nav-icon-link {
    position: relative;
    color: var(--text-2);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

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

.icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--accent-rose, #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 DROPDOWNS */
.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);
}

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

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

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

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

.icon-dropdown-menu .dropdown-item {
    padding: 14px 20px;
    border-bottom: 1px solid rgb(15, 14, 14, 0.1);
}

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

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

.notif-time {
    font-size: 11px;
    color: #ffffff;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cart-item-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

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

.cart-item-price {
    font-size: 12px;
    color: #ffffff;
}

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

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

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

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

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

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

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

/* HAMBURGER MENU */
.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;
    z-index: 100;
}

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

/* .hamburger-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(10px, 10px);
        }

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

        .hamburger-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        } */
.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);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    background: rgba(248, 250, 252, 0.9);
    /* Trắng xám */
    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%;
}

.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 .nav-cta {
    margin-top: 8px;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    background: var(--text-1);
    color: #fff;
    border: none;
}

.mobile-menu .header-actions {
    gap: 0;
    margin-left: 0;
    margin-top: 12px;
    flex-direction: column;
}

.mobile-menu .search-bar {
    width: 100%;
    margin-bottom: 8px;
    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);
}

/* Header scrolled – light */
.site-header.scrolled {
    position: fixed;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.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: var(--shadow-md);
}

.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 .hamburger-menu span {
    background: rgba(15, 23, 42, 0.75);
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.services-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 40%, #f8fafc 100%);
    padding-top: 80px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 48px 80px;
    display: flex;
    align-items: center;
    gap: 48px;
    justify-content: space-between;
}

.hero-left {
    flex: 1;
    min-width: 0;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

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

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

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-1);
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: normal;
    color: var(--accent-cyan);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--accent-cyan);
    color: #fff;
    padding: 13px 28px;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-2);
    padding: 13px 28px;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
    background: var(--surface-2);
    color: var(--text-1);
    border-color: var(--text-3);
}

.hero-right {
    display: flex;
    flex-direction: row !important;
    gap: 12px;
    flex-shrink: 0;
}

.hero-stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
    padding: 18px 22px;
    min-width: 140px;
    transition: all 0.3s;
}

.hero-stat-card:hover {
    background: #f0f9ff;
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

.hero-stat-num {
    font-family: var(--font-title);
    font-size: 34px;
    font-weight: 800;
    color: var(--text-1);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

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

.hero-stat-label {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.4;
}

/* ══════════════════════════════════════════════
   SERVICE SECTION
   ══════════════════════════════════════════════ */
.service-section {
    background: var(--surface);
    padding: 100px 56px;
}

.service-section--alt {
    background: var(--bg);
}

.service-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-3);
}

.tag-dot {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.tag-dot--orange {
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.service-header {
    margin-bottom: 52px;
    text-align: center;
}

.service-title {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.service-intro {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-2);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.highlight-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s var(--ease);
}

.service-section--alt .highlight-card {
    background: var(--surface);
}

.highlight-card:hover {
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.highlight-card--alt:hover {
    border-color: rgba(234, 88, 12, 0.25);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.highlight-icon--alt {
    background: rgba(234, 88, 12, 0.08);
    border-color: rgba(234, 88, 12, 0.15);
    color: var(--accent-orange);
}

.highlight-content h3 {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
}

.highlight-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.highlight-content li {
    font-size: 13px;
    color: var(--text-2);
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.highlight-content li::before {
    content: '·';
    position: absolute;
    left: 2px;
    color: var(--accent-cyan);
    font-weight: 700;
}

.highlight-card--alt .highlight-content li::before {
    color: var(--accent-orange);
}

/* Icon Strip */
.icon-strip {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.icon-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    transition: all 0.3s;
    text-align: center;
}

.service-section--alt .icon-strip-item {
    background: var(--bg);
}

.icon-strip-item:last-child {
    border-right: none;
}

.icon-strip-item:hover {
    background: rgba(14, 165, 233, 0.04);
}

.icon-strip-emoji {
    font-size: 28px;
    line-height: 1;
}

.icon-strip-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    font-family: var(--font-title);
    line-height: 1.35;
}

/* ══════════════════════════════════════════════
   WHY CHOOSE
   ══════════════════════════════════════════════ */
.why-section {
    background: var(--surface);
    padding: 100px 56px;
}

.why-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-top: 12px;
}

.section-title em {
    font-style: normal;
    color: var(--accent-cyan);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-cyan);
    opacity: 0;
    transition: opacity 0.3s;
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.2);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-1);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.why-card:hover .why-card-icon {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-cyan);
}

.why-card-icon--cyan {
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent-cyan);
}

.why-card-icon--orange {
    background: rgba(234, 88, 12, 0.08);
    color: var(--accent-orange);
}

.why-card-icon--green {
    background: rgba(34, 197, 94, 0.08);
    color: var(--accent-green);
}

.why-card-title {
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 10px;
}

.why-card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-2);
}

/* ══════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════ */
.cta-section {
    background: #ffffff;
    padding: 80px 56px;
    border-top: 1px solid var(--border-light);
}

.cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-title);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-2);
    padding: 13px 28px;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
}

.btn-ghost-light:hover {
    background: var(--surface-2);
    color: var(--text-1);
    border-color: var(--text-3);
}

/* ── 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);
}

/* ══════════════════════════════════════════════
   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: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
}

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

.support-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    transition: all 0.25s;
    white-space: nowrap;
}

.support-item:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.bg-phone {
    background: #22c55e;
}

.support-toggle {
    width: 50px;
    height: 50px;
    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 {
    background: var(--accent-cyan);
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.4);
}

/* ══════════════════════════════════════════════
   CHAT BOX
   ══════════════════════════════════════════════ */
.chat-box {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 320px;
    background: var(--text-1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: all 0.3s var(--ease);
}

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

.chat-header {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-close {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.chat-body {
    padding: 16px;
    height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

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

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

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

.chat-msg.bot .msg-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    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: rgba(255, 255, 255, 0.3);
    padding: 0 4px;
}

.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 13px;
    color: #fff;
    outline: none;
    font-family: var(--font-body);
}

.chat-input-area input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

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

.chat-send:hover {
    background: #0284c7;
    transform: scale(1.08);
}

/* ══════════════════════════════════════════════
   AUTH MODAL
   ══════════════════════════════════════════════ */
/* ══ 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.7);
    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;
    padding: 0;
    flex: unset;
    border-radius: 0;
}

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

.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;
    animation: fadeInModal 0.4s var(--ease);
}

.auth-form-container.active {
    display: block;
}

@keyframes fadeInModal {
    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;
    letter-spacing: normal;
    font-family: var(--font-body);
    text-transform: none;
}

.auth-input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.auth-input-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

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

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

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

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

.auth-submit:hover {
    background: #0284c7;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-family: var(--font-title);
    text-transform: uppercase;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-separator:not(:empty)::before {
    margin-right: .5em;
}

.auth-separator:not(:empty)::after {
    margin-left: .5em;
}

.auth-social-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════
   REVEAL ANIMATION
   ══════════════════════════════════════════════ */
.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: 1100px) {
    .hero-inner {
        gap: 48px;
        padding: 130px 32px 80px;
    }

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

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

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

@media (max-width: 900px) {
    .header-container {
        padding: 18px 24px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero-right {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-stat-card {
        min-width: 160px;
    }

    .service-section {
        padding: 72px 32px;
    }

    .why-section {
        padding: 72px 32px;
    }

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

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

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

@media (max-width: 768px) {
    .header-container {
        padding: 16px;
        gap: 20px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-menu {
        display: none;
    }

    .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,
    .header-actions .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-inner {
        padding: 110px 20px 60px;
    }

    .hero-stat-card {
        min-width: 130px;
        padding: 14px 18px;
    }

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

    .service-section {
        padding: 60px 20px;
    }

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

    .icon-strip {
        flex-wrap: wrap;
    }

    .icon-strip-item {
        flex: 1 1 calc(33% - 2px);
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .why-section {
        padding: 60px 20px;
    }

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

    .cta-section {
        padding: 56px 20px;
    }

    .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: 480px) {
    .hero-right {
        flex-direction: column;
    }

    .hero-stat-card {
        min-width: unset;
        width: 100%;
    }

    .icon-strip-item {
        flex: 1 1 calc(50% - 1px);
    }
}

@media (max-width: 500px) {
    .header-container {
        padding: 10px;
        gap: 8px;
    }

    .logo {
        font-size: 12px;
        letter-spacing: 0;
    }

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

    .header-actions .search-bar input {
        width: 50px;
        font-size: 11px;
    }

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

    .products-grid,
    .features-grid,
    .testimonials-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* === RESPONSIVE MOBILE & TABLET OVERRIDES (max-width: 900px) === */
@media (max-width: 900px) {

    .products-grid,
    .features-grid,
    .testimonials-grid,
    .related-grid,
    .why-inner,
    .features-header,
    .products-header,
    .hero-grid,
    .quick-specs,
    .highlights-grid,
    .why-grid,
    .showcase-grid,
    .team-grid,
    .contact-grid,
    .contact-cards,
    .milestone-grid,
    .gallery-grid,
    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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


/* 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;
    }
}

/* === MOBILE OPTIMIZATION < 600px === */
@media (max-width: 600px) {

    .highlights-grid,
    .why-grid {
        grid-template-columns: 1fr !important;
    }

    .highlight-card {
        padding: 20px 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .highlight-content ul {
        align-items: center;
    }

    .highlight-content li {
        text-align: left;
    }

    .why-card {
        padding: 24px 16px;
        text-align: center;
    }

    .why-card-icon {
        margin: 0 auto 16px;
    }
}