
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Poppins:wght@600;700;800;900&display=swap');

:root {
    --color-white: #ffffff;
    --color-black: #111111;
    --color-border: #dedede;
    --color-gray-bg: #f3f3f3;
    --color-gray-text: #666666;

    --color-on-dark-muted: #b9b9b9;

    --color-green-bg: #e9f5ee;
    --color-green-text: #17633d;

    --color-red-bg: #fdecec;
    --color-red-text: #a52a2a;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-data: 'Inter', monospace, sans-serif;

    --radius: 16px;
    --radius-sm: 8px;
    --radius-pill: 999px;

    --ease: 0.2s ease;
}

/* =========================
   CÀI ĐẶT CHUNG
   ========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin: 0;
}

h1 {
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.28;
}

p {
    margin: 0;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================
   BUTTON
   ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    padding: 15px 26px;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;

    cursor: pointer;
    transition:
        transform var(--ease),
        background var(--ease),
        color var(--ease),
        border-color var(--ease);
}

.btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.btn--solid {
    background: var(--color-black);
    color: #fff;
    border-color: var(--color-black);
}

.btn--solid:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

.btn--outline:hover {
    background: var(--color-black);
    color: #fff;
}

.btn--block {
    width: 100%;
    white-space: normal;
}

/* =========================
   NAVIGATION
   ========================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.nav .wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    line-height: 1.05;

    text-transform: uppercase;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.logo .mark {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo .mark svg {
    width: 30px;
    height: 30px;
    color: var(--color-black);
}

.logo .logo__txt {
    line-height: 1.04;
    letter-spacing: 0.005em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 6px;
}

.nav-link,
.nav-grp__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 10px 12px;

    background: none;
    border: none;

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.03em;

    color: var(--color-black);
    cursor: pointer;
    white-space: nowrap;

    transition: color var(--ease);
}

.nav-link:hover,
.nav-grp__btn:hover {
    color: #555;
}

.nav-grp {
    position: relative;
}

.nav-grp__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-black);
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--ease);
}

.nav-grp__btn:hover {
    color: #555;
}

.nav-grp__btn svg {
    width: 12px;
    height: 12px;
    transition: transform var(--ease);
}

.nav-grp.open .nav-grp__btn svg {
    transform: rotate(180deg);
}

.nav-grp__menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
    padding: 6px;
    z-index: 1000;
}

.nav-grp.open .nav-grp__menu {
    display: block;
}

.nav-grp__menu a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #1c1c1c;
    transition: background var(--ease), color var(--ease);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.nav-grp__menu a:hover {
    background: var(--color-gray-bg);
    color: var(--color-green-text);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.nav-actions .btn {
    padding: 11px 18px;
}

/* =========================
   MOBILE MENU
   ========================= */
.hamburger {
    display: none;

    background: none;
    border: none;
    cursor: pointer;

    padding: 6px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-black);
    margin: 5px 0;
}

.mobile-panel {
    display: none;

    background: var(--color-white);
    border-top: 1px solid var(--color-border);

    padding: 6px 24px 18px;
}

.mobile-panel.open {
    display: block;
}

.mobile-panel a {
    display: block;
    padding: 13px 0;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    border-bottom: 1px solid var(--color-border);
}

/* =========================
   HERO
   ========================= */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.hero__panel {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__eyebrow {
    color: var(--color-gray-text);
    font-size: 12.5px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    margin-bottom: 14px;
}

.hero__panel h1 {
    margin-bottom: 20px;
}

.hero__panel p {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--color-gray-text);

    max-width: 460px;
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.hero__actions .btn {
    min-width: 300px;
}

.hero__media {
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    min-height: 560px;
}

.hero__media img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 32%;
}

.hero__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 40px 30px 22px;

    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0),
        rgba(10, 10, 10, 0.86)
    );

    color: #fff;
    font-size: 12.5px;
    line-height: 1.5;
}

.hero__cap strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
}

/* =========================
   WHY
   ========================= */
.why {
    position: relative;

    background: var(--color-black);
    color: #fff;

    padding: 78px 0 84px;
    overflow: hidden;
}

.why .wrap {
    position: relative;
}

.why h2 {
    color: #fff;
    text-align: center;
}

.why__rule {
    width: 120px;
    height: 3px;

    background: #fff;
    opacity: 0.5;

    margin: 16px auto 0;
}

.signature-line {
    width: 100%;
    height: auto;
    display: block;

    margin: 30px 0 46px;
}

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

.why-item h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 16px;
}

.why-item p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-on-dark-muted);
}

/* =========================
   FEES
   ========================= */
.fees {
    padding: 76px 0 0;
}

.fees__head {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;

    margin-bottom: 44px;
}

.fees__head::before,
.fees__head::after {
    content: "";
    flex: 1;
    max-width: 260px;

    height: 1px;
    background: var(--color-black);
}

.fees__head h2 {
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.fee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.fee-card {
    position: relative;

    min-height: 300px;
    padding: 36px 28px 40px;

    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    gap: 22px;
    text-align: center;

    background: #111;
    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.fee-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.45),
        rgba(8, 8, 8, 0.8)
    );
}

.fee-card::after {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.5;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );

    background-size: 34px 34px;
}

.fee-card > * {
    position: relative;
    z-index: 1;
}

.fee-card .fee-val {
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.fee-card .fee-lbl {
    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    color: var(--color-black);
    background: #fff;

    border-radius: var(--radius-pill);
    padding: 9px 22px;
}

/* =========================
   ĐĂNG KÝ BAR
   ========================= */
.reg-bar {
    background: var(--color-black);
    color: #fff;
}

.reg-bar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 30px;
    padding-bottom: 30px;
}

.reg-bar h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(20px, 2.8vw, 30px);
}

/* =========================
   FORM TƯ VẤN
   ========================= */
.consult {
    padding: 44px 0 88px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 26px;
    margin-bottom: 30px;
}

.field label,
.consult .group-label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    color: var(--color-black);
    margin-bottom: 10px;
}

.field input {
    width: 100%;

    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-pill);

    padding: 13px 20px;

    font-size: 15px;
    background: #fff;
    color: var(--color-black);

    transition: border-color var(--ease);
}

.field input::placeholder {
    color: #b4b4b4;
}

.field input:focus {
    outline: none;
    border-color: var(--color-black);
}

.services {
    display: flex;
    flex-wrap: wrap;

    gap: 16px 34px;
    margin-bottom: 30px;
}

.services label {
    display: flex;
    align-items: center;
    gap: 11px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.services input {
    width: 20px;
    height: 20px;

    border: 1.5px solid var(--color-black);
    border-radius: 5px;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.services input:checked {
    background: var(--color-black);
}

.services input:checked::after {
    content: "";

    position: absolute;
    left: 6px;
    top: 2px;

    width: 5px;
    height: 10px;

    border: solid #fff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}

.message-wrap {
    position: relative;
}

.message-wrap textarea {
    width: 100%;
    min-height: 120px;

    border: 1.5px solid var(--color-border);
    border-radius: 20px;

    padding: 16px 20px;

    font-family: var(--font-body);
    font-size: 15px;

    resize: vertical;
    color: var(--color-black);

    transition: border-color var(--ease);
}

.message-wrap textarea::placeholder {
    color: #b4b4b4;
}

.message-wrap textarea:focus {
    outline: none;
    border-color: var(--color-black);
}

.message-wrap .btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 14px 26px;
}

.consult-msg {
    margin-top: 18px;

    font-size: 14px;

    display: none;
    padding: 12px 16px;

    border-radius: var(--radius-sm);
}

.consult-msg.ok {
    display: block;
    background: var(--color-green-bg);
    color: var(--color-green-text);
}

.consult-msg.err {
    display: block;
    background: var(--color-red-bg);
    color: var(--color-red-text);
}

/* =========================
   FOOTER
   ========================= */
.footer {
    background: var(--color-black);
    color: var(--color-on-dark-muted);

    padding: 38px 0;
    font-size: 13.5px;
    line-height: 1.7;
}

.footer a {
    color: #d0d0d0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =========================
   MODAL ĐĂNG NHẬP / ĐĂNG KÝ
   ========================= */
.modal-overlay {
    position: fixed;
    inset: 0;

    background: rgba(10, 10, 10, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;
    padding: 20px;
}

.modal {
    background: #fff;
    border-radius: var(--radius);

    max-width: 430px;
    width: 100%;

    padding: 32px;
}

.modal h3 {
    margin-bottom: 4px;
}

.tabs-auth {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.tabs-auth button {
    flex: 1;

    padding: 10px;

    border-radius: var(--radius-sm);
    border: 1.5px solid var(--color-border);

    background: #fff;

    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    cursor: pointer;
    color: var(--color-gray-text);
}

.tabs-auth button.active {
    background: var(--color-black);
    color: #fff;
    border-color: var(--color-black);
}

.modal .field {
    margin-bottom: 15px;
}

.modal .field label {
    font-size: 10.5px;
    font-weight: 500;

    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.modal .field input {
    width: 100%;

    padding: 11px 13px;

    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);

    font-size: 14.5px;
}

.modal .field input:focus {
    outline: none;
    border-color: var(--color-black);
}

.modal-err {
    background: var(--color-red-bg);
    color: var(--color-red-text);

    padding: 11px 15px;

    border-radius: var(--radius-sm);

    font-size: 13.5px;
    margin-bottom: 16px;

    display: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--color-gray-text);
    font-size: 13px;

    margin-bottom: 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;

    height: 1px;
    background: var(--color-border);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;

    padding: 13px 16px;

    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: #fff;
    color: var(--color-black);

    font-weight: 700;
    font-size: 15px;

    cursor: pointer;
}

.btn-google:hover {
    background: var(--color-gray-bg);
}

.btn-google svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1120px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 940px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero__media {
        min-height: 320px;
        order: -1;
    }

    .hero__media img {
        position: relative;
        height: 320px;
    }

    .hero__panel {
        padding: 40px 20px 44px;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 26px;
    }
}

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

@media (max-width: 760px) {
    .field-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 20px;
    }

    .mobile-panel {
        padding: 6px 20px 18px;
    }
}

@media (max-width: 560px) {
    .message-wrap .btn {
        position: static;
        width: 100%;
        margin-top: 14px;
    }

    .fees__head {
        gap: 10px;
    }

    .fees__head::before,
    .fees__head::after {
        max-width: 50px;
    }
}

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