/* ==========================================================================
   AQUASHEEN AUTO SPA — NORDIC MINIMAL PRECISION × HYDRO DETAILING SYSTEM
   Ngành: Dịch Vụ Rửa Xe & Chăm Sóc Xe Chuyên Sâu | Preset: Minimal (Be Vietnam Pro + Inter)
   ========================================================================== */

:root {
    --bg-pure: #ffffff;
    --bg-mist: #f3f7fa;
    --bg-ice: #e7f3f9;
    --bg-slate: #0b192c;
    --bg-slate-hi: #132844;
    --ink: #0b192c;
    --ink-muted: #4b5d73;
    --ink-subtle: #788ba1;
    --hydro: #008fc5;
    --hydro-dark: #006f9c;
    --sky: #38bdf8;
    --mint: #0d9488;
    --line: rgba(11, 25, 44, 0.11);
    --line-strong: rgba(11, 25, 44, 0.22);
    --radius: 8px;
    --radius-btn: 6px;
    --font-display: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1280px;
    --header-h: 76px;
    --ease-nordic: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    font-size: 16px;
    background-color: var(--bg-pure);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-pure);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, transform 0.24s var(--ease-nordic);
}

button,
input,
select,
textarea {
    font-family: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

.as-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

/* Shared Nordic Minimalist Typography & Eyebrows */
.as-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hydro);
    margin-bottom: 14px;
}

.as-eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background-color: currentColor;
}

.as-eyebrow.is-light {
    color: var(--sky);
}

.as-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.as-title span {
    color: var(--hydro);
}

.as-title.is-light {
    color: #ffffff;
}

.as-title.is-light span {
    color: var(--sky);
}

.as-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.as-head-desc {
    max-width: 470px;
    font-size: 0.96rem;
    color: var(--ink-muted);
    line-height: 1.72;
}

/* Shared Minimal Nordic Buttons */
.as-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: var(--radius-btn);
    border: 1px solid transparent;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-nordic), box-shadow 0.25s ease;
}

.as-btn:hover {
    transform: translateY(-2px);
}

.as-btn-hydro {
    background-color: var(--hydro);
    color: #ffffff;
}

.as-btn-hydro:hover {
    background-color: var(--hydro-dark);
    box-shadow: 0 12px 26px rgba(0, 143, 197, 0.26);
}

.as-btn-slate {
    background-color: var(--bg-slate);
    color: #ffffff;
}

.as-btn-slate:hover {
    background-color: var(--bg-slate-hi);
    box-shadow: 0 12px 26px rgba(11, 25, 44, 0.22);
}

.as-btn-outline {
    background-color: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

.as-btn-outline:hover {
    border-color: var(--ink);
    background-color: var(--bg-mist);
}

.as-btn-white {
    background-color: #ffffff;
    color: var(--ink);
}

.as-btn-white:hover {
    background-color: var(--bg-ice);
}

/* Top Hydro Scroll Progress */
.as-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--hydro), var(--sky));
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 1200;
    pointer-events: none;
}

/* ==========================================================================
   MINIMALIST SINGLE-BAR HAIRLINE HEADER (ZERO TOPBAR — FROST GLASS ON SCROLL)
   ========================================================================== */
.as-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.as-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 30px rgba(11, 25, 44, 0.06);
}

.as-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.as-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.as-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background-color: var(--bg-slate);
    color: var(--sky);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.as-logo-copy strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--ink);
}

.as-logo-copy small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hydro);
    margin-top: 2px;
}

.as-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(18px, 2.2vw, 30px);
}

.as-nav-link {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-muted);
    padding: 6px 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.as-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--hydro);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.28s var(--ease-nordic);
}

.as-nav-link:hover,
.as-nav-link.is-active {
    color: var(--ink);
}

.as-nav-link:hover::after,
.as-nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.as-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.as-header-cta {
    padding: 10px 18px;
    font-size: 0.84rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.as-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-btn);
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--ink);
    background-color: var(--bg-pure);
}

/* Nordic Deep Slate Mobile Drawer */
.as-drawer {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background-color: var(--bg-slate);
    color: #ffffff;
    padding: 22px 24px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.as-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.as-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.as-drawer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.as-drawer-brand span {
    color: var(--sky);
}

.as-drawer-close {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.as-drawer-nav {
    display: flex;
    flex-direction: column;
    margin: 24px 0;
}

.as-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.as-drawer-link span {
    font-size: 0.78rem;
    color: var(--sky);
    letter-spacing: 0.12em;
}

.as-drawer-link.is-active,
.as-drawer-link:hover {
    color: var(--sky);
}

.as-drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Confirmation Toast */
.as-toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%) translateY(18px);
    background-color: var(--bg-slate);
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: var(--radius);
    padding: 14px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(11, 25, 44, 0.25);
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-nordic);
}

.as-toast i {
    color: var(--sky);
}

.as-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 1120px) {
    .as-nav {
        gap: 18px;
    }
}

@media (max-width: 1040px) {
    .as-nav,
    .as-header-cta {
        display: none;
    }

    .as-menu-btn {
        display: inline-flex;
    }
}

@media (max-width: 991px) {
    :root {
        --header-h: 68px;
    }

    .as-container {
        padding: 0 20px;
    }
}
