:root {
    --brown-sesame: #8b5a2b;
    --caramel: #d9a441;
    --rice-cream: #fbf5ea;
    --dark-brown: #3e2a1a;
    --brick-red: #b8442c;
    --brick-red-dark: #9a371f;
    --max-w: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
*{
    font-family: var(--default-font-style) !important;
}
body {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-brown);
    /* background: var(--rice-cream); */
    -webkit-font-smoothing: antialiased;
    font-family: var(--default-font-style) !important;
}
h1,
h2,
h3,
h4 {
    color: var(--heading-color);
    margin: 0 0 0.5em;
    line-height: 1.25;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}
.section {
    padding: 70px 0;
    position: relative;
}
.section-alt {
    background:
        repeating-linear-gradient(
            135deg,
            rgba(139, 90, 43, 0.03) 0px,
            rgba(139, 90, 43, 0.03) 2px,
            transparent 2px,
            transparent 14px
        ),
        #f4e9d6;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.3em;
}
.section-sub {
    text-align: center;
    color: #6b5136;
    max-width: 600px;
    margin: 0 auto 2.5em;
    font-size: 1rem;
}
.sesame-divider {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 2em;
}
.sesame-divider span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--background-primary-color);
    opacity: 0.8;
    animation: seedBounce 1.6s ease-in-out infinite;
}
.sesame-divider span:nth-child(1) {
    animation-delay: 0s;
}
.sesame-divider span:nth-child(2) {
    background: var(--brown-sesame);
    animation-delay: 0.18s;
}
.sesame-divider span:nth-child(3) {
    background: var(--brick-red);
    animation-delay: 0.36s;
}
@keyframes seedBounce {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    30% {
        transform: translateY(-7px);
        opacity: 1;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    min-height: 48px;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
    white-space: nowrap;
}
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn:hover::before {
    left: 130%;
}
.btn:active {
    transform: scale(0.97);
}
.btn-primary {
    background: var(--brick-red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(184, 68, 44, 0.35);
}
.btn-primary:hover {
    background: var(--brick-red-dark);
    box-shadow: 0 8px 22px rgba(184, 68, 44, 0.45);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.btn-dark-outline {
    background: transparent;
    color: var(--dark-brown);
    border-color: var(--border-color);
}
.btn-dark-outline:hover {
    background: var(--dark-brown);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Header ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--background-primary-color), var(--brick-red));
    z-index: 2000;
    transition: width 0.1s linear;
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* background: rgba(251, 245, 234, 0.95); */
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(139, 90, 43, 0.15);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.logo {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--brick-red);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}
.logo .dot {
    color: var(--brown-sesame);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-text .sub {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brown-sesame);
}
nav.main-menu > ul {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
nav.main-menu > ul > li {
    position: relative;
    list-style: none;
}
nav.main-menu a {
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
    /* color: var(--dark-brown); */
    padding: 6px 2px;
    transition: color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
nav.main-menu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--background-primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
nav.main-menu > ul > li > a:hover,
nav.main-menu > ul > li.active > a {
    color: var(--brick-red);
}
nav.main-menu > ul > li > a:hover::after,
nav.main-menu > ul > li.active > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Icon menu con */
nav.main-menu .nav-has-sub-menu > a .icon {
    transition: transform 0.25s ease;
    margin-left: 6px;
    flex-shrink: 0;
}
nav.main-menu > ul > li.nav-has-sub-menu:hover > a .icon {
    transform: rotate(180deg);
}

/* Dropdown Level 1 (.sub-menu) */
nav.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 25px rgba(62, 42, 26, 0.12);
    border: 1px solid rgba(139, 90, 43, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1050;
}
nav.main-menu .sub-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}
nav.main-menu li.nav-has-sub-menu:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Items bên trong dropdown */
nav.main-menu .sub-menu li {
    position: relative;
    list-style: none;
    width: 100%;
    border-bottom: 1px solid rgba(139, 90, 43, 0.06);
}
nav.main-menu .sub-menu li:last-child {
    border-bottom: none;
}
nav.main-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-brown);
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
nav.main-menu .sub-menu a::after {
    display: none;
}
nav.main-menu .sub-menu li:hover > a,
nav.main-menu .sub-menu a:hover {
    background-color: rgba(217, 164, 65, 0.12);
    color: var(--brick-red);
    padding-left: 22px;
}
nav.main-menu .sub-menu li.nav-has-sub-menu:hover > a .icon {
    transform: translateX(3px);
}

/* Dropdown Level 2 (.sub-menu-2) */
nav.main-menu .sub-menu .sub-menu-2 {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 200px;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 25px rgba(62, 42, 26, 0.12);
    border: 1px solid rgba(139, 90, 43, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1060;
}
nav.main-menu .sub-menu .sub-menu-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    width: 10px;
    height: 100%;
}
nav.main-menu .sub-menu li.nav-has-sub-menu:hover > .sub-menu-2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
}
.hamburger span {
    display: block;
    height: 3px;
    width: 26px;
    background: var(--dark-brown);
    border-radius: 3px;
    transition:
        transform 0.25s,
        opacity 0.25s;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 88vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: kenBurns 22s ease-in-out infinite alternate;
}
@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-1%, -2%);
    }
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(62, 42, 26, 0.55) 0%,
        rgba(62, 42, 26, 0.35) 45%,
        rgba(62, 42, 26, 0.8) 100%
    );
    z-index: 1;
}
.hero-seeds {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.hero-seeds span {
    position: absolute;
    bottom: -5%;
    width: 6px;
    height: 9px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: rgba(251, 245, 234, 0.75);
    animation: seedFloat linear infinite;
}
@keyframes seedFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    8% {
        opacity: 0.85;
    }
    92% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-105vh) translateX(var(--drift, 20px))
            rotate(320deg);
        opacity: 0;
    }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content .eyebrow {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--background-primary-color);
    margin-bottom: 14px;
    display: block;
    opacity: 0;
    animation: heroRise 0.7s ease 0.15s forwards;
}
.hero-content h1 {
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    margin-bottom: 0.4em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: heroRise 0.7s ease 0.3s forwards;
}
.hero-content p.tagline {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    margin-bottom: 2em;
    color: #f4e9d6;
    opacity: 0;
    animation: heroRise 0.7s ease 0.45s forwards;
}
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroRise 0.7s ease 0.6s forwards;
}
@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    opacity: 0;
    animation: heroRise 0.7s ease 0.9s forwards;
}
.scroll-cue::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: #fff;
    animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(16px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ---------- Story ---------- */
#cau-chuyen {
    overflow: hidden;
}
#cau-chuyen::before {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -120px;
    width: 520px;
    height: 520px;
    background: url("images/rong-web.png") no-repeat center/contain;
    opacity: 0.06;
    pointer-events: none;
    transform: rotate(-8deg);
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.story-grid img {
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(62, 42, 26, 0.2);
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}
.story-text p {
    margin-bottom: 1em;
    color: #4a3520;
}
.story-text .quote {
    font-family: "Playfair Display", serif;
    font-style: italic;
    color: var(--brick-red);
    font-size: 1.15rem;
    border-left: 3px solid var(--background-primary-color);
    padding-left: 16px;
    margin: 1.4em 0;
}

/* ---------- Products ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(62, 42, 26, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px) rotate(-0.4deg);
    box-shadow: 0 18px 36px rgba(62, 42, 26, 0.18);
}
.product-img-wrap {
    aspect-ratio: 1/1;
    overflow: hidden;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.07);
}
.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4em;
}
.product-body p.desc {
    color: #6b5136;
    font-size: 0.92rem;
    /* flex: 1; */
    margin-bottom: 1em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.product-price {
    font-weight: 700;
    color: var(--brick-red);
    font-size: 1.1rem;
    margin-bottom: 1em;
}

/* ---------- Process ---------- */
.process-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.process-step {
    background: #fff;
    border-radius: 14px;
    padding: 26px 18px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(62, 42, 26, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(62, 42, 26, 0.15);
}
.process-step .num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--background-primary-color);
    color: #fff;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.process-step .icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: inline-block;
    transition: transform 0.35s ease;
}
.process-step:hover .icon {
    transform: scale(1.15) rotate(4deg);
}
.process-step h4 {
    font-size: 1rem;
    margin-bottom: 0.4em;
}
.process-step p {
    font-size: 0.88rem;
    color: #6b5136;
    margin: 0;
}

/* ---------- Why us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(62, 42, 26, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(62, 42, 26, 0.15);
}
.why-card .icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.35s ease;
}
.why-card:hover .icon {
    transform: scale(1.2) rotate(-6deg);
}
.why-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3em;
}
.why-card p {
    font-size: 0.88rem;
    color: #6b5136;
    margin: 0;
}

/* ---------- Gallery / Album ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    grid-auto-flow: dense;
    gap: 14px;
}
.gallery-grid figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-grid figure.g-feature {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-grid figure.g-wide {
    grid-column: span 2;
}
.gallery-grid figure.g-tall {
    grid-row: span 2;
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-grid figure:hover img {
    transform: scale(1.08);
}
.gallery-grid figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(0, 0, 0, 0.25) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-grid figure:hover::after {
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 6, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}
.lightbox.open {
    display: flex;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #fff;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
}

/* ---------- Order CTA ---------- */
/* ---------- Da Nang skyline divider ---------- */
.skyline-strip {
    background: var(--rice-cream);
    padding: 30px 0 0;
    overflow: hidden;
}
.skyline-strip img {
    display: block;
    width: min(1100px, 92%);
    margin: 0 auto;
    opacity: 0.55;
}
.skyline-strip .skyline-caption {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brown-sesame);
    padding: 14px 20px 26px;
    margin: 0;
}

.order-section {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #55391f 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.order-section::before {
    content: "";
    position: absolute;
    left: -160px;
    top: 50%;
    width: 480px;
    height: 480px;
    margin-top: -240px;
    background: url("images/rong-web.png") no-repeat center/contain;
    opacity: 0.07;
    pointer-events: none;
    transform: scaleX(-1) rotate(6deg);
}
.order-section .container {
    position: relative;
    z-index: 1;
}
.order-section h2 {
    color: #fff;
}
.order-section .section-sub {
    color: #e3d3ba;
}
.order-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5em;
}
.order-btns .btn {
    min-width: 220px;
}
.btn-zalo {
    background: #0068ff;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 104, 255, 0.35);
}
.btn-zalo:hover {
    background: #0052cc;
}
.btn-messenger {
    background: #0084ff;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 132, 255, 0.35);
}
.btn-messenger:hover {
    background: #006acc;
}

/* ---------- Footer ---------- */
footer {
    background: var(--background-footer-color);
    color: var(--footer-color);
    padding: 50px 0 24px;
    font-size: 0.92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.8em;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
}
footer .brand {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
    gap: 10px;
}
footer .brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
footer a:hover {
    color: var(--background-primary-color);
}
footer li {
    margin-bottom: 0.5em;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: #b8a586;
}

/* ---------- Floating buttons ---------- */
.floating-btns {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2500;
}
.floating-btns a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.fb-call {
    background: var(--brick-red);
    animation: ring 2.2s infinite;
}
.fb-zalo {
    background: #0068ff;
}
.fb-mess {
    background: #0084ff;
}

@keyframes ring {
    0%,
    100% {
        transform: rotate(0);
    }
    5% {
        transform: rotate(15deg);
    }
    10% {
        transform: rotate(-13deg);
    }
    15% {
        transform: rotate(10deg);
    }
    20% {
        transform: rotate(-8deg);
    }
    25% {
        transform: rotate(0);
    }
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
}
.reveal.in {
    animation: revealIn 0.7s ease forwards;
}
@keyframes revealIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-grid .product-card:nth-child(1).reveal.in {
    animation-delay: 0s;
}
.product-grid .product-card:nth-child(2).reveal.in {
    animation-delay: 0.1s;
}
.product-grid .product-card:nth-child(3).reveal.in {
    animation-delay: 0.2s;
}
.why-grid .why-card:nth-child(1).reveal.in {
    animation-delay: 0s;
}
.why-grid .why-card:nth-child(2).reveal.in {
    animation-delay: 0.1s;
}
.why-grid .why-card:nth-child(3).reveal.in {
    animation-delay: 0.2s;
}
.why-grid .why-card:nth-child(4).reveal.in {
    animation-delay: 0.3s;
}
.process-track .process-step:nth-child(1).reveal.in {
    animation-delay: 0s;
}
.process-track .process-step:nth-child(2).reveal.in {
    animation-delay: 0.1s;
}
.process-track .process-step:nth-child(3).reveal.in {
    animation-delay: 0.2s;
}
.process-track .process-step:nth-child(4).reveal.in {
    animation-delay: 0.3s;
}
.process-track .process-step:nth-child(5).reveal.in {
    animation-delay: 0.4s;
}
.process-step.in .num {
    animation: numPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
}
@keyframes numPop {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    nav.main-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--rice-cream);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid rgba(139, 90, 43, 0.15);
    }
    nav.main-menu.open {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    nav.main-menu > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
    }
    nav.main-menu li {
        border-bottom: 1px solid rgba(139, 90, 43, 0.1);
    }
    nav.main-menu a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 4px;
        font-size: 1.05rem;
    }
    nav.main-menu > ul > li > a::after {
        display: none;
    }

    /* Submenu trên Mobile */
    nav.main-menu .sub-menu,
    nav.main-menu .sub-menu .sub-menu-2 {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(139, 90, 43, 0.05);
        padding: 0 0 0 16px;
        min-width: 100%;
    }
    nav.main-menu .sub-menu::before,
    nav.main-menu .sub-menu .sub-menu-2::before {
        display: none;
    }
    nav.main-menu .sub-menu a {
        padding: 11px 10px;
        font-size: 0.92rem;
    }
    nav.main-menu .sub-menu .sub-menu-2 {
        background: rgba(139, 90, 43, 0.09);
    }
    nav.main-menu .sub-menu .sub-menu-2 a {
        padding: 10px 10px;
        font-size: 0.88rem;
    }
    nav.main-menu .nav-has-sub-menu:hover > a .icon {
        transform: none;
    }
    .hamburger {
        display: flex;
    }

    .hero {
        height: 70vh;
        min-height: 420px;
    }
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-btns .btn {
        width: 100%;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .process-track {
        grid-template-columns: 1fr 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 10px;
    }
    .gallery-grid figure.g-feature {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-grid figure.g-wide {
        grid-column: span 2;
    }
    .logo img {
        width: 36px;
        height: 36px;
    }
    .logo-text .sub {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .order-btns .btn {
        width: 100%;
    }
    .order-btns {
        flex-direction: column;
    }

    .floating-btns a {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .process-track {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-content .eyebrow,
    .hero-content h1,
    .hero-content p.tagline,
    .hero-btns,
    .scroll-cue {
        opacity: 1;
    }
}



