/* =========================================================
   AN NHIÊN – NOBLE RETREAT
   WEBSITE V1
   FILE: assets/css/style.css
   PART 1
========================================================= */


/* =========================================================
   1. RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    min-width: 320px;
    color: #262b27;
    background: #ffffff;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
    object-fit: cover;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #173c22;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

p {
    margin-bottom: 1.25rem;
}

::selection {
    color: #ffffff;
    background: #1b6e24;
}


/* =========================================================
   2. BRAND VARIABLES
========================================================= */

:root {
    --green: #1b6e24;
    --green-dark: #103f1b;
    --green-deep: #0b3014;
    --green-soft: #e8f1e8;

    --gold-brand: #f5c400;
    --gold: #d9ae32;
    --gold-dark: #bd9220;
    --gold-soft: #fff6cc;

    --cream: #f7f3ea;
    --cream-light: #fcfaf5;

    --charcoal: #262b27;
    --gray: #59615b;
    --gray-light: #e4e7e3;
    --white: #ffffff;

    --container: 1240px;

    --radius-small: 10px;
    --radius-medium: 20px;
    --radius-large: 34px;
    --radius-pill: 999px;

    --shadow-small:
        0 10px 30px rgba(18, 61, 27, 0.08);

    --shadow-medium:
        0 18px 55px rgba(18, 61, 27, 0.12);

    --shadow-large:
        0 28px 80px rgba(12, 48, 20, 0.18);

    --transition:
        280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}


/* =========================================================
   3. GLOBAL LAYOUT
========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 112px 0;
}

.section.gray {
    background: var(--cream-light);
}

.section-header {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-header.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-header > span,
.section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label.light {
    color: var(--gold);
}

.section-header h2,
.healthcare-content h2,
.family-assurance-content h2,
.mid-cta-box h2,
.contact-banner-content h2 {
    margin-bottom: 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 4.25rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-header p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--gray);
    font-size: 1.05rem;
}

.section-header.centered p {
    margin-inline: auto;
}

.section-title {
    margin-bottom: 20px;
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 500;
    line-height: 1.12;
}

.section-text {
    max-width: 680px;
    color: var(--gray);
    font-size: 1.08rem;
}


/* =========================================================
   4. BUTTONS
========================================================= */

.button,
.btn-header,
.button-outline,
.text-link,
.mobile-contact-button {
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid var(--green);
    border-radius: var(--radius-pill);
    color: #ffffff;
    background: var(--green);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow:
        0 12px 30px rgba(27, 110, 36, 0.18);
}

.button:hover {
    color: #173c22;
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow:
        0 16px 36px rgba(215, 169, 0, 0.22);
}

.button:focus-visible,
.btn-header:focus-visible,
.button-outline:focus-visible,
.text-link:focus-visible {
    outline: 3px solid rgba(245, 196, 0, 0.4);
    outline-offset: 4px;
}

.button-outline {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-pill);
    color: #ffffff;
    font-weight: 600;
}

.button-outline:hover {
    color: var(--green-dark);
    border-color: #ffffff;
    background: #ffffff;
    transform: translateY(-2px);
}

.button-light {
    color: var(--green-dark);
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: none;
}

.button-light:hover {
    color: var(--green-dark);
    border-color: var(--gold);
    background: var(--gold);
}

.text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-weight: 700;
}

.text-link::after {
    content: "→";
    font-size: 1.15rem;
    transition: transform var(--transition);
}

.text-link:hover {
    color: var(--green-dark);
}

.text-link:hover::after {
    transform: translateX(6px);
}


/* =========================================================
   5. HEADER
========================================================= */

header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: 96px;
    border-bottom: 1px solid transparent;
    background:
        linear-gradient(
            to bottom,
            rgba(4, 27, 11, 0.5),
            rgba(4, 27, 11, 0)
        );
    transition:
        height var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

header.scrolled {
    height: 78px;
    border-bottom-color: rgba(27, 110, 36, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 10px 28px rgba(20, 55, 28, 0.08);
    backdrop-filter: blur(16px);
}

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

.logo {
    flex: 0 0 auto;
    width: 218px;
    min-height: 56px;
}

.logo img,
.logo svg {
    width: auto;
    max-width: 100%;
    height: 56px;
    object-fit: contain;
}

header nav {
    margin-left: auto;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 32px);
}

header nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

header.scrolled nav a {
    color: var(--charcoal);
}

header nav a:not(.btn-header)::after {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

header nav a:not(.btn-header):hover::after,
header nav a:not(.btn-header).active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-header {
    min-height: 46px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    color: var(--green-dark) !important;
    background: var(--gold);
    font-weight: 700 !important;
    box-shadow:
        0 9px 22px rgba(245, 196, 0, 0.2);
}

.btn-header:hover {
    color: #ffffff !important;
    background: var(--green);
    transform: translateY(-2px);
}


/* =========================================================
   6. MOBILE MENU BUTTON
========================================================= */

.mobile-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.mobile-menu-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 10px;
    background: #ffffff;
}

header.scrolled .mobile-menu-toggle {
    background: var(--green-soft);
}

header.scrolled .mobile-menu-toggle span {
    background: var(--green-dark);
}


/* =========================================================
   7. HERO
========================================================= */

.hero {
    position: relative;
    display: flex;
    min-height: 820px;
    height: 100vh;
    max-height: 980px;
    align-items: center;
    overflow: hidden;
    background: var(--green-dark);
}

.hero-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    transform: scale(1.015);
}

.hero::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    content: "";
    background:
        linear-gradient(
            to top,
            rgba(10, 39, 17, 0.22),
            transparent
        );
    pointer-events: none;
}

.overlay,
.hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 40, 18, 0.42) 0%,
            rgba(10, 40, 18, 0.22) 34%,
            rgba(10, 40, 18, 0.08) 62%,
            rgba(10, 40, 18, 0.00) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(
        calc(100% - 48px),
        var(--container)
    );
    margin-inline: auto;
    padding-top: 70px;
}

.hero-content h1 {
    max-width: 780px;
    margin-bottom: 28px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.1rem, 6.2vw, 6.5rem);
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: -0.052em;
    text-wrap: balance;
    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.14);
}

.hero-content p {
    max-width: 620px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.hero-content .button {
    min-width: 210px;
    color: var(--green-dark);
    border-color: var(--gold);
    background: var(--gold);
    box-shadow:
        0 14px 34px rgba(245, 196, 0, 0.24);
}

.hero-content .button:hover {
    color: var(--green-dark);
    border-color: #ffffff;
    background: #ffffff;
}


/* =========================================================
   8. HERO DECORATION
========================================================= */

.hero-content::before {
    display: block;
    width: 66px;
    height: 3px;
    margin-bottom: 28px;
    border-radius: 20px;
    content: "";
    background: var(--gold);
}

.hero::before {
    position: absolute;
    z-index: 2;
    right: -130px;
    bottom: -230px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    content: "";
}


/* =========================================================
   9. QUICK VALUE
========================================================= */

.quick-value {
    position: relative;
    z-index: 10;
    margin-top: -62px;
}

.quick-value .container {
    padding: 0;
}

.value-grid {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(27, 110, 36, 0.08);
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-large);
    grid-template-columns: repeat(4, 1fr);
    backdrop-filter: blur(18px);
}

.value-item {
    position: relative;
    padding: 34px 26px 32px;
    text-align: center;
}

.value-item:not(:last-child)::after {
    position: absolute;
    top: 27%;
    right: 0;
    width: 1px;
    height: 46%;
    content: "";
    background: rgba(27, 110, 36, 0.14);
}

.value-item h3 {
    margin-bottom: 4px;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-weight: 500;
}

.value-item span {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}


/* =========================================================
   10. SIMPLE INTRO SECTIONS
========================================================= */

.quick-value + .section {
    padding-top: 134px;
}

.quick-value + .section .section-title,
.quick-value + .section .section-text {
    margin-inline: auto;
    text-align: center;
}


/* =========================================================
   11. RESPONSIVE: TABLET
========================================================= */

@media (max-width: 1100px) {

    header nav ul {
        gap: 17px;
    }

    header nav a {
        font-size: 0.82rem;
    }

    .logo {
        width: 185px;
    }

    .hero-content h1 {
        max-width: 700px;
    }

}


/* =========================================================
   12. RESPONSIVE: MOBILE HEADER & HERO
========================================================= */

@media (max-width: 920px) {

    .container,
    .hero-content {
        width: min(
            calc(100% - 36px),
            var(--container)
        );
    }

    header {
        height: 80px;
    }

    header.scrolled {
        height: 72px;
    }

    .logo {
        width: 178px;
        min-height: 48px;
    }

    .logo img,
    .logo svg {
        height: 48px;
    }

    header nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 720px;
        height: 100svh;
        max-height: none;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero-content h1 {
        max-width: 620px;
        font-size: clamp(3rem, 10vw, 5.3rem);
    }

    .hero-content p {
        max-width: 540px;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-item:nth-child(2)::after {
        display: none;
    }

    .value-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(27, 110, 36, 0.1);
    }

}


/* =========================================================
   13. RESPONSIVE: SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .container,
    .hero-content {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }

    .section {
        padding: 78px 0;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-content h1 {
        margin-bottom: 22px;
        font-size: clamp(2.8rem, 13vw, 4.25rem);
        line-height: 1.02;
    }

    .hero-content p {
        margin-bottom: 30px;
        font-size: 1rem;
    }

    .hero-content .button {
        width: 100%;
        max-width: 270px;
    }

    .quick-value {
        margin-top: -36px;
    }

    .value-grid {
        border-radius: 24px;
    }

    .value-item {
        padding: 25px 12px 23px;
    }

    .value-item h3 {
        font-size: 2rem;
    }

    .value-item span {
        font-size: 0.76rem;
    }

}
/* =========================================================
   14. FEATURE CARDS
========================================================= */

.feature-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    position: relative;
    min-height: 290px;
    padding: 36px 32px;
    overflow: hidden;
    border: 1px solid rgba(27, 110, 36, 0.08);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 243, 234, 0.92)
        );
    box-shadow: var(--shadow-small);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.feature-card::before {
    position: absolute;
    top: -58px;
    right: -58px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(245, 196, 0, 0.25);
    border-radius: 50%;
    content: "";
}

.feature-card:hover {
    border-color: rgba(27, 110, 36, 0.18);
    box-shadow: var(--shadow-medium);
    transform: translateY(-8px);
}

.feature-card .icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 18px;
    color: var(--green-dark);
    background: var(--gold-soft);
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 1.35rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--gray);
    line-height: 1.75;
}


/* =========================================================
   15. LIVING SPACE
========================================================= */

.living-space {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            var(--cream-light),
            var(--white)
        );
}

.living-space::before {
    position: absolute;
    top: 50px;
    left: -170px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    content: "";
    background:
        radial-gradient(
            circle,
            rgba(27, 110, 36, 0.09),
            transparent 68%
        );
}

.space-grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    gap: 72px;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.space-image {
    position: relative;
}

.space-image img {
    width: 100%;
    min-height: 580px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
}

.space-image::after {
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 42%;
    height: 42%;
    border: 1px solid rgba(245, 196, 0, 0.5);
    border-radius: 28px;
    content: "";
    pointer-events: none;
}

.space-content {
    padding-right: 24px;
}

.space-content p {
    margin-bottom: 28px;
    color: var(--gray);
    font-size: 1.08rem;
}

.space-content ul {
    display: grid;
    gap: 14px;
}

.space-content li {
    position: relative;
    padding-left: 34px;
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 500;
}

.space-content li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    content: "✓";
    color: var(--green-dark);
    background: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 800;
}


/* =========================================================
   16. HEALTHCARE
========================================================= */

.healthcare {
    position: relative;
    padding: 124px 0;
    overflow: hidden;
    background: var(--white);
}

.healthcare::after {
    position: absolute;
    top: 120px;
    right: -180px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    content: "";
    background:
        radial-gradient(
            circle,
            rgba(245, 196, 0, 0.1),
            transparent 72%
        );
}

.healthcare-grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    gap: 76px;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.healthcare-content h2 {
    margin-bottom: 24px;
}

.healthcare-content > p {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--gray);
    font-size: 1.05rem;
}

.healthcare-list {
    display: grid;
    gap: 22px;
    margin-bottom: 34px;
}

.healthcare-item {
    display: grid;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--gray-light);
    grid-template-columns: 52px minmax(0, 1fr);
}

.healthcare-number {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
}

.healthcare-item h3 {
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.healthcare-item p {
    margin-bottom: 0;
    color: var(--gray);
    font-size: 0.96rem;
    line-height: 1.65;
}

.healthcare-image {
    position: relative;
}

.healthcare-image img {
    width: 100%;
    min-height: 660px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
}

.image-note {
    position: absolute;
    right: 22px;
    bottom: 22px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(9, 38, 16, 0.62);
    font-size: 0.72rem;
    backdrop-filter: blur(12px);
}


/* =========================================================
   17. DAILY LIFE TIMELINE
========================================================= */

.daily-life {
    padding: 124px 0;
    background: var(--cream-light);
}

.timeline {
    position: relative;
    display: grid;
    max-width: 960px;
    margin-inline: auto;
    gap: 0;
}

.timeline::before {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 94px;
    width: 1px;
    content: "";
    background:
        linear-gradient(
            to bottom,
            rgba(27, 110, 36, 0.08),
            rgba(27, 110, 36, 0.35),
            rgba(27, 110, 36, 0.08)
        );
}

.timeline-item {
    position: relative;
    display: grid;
    gap: 32px;
    padding: 24px 0;
    grid-template-columns: 112px minmax(0, 1fr);
}

.timeline-time {
    position: relative;
    z-index: 2;
    display: flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    margin-left: 60px;
    border: 8px solid var(--cream-light);
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
}

.timeline-content {
    padding: 20px 24px 22px;
    border: 1px solid rgba(27, 110, 36, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-small);
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.14rem;
}

.timeline-content p {
    margin-bottom: 0;
    color: var(--gray);
}


/* =========================================================
   18. FAMILY ASSURANCE
========================================================= */

.family-assurance {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            var(--green-deep),
            var(--green-dark)
        );
}

.family-assurance::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(245, 196, 0, 0.12),
            transparent 38%
        );
}

.family-assurance-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 39, 16, 0.98) 0%,
            rgba(7, 39, 16, 0.88) 48%,
            rgba(7, 39, 16, 0.58) 100%
        );
}

.family-assurance-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 110px 0;
}

.family-assurance-content h2 {
    margin-bottom: 24px;
    color: #ffffff;
}

.family-assurance-content > p {
    max-width: 680px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.family-points {
    display: grid;
    gap: 18px;
}

.family-point {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.family-point strong {
    color: var(--gold);
    font-size: 1rem;
}

.family-point span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}


/* =========================================================
   19. MID CTA
========================================================= */

.mid-cta {
    padding: 84px 0;
    background: var(--white);
}

.mid-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 54px 58px;
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        );
    box-shadow: var(--shadow-large);
}

.mid-cta-box span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.mid-cta-box h2 {
    margin-bottom: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.8rem);
}


/* =========================================================
   20. RESPONSIVE PART 2
========================================================= */

@media (max-width: 1000px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .space-grid,
    .healthcare-grid {
        gap: 52px;
        grid-template-columns: 1fr;
    }

    .space-image img,
    .healthcare-image img {
        min-height: 520px;
    }

    .space-content {
        padding-right: 0;
    }

    .healthcare-grid {
        grid-template-areas:
            "content"
            "image";
    }

    .healthcare-content {
        grid-area: content;
    }

    .healthcare-image {
        grid-area: image;
    }

    .family-assurance {
        min-height: auto;
    }

    .family-assurance-content {
        max-width: 100%;
    }

    .mid-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 700px) {

    .living-space,
    .healthcare,
    .daily-life {
        padding: 88px 0;
    }

    .space-image img,
    .healthcare-image img {
        min-height: 360px;
    }

    .timeline::before {
        left: 28px;
    }

    .timeline-item {
        gap: 18px;
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .timeline-time {
        width: 54px;
        height: 54px;
        margin-left: 0;
        border-width: 6px;
        font-size: 0.72rem;
    }

    .timeline-content {
        padding: 18px;
    }

    .family-assurance-content {
        padding: 84px 0;
    }

    .mid-cta {
        padding: 62px 0;
    }

    .mid-cta-box {
        padding: 38px 28px;
    }

}

@media (max-width: 520px) {

    .feature-card {
        min-height: auto;
        padding: 30px 24px;
    }

    .space-image::after {
        right: -10px;
        bottom: -10px;
    }

    .healthcare-item {
        gap: 12px;
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .healthcare-number {
        width: 40px;
        height: 40px;
    }

    .mid-cta-box .button {
        width: 100%;
    }

}
/* =========================================================
   21. KNOWLEDGE
========================================================= */

.knowledge {
    padding: 124px 0;
    background: var(--white);
}

.knowledge-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.knowledge-card {
    overflow: hidden;
    border: 1px solid rgba(27, 110, 36, 0.08);
    border-radius: var(--radius-medium);
    background: var(--white);
    box-shadow: var(--shadow-small);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.knowledge-card:hover {
    border-color: rgba(27, 110, 36, 0.18);
    box-shadow: var(--shadow-medium);
    transform: translateY(-8px);
}

.knowledge-card > img {
    width: 100%;
    height: 260px;
    transition: transform 700ms ease;
}

.knowledge-card:hover > img {
    transform: scale(1.05);
}

.knowledge-content {
    padding: 28px 26px 30px;
}

.knowledge-content > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.knowledge-content h3 {
    min-height: 64px;
    margin-bottom: 20px;
    color: var(--green-dark);
    font-size: 1.24rem;
    line-height: 1.45;
}

.knowledge-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 700;
    transition:
        color var(--transition),
        transform var(--transition);
}

.knowledge-content a:hover {
    color: var(--green-dark);
    transform: translateX(4px);
}


/* =========================================================
   22. FAQ HOME
========================================================= */

.faq-home {
    padding: 124px 0;
    background: var(--cream-light);
}

.faq-list {
    display: grid;
    max-width: 900px;
    margin-inline: auto;
    gap: 16px;
}

.faq-item {
    position: relative;
    padding: 28px 32px;
    border: 1px solid rgba(27, 110, 36, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-small);
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.faq-item:hover {
    border-color: rgba(27, 110, 36, 0.24);
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.faq-item h3 {
    margin-bottom: 10px;
    padding-right: 44px;
    color: var(--green-dark);
    font-size: 1.12rem;
}

.faq-item h3::after {
    position: absolute;
    top: 27px;
    right: 30px;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    content: "+";
    color: var(--green-dark);
    background: var(--gold-soft);
    font-size: 1.15rem;
    font-weight: 500;
}

.faq-item p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--gray);
}


/* =========================================================
   23. CONTACT BANNER
========================================================= */

.contact-banner {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            var(--green-deep),
            var(--green)
        );
}

.contact-banner::before {
    position: absolute;
    top: -180px;
    right: -100px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.contact-banner::after {
    position: absolute;
    bottom: -280px;
    left: -180px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    content: "";
    background:
        radial-gradient(
            circle,
            rgba(245, 196, 0, 0.14),
            transparent 70%
        );
}

.contact-banner-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 96px 0;
}

.contact-banner-content > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.contact-banner-content h2 {
    margin-bottom: 24px;
    color: var(--white);
}

.contact-banner-content p {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   24. FOOTER
========================================================= */

.footer {
    padding: 82px 0 28px;
    color: rgba(255, 255, 255, 0.75);
    background: #082811;
}

.footer-grid {
    display: grid;
    gap: 52px;
    padding-bottom: 54px;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(180px, 0.7fr)
        minmax(220px, 0.8fr);
}

.footer h3,
.footer h4 {
    color: var(--white);
}

.footer h3 {
    margin-bottom: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.footer h4 {
    margin-bottom: 18px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer p {
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.footer-grid > div:first-child p {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.footer ul {
    display: grid;
    gap: 11px;
}

.footer a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    transition:
        color var(--transition),
        transform var(--transition);
}

.footer a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.copyright {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.8rem;
    text-align: center;
}


/* =========================================================
   25. MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;
    z-index: 1300;
    top: 0;
    right: 0;
    width: min(420px, 88vw);
    height: 100%;
    padding: 26px 28px 36px;
    overflow-y: auto;
    background: var(--cream-light);
    box-shadow: -20px 0 60px rgba(7, 38, 15, 0.18);
    transform: translateX(105%);
    transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(27, 110, 36, 0.1);
}

.mobile-logo {
    width: 190px;
    min-height: 48px;
}

.mobile-logo img,
.mobile-logo svg {
    max-width: 100%;
    height: 48px;
    object-fit: contain;
}

.mobile-menu-close {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--green-soft);
    font-size: 2rem;
    line-height: 1;
    transition:
        color var(--transition),
        background-color var(--transition),
        transform var(--transition);
}

.mobile-menu-close:hover {
    color: var(--green-dark);
    background: var(--gold);
    transform: rotate(90deg);
}

.mobile-navigation {
    display: grid;
    gap: 3px;
}

.mobile-navigation a {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(27, 110, 36, 0.08);
    color: var(--green-dark);
    font-size: 1rem;
    font-weight: 600;
    transition:
        color var(--transition),
        padding-left var(--transition);
}

.mobile-navigation a:hover {
    color: var(--green);
    padding-left: 12px;
}

.mobile-navigation .mobile-contact-button {
    min-height: 54px;
    justify-content: center;
    margin-top: 22px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--radius-pill);
    color: var(--green-dark);
    background: var(--gold);
    font-weight: 800;
}

.mobile-navigation .mobile-contact-button:hover {
    color: var(--white);
    padding-left: 22px;
    background: var(--green);
}

.mobile-menu-overlay {
    position: fixed;
    z-index: 1250;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(3, 24, 9, 0.56);
    backdrop-filter: blur(4px);
    transition:
        visibility var(--transition),
        opacity var(--transition);
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}


/* =========================================================
   26. BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    z-index: 900;
    right: 26px;
    bottom: 26px;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    border-radius: 50%;
    color: var(--green-dark);
    opacity: 0;
    background: var(--gold);
    box-shadow: 0 12px 28px rgba(15, 55, 22, 0.18);
    font-size: 1.25rem;
    font-weight: 800;
    transform: translateY(16px);
    transition:
        visibility var(--transition),
        opacity var(--transition),
        transform var(--transition),
        background-color var(--transition);
}

.back-to-top.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--white);
    background: var(--green);
    transform: translateY(-3px);
}


/* =========================================================
   27. PAGE LOADER
========================================================= */

.page-loader {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
    background: var(--cream-light);
    transition:
        visibility 500ms ease,
        opacity 500ms ease;
}

.page-loader.hidden {
    visibility: hidden;
    opacity: 0;
}

.loader-content {
    display: grid;
    place-items: center;
    gap: 16px;
}

.loader-symbol {
    width: 54px;
    height: 54px;
    border: 3px solid rgba(27, 110, 36, 0.14);
    border-top-color: var(--green);
    border-right-color: var(--gold);
    border-radius: 50%;
    animation: loader-spin 900ms linear infinite;
}

.loader-content span {
    color: var(--green-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   28. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 800ms ease,
        transform 800ms ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 100ms;
}

.reveal-delay-2 {
    transition-delay: 200ms;
}

.reveal-delay-3 {
    transition-delay: 300ms;
}


/* =========================================================
   29. ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 3px solid rgba(245, 196, 0, 0.6);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}


/* =========================================================
   30. RESPONSIVE PART 3
========================================================= */

@media (max-width: 980px) {

    .knowledge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .knowledge-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 14px);
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 0.7fr;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }

}

@media (max-width: 700px) {

    .knowledge,
    .faq-home {
        padding: 88px 0;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .knowledge-card > img {
        height: 235px;
    }

    .faq-item {
        padding: 24px 22px;
    }

    .faq-item h3 {
        padding-right: 36px;
        font-size: 1rem;
    }

    .faq-item h3::after {
        top: 22px;
        right: 20px;
    }

    .contact-banner {
        min-height: auto;
    }

    .contact-banner-content {
        padding: 84px 0;
    }

    .contact-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-buttons .button,
    .contact-buttons .button-outline {
        width: 100%;
    }

    .footer {
        padding-top: 66px;
    }

    .footer-grid {
        gap: 34px;
        grid-template-columns: 1fr;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

}

@media (max-width: 520px) {

    .knowledge-content {
        padding: 24px 21px 26px;
    }

    .knowledge-content h3 {
        min-height: 0;
    }

    .mobile-menu {
        width: 92vw;
        padding: 22px 22px 30px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

}
/* =========================================================
   31. FINAL POLISH
========================================================= */

body {
    overflow-x: hidden;
}

main,
section,
footer {
    isolation: isolate;
}

header,
.hero,
.quick-value,
.section,
.living-space,
.healthcare,
.daily-life,
.family-assurance,
.mid-cta,
.knowledge,
.faq-home,
.contact-banner,
.footer {
    width: 100%;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

img {
    background: var(--cream);
}


/* =========================================================
   32. CUSTOM SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: var(--cream-light);
}

::-webkit-scrollbar-thumb {
    border: 3px solid var(--cream-light);
    border-radius: 999px;
    background: var(--green);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-dark);
}


/* =========================================================
   33. IMAGE FALLBACK
========================================================= */

.hero-image,
.space-image img,
.healthcare-image img,
.knowledge-card img {
    color: transparent;
}

.hero-image:not([src]),
.space-image img:not([src]),
.healthcare-image img:not([src]),
.knowledge-card img:not([src]) {
    background:
        linear-gradient(
            135deg,
            var(--green-soft),
            var(--cream)
        );
}

.space-image,
.healthcare-image,
.knowledge-card {
    overflow: hidden;
}


/* =========================================================
   34. HEADER LOGO PLACEHOLDER
========================================================= */

.logo:empty,
.mobile-logo:empty {
    position: relative;
}

.logo:empty::after,
.mobile-logo:empty::after {
    display: none;
}


/* =========================================================
   35. HEADER MOBILE TOGGLE POSITION
========================================================= */

header .container {
    position: relative;
}

.mobile-menu-toggle {
    flex: 0 0 auto;
    padding: 0;
}

.mobile-menu-toggle:hover {
    background: rgba(245, 196, 0, 0.95);
}

.mobile-menu-toggle:hover span {
    background: var(--green-dark);
}


/* =========================================================
   36. ACTIVE NAVIGATION
========================================================= */

header nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

header nav a[aria-current="page"] {
    font-weight: 700;
}


/* =========================================================
   37. HERO CONTENT ANIMATION
========================================================= */

.hero-content::before,
.hero-content h1,
.hero-content p,
.hero-content .button {
    opacity: 0;
    animation: hero-fade-up 900ms ease forwards;
}

.hero-content::before {
    animation-delay: 250ms;
}

.hero-content h1 {
    animation-delay: 380ms;
}

.hero-content p {
    animation-delay: 520ms;
}

.hero-content .button {
    animation-delay: 660ms;
}

@keyframes hero-fade-up {

    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   38. HERO IMAGE MOTION
========================================================= */

.hero-image {
    animation: hero-image-scale 14s ease-out forwards;
}

@keyframes hero-image-scale {

    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.015);
    }

}


/* =========================================================
   39. CARD HOVER DETAIL
========================================================= */

.feature-card,
.knowledge-card,
.timeline-content,
.faq-item {
    will-change: transform;
}

.feature-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    content: "";
    background:
        linear-gradient(
            90deg,
            var(--green),
            var(--gold)
        );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   40. SECTION DIVIDERS
========================================================= */

.living-space,
.healthcare,
.daily-life,
.knowledge,
.faq-home {
    border-top: 1px solid rgba(27, 110, 36, 0.05);
}

.mid-cta {
    border-top: 1px solid rgba(27, 110, 36, 0.06);
    border-bottom: 1px solid rgba(27, 110, 36, 0.06);
}


/* =========================================================
   41. CONTACT LINKS
========================================================= */

.footer p a {
    color: rgba(255, 255, 255, 0.78);
}

.footer p a:hover {
    color: var(--gold);
}

.contact-banner a[href^="tel:"],
.footer a[href^="tel:"],
.footer a[href^="mailto:"] {
    word-break: break-word;
}


/* =========================================================
   42. SELECTION & FORM ELEMENTS
========================================================= */

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-small);
    color: var(--charcoal);
    background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--green);
    outline: 3px solid rgba(27, 110, 36, 0.12);
}


/* =========================================================
   43. LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {

    :root {
        --container: 1320px;
    }

    .hero-content h1 {
        max-width: 860px;
    }

    .hero-content p {
        max-width: 680px;
    }

}


/* =========================================================
   44. LAPTOP
========================================================= */

@media (max-width: 1280px) {

    :root {
        --container: 1160px;
    }

    .section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .living-space,
    .healthcare,
    .daily-life,
    .knowledge,
    .faq-home {
        padding-top: 104px;
        padding-bottom: 104px;
    }

    .space-grid,
    .healthcare-grid {
        gap: 58px;
    }

}


/* =========================================================
   45. TABLET LANDSCAPE
========================================================= */

@media (max-width: 1050px) {

    header nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 760px;
    }

    .quick-value {
        margin-top: -50px;
    }

    .section-header h2,
    .healthcare-content h2,
    .family-assurance-content h2,
    .mid-cta-box h2,
    .contact-banner-content h2 {
        font-size: clamp(2.1rem, 5.6vw, 3.8rem);
    }

}


/* =========================================================
   46. TABLET PORTRAIT
========================================================= */

@media (max-width: 820px) {

    .section-header {
        margin-bottom: 42px;
    }

    .hero-content h1 {
        max-width: 610px;
    }

    .feature-grid {
        gap: 20px;
    }

    .feature-card {
        min-height: auto;
    }

    .space-grid,
    .healthcare-grid {
        gap: 42px;
    }

    .space-image img,
    .healthcare-image img {
        min-height: 460px;
    }

    .footer-grid {
        gap: 38px;
    }

}


/* =========================================================
   47. MOBILE
========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 15px;
        line-height: 1.7;
    }

    header {
        height: 72px;
    }

    header.scrolled {
        height: 68px;
    }

    .logo {
        width: 160px;
        min-height: 44px;
    }

    .logo img,
    .logo svg {
        height: 44px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .hero {
        min-height: 720px;
        align-items: flex-end;
    }

    .hero-content {
        padding-top: 130px;
        padding-bottom: 92px;
    }

    .hero-content::before {
        width: 52px;
        margin-bottom: 22px;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-content p {
        max-width: 92%;
    }

    .overlay,
    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 30, 12, 0.2) 0%,
                rgba(5, 30, 12, 0.58) 52%,
                rgba(5, 30, 12, 0.94) 100%
            );
    }

    .quick-value + .section {
        padding-top: 102px;
    }

    .section-header h2,
    .healthcare-content h2,
    .family-assurance-content h2,
    .mid-cta-box h2,
    .contact-banner-content h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .section-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .space-image img,
    .healthcare-image img {
        min-height: 320px;
        border-radius: 22px;
    }

    .image-note {
        right: 12px;
        bottom: 12px;
        font-size: 0.66rem;
    }

    .family-point {
        padding: 16px;
    }

    .footer h3 {
        font-size: 1.45rem;
    }

}


/* =========================================================
   48. EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .container,
    .hero-content {
        width: calc(100% - 22px);
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-content p {
        max-width: 100%;
    }

    .value-item {
        padding-right: 8px;
        padding-left: 8px;
    }

    .value-item h3 {
        font-size: 1.8rem;
    }

    .value-item span {
        font-size: 0.7rem;
    }

    .feature-card,
    .faq-item {
        border-radius: 16px;
    }

    .mid-cta-box {
        padding: 32px 22px;
        border-radius: 22px;
    }

}


/* =========================================================
   49. PRINT
========================================================= */

@media print {

    header,
    .mobile-menu,
    .mobile-menu-overlay,
    .back-to-top,
    .page-loader,
    .button,
    .button-outline,
    .mobile-menu-toggle {
        display: none !important;
    }

    body {
        color: #000000;
        background: #ffffff;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding: 80px 0;
    }

    .hero-image,
    .overlay,
    .hero-overlay {
        display: none;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1,
    .hero-content p {
        color: #000000;
    }

    section,
    .section,
    .living-space,
    .healthcare,
    .daily-life,
    .knowledge,
    .faq-home,
    .contact-banner {
        padding: 38px 0;
        break-inside: avoid;
    }

    .footer {
        color: #000000;
        background: #ffffff;
    }

    .footer h3,
    .footer h4,
    .footer p,
    .footer a {
        color: #000000;
    }

}


/* =========================================================
   END OF STYLE.CSS
========================================================= */

/* =========================================================
   GIAO DIỆN NỀN SÁNG – AN NHIÊN
   DÁN Ở CUỐI FILE STYLE.CSS
========================================================= */

/* Nền tổng thể */
body {
    background: #ffffff;
}

/* Header luôn sáng */
header,
header.scrolled {
    height: 96px;
    border-bottom: 1px solid rgba(16, 63, 27, 0.08);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(16, 63, 27, 0.07);
    backdrop-filter: blur(14px);
}

/* Chữ menu trên nền trắng */
header nav a,
header.scrolled nav a {
    color: #262b27;
}

header nav a:hover,
header nav a[aria-current="page"] {
    color: #103f1b;
}

/* Nút liên hệ */
.btn-header {
    color: #103f1b !important;
    background: #f5c400;
}

/* Logo không có khung nền */
.logo {
    width: 220px;
    min-height: 58px;
}

.logo img,
.logo svg {
    width: auto;
    height: 58px;
    max-width: 100%;
    background: transparent;
    object-fit: contain;
}

/* Hero bắt đầu bên dưới Header */
.hero {
    height: calc(100vh - 96px);
    min-height: 720px;
    margin-top: 96px;
}

/* Các vùng nội dung sáng */
.section,
.healthcare,
.knowledge,
.living-space,
.mid-cta {
    background: #ffffff;
}

.section.gray,
.daily-life,
.faq-home {
    background: #fcfaf5;
}

/* Mobile */
@media (max-width: 1050px) {

    header,
    header.scrolled {
        height: 78px;
    }

    .hero {
        height: calc(100svh - 78px);
        min-height: 650px;
        margin-top: 78px;
    }

    .mobile-menu-toggle,
    header.scrolled .mobile-menu-toggle {
        background: #e8f1e8;
    }

    .mobile-menu-toggle span,
    header.scrolled .mobile-menu-toggle span {
        background: #103f1b;
    }
}

@media (max-width: 600px) {

    header,
    header.scrolled {
        height: 72px;
    }

    .logo {
        width: 165px;
        min-height: 46px;
    }

    .logo img,
    .logo svg {
        height: 46px;
    }

    .hero {
        height: auto;
        min-height: calc(100svh - 72px);
        margin-top: 72px;
        align-items: flex-end;
        background: #103f1b;
    }

    .hero-image {
        object-position: 52% center;
    }

    .overlay,
    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(10, 42, 18, 0.1) 0%,
                rgba(16, 63, 27, 0.4) 45%,
                rgba(16, 63, 27, 0.72) 100%
            ),
            linear-gradient(
                90deg,
                rgba(9, 35, 15, 0.5) 0%,
                rgba(9, 35, 15, 0.16) 62%,
                rgba(9, 35, 15, 0.08) 100%
            );
    }

    .hero-content {
        width: min(calc(100% - 32px), 560px);
        padding-top: 96px;
        padding-bottom: 58px;
    }

    .hero-content::before {
        width: 42px;
        margin-bottom: 16px;
        background: #d9ae32;
    }

    .hero-content h1 {
        max-width: 100%;
        margin-bottom: 16px;
        color: #fff9df;
        font-size: clamp(2.15rem, 10.5vw, 3.1rem);
        line-height: 1.08;
    }

    .hero-content p {
        max-width: 100%;
        margin-bottom: 24px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-content .button {
        min-height: 48px;
        padding: 13px 22px;
        color: #103f1b;
        background: #f5c400;
        box-shadow: 0 14px 34px rgba(7, 35, 14, 0.24);
    }
}

@media (max-width: 400px) {

    .container,
    .hero-content {
        width: calc(100% - 28px);
    }

    .hero {
        min-height: calc(100svh - 72px);
    }

    .hero-content {
        padding-top: 84px;
        padding-bottom: 48px;
    }

    .hero-content h1 {
        font-size: clamp(1.95rem, 10vw, 2.55rem);
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 0.94rem;
    }
}

@media (max-height: 700px) and (max-width: 600px) {

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 78px;
        padding-bottom: 42px;
    }
}

/* Mobile readability polish */
@media (max-width: 820px) {

    .section,
    .living-space,
    .healthcare,
    .daily-life,
    .knowledge,
    .faq-home {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .section-header,
    .section-header.centered {
        margin-bottom: 34px;
    }

    .section-header p,
    .section-text,
    .healthcare-content p,
    .family-assurance-content p,
    .contact-banner-content p {
        font-size: 1.04rem;
        line-height: 1.78;
    }

    .feature-card p,
    .knowledge-card p,
    .faq-answer,
    .footer p,
    .footer a,
    .contact-info p {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .feature-card h3,
    .knowledge-card h3,
    .family-point h3 {
        font-size: 1.2rem;
        line-height: 1.32;
    }
}

@media (max-width: 600px) {

    .section,
    .living-space,
    .healthcare,
    .daily-life,
    .knowledge,
    .faq-home {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .quick-value + .section {
        padding-top: 76px;
    }

    .section-header h2,
    .section-title,
    .healthcare-content h2,
    .family-assurance-content h2,
    .mid-cta-box h2,
    .contact-banner-content h2 {
        font-size: clamp(1.9rem, 8.8vw, 2.65rem);
        line-height: 1.14;
    }

    .feature-card,
    .knowledge-card,
    .faq-item,
    .family-point {
        border-radius: 16px;
    }

    .feature-card {
        padding: 26px 22px;
    }

    .knowledge-card-content {
        padding: 22px 20px 24px;
    }

    .value-item span,
    .section-header > span,
    .section-label,
    .knowledge-card span {
        font-size: 0.78rem;
    }
}

/* Brand message hierarchy */
.brand-positioning {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-slogan {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.86);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.12rem, 1.7vw, 1.38rem);
    font-style: italic;
    line-height: 1.55;
}

.brand-slogan::before {
    position: absolute;
    top: 0.78em;
    left: 0;
    width: 12px;
    height: 1px;
    content: "";
    background: var(--gold);
}

.footer-grid > div:first-child .brand-positioning {
    max-width: 520px;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.82rem;
}

.footer-grid > div:first-child .brand-slogan {
    max-width: 520px;
}

.contact-banner-content .brand-positioning {
    margin-bottom: 14px;
}

.contact-banner-content .brand-slogan {
    margin-bottom: 22px;
    font-size: clamp(1.24rem, 2.2vw, 1.75rem);
}

.section-header .brand-positioning {
    margin-bottom: 12px;
    color: var(--green);
}

.section-header .brand-slogan {
    color: var(--green-dark);
}

.section-header .brand-slogan::before {
    background: var(--gold-dark);
}

.hero-content .brand-positioning {
    margin-bottom: 16px;
    color: var(--gold-brand);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.hero-content .brand-slogan {
    max-width: 620px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.brand-positioning-inline {
    color: var(--gold-brand);
    font-weight: 800;
}

.brand-slogan-inline {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.94);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12em;
    font-style: italic;
}

@media (max-width: 600px) {

    .brand-positioning {
        font-size: 0.76rem;
        letter-spacing: 0.06em;
    }

    .brand-slogan {
        padding-left: 18px;
        font-size: 1.08rem;
        line-height: 1.5;
    }

    .brand-slogan::before {
        width: 10px;
    }

    .contact-banner-content .brand-slogan {
        font-size: 1.2rem;
    }
}
