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

/* Shared public navigation. Keep this isolated so all public layouts use one header UI. */
:root {
    --brand-primary: #c3e5c4;
    --brand-primary-soft: #eef8ef;
    --brand-primary-strong: #2f7d3a;
    --brand-primary-dark: #1f5f2e;
    --green-blue-gradient: linear-gradient(135deg, #c3e5c4 0%, #79c98a 48%, #2f7d3a 100%);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 248, 239, 0.88) 72%, rgba(238, 248, 239, 0) 100%);
    backdrop-filter: blur(18px);
}

.main {
    padding-top: 8.5rem;
}

.header-topbar {
    width: min(1760px, calc(100% - 7rem));
    min-height: 2rem;
    margin: 0 auto 0.3rem;
    padding: 0.38rem 1.45rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-inner {
    width: min(1760px, calc(100% - 7rem));
    min-height: 6.25rem;
    margin: 0 auto;
    padding: 1.1rem 1.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.header-logo {
    min-width: 0;
    flex: 0 0 auto;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit;
    text-decoration: none;
}

.header-brand:hover {
    color: inherit;
    text-decoration: none;
}

.header-brand__mark {
    width: 3.8rem;
    height: 3.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--brand-primary-strong);
    overflow: hidden;
    border-radius: 999px;
}

.header-brand__mark img,
.header-brand__mark svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 999px;
}

.header-brand__copy {
    display: inline-flex;
    flex-direction: column;
    gap: 0.08rem;
}

.header-brand__copy strong {
    color: var(--brand-primary-dark);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.header-brand__copy small {
    color: #617198;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-nav {
    min-width: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 0 1 auto;
}

.header-nav > li,
.header-nav > a {
    position: relative;
    list-style: none;
}

.header-nav > a,
.nav-top-link {
    min-height: 2.9rem;
    padding: 0.55rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border-radius: 999px;
    color: #243046;
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease;
}

.header-nav > a:hover,
.header-nav > a.active,
.nav-top-link.active,
.nav-top-link:hover,
.nav-item-dropdown:hover .nav-top-link {
    color: var(--brand-primary-dark);
    background: var(--brand-primary-soft);
    text-decoration: none;
}

.nav-top-link .chevron {
    width: 0.72rem;
    height: 0.72rem;
    flex: 0 0 auto;
    transition: transform 180ms ease;
}

.nav-item-dropdown:hover .nav-top-link .chevron {
    transform: rotate(180deg);
}

.level-one-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 220;
    width: min(260px, calc(100vw - 32px));
    padding: 6px;
    display: none;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-item-dropdown:hover .level-one-menu,
.nav-item-dropdown:focus-within .level-one-menu {
    display: block;
}

.level-one-menu__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #e5e7eb;
}

.level-one-menu__item {
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    background: #fff;
    color: #243046;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    white-space: normal;
    transition: background-color 180ms ease, color 180ms ease;
}

.level-one-menu__item:hover,
.level-one-menu__item:focus-visible {
    background: rgba(47, 125, 58, 0.06);
    color: #2f7d3a;
    text-decoration: none;
}

.level-one-menu__title {
    overflow-wrap: anywhere;
}

.level-one-menu--service {
    left: 50%;
    width: min(360px, calc(100vw - 32px));
    padding: 0.75rem 0;
    border-color: rgba(148, 163, 184, 0.18);
    border-radius: 0;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
    transform: translateX(-50%);
}

.level-one-menu--service .level-one-menu__grid {
    gap: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.level-one-menu__item--service {
    min-height: 3.15rem;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    color: #253042;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.level-one-menu__item--service:hover,
.level-one-menu__item--service:focus-visible {
    background: rgba(47, 125, 58, 0.08);
    color: var(--brand-primary-dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    min-width: 0;
}

.header-contact__item {
    min-height: auto;
    max-width: min(32vw, 25rem);
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1f5f2e;
    line-height: 1.1;
    text-align: left;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-contact__item:hover,
.header-contact__item:focus-visible {
    border-color: transparent;
    background: transparent;
    color: #174b24;
    text-decoration: none;
    transform: none;
}

.header-contact__item span {
    color: #617198;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-contact__item strong {
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 0.84rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-btn {
    width: 3.65rem;
    height: 3.65rem;
    border: 1px solid rgba(37, 48, 70, 0.14);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #243046;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 125, 58, 0.2);
    color: #2f7d3a;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.icon-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.cart-btn {
    position: relative;
}

.cart-btn__badge {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.28rem;
    border: 2px solid #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.cart-btn__badge.is-empty {
    display: none;
}

.icon-btn.hamburger {
    display: none;
    background: linear-gradient(135deg, #1f8f5c 0%, #176f68 42%, #1d3f91 100%);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.icon-btn.hamburger:hover {
    background: linear-gradient(135deg, #27a76e 0%, #1d7f76 42%, #244ca8 100%);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.hamburger-lines span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 1px;
    background: currentColor;
}

.hamburger-lines span:nth-child(2) {
    width: 14px;
}

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 18px;
}

[x-cloak] {
    display: none !important;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -20px;
    z-index: 200;
    width: min(820px, calc(100vw - 4rem));
    display: flex;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
}

.mega-menu--products {
    width: min(820px, calc(100vw - 4rem));
    background: #f5f6fb;
}

.mega-menu--products .mega-sidebar {
    background: #f5f6fb;
}

.mega-menu--products .mega-tab:hover,
.mega-menu--products .mega-tab.active {
    background: transparent;
    box-shadow: none;
}

.mega-menu--products .mega-tab:focus,
.mega-menu--products .mega-tab:focus-visible,
.mega-menu--products .mega-tab:active {
    background: transparent;
    box-shadow: none;
    outline: none;
}

.mega-sidebar {
    width: 230px;
    flex: 0 0 auto;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eaecf0;
    background: linear-gradient(180deg, #f8f9fc 0%, #f2f4f8 100%);
}

.mega-tab {
    width: 100%;
    padding: 13px 20px 13px 22px;
    border: none;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    color: #4a5568;
    cursor: pointer;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
}

.mega-tab::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    flex: 0 0 auto;
    transform: rotate(-45deg);
    transition: all 0.2s ease;
}

.mega-tab:hover,
.mega-tab.active {
    border-left-color: #2f7d3a;
    background: #fff;
    color: #2f7d3a;
    font-weight: 600;
    box-shadow: 2px 0 8px rgba(13, 49, 172, 0.04);
}

.mega-tab:hover::after,
.mega-tab.active::after {
    border-right-color: #2f7d3a;
    border-bottom-color: #2f7d3a;
}

.mega-content {
    min-height: 200px;
    padding: 16px 20px;
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
}

.mega-panel {
    display: none;
    width: 100%;
}

.mega-panel.active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-content: start;
}

.mega-content--products {
    min-height: 0;
    padding: 0;
    background: #f5f6fb;
    box-shadow: none;
}

.mega-panel--products.active {
    display: block;
    background: transparent;
}

.mega-product-list {
    padding: 0;
    background: transparent;
}

.mega-product-list--level-one {
    width: 100%;
    padding: 12px 16px;
}

.mega-product-panel {
    display: none;
}

.mega-product-panel.active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}

.mega-product-panel--names.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.mega-product-name-link {
    width: fit-content;
    min-height: 0;
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    background: transparent;
    box-shadow: none;
    outline: none;
    color: #2f3b52;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    transition: color 180ms ease;
}

.mega-product-name-text {
    display: inline;
    padding: 6px 8px;
    border-radius: 8px;
    background: transparent;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    transition: background-color 180ms ease, color 180ms ease;
}

.mega-product-name-link:focus,
.mega-product-name-link:focus-visible,
.mega-product-name-link:active,
.mega-product-name-link[aria-current],
.mega-product-name-link.is-active {
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
}

.mega-product-name-link:focus-visible {
    /* keep keyboard usable without drawing big white card */
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mega-product-name-link:hover {
    border: 0;
    box-shadow: none;
    background: transparent;
    color: #2f7d3a;
    text-decoration: none;
}

.mega-product-name-link:hover .mega-product-name-text {
    background: #fff;
}

.mega-product-empty {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px dashed #cfd8ea;
    border-radius: 12px;
    background: #fff;
    color: #7b8798;
    font-size: 13px;
}

.mega-item {
    min-height: 68px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-item:hover {
    border-color: #d4ddf0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    box-shadow: 0 2px 12px rgba(13, 49, 172, 0.08);
    text-decoration: none;
    transform: translateY(-1px);
}

.mega-item-icon {
    width: 42px;
    height: 42px;
    border: 1px solid #d0daee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #eef2ff, #dde8ff);
    transition: all 0.25s ease;
}

.mega-item:hover .mega-item-icon {
    border-color: #2f7d3a;
    background: linear-gradient(135deg, #2f7d3a, #79c98a);
    transform: scale(1.05);
}

.mega-item-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.mega-item-icon svg {
    width: 20px;
    height: 20px;
    color: #2f7d3a;
    transition: color 0.2s;
}

.mega-item:hover .mega-item-icon svg {
    color: #fff;
}

.mega-item-title {
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s;
}

.mega-item:hover .mega-item-title {
    color: #2f7d3a;
}

.mega-item-desc {
    margin-top: 3px;
    color: #8b95a5;
    font-size: 12px;
    line-height: 1.4;
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
}

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

.mobile-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 88vw;
    height: 100%;
    padding: 20px 0;
    overflow-y: auto;
    background: linear-gradient(135deg, #1f8f5c 0%, #176f68 42%, #1d3f91 100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-drawer.open .mobile-drawer-panel {
    transform: translateX(0);
}

.mobile-drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.mobile-drawer-logo {
    margin-bottom: 8px;
    padding: 0 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-drawer-logo .header-brand__copy strong,
.mobile-drawer-logo .header-brand__copy small {
    color: #fff;
}

.mobile-drawer-logo .header-brand {
    gap: 0.8rem;
}

.mobile-drawer-logo .header-brand__mark {
    width: 2.4rem;
    height: 2.4rem;
}

.mobile-drawer-logo .header-brand__copy strong {
    font-size: 0.82rem;
}

.mobile-drawer-logo .header-brand__copy small {
    font-size: 0.58rem;
}

.mobile-nav-link {
    padding: 12px 20px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.mobile-nav-link.active {
    border-left: 3px solid #fff;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 700;
}

.mobile-nav-group-title {
    padding: 12px 20px 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mobile-nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-right: 20px;
}

.mobile-nav-group-title--link {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0;
    text-decoration: none;
}

.mobile-nav-group-title--link:hover {
    color: #fff;
    text-decoration: none;
}

.mobile-nav-group-title--link.active {
    border-left: 3px solid #fff;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.mobile-nav-group-toggle {
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.mobile-nav-group-toggle:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mobile-nav-group-toggle svg {
    width: 0.95rem;
    height: 0.95rem;
    transition: transform 180ms ease;
}

.mobile-nav-group-toggle[aria-expanded="false"] svg {
    transform: rotate(-90deg);
}

.mobile-nav-group-children[hidden] {
    display: none !important;
}

.mobile-nav-sub {
    padding: 6px 20px 6px 36px;
    display: block;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s;
}

.mobile-nav-sub-title {
    padding-top: 10px;
    color: #fff;
    font-weight: 600;
}

.mobile-nav-sub:hover {
    color: #fff;
    text-decoration: none;
}

.mobile-nav-divider {
    height: 1px;
    margin: 8px 20px;
    background: rgba(255, 255, 255, 0.16);
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    padding-top: 120px;
    display: none;
    align-items: flex-start;
    justify-content: center;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(10px);
}

.search-overlay.open {
    display: flex;
}

.search-box {
    width: 90%;
    max-width: 560px;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.search-box input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 16px;
}

.search-box input:focus {
    border-color: #2f7d3a;
}

@media (max-width: 1440px) {
    .header-topbar,
    .header-inner {
        width: min(1320px, calc(100% - 2rem));
    }

    .header-nav > a,
    .nav-top-link {
        padding-inline: 0.75rem;
        font-size: 0.9rem;
    }

    .header-contact__item {
        max-width: 24rem;
    }

    .header-contact__item strong {
        font-size: 0.82rem;
    }
}

@media (max-width: 1220px) {
    .header-nav {
        display: none;
    }
}

@media (max-width: 968px) {
    .main {
        padding-top: 7.2rem;
    }

    .header-topbar,
    .header-inner {
        width: min(1240px, calc(100% - 1rem));
    }

    .header-topbar {
        min-height: 1.8rem;
        padding: 0.32rem 1rem 0;
        margin-bottom: 0.2rem;
    }

    .header-inner {
        min-height: 0;
        padding: 0.9rem 1rem;
        border-radius: 1.45rem;
        gap: 1rem;
    }

    .header-brand__mark {
        width: 2.9rem;
        height: 2.9rem;
    }

    .header-brand__copy strong {
        font-size: 0.88rem;
    }

    .header-brand__copy small {
        display: none;
    }

    .header-right {
        margin-left: auto;
        gap: 0.6rem;
    }

    .header-contact__item--email {
        display: none;
    }

    .header-contact__item {
        max-width: none;
    }

    .icon-btn {
        width: 3.25rem;
        height: 3.25rem;
    }

    .icon-btn.hamburger {
        display: inline-flex;
    }

    .icon-btn svg {
        width: 1.35rem;
        height: 1.35rem;
    }
}

@media (max-width: 520px) {
    .main {
        padding-top: 6.7rem;
    }

    .header-topbar,
    .header-inner {
        width: calc(100% - 0.75rem);
    }

    .header-topbar {
        justify-content: center;
        padding: 0.3rem 0.8rem 0;
    }

    .header-inner {
        padding: 0.8rem;
        gap: 0.55rem;
    }

    .header-brand__copy small {
        display: none;
    }

    .header-brand__copy strong {
        font-size: 0.75rem;
    }

    .header-right {
        gap: 0.45rem;
    }

    .header-contact {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .header-contact__item span {
        font-size: 0.62rem;
    }

    .header-contact__item strong {
        font-size: 0.78rem;
    }

    .icon-btn {
        width: 2.9rem;
        height: 2.9rem;
    }
}

.footer {
    --footer-primary: #2f7d3a;
    --footer-primary-dark: #1f5f2e;
    --footer-primary-light: #79c98a;
    --footer-primary-lighter: #c3e5c4;
    --footer-primary-deep: #153f22;
    font-family: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--footer-primary-deep) 0%, var(--footer-primary-dark) 44%, var(--footer-primary) 100%);
    color: #fff;
    margin-top: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(195, 229, 196, 0.22), transparent 26rem),
        radial-gradient(circle at 86% 80%, rgba(121, 201, 138, 0.16), transparent 22rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(21, 63, 34, 0.18));
    pointer-events: none;
}

.footer-inner {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-row-top {
    display: flex;
    gap: 28px;
    padding: 32px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: space-between;
}

.footer-top-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-contact-list {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.footer-top-right {
    flex: 0 1 auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.footer-logo,
.footer-contact-box {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 999px;
}

.footer-logo span {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo strong {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.footer-logo small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-contact-box {
    gap: 14px;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(195, 229, 196, 0.34);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(195, 229, 196, 0.08);
}

.footer-contact-icon svg {
    width: 20px;
    height: 20px;
}

.footer-contact-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-contact-value,
.footer-contact-value a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-cta-text {
    width: 100%;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.footer-form {
    display: flex;
    max-width: 400px;
    width: 100%;
    align-items: stretch;
}

.footer-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 0 0 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.footer-form button {
    flex: 0 0 132px;
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(90deg, var(--footer-primary-lighter), var(--footer-primary-light));
    color: #173b20;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.footer-row-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 18px 0 28px;
}

.footer-col-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-address,
.footer-col a,
.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col a {
    display: block;
    padding: 4px 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    padding: 6px 16px;
}

.footer a {
    text-decoration: none;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    text-align: center;
}

.footer-map {
    width: 100%;
    height: clamp(260px, 32vw, 420px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.18);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

@media (max-width: 768px) {
    .footer-row-top {
        flex-direction: column;
        gap: 18px;
        padding: 26px 0 16px;
    }

    .footer-top-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        min-width: 0;
    }

    .footer-contact-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 16px;
    }

    .footer-logo,
    .footer-contact-box {
        max-width: 100%;
        min-width: 0;
    }

    .footer-contact-box > div:last-child {
        min-width: 0;
    }

    .footer-top-right {
        align-items: stretch;
        max-width: none;
        width: 100%;
    }

    .footer-form {
        max-width: none;
        width: 100%;
    }

    .footer-cta-text {
        margin-bottom: 12px;
        text-align: center;
    }

    .footer-row-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        padding: 18px 0 28px;
    }
}

@media (max-width: 480px) {
    .footer-row-bottom {
        grid-template-columns: 1fr;
    }
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.floating-contact {
    position: fixed;
    right: 1.5rem;
    bottom: 5.15rem;
    z-index: 252;
    display: grid;
    gap: 0.78rem;
}

.floating-contact__button {
    position: relative;
    width: 3.35rem;
    height: 3.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
    isolation: isolate;
    animation: floating-contact-attention 2.8s ease-in-out infinite;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.floating-contact__button::before {
    content: '';
    position: absolute;
    inset: -0.38rem;
    z-index: -1;
    border: 1px solid currentColor;
    border-radius: inherit;
    opacity: 0;
    animation: floating-contact-ring 2.8s ease-out infinite;
}

.floating-contact__button:hover,
.floating-contact__button:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.28);
    filter: saturate(1.08);
}

.floating-contact__button:focus-visible {
    outline: 3px solid rgba(47, 125, 58, 0.28);
    outline-offset: 4px;
}

.floating-contact__button--zalo {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    animation-delay: 0.35s;
}

.floating-contact__button--zalo span {
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0;
}

.floating-contact__button--call {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.floating-contact__button svg {
    width: 1.38rem;
    height: 1.38rem;
}

@keyframes floating-contact-attention {
    0%,
    72%,
    100% {
        transform: translateY(0) scale(1);
    }

    78% {
        transform: translateY(-2px) scale(1.04);
    }

    84% {
        transform: translateY(0) scale(1);
    }

    90% {
        transform: translateY(-1px) scale(1.025);
    }
}

@keyframes floating-contact-ring {
    0%,
    58% {
        opacity: 0;
        transform: scale(0.86);
    }

    72% {
        opacity: 0.24;
    }

    100% {
        opacity: 0;
        transform: scale(1.24);
    }
}

.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 250;
    width: 3.15rem;
    height: 3.15rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--green-blue-gradient);
    box-shadow: 0 18px 40px rgba(13, 49, 172, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.94);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.back-to-top:hover {
    box-shadow: 0 22px 48px rgba(13, 49, 172, 0.38);
    transform: translateY(-2px) scale(1.02);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(107, 140, 255, 0.45);
    outline-offset: 3px;
}

.back-to-top svg {
    width: 1.35rem;
    height: 1.35rem;
}

@media (max-width: 768px) {
    .floating-contact {
        right: 1rem;
        bottom: 4.65rem;
        gap: 0.65rem;
    }

    .floating-contact__button {
        width: 3rem;
        height: 3rem;
    }

    .floating-contact__button--zalo span {
        font-size: 0.78rem;
    }

    .floating-contact__button svg {
        width: 1.22rem;
        height: 1.22rem;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 2.9rem;
        height: 2.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-contact__button,
    .floating-contact__button::before {
        animation: none;
    }
}
