/* =====================================================================
   GIAO DIỆN – IZUMI GARDENIA
   Bố cục: mỗi khối "stage" giữ đúng tỉ lệ khung Figma 1440 x 710,
   chữ đặt theo % để khớp với ảnh. Dưới 820px chuyển sang xếp dọc.
   Màu và phông chữ khai báo một chỗ ở :root – đổi ở đây là đổi cả trang.
   ===================================================================== */
:root {
  /* Màu (lấy mẫu từ Figma) */
  --xanh: #48643f;          /* xanh lá nền chính */
  --xanh-dam: #34502f;      /* xanh khối 6 giá trị, menu */
  --xanh-chu: #2f4b2b;      /* chữ xanh trên nền sáng */
  --kem: #f7f3ed;           /* nền giấy kem */
  --kem-chu: #f3ecdc;       /* chữ kem trên nền xanh */
  --vang-khung: #d8c9ad;    /* viền khung tranh */
  /* Phông chữ (tạm – chờ phông thật từ nhóm thiết kế) */
  --font-tieu-de: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-in-hoa: 'Prata', Georgia, serif;
  --font-than: 'Lora', Georgia, serif;
  /* Đơn vị theo bề ngang khung Figma: 1px Figma = var(--px) */
  --px: calc(100vw / 1440);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--kem); color: var(--xanh-chu);
  font: 400 16px/1.65 var(--font-than); overflow-x: hidden;
}
body::before { /* dải tai thỏ trên điện thoại */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--xanh);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
:focus-visible { outline: 2px solid var(--vang-khung); outline-offset: 3px; }
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.paper { background: var(--kem) url(../images/texture-paper.webp); }
.green { background: var(--xanh) url(../images/texture-green.webp); color: var(--kem-chu); }
.green-dark { background: var(--xanh-dam) url(../images/texture-green-dark.webp); color: var(--kem-chu); }

/* ================= MÀN HÌNH CHỜ ================= */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 22px; justify-items: center;
  background: var(--xanh-dam) url(../images/texture-green-dark.webp);
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1);
  clip-path: inset(0 0 0 0);
}
.loader__logo { width: 190px; animation: thoVao 1.4s ease both; }
.loader__bar { width: 160px; height: 1px; background: rgba(243,236,220,.25); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--kem-chu); transition: width .3s; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
@keyframes thoVao { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }

/* ================= CÁNH HOA ================= */
.petals { position: fixed; inset: 0; z-index: 40; pointer-events: none; }

/* ================= HEADER ================= */
.header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; height: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-left: max(16px, env(safe-area-inset-left, 0px), calc(96 * var(--px)));
  padding-right: max(16px, env(safe-area-inset-right, 0px), calc(96 * var(--px)));
  background: linear-gradient(180deg, rgba(52,80,47,.92), rgba(72,100,63,.85));
  transition: transform .5s ease, background .4s;
}
.header.is-solid { background: rgba(52,80,47,.96); }
.header.is-hidden { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
.header__burger { justify-self: start; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; align-content: center; gap: 7px; padding: 0; }
.header__burger span { display: block; width: 40px; height: 3px; border-radius: 2px; background: #fff; transition: transform .4s, opacity .3s; }
.menu-open .header__burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-open .header__burger span:nth-child(2) { opacity: 0; }
.menu-open .header__burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.header__logo img { height: 42px; width: auto; }
.header__social { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header__social a { display: grid; place-items: center; width: 26px; height: 26px; }
.header__social svg { width: 22px; height: 22px; fill: #fff; transition: transform .3s; }
.header__social a:hover svg { transform: translateY(-2px); }
.header__lang { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; background: none; color: #fff; font: 700 12px/1 system-ui, sans-serif; cursor: pointer; }

/* Menu toàn màn hình */
.menu {
  position: fixed; inset: 0; z-index: 45; display: grid; place-items: center;
  background: var(--xanh-dam) url(../images/texture-green-dark.webp);
  clip-path: circle(0 at 40px 28px); transition: clip-path .8s cubic-bezier(.77,0,.18,1); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at 40px 28px); visibility: visible; }
.menu__list { list-style: none; margin: 0; padding: 0; text-align: center; display: grid; gap: 10px; }
.menu__list a {
  font: 400 clamp(22px, 3vw, 38px)/1.3 var(--font-in-hoa); color: var(--kem-chu); text-decoration: none;
  display: inline-block; opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s, color .3s; transition-delay: calc(.25s + var(--i) * .05s);
}
.menu__list a:hover { color: #fff; font-style: italic; }
.menu-open .menu__list a { opacity: 1; transform: none; }

/* ================= 1. HERO ================= */
.hero { position: relative; aspect-ratio: 1440 / 811; min-height: 520px; max-height: 100svh; width: 100%; overflow: hidden; background: #cfe0ec; }
.hero__bg { position: absolute; inset: -6% 0 -6%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 100%; }
.hero__title { position: absolute; left: 42.7%; top: 11%; width: 50%; }
.hero__title img { width: 100%; filter: drop-shadow(0 2px 14px rgba(255,255,255,.45)); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px;
  color: #fff; text-decoration: none; font: 500 12px/1 var(--font-than); letter-spacing: .2em; text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero__scroll i { width: 1px; height: 46px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: giotNuoc 2s ease-in-out infinite; }
@keyframes giotNuoc { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
/* Khi màn hình chờ đóng: ảnh nền thu nhẹ, chữ thư pháp hiện từ trái sang */
.fx-ready .hero__bg img { transform: scale(1.12); transition: transform 2.6s cubic-bezier(.2,.7,.2,1); }
.fx-ready .hero__title img { clip-path: inset(0 100% 0 0); opacity: 0; transition: clip-path 2.2s cubic-bezier(.6,.1,.2,1) .4s, opacity .8s .4s; }
.is-loaded .hero__bg img { transform: none; }
.is-loaded .hero__title img { clip-path: inset(0 0 0 0); opacity: 1; }

/* ================= 2. ĐANG THIẾT KẾ ================= */
.wip { background: repeating-linear-gradient(135deg, #e9e4d8 0 14px, #efeae0 14px 28px); text-align: center; }
.wip .wrap { padding-block: 72px; display: grid; gap: 12px; justify-items: center; }
.wip__tag { font: 600 11px/1 system-ui, sans-serif; letter-spacing: .2em; padding: 7px 12px; border: 1px dashed currentColor; border-radius: 99px; opacity: .8; }
.wip__title { font: 500 clamp(26px, 3vw, 40px)/1.2 var(--font-tieu-de); }
.wip__note { max-width: 56ch; opacity: .8; }

/* ================= 3. IZUMI CITY ================= */
.city .wrap { padding-block: clamp(48px, calc(30 * var(--px)), 60px) 80px; }
.city__inner { display: grid; justify-items: center; text-align: center; }
.city__title { font: 500 clamp(64px, calc(170 * var(--px)), 200px)/.95 var(--font-tieu-de); letter-spacing: -.01em; color: #3d6136; }
.city__sub { font: 400 clamp(20px, calc(34 * var(--px)), 40px)/1.2 var(--font-in-hoa); color: #29461f; margin-top: 8px; }
.city__flower { position: relative; z-index: 1; width: clamp(150px, calc(230 * var(--px)), 260px); margin: 18px 0 14px; }
.city__text { max-width: 520px; display: grid; gap: 1.1em; font-size: clamp(15px, calc(16.5 * var(--px)), 18px); color: #35502f; }

/* ================= KHỐI "STAGE" DÙNG CHUNG ================= */
.stage { position: relative; aspect-ratio: 1440 / 710; overflow: hidden; background: var(--xanh); }
.stage__media { position: absolute; inset: 0; overflow: hidden; }
.stage__media[data-parallax] { inset: -9% 0; }
.stage__media img { width: 100%; height: 100%; object-fit: cover; }
.stage__layer { position: absolute; }

/* 4. Izumi Gardenia */
.gardenia__title { left: 15.4%; top: 10%; width: 35%; display: grid; word-spacing: .12em; color: var(--kem-chu); font-family: var(--font-in-hoa); }
.gardenia__l1, .gardenia__l2 { font-size: calc(84 * var(--px)); line-height: 1.05; letter-spacing: .02em; }
.gardenia__l1 { justify-self: end; }
.gardenia__l3 { font-size: calc(34 * var(--px)); margin-top: .1em; letter-spacing: .03em; }

/* 5. Ý tưởng */
.concept__left, .concept__right { width: 36%; font: 400 calc(24.5 * var(--px))/1.42 var(--font-tieu-de); font-weight: 600; letter-spacing: .04em; color: var(--xanh-chu); }
.concept__left { left: 9.8%; top: 28%; text-align: justify; text-align-last: center; }
.concept__right { left: 54.5%; top: 41%; text-align: center; }

/* 6. Quy mô */
.stats { position: absolute; inset: 0; }
.stat { position: absolute; top: 29%; height: 57%; width: 36.5%; display: flex; align-items: center; justify-content: center; gap: calc(28 * var(--px)); color: var(--kem-chu); }
.stat:nth-child(1) { left: 11.1%; }
.stat:nth-child(2) { left: 52.2%; }
.stat__num { font: 500 calc(92 * var(--px))/1 var(--font-in-hoa); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat__label { font: 400 calc(32 * var(--px))/1.25 var(--font-in-hoa); }

/* 7. 6 giá trị */
.values .wrap { padding-block: clamp(32px, calc(20 * var(--px)), 40px) 56px; }
.values__title { text-align: center; font: 400 clamp(30px, calc(62 * var(--px)), 70px)/1 var(--font-in-hoa); display: flex; align-items: center; justify-content: center; gap: .3em; }
.values__title b { font: 500 2.1em/1 var(--font-tieu-de); }
.values__stage { display: grid; grid-template-columns: 1fr minmax(0, 500px) 1fr; gap: clamp(16px, 4vw, 60px); align-items: start; margin-top: 10px; }
.values__frame { position: relative; aspect-ratio: 514 / 503; width: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.values__frameimg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.values__inner { position: absolute; inset: 8.3% 8.2%; display: grid; grid-template-rows: auto 1fr; justify-items: center; text-align: center; padding: 6% 7%; overflow: hidden; }
.values__sketch { width: 64%; opacity: .95; }
.values__track { display: grid; width: 100%; outline-offset: 6px; }
.value { grid-area: 1 / 1; display: grid; justify-items: center; align-content: start; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; pointer-events: none; }
.value.is-active { opacity: 1; transform: none; pointer-events: auto; }
.value h3 { font: 400 clamp(16px, 1.65vw, 22px)/1.25 var(--font-in-hoa); text-transform: uppercase; letter-spacing: .03em; margin-top: 6px; }
.value__flower { width: 44px; }
.value p { font-size: clamp(12.5px, 1.05vw, 15px); line-height: 1.55; }
.values__side {
  background: none; border: 0; color: var(--kem-chu); cursor: pointer; text-align: center; display: grid; justify-items: center; gap: 6px;
  padding: 24px 6px; font-family: inherit; opacity: .9; transition: opacity .3s;
}
.values__side:hover { opacity: 1; }
.values__side b { font: 500 clamp(48px, calc(96 * var(--px)), 110px)/1 var(--font-in-hoa); }
.values__side span { font: 400 clamp(12px, 1.05vw, 16px)/1.3 var(--font-in-hoa); text-transform: uppercase; letter-spacing: .04em; }
.values__side img { width: 34px; }
.values__side small { font-size: 12px; line-height: 1.45; max-width: 26ch; opacity: .85; }
.values__side.is-swap { animation: thoVao .7s ease both; }
.values__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.values__dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(243,236,220,.3); cursor: pointer; transition: background .3s, width .3s; }
.values__dots button.is-active { background: var(--kem-chu); width: 54px; }

/* 8. Kết nối */
.connect__stage { position: relative; aspect-ratio: 1440 / 1360; overflow: hidden; }
.connect__map { position: absolute; left: 18.06%; top: 22.6%; width: 81.94%; }
.connect__head { position: absolute; left: 8.3%; top: 6.2%; width: 50%; }
.connect__title { display: grid; font: 500 calc(150 * var(--px))/.82 var(--font-tieu-de); color: #3e5f37; }
.connect__t2 { display: flex; align-items: flex-end; gap: calc(30 * var(--px)); }
.connect__t2 small { font: 600 calc(42 * var(--px))/1.15 var(--font-tieu-de); letter-spacing: .04em; padding-bottom: .3em; }
.connect__text { margin-top: calc(36 * var(--px)); width: 58%; font: 600 calc(23 * var(--px))/1.3 var(--font-tieu-de); letter-spacing: .05em; }
.connect__list { position: absolute; list-style: none; margin: 0; padding: 0; display: grid; gap: calc(34 * var(--px)); }
.connect__list li { display: grid; padding-inline: 12px; font-family: var(--font-tieu-de); }
.connect__list strong { font: 600 calc(26 * var(--px))/1.3 var(--font-tieu-de); letter-spacing: .05em; }
.connect__list span { font-size: calc(24 * var(--px)); opacity: .9; }
.connect__list--right { right: 11.4%; top: 7%; text-align: right; }
.connect__list--right li { border-right: 4px solid #3e5f37; }
.connect__list--left { left: 10.8%; top: 57%; }
.connect__list--left li { border-left: 4px solid #3e5f37; }

/* 9. Vườn trong phố */
.vuon__title { right: 6.6%; top: 12%; display: grid; word-spacing: .14em; justify-items: end; text-align: right; color: var(--kem-chu); font-family: var(--font-in-hoa); }
.vuon__title span { font-size: calc(80 * var(--px)); line-height: 1.12; }
.vuon__title small { font-size: calc(42 * var(--px)); margin-right: calc(118 * var(--px)); line-height: 1.3; }
.vuon__text { left: 9.6%; top: 56%; width: 37%; text-align: center; font: italic 500 calc(27 * var(--px))/1.3 var(--font-tieu-de); letter-spacing: .04em; color: var(--kem-chu); }

/* 10. Kiến trúc */
.arch__text { left: 30.4%; top: 78%; width: 39.2%; text-align: center; font-size: clamp(12px, calc(15.5 * var(--px)), 19px); line-height: 1.45; color: var(--kem-chu); }

/* 11. Sản phẩm */
.stage--products .stage__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,50,28,.55), rgba(30,50,28,.2) 62%, transparent 80%); }
.products { position: absolute; left: 10.2%; top: 23.5%; width: 50.2%; height: 62.5%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.3%; }
.product {
  border: 0; cursor: pointer; text-align: left; border-radius: calc(26 * var(--px)); padding: 14% 10% 10%;
  display: grid; grid-template-rows: auto auto 1fr; gap: 6%; align-content: start;
  background: rgba(64,100,58,.82); color: var(--kem-chu); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .5s, color .5s, transform .5s;
  font-family: var(--font-in-hoa);
}
.product.is-active { background: rgba(236,240,228,.86); color: var(--xanh-chu); transform: translateY(-6%); }
.product b { font: 400 calc(80 * var(--px))/1 var(--font-in-hoa); letter-spacing: -.02em; }
.product span { font-size: calc(20 * var(--px)); line-height: 1.3; text-transform: uppercase; }
.product img { align-self: end; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(20 * var(--px)); transition: transform .6s; }
.product:hover img { transform: scale(1.04); }

/* 12. Đăng ký */
.signup .wrap { padding-block: 80px; }
.signup__inner { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 48px; align-items: start; }
.signup__inner > div { display: grid; gap: 14px; align-content: start; }
.signup__title { font: 500 clamp(34px, 4vw, 56px)/1.05 var(--font-tieu-de); }
.signup__hotline { font: 400 20px/1.3 var(--font-in-hoa); }
.form { display: grid; gap: 6px; background: rgba(247,243,237,.08); border: 1px solid rgba(243,236,220,.25); padding: 26px; border-radius: 4px; }
.form label { font-size: 13px; letter-spacing: .06em; opacity: .85; margin-top: 8px; }
.form input, .form select { font: 16px var(--font-than); padding: 11px 12px; border: 1px solid rgba(243,236,220,.4); background: rgba(247,243,237,.95); color: var(--xanh-chu); border-radius: 2px; }
.form button { margin-top: 18px; padding: 14px; border: 0; background: var(--kem-chu); color: var(--xanh-dam); font: 400 16px var(--font-in-hoa); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .3s; }
.form button:hover { background: #fff; }
.form__msg { min-height: 1.4em; font-size: 14px; }
.form__msg.is-error { color: #ffd2c4; }

/* Chân trang */
.footer { background: var(--xanh-dam); color: var(--kem-chu); text-align: center; font-size: 14px; }
.footer .wrap { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; justify-items: center; }
.footer__logo { width: 140px; margin-bottom: 8px; }
.footer__note { opacity: .7; max-width: 70ch; }

/* ================= HIỆU ỨNG KHI CUỘN TỚI ================= */
/* 4. Chữ hiện từng từ */
.w { display: inline-block; }
.fx-ready.fx-hienChu [data-reveal="words"] .w {
  opacity: 0; transform: translateY(.45em); filter: blur(5px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
  transition-delay: calc(min(var(--w), 50) * 30ms);
}
.fx-ready.fx-hienChu [data-reveal="words"].is-in .w, .fx-ready.fx-hienChu .is-in [data-reveal="words"] .w { opacity: 1; transform: none; filter: none; }
/* 5. Ảnh mở dần */
.fx-ready.fx-moAnh [data-reveal="image"] { clip-path: inset(10% 7% 10% 7%); transition: clip-path 1.6s cubic-bezier(.6,.1,.2,1); }
.fx-ready.fx-moAnh [data-reveal="image"] img { transform: scale(1.18); transition: transform 2.2s cubic-bezier(.2,.7,.2,1); }
.fx-ready.fx-moAnh [data-reveal="image"].is-in { clip-path: inset(0 0 0 0); }
.fx-ready.fx-moAnh [data-reveal="image"].is-in img { transform: none; }
.fx-ready.fx-moAnh [data-reveal="zoom"] { opacity: .3; transform: scale(.9); transition: opacity 1.4s, transform 1.8s cubic-bezier(.2,.7,.2,1); }
.fx-ready.fx-moAnh [data-reveal="zoom"].is-in { opacity: 1; transform: none; }
/* Danh sách / thẻ hiện lần lượt */
.fx-ready.fx-hienChu [data-reveal="fade"] { opacity: 0; translate: 0 26px; transition: opacity .8s, translate .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * .12s); }
.fx-ready.fx-hienChu [data-reveal="fade"].is-in { opacity: 1; translate: 0 0; }

/* ================= BẢNG CHỌN HIỆU ỨNG ================= */
.fxpanel { position: fixed; z-index: 70; left: calc(14px + env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font: 13px/1.4 system-ui, sans-serif; color: #24361f; }
.fxpanel__toggle { background: #f7f3ed; color: #24361f; border: 1px solid #c9bfa8; border-radius: 99px; padding: 9px 16px; font: 600 13px system-ui, sans-serif; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.fxpanel__body { position: absolute; bottom: 48px; left: 0; width: min(290px, calc(100vw - 28px)); background: #f7f3ed; border: 1px solid #c9bfa8; border-radius: 10px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: grid; gap: 8px; }
.fxpanel__body label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.fxpanel__body small { color: #5b6b55; }
.fxpanel__body p { font-weight: 600; }

/* ================= ĐIỆN THOẠI / MÁY TÍNH BẢNG (< 820px) ================= */
@media (max-width: 820px) {
  :root { --px: calc(820px / 1440); }   /* chữ không nhỏ hơn mức đọc được */
  .header { height: 52px; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .header__burger span { width: 28px; }
  .header__social { gap: 10px; }
  .header__social a:not(:last-of-type) { display: none; }  /* chỉ giữ TikTok + ngôn ngữ cho gọn */
  .header__logo img { height: 36px; }

  .hero { aspect-ratio: auto; height: 86svh; min-height: 520px; }
  .hero__bg img { object-position: 30% 100%; }
  .hero__title { left: 6%; width: 88%; top: 13%; z-index: 1; }
  .hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 52%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(228,238,246,.92) 0%, rgba(228,238,246,.7) 55%, transparent); }

  /* Stage: ảnh trên, chữ dưới */
  .stage { aspect-ratio: auto; display: grid; }
  .stage__media { position: relative; inset: auto; aspect-ratio: 1440 / 710; }
  .stage__media[data-parallax] { inset: auto; }
  .stage__layer { position: static; width: auto !important; padding: 28px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }

  .stage--gardenia .stage__media { aspect-ratio: 4 / 3; }
  .stage--gardenia .stage__media img { object-position: 75% 100%; }
  .gardenia__title { order: -1; text-align: left; background: var(--xanh) url(../images/texture-green.webp); }
  .gardenia__l1, .gardenia__l2 { font-size: 48px; }
  .gardenia__l1 { justify-self: start; }
  .gardenia__l3 { font-size: 20px; }

  .stage--concept { background: var(--kem); }
  .stage--concept .stage__media { order: 3; }
  .concept__left, .concept__right { font-size: 21px; text-align: center; padding-block: 24px 8px; }

  .stage--stats .stage__media { aspect-ratio: 4 / 3; }
  .stats { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 12px; gap: 10px; }
  .stat { position: static; width: auto; height: auto; flex-direction: column; gap: 6px; text-align: center; padding: 22px 8px; background: rgba(52,80,47,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .stat__num { font-size: 46px; }
  .stat__label { font-size: 17px; }

  .values__stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .values__side { display: none; }
  .values__frame { max-width: 420px; }
  .values__inner { padding: 4% 5%; }
  .values__sketch { width: 52%; }
  .value h3 { font-size: 15px; }
  .value p { font-size: 12.5px; }

  .connect__stage { aspect-ratio: auto; display: grid; padding-block: 48px 40px; }
  .connect__map, .connect__head, .connect__list { position: static; width: auto; }
  .connect__head { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .connect__title { font-size: 64px; }
  .connect__t2 small { font-size: 20px; }
  .connect__text { width: auto; font-size: 18px; margin-top: 18px; }
  .connect__map { margin: 20px 0; width: 100%; }
  .connect__list { grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .connect__list--right { order: 3; text-align: left; }
  .connect__list--right li { border-right: 0; border-left: 4px solid #3e5f37; }
  .connect__list--left { order: 4; margin-top: 18px; }
  .connect__list strong { font-size: 17px; }
  .connect__list span { font-size: 15px; }

  .vuon__title { order: -1; justify-items: start; text-align: left; background: var(--xanh) url(../images/texture-green.webp); }
  .vuon__title span { font-size: 38px; }
  .vuon__title small { font-size: 22px; margin-right: 0; }
  .vuon__text { font-size: 20px; }
  .stage--vuon .stage__media img { object-position: 80% 50%; }

  .arch__text { font-size: 15px; text-align: left; }

  .stage--products { min-height: 0; }
  .stage--products .stage__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .products { position: relative; inset: auto; width: auto; height: auto; padding: 48px max(12px, env(safe-area-inset-right, 0px)) 40px max(12px, env(safe-area-inset-left, 0px)); gap: 10px; }
  .product { border-radius: 14px; padding: 14px 10px 10px; transform: none !important; }
  .product b { font-size: 34px; }
  .product span { font-size: 11px; min-height: 3.9em; }
  .product img { border-radius: 10px; }

  .signup__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .product span { font-size: 10px; }
  .connect__title { font-size: 54px; }
}

/* Người dùng bật "giảm chuyển động" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
