/* ==========================================================================
   FIXPULSE TECHNICAL CARE — VIBRANT FLOATING BENTO × RAPID-DISPATCH SYSTEM
   Ngành: Dịch Vụ Sửa Chữa Điện Lạnh & Gia Dụng 24/7 | Preset: Vibrant (Quicksand)
   ========================================================================== */

:root {
    --bg-cream: #fff7ed;
    --bg-white: #ffffff;
    --bg-soft: #ffedd5;
    --bg-navy: #1e293b;
    --bg-navy-hi: #0f172a;
    --ink: #1e293b;
    --ink-muted: #475569;
    --ink-subtle: #64748b;
    --orange: #ea580c;
    --orange-hi: #f97316;
    --orange-dark: #c2410c;
    --emerald: #059669;
    --line: rgba(30, 41, 59, 0.1);
    --line-strong: rgba(30, 41, 59, 0.18);
    --radius: 22px;
    --radius-btn: 30px;
    --shadow-soft: 0 14px 36px rgba(30, 41, 59, 0.07);
    --shadow-lift: 0 22px 48px rgba(234, 88, 12, 0.14);
    --font-display: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1280px;
    --header-offset: 98px;
    --ease-spring: 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-cream);
    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-cream);
    color: var(--ink);
    line-height: 1.66;
    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.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.28s var(--ease-spring), box-shadow 0.25s ease;
}

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

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

ul,
ol {
    list-style: none;
}

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

/* Shared Vibrant Pills & Display Titles */
.fp-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background-color: var(--bg-soft);
    color: var(--orange-dark);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.fp-pill-badge.is-navy {
    background-color: rgba(30, 41, 59, 0.08);
    color: var(--bg-navy);
}

.fp-pill-badge.is-emerald {
    background-color: rgba(5, 150, 105, 0.12);
    color: var(--emerald);
}

.fp-pill-badge.is-light {
    background-color: rgba(255, 255, 255, 0.14);
    color: #fed7aa;
}

.fp-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.15rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.fp-title span {
    color: var(--orange);
}

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

.fp-title.is-light span {
    color: #fdba74;
}

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

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

/* Vibrant Rounded Pill Buttons */
.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-btn);
    border: 1.5px solid transparent;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.28s var(--ease-spring), box-shadow 0.25s ease;
}

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

.fp-btn-orange {
    background-color: var(--orange);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.25);
}

.fp-btn-orange:hover {
    background-color: var(--orange-dark);
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.34);
}

.fp-btn-navy {
    background-color: var(--bg-navy);
    color: #ffffff;
}

.fp-btn-navy:hover {
    background-color: var(--bg-navy-hi);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.24);
}

.fp-btn-outline {
    background-color: var(--bg-white);
    border-color: var(--line-strong);
    color: var(--ink);
}

.fp-btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

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

.fp-btn-white:hover {
    background-color: var(--bg-soft);
}

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

/* ==========================================================================
   FLOATING PILL ISLAND NAVBAR (GLASS PILL FLOATING 14PX FROM TOP)
   ========================================================================== */
.fp-header-wrap {
    position: fixed;
    top: 14px;
    left: 0;
    width: 100%;
    z-index: 1050;
    padding: 0 20px;
    pointer-events: none;
}

.fp-pill-nav {
    pointer-events: auto;
    max-width: 1240px;
    margin: 0 auto;
    height: 68px;
    padding: 0 12px 0 20px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(30, 41, 59, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

.fp-pill-nav.is-scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 38px rgba(30, 41, 59, 0.12);
}

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

.fp-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-hi));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.fp-logo-copy strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
}

.fp-logo-copy small {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-top: 2px;
}

.fp-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fp-nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink-muted);
    white-space: nowrap;
}

.fp-nav-link:hover,
.fp-nav-link.is-active {
    background-color: var(--bg-soft);
    color: var(--orange-dark);
}

.fp-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-hotline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background-color: var(--bg-navy);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 700;
}

.fp-hotline-pill i {
    color: #fdba74;
}

.fp-hotline-pill:hover {
    background-color: var(--orange);
}

.fp-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-soft);
    color: var(--orange-dark);
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

/* Blueprint Navy Mobile Drawer */
.fp-drawer {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background-color: var(--bg-navy);
    color: #ffffff;
    padding: 24px 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;
}

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

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

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

.fp-drawer-brand span {
    color: #fdba74;
}

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

.fp-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0;
}

.fp-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.06);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
}

.fp-drawer-link span {
    font-size: 0.78rem;
    color: #fdba74;
}

.fp-drawer-link.is-active,
.fp-drawer-link:hover {
    background-color: var(--orange);
    color: #ffffff;
}

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

/* Dispatch Toast Notification */
.fp-toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%) translateY(18px);
    background-color: var(--bg-navy);
    color: #ffffff;
    border: 1px solid rgba(253, 186, 116, 0.45);
    border-radius: var(--radius-btn);
    padding: 14px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.3);
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-spring);
}

.fp-toast i {
    color: #fdba74;
}

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

@media (max-width: 1120px) {
    .fp-nav-link {
        padding: 7px 10px;
        font-size: 0.82rem;
    }

    .fp-hotline-pill span {
        display: none;
    }
}

@media (max-width: 991px) {
    :root {
        --header-offset: 88px;
    }

    .fp-header-wrap {
        top: 10px;
        padding: 0 14px;
    }

    .fp-pill-nav {
        height: 62px;
        padding: 0 10px 0 14px;
    }

    .fp-nav-links,
    .fp-hotline-pill {
        display: none;
    }

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