/* =========================================================
   TRA CỨU SỐ
   PROFESSIONAL UI 2026
   FILE: assets/css/style.css
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --navy-950: #04152a;
    --navy-900: #071f3b;
    --navy-850: #0a2a4d;
    --navy-800: #0c3765;

    --blue-700: #1367df;
    --blue-600: #1d78f2;
    --blue-500: #338dff;
    --blue-400: #65a9ff;

    --cyan: #65dbff;

    --green: #39d69b;
    --yellow: #f5bd45;
    --red: #f06767;

    --text: #101e32;
    --text-soft: #53647a;
    --text-muted: #7b8ba0;

    --bg: #f5f8fc;
    --surface: #ffffff;

    --border: #e3eaf3;
    --border-hover: #c8d9ee;

    --shadow-small:
        0 10px 30px
        rgba(10, 42, 77, 0.06);

    --shadow-medium:
        0 20px 50px
        rgba(10, 42, 77, 0.11);

    --shadow-large:
        0 32px 80px
        rgba(3, 26, 52, 0.20);

}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {

    margin: 0;
    padding: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Arial,
        "Helvetica Neue",
        Helvetica,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 1420px;

    max-width:
        calc(100% - 64px);

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.page-glow {

    position: fixed;

    z-index: -20;

    pointer-events: none;

    border-radius: 999px;

    filter: blur(110px);

}

.page-glow-one {

    width: 420px;
    height: 420px;

    left: -220px;
    top: 180px;

    background:
        rgba(29, 120, 242, 0.11);

}

.page-glow-two {

    width: 520px;
    height: 520px;

    right: -260px;
    top: 760px;

    background:
        rgba(101, 219, 255, 0.10);

}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {

    min-height: 38px;

    background:
        var(--navy-900);

    color:
        #dcecff;

}

.topbar-inner {

    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

}

.topbar-left,
.topbar-right {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 12px;

    font-weight: 700;

}

.topbar-right {
    color: #c7dcef;
}

.online-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 5px
        rgba(57, 214, 155, 0.10);

    animation:
        pulseDot
        2s
        infinite;

}

@keyframes pulseDot {

    0% {
        box-shadow:
            0 0 0 0
            rgba(57, 214, 155, 0.35);
    }

    70% {
        box-shadow:
            0 0 0 10px
            rgba(57, 214, 155, 0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(57, 214, 155, 0);
    }

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid
        rgba(223, 232, 242, 0.92);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        box-shadow 0.25s ease;

}

.site-header.scrolled {

    box-shadow:
        0 12px 35px
        rgba(7, 31, 59, 0.08);

}

.header-main {

    min-height: 90px;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 24px;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    min-width: max-content;

}

.brand-logo {

    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    display: grid;

    place-items: center;

    color: #ffffff;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #176de4,
            #338dff
        );

    box-shadow:
        0 14px 30px
        rgba(29, 120, 242, 0.22);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;

}

.brand:hover .brand-logo {

    transform:
        translateY(-3px)
        rotate(-4deg);

    box-shadow:
        0 20px 38px
        rgba(29, 120, 242, 0.30);

}

.brand-logo svg {

    width: 30px;
    height: 30px;

}

.brand-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.brand-text strong {

    color:
        var(--navy-900);

    font-size: 22px;

    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -0.6px;

}

.brand-text small {

    margin-top: 5px;

    color:
        var(--text-muted);

    font-size: 11px;

}


/* =========================================================
   NAV
========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    min-width: 0;

}

.main-nav a {

    position: relative;

    min-height: 46px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 11px;

    color:
        #26364c;

    border-radius: 11px;

    white-space: nowrap;

    font-size: 13px;

    font-weight: 800;

    transition:
        color 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;

}

.main-nav a::after {

    content: "";

    position: absolute;

    left: 50%;
    right: 50%;

    bottom: 2px;

    height: 2px;

    border-radius: 99px;

    background:
        var(--blue-600);

    transition:
        left 0.24s ease,
        right 0.24s ease;

}

.main-nav a:hover,
.main-nav a.active {

    color:
        var(--blue-600);

}

.main-nav a:hover {

    background:
        #f4f8ff;

    transform:
        translateY(-1px);

}

.main-nav a:hover::after,
.main-nav a.active::after {

    left: 11px;
    right: 11px;

}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 10px;

}

.header-login,
.header-report {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    padding:
        0 17px;

    font-size: 13px;

    font-weight: 900;

    white-space: nowrap;

    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;

}

.header-login {

    color:
        var(--navy-900);

    border:
        1px solid
        var(--border);

    background:
        #ffffff;

}

.header-login:hover {

    transform:
        translateY(-2px);

    border-color:
        #c6d8ee;

    box-shadow:
        var(--shadow-small);

}

.header-report {

    gap: 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #176de4,
            #2d87fb
        );

    box-shadow:
        0 12px 25px
        rgba(29, 120, 242, 0.20);

}

.header-report:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 18px 35px
        rgba(29, 120, 242, 0.29);

}

.header-report-arrow {

    transition:
        transform 0.22s ease;

}

.header-report:hover
.header-report-arrow {

    transform:
        translate(3px, -3px);

}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {

    display: none;

    width: 45px;
    height: 45px;

    border: 0;

    border-radius: 12px;

    background:
        #f2f6fb;

}

.menu-toggle span {

    display: block;

    width: 23px;
    height: 2px;

    margin:
        5px auto;

    border-radius: 99px;

    background:
        var(--navy-900);

    transition:
        transform 0.22s ease,
        opacity 0.22s ease;

}


/* =========================================================
   HERO
========================================================= */

.home-hero {

    position: relative;

    overflow: hidden;

    color: #ffffff;

    background:

        radial-gradient(
            circle at 85% 20%,
            rgba(60, 151, 255, 0.34),
            transparent 30%
        ),

        radial-gradient(
            circle at 8% 85%,
            rgba(101, 219, 255, 0.10),
            transparent 25%
        ),

        linear-gradient(
            125deg,
            #062746 0%,
            #0a4e86 56%,
            #126bc7 100%
        );

}

.home-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: 0.08;

    background-image:

        linear-gradient(
            rgba(255, 255, 255, 0.12)
            1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.12)
            1px,
            transparent 1px
        );

    background-size:
        64px 64px;

}

.home-hero-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(360px, 0.72fr);

    align-items: center;

    gap: 80px;

    padding:
        82px 0 62px;

}

.hero-main {

    min-width: 0;

}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        #b9ddff;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.8px;

}

.hero-live-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        var(--green);

    box-shadow:
        0 0 0 6px
        rgba(57, 214, 155, 0.10);

}

.home-hero h1 {

    max-width: 780px;

    margin:
        18px 0 0;

    color: #ffffff;

    font-size:
        clamp(
            48px,
            5vw,
            72px
        );

    font-weight: 900;

    line-height: 1.04;

    letter-spacing: -2.5px;

}

.home-hero h1 span {

    display: block;

    margin-top: 4px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #9cdcff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}

.hero-lead {

    max-width: 720px;

    margin:
        24px 0 0;

    color:
        #d8eafa;

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   SEARCH
========================================================= */

.home-search {

    max-width: 860px;

    margin-top: 30px;

    display: grid;

    grid-template-columns:
        44px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 6px;

    padding: 7px;

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    border-radius: 18px;

    background:
        #ffffff;

    box-shadow:
        0 24px 55px
        rgba(1, 22, 44, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.home-search:focus-within {

    transform:
        translateY(-3px);

    box-shadow:

        0 30px 70px
        rgba(1, 22, 44, 0.24),

        0 0 0 4px
        rgba(86, 172, 255, 0.14);

}

.home-search-icon {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    color:
        #7b8da3;

    font-size: 25px;

}

.home-search input {

    width: 100%;
    min-width: 0;

    height: 56px;

    border: 0;

    outline: 0;

    padding:
        0 8px;

    background:
        transparent;

    color:
        var(--text);

    font-size: 15px;

}

.home-search input::placeholder {

    color:
        #8795a7;

}

.home-search button {

    min-width: 145px;
    height: 56px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #176de4,
            #318dff
        );

    font-weight: 900;

    box-shadow:
        0 10px 24px
        rgba(29, 120, 242, 0.23);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;

}

.home-search button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 16px 32px
        rgba(29, 120, 242, 0.31);

}

.home-search button:active {

    transform:
        scale(0.97);

}

.search-arrow {

    transition:
        transform 0.22s ease;

}

.home-search button:hover
.search-arrow {

    transform:
        translateX(4px);

}


/* =========================================================
   SEARCH TYPES
========================================================= */

.search-types {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 17px;

}

.search-types a {

    min-height: 35px;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding:
        0 13px;

    color:
        #ebf5ff;

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.07);

    font-size: 11px;

    font-weight: 800;

    backdrop-filter:
        blur(10px);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;

}

.search-types a:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(255, 255, 255, 0.34);

    background:
        rgba(255, 255, 255, 0.14);

}

.search-types a span {

    color:
        #8bd5ff;

}


/* =========================================================
   HERO NOTE
========================================================= */

.hero-note {

    max-width: 760px;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 19px;

    color:
        #bcd5e8;

    font-size: 12px;

}

.hero-note-icon {

    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color:
        #ffffff;

    background:
        rgba(255, 255, 255, 0.12);

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    font-size: 11px;

    font-weight: 900;

}


/* =========================================================
   LOOKUP PREVIEW
========================================================= */

.lookup-preview {

    position: relative;

    min-width: 0;

}

.preview-window {

    position: relative;

    overflow: hidden;

    padding: 24px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 26px;

    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.07)
        );

    box-shadow:
        0 30px 75px
        rgba(0, 20, 43, 0.20);

    backdrop-filter:
        blur(18px);

    transition:
        transform 0.32s ease,
        border-color 0.32s ease;

}

.preview-window:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(255, 255, 255, 0.30);

}

.preview-window::before {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -100px;
    top: -100px;

    border-radius: 50%;

    background:
        rgba(95, 190, 255, 0.15);

    filter:
        blur(5px);

}

.preview-head {

    position: relative;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 18px;

}

.preview-label {

    display: block;

    color:
        #a8d5ff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;

}

.preview-head strong {

    display: block;

    max-width: 260px;

    margin-top: 6px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.35;

}

.preview-status {

    flex-shrink: 0;

    color:
        #8ff1c4;

    font-size: 10px;

    font-weight: 800;

}

.preview-search {

    position: relative;

    margin-top: 22px;

    min-height: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 13px;

    color:
        #dceeff;

    background:
        rgba(4, 30, 57, 0.22);

    font-size: 12px;

}

.preview-search-icon {

    color:
        #86d2ff;

    font-size: 18px;

}

.preview-result {

    position: relative;

    margin-top: 14px;

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.94);

    color:
        var(--text);

    box-shadow:
        0 15px 35px
        rgba(1, 22, 44, 0.15);

}

.preview-result-top {

    display: flex;

    align-items: center;

    gap: 12px;

}

.preview-avatar {

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    flex: 0 0 46px;

    border-radius: 14px;

    color:
        var(--blue-600);

    background:
        #edf5ff;

    font-size: 13px;

    font-weight: 900;

}

.preview-small {

    display: block;

    color:
        var(--text-muted);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.3px;

}

.preview-result-top strong {

    display: block;

    margin-top: 3px;

    color:
        var(--navy-900);

    font-size: 15px;

}

.preview-divider {

    height: 1px;

    margin:
        16px 0;

    background:
        var(--border);

}

.preview-data-row {

    min-height: 34px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    font-size: 11px;

}

.preview-data-row span {

    color:
        var(--text-muted);

}

.preview-data-row strong {

    color:
        var(--navy-900);

    text-align: right;

}

.preview-neutral {

    display: inline-flex;

    align-items: center;

    padding:
        4px 8px;

    border-radius: 999px;

    color:
        #6d5a25 !important;

    background:
        #fff4d8;

    font-size: 10px;

}

.preview-info {

    position: relative;

    display: grid;

    grid-template-columns:
        30px
        1fr;

    gap: 12px;

    margin-top: 14px;

    padding: 14px;

    border-radius: 15px;

    background:
        rgba(4, 28, 52, 0.20);

}

.preview-info-icon {

    width: 30px;
    height: 30px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    color:
        #75e9b4;

    background:
        rgba(92, 227, 165, 0.10);

    font-weight: 900;

}

.preview-info strong {

    display: block;

    color: #ffffff;

    font-size: 12px;

}

.preview-info p {

    margin:
        4px 0 0;

    color:
        #bfd7eb;

    font-size: 10px;

    line-height: 1.6;

}


/* =========================================================
   FLOATING BADGE
========================================================= */

.preview-floating-card {

    position: absolute;

    right: -22px;
    bottom: -24px;

    min-width: 230px;

    display: grid;

    grid-template-columns:
        38px
        1fr;

    gap: 11px;

    align-items: center;

    padding: 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.96);

    color:
        var(--text);

    box-shadow:
        0 18px 40px
        rgba(0, 25, 52, 0.20);

    animation:
        floatingBadge
        4s
        ease-in-out
        infinite;

}

@keyframes floatingBadge {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-7px);
    }

}

.preview-floating-icon {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color:
        #137c53;

    background:
        #e9fbf3;

    font-weight: 900;

}

.preview-floating-card strong {

    display: block;

    color:
        var(--navy-900);

    font-size: 11px;

}

.preview-floating-card small {

    display: block;

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 9px;

}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);

}

.hero-bottom-item {

    display: grid;

    grid-template-columns:
        42px
        1fr;

    gap: 14px;

    align-items: center;

    min-height: 100px;

    padding:
        20px 28px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.10);

    transition:
        background 0.22s ease;

}

.hero-bottom-item:last-child {
    border-right: 0;
}

.hero-bottom-item:hover {

    background:
        rgba(255, 255, 255, 0.05);

}

.hero-bottom-item > span {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color:
        #8bd5ff;

    background:
        rgba(255, 255, 255, 0.08);

    font-size: 10px;

    font-weight: 900;

}

.hero-bottom-item strong {

    display: block;

    color: #ffffff;

    font-size: 12px;

}

.hero-bottom-item small {

    display: block;

    margin-top: 2px;

    color:
        #a9c5dc;

    font-size: 10px;

}


/* =========================================================
   HOME SECTION
========================================================= */

.home-section {

    padding:
        86px 0;

    background:
        #ffffff;

}

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 32px;

}

.home-section-kicker {

    display: block;

    color:
        var(--blue-600);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.7px;

}

.section-heading h2 {

    margin:
        7px 0 0;

    color:
        var(--navy-900);

    font-size:
        clamp(
            30px,
            3vw,
            42px
        );

    line-height: 1.15;

    letter-spacing: -1px;

}

.section-heading > p {

    max-width: 430px;

    margin: 0;

    color:
        var(--text-muted);

    font-size: 13px;

}


/* =========================================================
   SERVICE CARDS
========================================================= */

.home-service-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

}

.home-service-card {

    position: relative;

    overflow: hidden;

    min-height: 285px;

    display: block;

    padding: 24px;

    border:
        1px solid
        var(--border);

    border-radius: 21px;

    background:
        #ffffff;

    box-shadow:
        var(--shadow-small);

    transition:

        transform 0.32s
        cubic-bezier(
            0.2,
            0.8,
            0.2,
            1
        ),

        box-shadow 0.32s ease,

        border-color 0.32s ease;

}

.home-service-card::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--blue-600),
            var(--cyan)
        );

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        transform 0.35s ease;

}

.home-service-card:hover {

    transform:
        translateY(-9px);

    border-color:
        var(--border-hover);

    box-shadow:
        var(--shadow-medium);

}

.home-service-card:hover::before {

    transform:
        scaleX(1);

}

.home-service-card:active {

    transform:
        scale(0.985);

}

.service-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.service-icon {

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    color:
        var(--blue-600);

    background:
        #eef5ff;

    font-size: 20px;

    font-weight: 900;

    transition:
        transform 0.28s ease,
        background 0.28s ease,
        color 0.28s ease;

}

.home-service-card:hover
.service-icon {

    transform:
        rotate(-5deg)
        scale(1.06);

    color:
        #ffffff;

    background:
        var(--blue-600);

}

.service-open {

    color:
        #8b9bb0;

    font-size: 18px;

    transition:
        transform 0.22s ease,
        color 0.22s ease;

}

.home-service-card:hover
.service-open {

    color:
        var(--blue-600);

    transform:
        translate(
            4px,
            -4px
        );

}

.service-number {

    display: block;

    margin-top: 34px;

    color:
        var(--blue-600);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;

}

.home-service-card h3 {

    margin:
        8px 0 8px;

    color:
        var(--navy-900);

    font-size: 19px;

}

.home-service-card p {

    margin: 0;

    color:
        var(--text-muted);

    font-size: 12px;

    line-height: 1.75;

}


/* =========================================================
   COMMUNITY SECTION
========================================================= */

.home-community {

    padding:
        86px 0;

    background:
        #f4f8fd;

}

.community-layout {

    display: grid;

    grid-template-columns:
        1fr
        0.85fr;

    gap: 70px;

    align-items: center;

}

.community-content h2 {

    max-width: 620px;

    margin:
        8px 0 0;

    color:
        var(--navy-900);

    font-size:
        clamp(
            36px,
            4vw,
            50px
        );

    line-height: 1.1;

    letter-spacing: -1.5px;

}

.community-content > p {

    max-width: 650px;

    margin:
        20px 0 0;

    color:
        var(--text-soft);

    font-size: 15px;

    line-height: 1.8;

}

.community-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;

}

.community-primary,
.community-secondary {

    min-height: 50px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 18px;

    border-radius: 14px;

    font-size: 13px;

    font-weight: 900;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;

}

.community-primary {

    gap: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #176de4,
            #2f8cff
        );

    box-shadow:
        0 10px 24px
        rgba(29, 120, 242, 0.20);

}

.community-primary:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 16px 32px
        rgba(29, 120, 242, 0.28);

}

.community-primary span {

    transition:
        transform 0.22s ease;

}

.community-primary:hover span {

    transform:
        translateX(4px);

}

.community-secondary {

    color:
        var(--navy-900);

    background:
        #ffffff;

    border:
        1px solid
        var(--border);

}

.community-secondary:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-small);

}

.community-panel {

    padding: 15px;

    border:
        1px solid
        var(--border);

    border-radius: 24px;

    background:
        #ffffff;

    box-shadow:
        var(--shadow-medium);

}

.community-panel-line {

    display: grid;

    grid-template-columns:
        46px
        1fr;

    gap: 14px;

    align-items: center;

    min-height: 88px;

    padding:
        14px;

    border-bottom:
        1px solid
        var(--border);

    border-radius: 15px;

    transition:
        background 0.22s ease,
        transform 0.22s ease;

}

.community-panel-line:last-child {
    border-bottom: 0;
}

.community-panel-line:hover {

    background:
        #f8fbff;

    transform:
        translateX(4px);

}

.community-panel-icon {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    font-size: 11px;

    font-weight: 900;

}

.community-panel-icon.blue {

    color:
        #176de4;

    background:
        #edf5ff;

}

.community-panel-icon.orange {

    color:
        #a66800;

    background:
        #fff2d7;

}

.community-panel-icon.green {

    color:
        #16734d;

    background:
        #e8faf2;

}

.community-panel-line strong {

    display: block;

    color:
        var(--navy-900);

    font-size: 13px;

}

.community-panel-line small {

    display: block;

    margin-top: 3px;

    color:
        var(--text-muted);

    font-size: 11px;

}


/* =========================================================
   WARNING
========================================================= */

.home-warning {

    padding:
        48px 0;

    background:
        #ffffff;

}

.warning-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 26px;

    border:
        1px solid
        #efd083;

    border-radius: 18px;

    background:
        #fffbf0;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.warning-box:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 18px 40px
        rgba(120, 88, 22, 0.08);

}

.warning-label {

    display: block;

    color:
        #8b650f;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;

}

.warning-box h3 {

    margin:
        5px 0 4px;

    color:
        #3c311a;

    font-size: 16px;

}

.warning-box p {

    margin: 0;

    max-width: 820px;

    color:
        #76653b;

    font-size: 11px;

}

.warning-box a {

    min-height: 44px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    padding:
        0 17px;

    border-radius: 12px;

    color: #ffffff;

    background:
        var(--blue-600);

    font-size: 11px;

    font-weight: 900;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;

}

.warning-box a:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 24px
        rgba(29, 120, 242, 0.22);

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding-top: 58px;

    background:
        var(--navy-950);

    color:
        #c7d8e7;

}

.footer-grid,
.footer-shell {

    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        0.8fr
        1fr;

    gap: 45px;

    padding-bottom: 44px;

}

.site-footer
.brand-text strong {

    color: #ffffff;

}

.site-footer
.brand-text small {

    color:
        #8099ae;

}

.site-footer p {

    max-width: 420px;

    color:
        #8fa7ba;

    font-size: 12px;

}

.site-footer h3 {

    margin:
        0 0 13px;

    color: #ffffff;

    font-size: 13px;

}

.site-footer a {

    transition:
        color 0.20s ease,
        transform 0.20s ease;

}

.site-footer section > a,
.footer-col a {

    display: block;

    margin:
        8px 0;

    color:
        #aabfce;

    font-size: 12px;

}

.site-footer section > a:hover,
.footer-col a:hover {

    color: #ffffff;

    transform:
        translateX(4px);

}

.footer-bottom {

    min-height: 62px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    color:
        #708a9f;

    font-size: 10px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media
(max-width: 1320px) {

    .container {

        max-width:
            calc(100% - 40px);

    }

    .header-main {

        gap: 15px;

    }

    .main-nav {

        gap: 1px;

    }

    .main-nav a {

        padding:
            0 8px;

        font-size: 12px;

    }

    .header-login,
    .header-report {

        padding:
            0 13px;

        font-size: 12px;

    }

}


@media
(max-width: 1120px) {

    .header-main {

        display: flex;

        min-height: 78px;

        justify-content: space-between;

        position: relative;

    }

    .header-actions {

        margin-left: auto;

    }

    .menu-toggle {

        display: block;

    }

    .main-nav {

        display: none;

        position: absolute;

        left: 0;
        right: 0;

        top:
            calc(100% + 9px);

        padding: 10px;

        border:
            1px solid
            var(--border);

        border-radius: 17px;

        background:
            rgba(255, 255, 255, 0.98);

        box-shadow:
            var(--shadow-large);

    }

    .main-nav.is-open {

        display: block;

    }

    .main-nav a {

        width: 100%;

        justify-content: flex-start;

        padding:
            0 13px;

        font-size: 13px;

    }

    .main-nav a::after {

        display: none;

    }

    .main-nav a:hover,
    .main-nav a.active {

        background:
            #edf5ff;

    }

    .home-hero-grid {

        grid-template-columns:
            1fr;

        gap: 55px;

    }

    .lookup-preview {

        max-width: 650px;

    }

    .home-service-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .community-layout {

        grid-template-columns:
            1fr;

        gap: 35px;

    }

    .footer-grid,
    .footer-shell {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media
(max-width: 760px) {

    .container {

        max-width:
            calc(100% - 24px);

    }

    .topbar {

        display: none;

    }

    .header-main {

        min-height: 70px;

    }

    .brand-logo {

        width: 45px;
        height: 45px;

        flex-basis: 45px;

        border-radius: 14px;

    }

    .brand-logo svg {

        width: 25px;
        height: 25px;

    }

    .brand-text strong {

        font-size: 18px;

    }

    .brand-text small {

        display: none;

    }

    .header-actions {

        display: none;

    }

    .home-hero-grid {

        padding:
            58px 0 50px;

    }

    .home-hero h1 {

        font-size: 45px;

        letter-spacing: -1.7px;

    }

    .hero-lead {

        font-size: 15px;

    }

    .home-search {

        grid-template-columns:
            1fr;

        padding: 8px;

    }

    .home-search-icon {

        display: none;

    }

    .home-search input {

        height: 50px;

        padding:
            0 10px;

    }

    .home-search button {

        width: 100%;

        height: 50px;

    }

    .preview-floating-card {

        position: relative;

        right: auto;
        bottom: auto;

        margin-top: 12px;

    }

    .hero-bottom {

        grid-template-columns:
            1fr;

    }

    .hero-bottom-item {

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.10);

    }

    .section-heading {

        display: block;

    }

    .section-heading > p {

        margin-top: 12px;

    }

    .home-service-grid {

        grid-template-columns:
            1fr;

    }

    .home-section,
    .home-community {

        padding:
            62px 0;

    }

    .warning-box {

        display: block;

    }

    .warning-box a {

        width: 100%;

        margin-top: 18px;

    }

    .footer-grid,
    .footer-shell {

        grid-template-columns:
            1fr;

        gap: 28px;

    }

    .footer-bottom {

        display: block;

        padding:
            18px 0;

    }

}


@media
(hover: none) {

    .home-service-card:active {

        transform:
            scale(0.98);

        border-color:
            var(--blue-400);

    }

    .search-types a:active {

        transform:
            scale(0.96);

    }

    .community-panel-line:active {

        background:
            #edf5ff;

    }

}


@media
(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation:
            none !important;

        transition:
            none !important;

        scroll-behavior:
            auto !important;

    }

}
/* =========================================================
   FOOTER V2
========================================================= */

.footer-brand-area {

    min-width: 0;

}


.footer-brand-area > p {

    margin:
        18px 0 0;

    max-width:
        390px;

    line-height:
        1.75;

}


.footer-notice {

    max-width:
        390px;

    display: grid;

    grid-template-columns:
        28px
        1fr;

    gap: 10px;

    align-items:
        start;

    margin-top:
        17px;

    padding:
        12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius:
        13px;

    background:
        rgba(
            255,
            255,
            255,
            0.035
        );

}


.footer-notice > span {

    width: 27px;

    height: 27px;

    display: grid;

    place-items: center;

    border-radius:
        9px;

    color:
        #8ec9ff;

    background:
        rgba(
            45,
            135,
            251,
            0.13
        );

    font-size:
        11px;

    font-weight:
        900;

}


.footer-notice p {

    margin: 0;

    font-size:
        11px;

    line-height:
        1.65;

}


.footer-col {

    min-width: 0;

}


.footer-col h3 {

    position: relative;

    padding-bottom:
        10px;

}


.footer-col h3::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 28px;

    height: 2px;

    border-radius:
        99px;

    background:
        var(--blue-500);

}