/* SF Pro Display Fonts */
@font-face {
    font-family: 'SF Pro Display';
    src: url('https://nhanhoa.com/templates/fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('https://nhanhoa.com/templates/fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('https://nhanhoa.com/templates/fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('https://nhanhoa.com/templates/fonts/SFPRODISPLAYHEAVYITALIC.OTF') format('opentype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('https://nhanhoa.com/templates/fonts/SFPRODISPLAYBLACKITALIC.OTF') format('opentype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('https://nhanhoa.com/templates/fonts/SFPRODISPLAYLIGHTITALIC.OTF') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('https://nhanhoa.com/templates/fonts/SFPRODISPLAYSEMIBOLDITALIC.OTF') format('opentype');
    font-weight: 600;
    font-style: italic;
}

:root {
    --color-highlight: #058DC2;
    --primary-light: #B3EAEA;
    --color-main: #4ABAB9;
    --color-text: #00172E;
    --color-black: #252525;
    --color-main-02: #1d2b4f;
    --white: #fff;
    --black: #000;
    --light: #F4F5F6;
    --cta: #032f38;
    --bg-page: #f8fbfb;
    --bg-card: #EFFAFD;
    --bg-section: #f3f9f9;
    --text-secondary: #5f6d7a;
    --text-secondary-1a: #6b7280;
    --text-muted: #7a8795;
    --border: #d2e3e3;
    --radius-btn: 999px;
    --radius-card: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: "SF Pro Display", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;

}

main{
    font-family: "SF Pro Display", sans-serif !important;
}



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

button {
    font: inherit;
}

.nh-section {
    padding: 96px 0;
}

/* ── HERO ── */
.nh-hero {
    padding: 48px 0;
    background:#fff
}

.nh-hero__inner {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 520px);
    gap: 20px;
    align-items: center;
}

.nh-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nh-hero__titles {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nh-hero__headline {
    font-family: Montserrat, sans-serif;
    font-weight: 900;
    color: var(--color-main);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1.2px;
    font-size: 64px;
}
.nh-hero__headline span{
    display: block;
}
.nh-hero__headline span:last-child {
    font-size: 85px;
    font-weight: 900;
}
.nh-form__fields-btn {
    text-align: center;
    margin-top: 20px;
}

.nh-hero__sub {
    color: var(--black);
    font-family: "SF Pro Display";
    font-size: 42px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    /* 46.2px */
    letter-spacing: -0.42px;
}

.nh-hero__desc {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.6;
    max-width: 95%;
}

.nh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 34px;
    border-radius: var(--radius-btn);
    
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: opacity .2s;
}
.checkbox-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.nh-btn:hover {
    opacity: .92;
    border-radius: 65px;
    border: 1px solid var(--color-main);
    background: var(--primary-light);
    box-shadow: 0 4px 10px 0 rgba(61, 218, 253, 0.40);
    color: var(--color-black);
}

.nh-btn--dark {
    background: var(--black);
    color: var(--white);
}

.nh-btn--teal {
    background: var(--color-main);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .6px;
}

.nh-btn--white {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 16px 40px rgba(3, 108, 123, .12);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .5px;
}

.nh-btn--outline-teal {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.nh-hero__img {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}

.nh-hero__img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 35%), radial-gradient(circle at 20% 60%, rgba(254,255,255,.8) 0%, rgba(254,255,255,0) 25%);
    pointer-events: none;
}

.nh-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.nh-hero__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,.98);
    border-radius: 22px;
    padding: 10px 18px;
    box-shadow: 0 16px 34px rgba(0,0,0,.08);
    z-index: 2;
}

.nh-hero__badge img {
    height: 42px;
    display: block;
}

@media (max-width: 1080px) {
    .nh-hero__inner {
        grid-template-columns: 1fr;
    }

    .nh-hero__img {
        min-height: 420px;
    }
}

@media (max-width: 700px) {
    .nh-hero {
        padding: 48px 0 40px;
    }

    .nh-hero__headline span:last-child {
        font-size: clamp(36px, 7vw, 56px);
    }

    .nh-hero__sub {
        letter-spacing: .08em;
    }

    .nh-hero__img {
        min-height: 360px;
        padding: 16px;
    }

    .nh-hero__badge {
        top: 16px;
        left: 16px;
        padding: 10px 14px;
    }
}

/* Removed duplicated legacy .nh-hero_* block to avoid conflicting rules.
   Current hero styles are defined earlier in the file (clean, responsive).
*/
/* ── SECTION SHARED ── */
.nh-section--teal-bg {
    background: var(--bg-card);
}

.nh-section--white-bg {
    background: var(--white);
}

.nh-section--accent-bg {
    background: #8EDDE5;
}

.nh-section__head {
    text-align: center;
    margin-bottom: 4rem;
}

.nh-section__title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 600;
    color: var(--black);
    line-height: 1.2;
}

/* ── PROCESS (Section 10) ── */
.nh-process {
    background: var(--bg-card);
    position: relative;
}

.nh-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40%;
    right: 0;
    bottom: 0;
    background-image: url("https://nhanhoa.com/images/chuyen-nhuong-tm/bg_quy_trinh.png");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.nh-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.nh-step {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s;
}

.nh-step__num {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 150px;
    color: var(--primary-light);
    line-height: .72;
    letter-spacing: -7.5px;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
    text-align: center;
    transition: color .2s;
}

.nh-step__card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px 24px 24px;
    box-shadow: 0 6px 60px rgba(123,210,210,.2);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    min-height: 300px;
    flex: 1 1;
    transition: background .2s;
}

.nh-step__icon-wrapper {
    border-radius: 50%;
    padding: 12px;
    transition: background .2s;
}

.nh-step__icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.nh-step__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
}

.nh-step__desc {
    font-size: 16px;
    color: var(--color-black);
    line-height: 1.5;
    font-weight: 400;
}

.nh-step:hover {
    transform: translateY(15px);
}

.nh-step:hover .nh-step__num {
    color: var(--color-main);
}

.nh-step:hover .nh-step__card {
    background-color: var(--primary-light);
}

.nh-step:hover .nh-step__icon-wrapper {
    background-color: var(--white);
}

/* ── CONTACT FORM (Section 54) ── */
.nh-contact {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-image: url("https://nhanhoa.com/images/chuyen-nhuong-tm/anh_nen_contact.png");
    background-color: lightgray;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.nh-contact__inner {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 48px;
    position: relative;
}

.nh-contact__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
    position: relative;
}

.nh-contact__title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    text-align: center;
}

.nh-contact__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.nh-contact__img {
    height: 540px;
    object-fit: contain;
    display: block;
    margin: auto;
    position: absolute;
    right: 80px;
    bottom: -68px;
}

.nh-form {
    background: var(--white);
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 0 40px rgba(74,186,185,.12);
    margin: 24px 0;
}

.nh-form__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    line-height: 1;
}

.nh-form__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nh-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nh-label {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    gap: 3px;
    align-items: center;
}

.nh-label span {
    color: red;
}

.nh-input {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: 14px;
    height: 48px;
    padding: 0 14px;
    font-size: 15px;
    

    width: 100%;
    outline: none;
    transition: border-color .2s;
}

.nh-input::placeholder {
    color: var(--text-muted);
}

.nh-input:focus {
    border-color: var(--primary);
}

.nh-form .nh-btn {
    width: max-content;
}

/* ── WHY NHAN HOA (Section 42) ── */
.nh-why {
    background: var(--white);
}

.nh-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nh-why-card {
    background: var(--white);
    border-radius: 32px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 30px rgba(74,186,185,.1);
    transition: background .2s, color .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}

.nh-why-card:hover {
    background: var(--color-main);
    color: var(--white);
    box-shadow: 0 0 30px rgba(143,227,226,.3);
}

.nh-why-card::before {
    position: absolute;
    left: 0;
    bottom: -25px;
    width: 166px;
    height: 105px;
    background-image: url("https://nhanhoa.com/images/chuyen-nhuong-tm/icon/logo_white.png");
    background-repeat: no-repeat;
    background-position: left;
    background-size: 290%;
    opacity: 0;
    filter: brightness(0) invert(1);
    transform: rotate(15deg);
    transition: background .2s, color .2s, box-shadow .2s;
}

.nh-why-card:hover::before {
    content: '';
    opacity: 0.4;
}

.nh-why-card__icon-wrap {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 1.2rem;
}

.nh-why-card:hover .nh-why-card__icon-wrap {
    background: transparent;
}

.nh-why-card__icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 4px rgba(0,0,0,.2));
}

.nh-why-card__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .6px;
    margin-bottom: 10px;
}

.nh-why-card__desc {
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: .16px;
    opacity: .88;
    position: relative;
}

.nh-why-card:hover .nh-why-card__title, .nh-why-card:hover .nh-why-card__desc {
    color: var(--white);
    opacity: 1;
}

/* ── SERVICES (Section 43) ── */
.nh-services {
    background: var(--bg-card);
}

.nh-services__inner {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 48px;
    align-items: center;
}

.nh-services__lead {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nh-services__title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.nh-services__sub {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.nh-services__img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.nh-services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nh-service-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 230px;
    position: relative;
}

.nh-service-card__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nh-service-card__tag {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.2;
    margin: 0;
}

.nh-service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: .6px;
    line-height: 1.4;
    margin: 0;
}

.nh-service-card__desc {
    font-size: 16px;
    color: var(--black);
    line-height: 1.5;
    letter-spacing: .16px;
    margin-top: auto;
    width: 250px;
    max-width: 100%;
}

.nh-service-card__cta {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--color-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 24px;
    bottom: 24px;
}

.nh-service-card__cta svg {
    /* width: 16px;
    height: 16px; */
}

/* ── CTA BANNER (Section 35) ── */
.nh-cta-banner {
    background: #8EDDE5;
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url("https://nhanhoa.com/images/chuyen-nhuong-tm/bg_cta.png");
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.nh-cta-banner__title {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ── FAQ (Section 8) ── */
.nh-faq {
    background: var(--bg-card);
}

.nh-section__eyebrow {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-main);
    margin-bottom: 1rem;
}

.nh-faq__inner {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 24px;
    align-items: start;
}

.nh-faq__left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.nh-faq__left-img {
    width: 280px;
}

.nh-faq__contact__image {
    height: 340px;
}

.nh-faq__contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.nh-faq__contact-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: .6px;
}

.nh-faq__contact-desc {
    font-size: 14px;
    color: var(--text-secondary-1a);
    line-height: 1.5;
}

.nh-faq__contact-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--cta);
    color: var(--white);
    padding: 6px 6px 6px 20px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity .2s;
    white-space: nowrap;
}

.nh-faq__contact-cta:hover {
    opacity: .88;
}

.nh-faq__contact-cta-arrow {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 2px rgba(0,0,0,.25);
}

.nh-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nh-accordion-item {
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(74,186,185,.5);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: box-shadow .2s;
}

.nh-accordion-item:hover {
    box-shadow: 0 0 20px rgba(74,186,185,.2);
}

.nh-accordion-btn {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
}

.nh-accordion-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid rgba(19,19,19,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--black);
    line-height: 1;
    transition: transform .2s;
}

.nh-accordion-item .nh-accordion-btn[aria-expanded="true"] .nh-accordion-icon {
    transform: rotate(180deg);
}

.nh-accordion-icon::before {
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    font-size: 1.6rem;
    content: "\2b";
}

.nh-accordion-btn[aria-expanded="true"] .nh-accordion-icon::before {
    content: "\2d";
    padding-bottom: 7px;
    font-size: 1.8rem;
}

.nh-accordion-body .card-body {
    padding: 0 18px 18px;
    font-size: 16px;
    color: var(--color-black);
    line-height: 1.5;
    overflow: hidden;
    transition: all .3s ease;
}

.nh-accordion-item.open .nh-accordion-body .card-body {
    max-height: 400px;
    padding: 0 18px 18px;
}

.nh-faq__more {
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-main);
    cursor: pointer;
    padding: 8px;
    font-family: 'SF Pro Display', sans-serif;
}

/* ── RESPONSIVE ── */
@media (min-width: 1300px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }

    .nh-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nh-hero__img {
        min-height: 340px;
        order: -1;
    }

    .nh-hero__headline {
        font-size: clamp(44px, 6vw, 60px);
    }

    .nh-hero__headline span:last-child {
        font-size: clamp(50px, 7vw, 72px);
    }

    .nh-hero__sub {
        font-size: clamp(28px, 3.5vw, 38px);
    }

    .nh-process__grid,
    .nh-why__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nh-step__num {
        font-size: clamp(90px, 9vw, 120px);
    }

    .nh-contact__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nh-contact__img {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        right: auto;
        bottom: auto;
    }

    .nh-contact__left {
        margin-top: 24px;
    }

    .nh-services__inner {
        grid-template-columns: 1fr;
    }

    .nh-faq__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nh-section {
        padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .nh-hero__headline {
        font-size: clamp(32px, 9vw, 48px);
    }

    .nh-hero__headline span:last-child {
        font-size: clamp(36px, 10vw, 56px);
    }

    .nh-hero__sub {
        font-size: 22px;
        letter-spacing: .02em;
    }

    .nh-hero__img {
        min-height: 280px;
        padding: 0;
    }

    .nh-hero__badge {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
    }

    .nh-btn {
        width: 100%;
        justify-content: center;
    }

    .nh-process__grid,
    .nh-why__grid,
    .nh-services__grid {
        grid-template-columns: 1fr;
    }

    .nh-step__num {
        font-size: clamp(80px, 16vw, 100px);
        margin-bottom: 10px;
    }

    .nh-contact__btns {
        flex-direction: column;
    }

    .nh-contact__img {
        margin-top: 22px;
    }

    .nh-form {
        margin: 0;
        padding: 28px 20px;
    }

    .nh-contact__title,
    .nh-services__title,
    .nh-section__title,
    .nh-faq__contact-title {
        font-size: clamp(24px, 5vw, 28px);
    }

    .nh-service-card__desc {
        width: 100%;
    }

    .nh-faq__left {
        align-items: flex-start;
    }

    .nh-faq__left-img,
    .nh-faq__contact__image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .nh-accordion-btn {
        font-size: 16px;
        padding: 14px;
    }

    .nh-accordion-body .card-body {
        font-size: 15px;
    }

    .nh-faq__more {
        align-self: flex-start;
    }
}
