/* =========================================================
   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);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.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-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button,
    .hero-actions .button-outline {
        width: 100%;
        justify-content: center;
    }

    .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);
}

.home-daily-highlights {
    display: grid;
    max-width: 1080px;
    margin: 42px auto 0;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-daily-highlights article {
    min-height: 190px;
    padding: 26px 22px;
    border: 1px solid rgba(27, 110, 36, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-small);
}

.home-daily-highlights span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    font-weight: 700;
}

.home-daily-highlights h3 {
    margin-bottom: 10px;
    color: var(--green-dark);
    font-size: 1.12rem;
    line-height: 1.35;
}

.home-daily-highlights p {
    margin-bottom: 0;
    color: var(--gray);
    font-size: 0.94rem;
    line-height: 1.68;
}

.home-daily-action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.daily-life .section-header,
.daily-life .section-header > span,
.daily-life .section-header h2,
.daily-life .section-header p,
.daily-life .daily-life-image,
.home-daily-highlights,
.home-daily-action {
    opacity: 1;
    transform: none;
    animation: none;
}


/* =========================================================
   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;
    }
}

/* =========================================================
   FINAL MOBILE/HERO/FOOTER CONSISTENCY OVERRIDE
   2026-08-07
========================================================= */

.hero > img,
.hero-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero .overlay,
.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(8, 40, 17, 0.68) 0%,
            rgba(8, 40, 17, 0.46) 34%,
            rgba(8, 40, 17, 0.14) 68%,
            rgba(8, 40, 17, 0.02) 100%
        );
}

.footer-grid ul {
    display: grid;
    gap: 12px;
}

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

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

.mobile-navigation a[aria-current="page"] {
    color: var(--green);
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--gold-brand);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.hero-content p strong {
    display: block;
    margin-bottom: 8px;
    color: #fff4c4;
    font-weight: 800;
    line-height: 1.45;
}

.video-showcase {
    overflow: hidden;
}

.video-showcase .section-header {
    margin-bottom: 38px;
    opacity: 1;
    transform: none;
    animation: none;
}

.video-frame {
    position: relative;
    max-width: 980px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(27, 110, 36, 0.1);
    border-radius: 18px;
    background: #071f0d;
    box-shadow: var(--shadow-medium);
    aspect-ratio: 16 / 9;
    opacity: 1;
    transform: none;
    animation: none;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.investor-video {
    background: #ffffff;
}

.video-showcase .section-header > span,
.video-showcase .section-header h2,
.video-showcase .section-header p {
    opacity: 1;
    transform: none;
    animation: none;
}

@media (max-width: 700px) {

    .hero {
        display: block;
        height: auto;
        min-height: 520px;
        margin-top: 72px;
        overflow: hidden;
    }

    .hero > img,
    .hero-image {
        object-position: 63% center;
        transform: none;
    }

    .hero .overlay,
    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 31, 14, 0.08) 0%,
                rgba(7, 31, 14, 0.22) 38%,
                rgba(7, 31, 14, 0.78) 100%
            ),
            linear-gradient(
                90deg,
                rgba(7, 31, 14, 0.72) 0%,
                rgba(7, 31, 14, 0.34) 58%,
                rgba(7, 31, 14, 0.08) 100%
            );
    }

    .hero-content {
        position: absolute;
        right: 16px;
        left: 16px;
        top: 30%;
        bottom: auto;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        transform: translateY(-12%);
    }

    .hero-content::before {
        width: 42px;
        height: 3px;
        margin-bottom: 14px;
        opacity: 1;
        animation: none;
    }

    .hero-content h1 {
        max-width: 100%;
        margin-bottom: 12px;
        color: #fff9e7;
        font-family: "Be Vietnam Pro", Arial, sans-serif;
        font-size: clamp(1.58rem, 6.7vw, 1.92rem);
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: 0;
        overflow-wrap: normal;
        text-wrap: auto;
        word-break: keep-all;
        opacity: 1;
        animation: none;
        text-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    }

    .hero-content h1 br {
        display: initial;
    }

    .hero-content p {
        max-width: 100%;
        margin-bottom: 18px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.88rem;
        line-height: 1.58;
        opacity: 1;
        animation: none;
    }

    .hero-content .button {
        width: min(100%, 270px);
        min-height: 46px;
        justify-content: center;
        border-radius: var(--radius-pill);
        opacity: 1;
        animation: none;
    }

    .hero-eyebrow {
        margin-bottom: 10px;
        font-size: 0.66rem;
        letter-spacing: 0.12em;
        opacity: 1;
        animation: none;
    }

    .hero-content p strong {
        margin-bottom: 4px;
    }

    .video-showcase {
        padding-top: 66px;
        padding-bottom: 70px;
    }

    .video-showcase .section-header {
        margin-bottom: 28px;
    }

    .video-frame {
        border-radius: 14px;
    }

    .home-daily-highlights {
        margin-top: 30px;
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .home-daily-highlights article {
        min-height: auto;
        padding: 22px 20px;
        border-radius: 16px;
    }

    .home-daily-highlights span {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .home-daily-highlights h3 {
        margin-bottom: 8px;
        font-size: 1.08rem;
    }

    .home-daily-highlights p {
        font-size: 0.94rem;
    }

    .home-daily-action {
        margin-top: 24px;
    }

    .home-daily-action .button {
        width: 100%;
        justify-content: center;
    }

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

    .contact-banner {
        min-height: auto;
        padding: 34px 0 36px;
    }

    .contact-banner::before,
    .contact-banner::after {
        opacity: 0.38;
    }

    .contact-banner-image,
    .contact-banner-overlay {
        display: none;
    }

    .contact-banner-content {
        padding: 0;
        opacity: 1;
        transform: none;
        animation: none;
    }

    .contact-banner-content h2 {
        font-family: "Be Vietnam Pro", Arial, sans-serif;
        font-size: clamp(1.72rem, 7vw, 2.12rem);
        font-weight: 800;
        line-height: 1.18;
        letter-spacing: 0;
        text-wrap: auto;
        word-break: keep-all;
    }

    .contact-banner-content p {
        margin-bottom: 20px;
        font-size: 0.96rem;
        line-height: 1.58;
    }

    .contact-banner-content > span,
    .contact-banner-content h2,
    .contact-banner-content p,
    .contact-banner-content .contact-buttons {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .footer {
        padding: 58px 0 24px;
    }

    /* Android Vietnamese font rendering safeguard */
    .hero-content h1,
    .section-header h2,
    .section-title,
    .space-content h2,
    .healthcare-content h2,
    .family-assurance-content h2,
    .mid-cta-box h2,
    .contact-banner-content h2,
    .living-space h2,
    .bungalow-section .section-header h2,
    .daily-life .section-header h2,
    .video-showcase .section-header h2,
    .about-vision-section .section-header h2,
    .about-mission-section .healthcare-content h2,
    .core-values-heading h2 {
        font-family: "Be Vietnam Pro", Arial, sans-serif !important;
        font-weight: 800 !important;
        letter-spacing: 0 !important;
        text-wrap: auto !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        font-kerning: normal;
        -webkit-font-smoothing: antialiased;
    }

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

    .footer h3 {
        margin-bottom: 14px;
        font-size: 1.56rem;
        line-height: 1.18;
    }

    .footer h4 {
        margin-bottom: 14px;
    }

    .footer-grid > div:first-child .brand-positioning {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .footer-grid > div:first-child .brand-slogan {
        font-size: 1.08rem;
    }

    .footer a,
    .footer p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .copyright {
        padding-right: 52px;
        text-align: left;
    }

    .mobile-menu {
        width: min(430px, 100vw);
        padding: 28px 26px 34px;
        background: #fffdf7;
    }

    .mobile-menu-header {
        min-height: 70px;
        margin-bottom: 30px;
    }

    .mobile-logo {
        width: 190px;
    }

    .mobile-logo img,
    .mobile-logo svg {
        height: 54px;
    }

    .mobile-navigation {
        gap: 0;
    }

    .mobile-navigation a {
        min-height: 58px;
        padding: 12px 6px;
        border-bottom-color: rgba(16, 63, 27, 0.1);
        font-size: 1.08rem;
        font-weight: 700;
    }

    .mobile-navigation .mobile-contact-button {
        min-height: 58px;
        margin-top: 24px;
        font-size: 1.08rem;
    }
}

@media (max-width: 400px) {

    .hero {
        min-height: 510px;
    }

    .hero-content {
        right: 14px;
        left: 14px;
        top: 30%;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 6.4vw, 1.78rem);
    }

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


/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding: 4px;
    border: 1px solid rgba(23, 60, 34, 0.1);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 28px rgba(16, 63, 27, 0.08);
    backdrop-filter: blur(12px);
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: 1px solid transparent !important;
    border-radius: 50%;
    color: var(--green-dark) !important;
    background: transparent !important;
    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: 0 !important;
    text-decoration: none;
    box-shadow: none !important;
    opacity: 0.74;
    transform: none;
    transition: background var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.language-switcher a::after {
    display: none !important;
    content: none !important;
    transform: none !important;
}

.language-switcher a:not(.active) {
    color: var(--green-dark) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.language-switcher a.active {
    color: #ffffff !important;
    background: var(--green) !important;
    border-color: var(--green) !important;
    box-shadow: 0 8px 18px rgba(16, 63, 27, 0.18) !important;
    opacity: 1;
}

.language-switcher .flag-icon,
.mobile-language-switcher .flag-icon {
    display: inline-flex;
    transform: translateY(-0.5px);
}

.mobile-language-switcher {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(16, 63, 27, 0.1);
}

.mobile-language-switcher a {
    flex: 1;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(16, 63, 27, 0.1);
    border-radius: var(--radius-pill);
    color: var(--green-dark) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 20px rgba(16, 63, 27, 0.06);
}

.mobile-language-switcher a.active {
    color: #ffffff !important;
    background: var(--green) !important;
    border-color: var(--green);
}

@media (max-width: 980px) {
    .desktop-navigation .language-switcher {
        display: none;
    }
}

/* =========================================================
   ENGLISH PAGES
========================================================= */

.en-page-hero {
    min-height: 620px;
}

.en-page-hero .hero-content {
    max-width: 720px;
}

.en-intro-grid,
.en-card-grid,
.en-two-col,
.en-timeline-grid {
    display: grid;
    gap: 24px;
}

.en-intro-grid {
    grid-template-columns: repeat(4, 1fr);
}

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

.en-two-col {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
}

.en-panel,
.en-card,
.en-stat {
    border: 1px solid rgba(16, 63, 27, 0.11);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-small);
}

.en-panel {
    padding: 34px;
}

.en-card {
    padding: 28px;
}

.en-card-media {
    width: calc(100% + 56px);
    margin: -28px -28px 22px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 22px 22px 0 0;
    background: #f6f1e7;
}

.en-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%;
    transition: transform var(--transition);
}

.en-card:hover .en-card-media img {
    transform: scale(1.03);
}

.en-card span,
.en-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.en-card h3,
.en-panel h3 {
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 1.25rem;
}

.en-card p,
.en-panel p {
    color: var(--gray);
}

.en-image {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow-medium);
}

.en-image img {
    width: 100%;
    min-height: 420px;
}

.en-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(16, 63, 27, 0.12);
    box-shadow: var(--shadow-small);
}

.en-stat {
    border: 0;
    border-radius: 0;
    padding: 30px 22px;
    text-align: center;
}

.en-stat strong {
    display: block;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.en-stat span {
    color: var(--gray);
    font-weight: 700;
}

.en-timeline-grid {
    grid-template-columns: repeat(4, 1fr);
}

.en-time {
    padding: 24px;
    border-top: 3px solid var(--gold);
    background: #fffdf7;
}

.en-video {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-medium);
}

.en-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

@media (max-width: 900px) {
    .en-page-hero {
        min-height: 560px;
    }

    .en-intro-grid,
    .en-card-grid,
    .en-two-col,
    .en-timeline-grid,
    .en-stat-grid {
        grid-template-columns: 1fr;
    }

    .en-panel,
    .en-card {
        padding: 24px;
        border-radius: 18px;
    }

    .en-image img {
        min-height: 300px;
    }
}

/* =========================================================
   LANGUAGE SWITCHER FINAL FIX - 20260808-language-switcher-fix
========================================================= */

header nav .language-switcher {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: 16px !important;
    padding: 4px !important;
    border: 1px solid rgba(23, 60, 34, 0.10) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 10px 26px rgba(16, 63, 27, 0.08) !important;
    backdrop-filter: blur(12px) !important;
}

header nav .language-switcher a,
header.scrolled nav .language-switcher a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    color: var(--green-dark) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    opacity: 0.76 !important;
    transform: none !important;
}

header nav .language-switcher a::after,
header nav .language-switcher a[aria-current="page"]::after,
header nav .language-switcher a[aria-current="true"]::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    content: none !important;
    background: transparent !important;
    transform: none !important;
}

header nav .language-switcher a:not(.active),
header nav .language-switcher a:not([aria-current="true"]) {
    color: var(--green-dark) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    opacity: 0.76 !important;
}

header nav .language-switcher a.active,
header nav .language-switcher a[aria-current="true"] {
    color: #ffffff !important;
    background: var(--green) !important;
    border-color: var(--green) !important;
    box-shadow: 0 8px 18px rgba(16, 63, 27, 0.18) !important;
    opacity: 1 !important;
}

.language-switcher .flag-icon,
.mobile-language-switcher .flag-icon {
    display: inline-flex !important;
    line-height: 1 !important;
    transform: translateY(-0.5px) !important;
}

.mobile-language-switcher {
    display: flex !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(16, 63, 27, 0.10) !important;
}

.mobile-language-switcher a {
    flex: 1 !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: 1px solid rgba(16, 63, 27, 0.10) !important;
    border-radius: 999px !important;
    color: var(--green-dark) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 8px 20px rgba(16, 63, 27, 0.06) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
}

.mobile-language-switcher a.active,
.mobile-language-switcher a[aria-current="true"] {
    color: #ffffff !important;
    background: var(--green) !important;
    border-color: var(--green) !important;
}

@media (max-width: 980px) {
    .desktop-navigation .language-switcher {
        display: none !important;
    }
}

/* =========================================================
   SVG LANGUAGE FLAGS - 20260808-svg-flags
========================================================= */

.language-switcher .flag-icon,
.mobile-language-switcher .flag-icon {
    width: 22px !important;
    height: 16px !important;
    display: inline-block !important;
    overflow: hidden !important;
    border-radius: 3px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: none !important;
}

.flag-vn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23da251d'/%3E%3Cpath fill='%23ff0' d='M15 4l1.76 4.96L22 9.06l-4.18 3.17L19.35 17 15 14.04 10.65 17l1.53-4.77L8 9.06l5.24-.1z'/%3E%3C/svg%3E") !important;
}

.flag-gb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v40H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='%23C8102E' stroke-width='4.8' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='%23fff' stroke-width='13' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='8' d='M30 0v40M0 20h60'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* =========================================================
   ENGLISH LOCALIZED IMAGE SET - 20260808-english-images
========================================================= */

.en-feature-image,
.en-detail-image {
    overflow: hidden;
    border-radius: 8px;
    background: #f6f1e7;
    box-shadow: 0 18px 48px rgba(16, 63, 27, 0.10);
}

.en-feature-image {
    margin: 28px 0 34px;
}

.en-detail-image {
    margin-top: 28px;
}

.en-feature-image img,
.en-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.en-bungalow-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 34px;
}

@media (min-width: 920px) {
    .en-bungalow-gallery {
        gap: 34px;
    }
}


/* =========================================================
   20260813 Vietnamese text + mobile rhythm polish
========================================================= */

html[lang="vi"] body,
html[lang="vi"] h1,
html[lang="vi"] h2,
html[lang="vi"] h3,
html[lang="vi"] h4,
html[lang="vi"] h5,
html[lang="vi"] h6,
html[lang="vi"] p,
html[lang="vi"] a,
html[lang="vi"] span,
html[lang="vi"] button {
    font-family: "Be Vietnam Pro", Arial, sans-serif;
}

html[lang="vi"] .hero-content h1,
html[lang="vi"] .section-header h2,
html[lang="vi"] .section-title,
html[lang="vi"] .space-content h2,
html[lang="vi"] .healthcare-content h2,
html[lang="vi"] .family-assurance-content h2,
html[lang="vi"] .mid-cta-box h2,
html[lang="vi"] .contact-banner-content h2,
html[lang="vi"] .living-space h2,
html[lang="vi"] .bungalow-section .section-header h2,
html[lang="vi"] .daily-life .section-header h2,
html[lang="vi"] .video-showcase .section-header h2,
html[lang="vi"] .about-vision-section .section-header h2,
html[lang="vi"] .about-mission-section .healthcare-content h2,
html[lang="vi"] .core-values-heading h2 {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    letter-spacing: 0 !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

@media (max-width: 600px) {
    body { font-size: 16px; line-height: 1.72; }
    .section { padding-top: 72px; padding-bottom: 72px; }
    .section-header { margin-bottom: 34px; }
    .section-header > span, .section-label, .hero-eyebrow, .en-section-label {
        font-size: 0.76rem; letter-spacing: 0.22em; line-height: 1.45;
    }
    .hero-content h1 { font-size: clamp(2.38rem, 10.6vw, 3.22rem); line-height: 1.1; }
    .section-header h2, .section-title, .space-content h2, .healthcare-content h2,
    .family-assurance-content h2, .mid-cta-box h2, .contact-banner-content h2,
    .living-space h2, .bungalow-section .section-header h2, .daily-life .section-header h2,
    .video-showcase .section-header h2, .about-vision-section .section-header h2,
    .about-mission-section .healthcare-content h2, .core-values-heading h2 {
        font-size: clamp(2rem, 8.6vw, 2.7rem) !important; line-height: 1.14 !important;
    }
    .section-header p, .section-text, .hero-content p, .feature-card p, .space-card p,
    .healthcare-item p, .timeline-card p, .en-card p, .en-day-card p {
        font-size: 1.02rem; line-height: 1.78;
    }
    .en-card h3, .en-day-card h3, .feature-card h3, .space-card h3, .timeline-card h3 {
        font-size: clamp(1.26rem, 5.4vw, 1.7rem); line-height: 1.22;
    }
    .en-card, .en-day-card, .feature-card, .space-card, .timeline-card { padding: 30px 26px; }
    html[lang="vi"] .section-header h2, html[lang="vi"] .hero-content h1 {
        font-size: clamp(2.02rem, 9vw, 2.78rem) !important; line-height: 1.18 !important;
    }
    html[lang="vi"] .section-header p, html[lang="vi"] .section-text, html[lang="vi"] .hero-content p,
    html[lang="vi"] .feature-card p, html[lang="vi"] .space-card p, html[lang="vi"] .timeline-card p {
        font-size: 1.03rem; line-height: 1.82;
    }
}


/* =========================================================
   20260813 Typography balance for VN + EN
========================================================= */

.hero-content h1 {
    max-width: 820px;
    font-size: clamp(3rem, 5.25vw, 5.65rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
}

.hero-content p {
    max-width: 700px;
    font-size: clamp(1.04rem, 1.15vw, 1.18rem) !important;
    line-height: 1.68 !important;
}

.section-header h2,
.healthcare-content h2,
.family-assurance-content h2,
.mid-cta-box h2,
.contact-banner-content h2,
.section-title,
.living-space h2,
.bungalow-section .section-header h2,
.daily-life .section-header h2,
.video-showcase .section-header h2,
.about-vision-section .section-header h2,
.about-mission-section .healthcare-content h2,
.core-values-heading h2 {
    font-size: clamp(2.15rem, 3.35vw, 3.55rem) !important;
    line-height: 1.13 !important;
    letter-spacing: -0.012em !important;
}

.section-header.centered {
    max-width: 880px;
}

.section-header p,
.section-text,
.space-content p,
.healthcare-content p,
.family-assurance-content p,
.en-card p,
.en-panel p {
    font-size: clamp(1rem, 0.95vw, 1.08rem);
    line-height: 1.78;
}

.en-page-hero .hero-content h1 {
    font-size: clamp(3rem, 4.75vw, 5rem) !important;
    line-height: 1.08 !important;
}

.en-page-hero .hero-content {
    max-width: 780px;
}

.en-card h3,
.en-panel h3,
.feature-card h3,
.space-card h3,
.timeline-card h3,
.bungalow-card h3 {
    font-size: clamp(1.24rem, 1.35vw, 1.48rem);
    line-height: 1.25;
}

@media (max-width: 900px) {
    .hero-content h1,
    .en-page-hero .hero-content h1 {
        font-size: clamp(2.42rem, 9vw, 3.35rem) !important;
        line-height: 1.1 !important;
    }

    .section-header h2,
    .section-title,
    .space-content h2,
    .healthcare-content h2,
    .family-assurance-content h2,
    .mid-cta-box h2,
    .contact-banner-content h2,
    .living-space h2,
    .bungalow-section .section-header h2,
    .daily-life .section-header h2,
    .video-showcase .section-header h2,
    .about-vision-section .section-header h2,
    .about-mission-section .healthcare-content h2,
    .core-values-heading h2 {
        font-size: clamp(2rem, 7.2vw, 2.8rem) !important;
        line-height: 1.16 !important;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
        line-height: 1.74;
    }

    .hero-content h1,
    .en-page-hero .hero-content h1,
    html[lang="vi"] .hero-content h1 {
        font-size: clamp(2.18rem, 8.8vw, 2.72rem) !important;
        line-height: 1.17 !important;
        letter-spacing: 0 !important;
    }

    .section-header h2,
    .section-title,
    .space-content h2,
    .healthcare-content h2,
    .family-assurance-content h2,
    .mid-cta-box h2,
    .contact-banner-content h2,
    .living-space h2,
    .bungalow-section .section-header h2,
    .daily-life .section-header h2,
    .video-showcase .section-header h2,
    .about-vision-section .section-header h2,
    .about-mission-section .healthcare-content h2,
    .core-values-heading h2,
    html[lang="vi"] .section-header h2 {
        font-size: clamp(1.78rem, 7.15vw, 2.25rem) !important;
        line-height: 1.22 !important;
        letter-spacing: 0 !important;
    }

    .hero-content p,
    .section-header p,
    .section-text,
    .space-content p,
    .healthcare-content p,
    .family-assurance-content p,
    .feature-card p,
    .space-card p,
    .timeline-card p,
    .en-card p,
    .en-panel p,
    .en-day-card p {
        font-size: 1.04rem !important;
        line-height: 1.82 !important;
    }

    .section-header > span,
    .section-label,
    .hero-eyebrow,
    .en-section-label {
        font-size: 0.74rem !important;
        letter-spacing: 0.2em !important;
    }
}


/* =========================================================
   ĐĂNG KÝ THAM QUAN – AN NHIÊN
========================================================= */
.visit-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:24px}
.visit-modal.is-open{display:flex}
.visit-modal-backdrop{position:absolute;inset:0;background:rgba(22,35,27,.62);backdrop-filter:blur(5px)}
.visit-dialog{position:relative;width:min(720px,100%);max-height:min(90vh,860px);overflow:auto;background:#fffdf8;border-radius:22px;padding:34px 38px 30px;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.visit-close{position:absolute;right:17px;top:13px;width:38px;height:38px;border:0;border-radius:50%;background:#f1eee5;color:#334b3c;font-size:28px;line-height:1;cursor:pointer}
.visit-intro{text-align:center;margin:0 28px 26px}
.visit-intro span{font-size:12px;letter-spacing:.18em;font-weight:700;color:#9b7b38}
.visit-intro h2{font-size:30px;line-height:1.2;color:#294b39;margin:8px 0 7px}
.visit-intro p{margin:0;color:#6f756f;font-style:italic}
.visit-form{display:grid;gap:17px}
.visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.visit-field{display:grid;gap:7px;color:#34463b;font-size:14px;font-weight:600}
.visit-field b{color:#a65b46}
.visit-field input,.visit-field select,.visit-field textarea{width:100%;box-sizing:border-box;border:1px solid #d9ddd7;border-radius:10px;background:#fff;padding:12px 13px;color:#263a30;font:inherit;font-weight:400;outline:none;transition:.2s}
.visit-field input:focus,.visit-field select:focus,.visit-field textarea:focus{border-color:#557a63;box-shadow:0 0 0 3px rgba(85,122,99,.11)}
.visit-field textarea{resize:vertical}
.visit-checks{border:0;padding:0;margin:0}
.visit-checks legend{margin-bottom:8px;color:#34463b;font-size:14px;font-weight:600}
.visit-checks{grid-template-columns:1fr 1fr;gap:8px 16px}
.visit-checks legend{grid-column:1/-1}
.visit-checks label{display:flex;gap:8px;align-items:flex-start;font-size:13px;font-weight:400;color:#56635b}
.visit-checks input{width:auto;margin-top:2px;accent-color:#41634f}
.visit-submit{border:0;border-radius:10px;background:#345a43;color:white;padding:14px 22px;font:inherit;font-weight:700;letter-spacing:.03em;cursor:pointer;transition:.2s}
.visit-submit:hover{transform:translateY(-1px);filter:brightness(.94)}
.visit-note{text-align:center;margin:0;color:#788078;font-size:12px;line-height:1.55}
.visit-success{text-align:center;padding:54px 18px 36px}
.visit-success-mark{width:62px;height:62px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#e8f0e9;color:#345a43;font-size:32px;font-weight:700}
.visit-success h3{color:#294b39;font-size:27px;margin:0 0 10px}
.visit-success p{max-width:500px;margin:0 auto 24px;color:#667069;line-height:1.7}
body.visit-modal-open{overflow:hidden}
@media(max-width:640px){
  .visit-modal{padding:10px;align-items:flex-end}
  .visit-dialog{max-height:94vh;border-radius:20px 20px 10px 10px;padding:28px 18px 22px}
  .visit-intro{margin:0 24px 22px}
  .visit-intro h2{font-size:24px}
  .visit-grid,.visit-checks{grid-template-columns:1fr}
  .visit-checks legend{grid-column:auto}
}


/* =========================================================
   UI FIX 2026-08-19
   - Thu khoảng trắng CTA giữa trang
   - Ổn định ảnh CTA cuối trang / footer
========================================================= */

/* CTA giữa trang: gọn hơn, bớt khoảng trắng trên và dưới */
.mid-cta {
    padding-top: 42px;
    padding-bottom: 42px;
}

.mid-cta-box {
    padding-top: 46px;
    padding-bottom: 46px;
}

/* CTA cuối trang: ảnh là lớp nền, không còn tham gia flex-flow
   nên không đẩy/lệch phần nội dung và footer */
.contact-banner {
    position: relative;
    overflow: hidden;
}

.contact-banner-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.contact-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(8, 40, 17, 0.06) 0%,
            rgba(8, 40, 17, 0.16) 34%,
            rgba(18, 92, 32, 0.80) 57%,
            rgba(18, 92, 32, 0.98) 72%,
            rgba(18, 92, 32, 1) 100%
        );
}

.contact-banner > .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.contact-banner-content {
    width: min(48%, 820px);
}

/* Giữ footer luôn nằm thành một khối riêng, không bị ảnh CTA tác động */
.footer {
    position: relative;
    z-index: 3;
    clear: both;
}

/* Tablet */
@media (max-width: 1000px) {
    .mid-cta {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .contact-banner-content {
        width: min(58%, 720px);
    }
}

/* Mobile: giữ thiết kế xanh sạch, không dùng ảnh nền */
@media (max-width: 640px) {
    .mid-cta {
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .mid-cta-box {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .contact-banner-image,
    .contact-banner-overlay {
        display: none;
    }

    .contact-banner > .container {
        display: block;
    }

    .contact-banner-content {
        width: 100%;
    }
}


/* =========================================================
   CONTACT FORM STATUS 2026-08-19
========================================================= */
.contact-submit:disabled {
    opacity: .72;
    cursor: wait;
    transform: none !important;
}

.contact-form-status {
    min-height: 0;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-status:empty {
    display: none;
}

.contact-form-status.is-success {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    background: #eef5ef;
    color: #294b39;
    border: 1px solid #d6e4d8;
}

.contact-form-status.is-success strong {
    color: #1d6b35;
}


/* =========================================================
   CONTACT PAGE POLISH 2026-08-19
========================================================= */

/* Thu gọn khu vực form và tạo cảm giác như một card cao cấp */
.contact-lead-section {
    padding-top: 58px !important;
    padding-bottom: 64px !important;
}

.contact-lead-section .container {
    max-width: 980px;
}

.contact-lead-section .section-kicker {
    font-size: 16px;
    letter-spacing: .22em;
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-lead-section .section-title,
.contact-lead-section h1,
.contact-lead-section h2 {
    margin-bottom: 34px;
}

.contact-lead-section .contact-form {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 32px 28px;
    background: #fffdf8;
    border: 1px solid #e4e1d8;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(34, 70, 47, .08);
    display: grid;
    gap: 14px;
}

.contact-lead-section .contact-form input,
.contact-lead-section .contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #d7ddd7;
    border-radius: 10px;
    background: #ffffff;
    padding: 13px 15px;
    color: #294238;
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-lead-section .contact-form input {
    min-height: 48px;
}

.contact-lead-section .contact-form textarea {
    min-height: 150px;
    resize: vertical;
    overflow-y: auto;
}

.contact-lead-section .contact-form input::placeholder,
.contact-lead-section .contact-form textarea::placeholder {
    color: #8b948e;
    opacity: 1;
}

.contact-lead-section .contact-form input:focus,
.contact-lead-section .contact-form textarea:focus {
    border-color: #4f765e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 118, 94, .10);
}

.contact-lead-section .contact-submit {
    justify-self: start;
    min-width: 170px;
    min-height: 50px;
    border-radius: 999px;
    margin-top: 3px;
}

@media (max-width: 640px) {
    .contact-lead-section {
        padding-top: 38px !important;
        padding-bottom: 44px !important;
    }

    .contact-lead-section .section-kicker {
        font-size: 14px;
        letter-spacing: .16em;
    }

    .contact-lead-section .contact-form {
        padding: 22px 18px 20px;
        border-radius: 15px;
    }

    .contact-lead-section .contact-form textarea {
        min-height: 140px;
    }

    .contact-lead-section .contact-submit {
        width: 100%;
    }
}


/* =========================================================
   CONTACT BANNER IMAGE CONSISTENCY 2026-08-19
   Đồng bộ CTA cuối các trang với Trang chủ
========================================================= */
.contact-banner {
    min-height: 500px;
}

.contact-banner-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.contact-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 38, 17, .08) 0%,
            rgba(7, 38, 17, .18) 36%,
            rgba(17, 92, 32, .78) 58%,
            rgba(17, 92, 32, .96) 74%,
            rgba(17, 92, 32, 1) 100%
        );
}

.contact-banner > .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.contact-banner-content {
    width: min(48%, 780px);
    max-width: 780px;
    padding: 72px 0;
}

/* Các chi tiết trang trí cũ vẫn nằm dưới nội dung */
.contact-banner::before,
.contact-banner::after {
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1000px) {
    .contact-banner {
        min-height: 450px;
    }

    .contact-banner-content {
        width: min(58%, 720px);
        padding: 58px 0;
    }
}

@media (max-width: 720px) {
    .contact-banner {
        min-height: auto;
        background: linear-gradient(135deg, var(--green-deep), var(--green));
    }

    .contact-banner-image {
        display: block;
        opacity: .26;
    }

    .contact-banner-overlay {
        display: block;
        background: rgba(12, 67, 28, .82);
    }

    .contact-banner > .container {
        display: block;
    }

    .contact-banner-content {
        width: 100%;
        max-width: none;
        padding: 54px 0;
    }
}


/* =========================================================
   VISUAL STORY — BỘ ẢNH AN NHIÊN 2026-08-19
   Chỉ bổ sung hình ảnh; không thay đổi nội dung cũ.
========================================================= */
.visual-story{padding:82px 0;background:#f8f7f2}
.visual-story:nth-of-type(even){background:#fff}
.visual-story-heading{max-width:760px;margin:0 auto 34px;text-align:center}
.visual-story-heading .eyebrow{display:block;margin-bottom:10px;color:#977637;font-size:12px;font-weight:800;letter-spacing:.18em}
.visual-story-heading h2{margin:0;color:#274a37;font-size:clamp(28px,3.2vw,44px);line-height:1.18;font-weight:700}
.visual-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.visual-story-grid-home,.visual-story-grid-life{grid-template-columns:repeat(2,minmax(0,1fr))}
.visual-card{margin:0;position:relative;overflow:hidden;border-radius:18px;background:#e8ece7;box-shadow:0 18px 46px rgba(28,57,39,.10);aspect-ratio:16/10}
.visual-card-wide{grid-column:1/-1;aspect-ratio:21/9}
.visual-card-panorama{aspect-ratio:21/9}
.visual-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .7s ease}
@media (hover:hover){.visual-card:hover img{transform:scale(1.025)}}
.visual-story-evening{background:#eef2ec}
@media(max-width:760px){
  .visual-story{padding:54px 0}
  .visual-story-heading{margin-bottom:24px;text-align:left}
  .visual-story-grid,.visual-story-grid-home,.visual-story-grid-life{grid-template-columns:1fr;gap:14px}
  .visual-card,.visual-card-wide,.visual-card-panorama{grid-column:auto;aspect-ratio:4/3;border-radius:14px}
}

/* ENGLISH PARITY 2026-08-19 */
.en-parity-block{max-width:1180px;margin:38px auto;padding:0 24px}
.en-parity-block>h2{margin-top:42px}
.en-feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:28px 0 42px}
.en-feature-strip>div{padding:20px 14px;border:1px solid #e1e5df;border-radius:14px;background:#fffdf8;text-align:center}
.en-feature-strip strong{display:block;font-size:24px;color:#315a42}
.en-feature-strip span{display:block;margin-top:5px;color:#68736c;font-size:13px}
@media(max-width:760px){.en-feature-strip{grid-template-columns:repeat(2,1fr)}}
