/* ==========================================================================
   Funzone & Ecokids Farm — landing page
   Phong cách "sticker": viền đậm + bóng khối, lấy từ viền chữ của logo.
   ========================================================================== */

/* ---------- Font tự host (có bộ dấu tiếng Việt) ---------- */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/baloo-2-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/baloo-2-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/baloo-2-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Token ---------- */
:root {
  color-scheme: light;
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --bw: 2px;                       /* độ dày viền sticker (mỏng cho nhẹ nhàng) */
  --sh: 4px 4px 0 var(--ink);      /* bóng khối */
  --sh-lg: 6px 6px 0 var(--ink);
  --sh-sm: 2px 3px 0 var(--ink);

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --header-h: 72px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  --z-doodle: 0;
  --z-content: 1;
  --z-header: 50;
  --z-dock: 60;
  --z-toast: 90;
}

/* Funzone: vàng – cam – đỏ, viền đen */
:root, [data-brand="funzone"] {
  --ink: #1E1A1A;
  --c-text: #2A2220;
  --c-muted: #64544C;
  --c-bg: #FFF8E6;
  --c-band: #FFEBA8;
  --c-surface: #FFFFFF;
  --c-soft: #FFF3CC;
  --c-primary: #D9322F;
  --c-primary-ink: #FFFFFF;
  --c-secondary: #12B8F0;
  --c-accent: #FFD21F;
  --c-accent-2: #F7A11A;
  --c-pink: #FF7BAC;
  --c-hl: #FFD21F;
  --c-hl-text: #D9322F;
  --c-sea: #BDEBFF;
  --c-land: #FFF1B8;
  --c-footer: #1E1A1A;
  --a1: #FFD21F; --a2: #12B8F0; --a3: #EE4B4B;
}

/* Ecokids Farm: nâu gỗ – cam – xanh lá, viền nâu */
[data-brand="farm"] {
  --ink: #4A1F0B;
  --c-text: #3B2414;
  --c-muted: #765844;
  --c-bg: #FFF7E4;
  --c-band: #E2F3C4;
  --c-surface: #FFFFFF;
  --c-soft: #F1F9DF;
  --c-primary: #2A7F0C;
  --c-primary-ink: #FFFFFF;
  --c-secondary: #F7941D;
  --c-accent: #FFD21F;
  --c-accent-2: #56B800;
  --c-pink: #FF9DB5;
  --c-hl: #FFD21F;
  --c-hl-text: #2A7F0C;
  --c-sea: #C6ECFF;
  --c-land: #E4F5C6;
  --c-footer: #4A1F0B;
  --a1: #56B800; --a2: #F7941D; --a3: #FF9DB5;
}

/* ---------- Reset gọn ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100dvh;
  font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  transition: background-color var(--dur-slow) var(--ease-out), color var(--dur) var(--ease-out);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
mark { background: none; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800; transition: top var(--dur); }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: var(--z-content); }
.center { text-align: center; margin-top: 28px; }

/* ---------- Nút ---------- */
.btn {
  --btn-bg: var(--c-surface); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: var(--sh-sm);
  text-decoration: none; cursor: pointer; touch-action: manipulation; user-select: none;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out), color var(--dur);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn { white-space: nowrap; }
.btn:hover { transform: translate(-1px, -2px); box-shadow: 3px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 0 0 0 var(--ink); transition-duration: 60ms; }
.btn-primary { --btn-bg: var(--c-primary); --btn-fg: var(--c-primary-ink); }
.btn-ghost { --btn-bg: var(--c-surface); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: #fff; box-shadow: 3px 4px 0 rgba(0,0,0,.25); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 12px 26px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn[aria-busy="true"] svg { animation: spin 1s linear infinite; }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--c-surface); color: var(--ink);
  box-shadow: var(--sh-sm); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { transform: translate(-1px, -2px) rotate(-6deg); }
.icon-btn:active { transform: translate(2px, 3px); box-shadow: none; }

/* ---------- Typo chung ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-primary); padding: 4px 14px; border-radius: 999px; background: var(--c-surface); border: 1.5px solid var(--ink);
}
.eyebrow svg { width: 18px; height: 18px; }
.hl {
  position: relative; display: inline-block; color: var(--c-hl-text); z-index: 0; white-space: nowrap;
}
.hl::before {
  content: ""; position: absolute; left: -.12em; right: -.12em; bottom: .06em; height: .42em; z-index: -1;
  background: var(--c-hl); border-radius: .3em; transform: rotate(-1.5deg) scaleX(var(--hl-x, 1)); transform-origin: left center;
  transition: transform .8s var(--ease-out) .25s;
}
.js [data-reveal]:not(.is-in) .hl::before, .js .hero:not(.is-in) .hl::before { --hl-x: 0; }
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.band { background: var(--c-band); transition: background-color var(--dur-slow) var(--ease-out); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); display: grid; justify-items: center; gap: 14px; }
.sec-head.left { text-align: left; justify-items: start; margin-inline: 0; }
.sec-head h2, .grp-copy h2, .bd-copy h2, .consult-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.sec-sub { color: var(--c-muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 60ch; }
.sub-title { font-size: clamp(1.5rem, 2.6vw, 2rem); text-align: center; margin: clamp(56px, 8vw, 88px) 0 28px; }

/* Sóng chia section */
.wave { position: absolute; left: 0; width: 100%; height: clamp(28px, 5vw, 64px); pointer-events: none; }
.wave path { transition: fill var(--dur-slow) var(--ease-out); }
.wave-bottom { bottom: -1px; }
.wave-top { top: -1px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur), background-color var(--dur-slow);
}
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.header-bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand-logo { flex: none; display: block; }
.brand-logo img { height: 46px; width: auto; max-width: 168px; object-fit: contain; object-position: left center; transition: transform var(--dur) var(--spring); }
.brand-logo:hover img { transform: rotate(-3deg) scale(1.04); }
[data-brand="farm"] .brand-logo img { height: 54px; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: background-color var(--dur-fast);
}
.main-nav a:hover, .main-nav a.is-active { background: var(--c-soft); }
.main-nav a.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.loc-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 200px; min-height: 42px; padding: 6px 14px 6px 10px;
  border: 1.5px dashed var(--ink); border-radius: 999px; background: var(--c-surface);
  font-weight: 800; font-size: 14px; text-decoration: none; color: var(--ink);
}
.loc-chip svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; }
.loc-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.01em; }
.ht-line { display: block; }
.hero-title .hl { margin-block: .08em; }
.hero-sub { font-size: clamp(16px, 1.7vw, 19px); color: var(--c-muted); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 22px; margin-top: 6px; }
.hero-stats li { display: grid; }
.hero-stats b { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; color: var(--ink); }
.hero-stats span { font-size: 14px; color: var(--c-muted); font-weight: 700; }

/* Công tắc brand */
.brand-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px;
  border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--c-surface); box-shadow: var(--sh-sm);
}
.bs-opt {
  position: relative; z-index: 1; min-height: 46px; padding: 6px 22px; border: 0; background: none; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--ink); white-space: nowrap;
  transition: color var(--dur) var(--ease-out);
}
.bs-opt[aria-pressed="true"] { color: var(--c-primary-ink); }
.bs-knob {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--c-primary); border: 1.5px solid var(--ink);
  transition: transform 520ms var(--spring), background-color var(--dur);
}
[data-brand="farm"] .bs-knob { transform: translateX(100%); }

/* ---------- Carousel dùng chung (hero, trò chơi, cổng bóng) ---------- */
.car { position: relative; }
.car-frame { position: relative; border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-soft); box-shadow: var(--sh-lg); }
.car-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: var(--car-ratio, 3 / 2); overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: var(--c-soft); }
.car-slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* Ảnh khác tỉ lệ khung (vd. ảnh dọc): hiện trọn ảnh trên nền mờ của chính ảnh đó */
.car-slide.is-fit img { object-fit: contain; }
.car-slide.is-fit::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover no-repeat; filter: blur(20px) saturate(1.2); opacity: .75; }
.car-cap {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; max-width: calc(100% - 28px);
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1.5px solid var(--ink);
  font: 800 15px/1.25 var(--font-display); color: var(--ink); box-shadow: var(--sh-sm);
}
.car-count { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 2px 10px; border-radius: 999px; background: rgba(20, 12, 8, .6); color: #fff; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.car-btn { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 44px; height: 44px; }
.car-btn:hover { transform: rotate(-6deg); }
.car-prev { left: 12px; } .car-next { right: 12px; }
.car-prev svg { transform: rotate(180deg); }
.car-pause { position: absolute; z-index: 3; top: 12px; left: 12px; width: 36px; height: 36px; }
.car-pause svg { width: 16px; height: 16px; }
.car-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin-top: 12px; }
.car-dot { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; }
.car-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--c-surface); transition: width var(--dur) var(--spring), background-color var(--dur); }
.car-dot[aria-current="true"]::before { width: 24px; background: var(--c-primary); }

/* Hero */
.hero-art { position: relative; padding-bottom: clamp(70px, 8vw, 104px); }
.hero-car .car-frame { transform: rotate(1.2deg); }
.hero-car::before {
  content: ""; position: absolute; z-index: 4; top: -12px; left: 46%; width: 92px; height: 26px;
  background: color-mix(in srgb, var(--c-accent) 85%, transparent); border: 1.5px solid var(--ink); transform: rotate(-5deg);
}
.hero-car .car-dots { justify-content: flex-start; padding-left: 4px; }
.js .hero:not(.is-in) .hero-car { opacity: 0; transform: translateY(24px) scale(.96); }
.hero-car { transition: opacity 700ms var(--ease-out), transform 900ms var(--spring); }
.hero-car.is-swapping { opacity: 0; transform: scale(.97); transition-duration: 260ms; }

/* Mascot */
.mascot-stage {
  position: absolute; right: -3%; bottom: 0; width: clamp(130px, 14vw, 186px); aspect-ratio: 220 / 230;
  border: 0; background: none; padding: 0; z-index: 4; -webkit-tap-highlight-color: transparent;
}
.mascot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: transform 600ms var(--spring), opacity 300ms; }
.m-fm { opacity: 0; transform: translateY(40%) scale(.4); }
[data-brand="farm"] .m-fz { opacity: 0; transform: translateY(40%) scale(.4); }
[data-brand="farm"] .m-fm { opacity: 1; transform: none; }
.m-body { animation: bob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.m-shadow { animation: shadow 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.m-lids { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 0; animation: blink 4.6s infinite; }
.m-pupils { transition: transform 120ms linear; }
.m-arm-r { transform-box: fill-box; transform-origin: 0% 100%; animation: wave 2.4s ease-in-out infinite; }
.m-arm-l { transform-box: fill-box; transform-origin: 100% 50%; animation: wave-l 3.2s ease-in-out infinite; }
.m-ear-l { transform-box: fill-box; transform-origin: 100% 50%; animation: ear-l 3s ease-in-out infinite; }
.m-ear-r { transform-box: fill-box; transform-origin: 0% 50%; animation: ear-r 3s ease-in-out infinite .4s; }
.m-snout { transform-box: fill-box; transform-origin: 50% 0; animation: chew 1.6s ease-in-out infinite; }
.m-head { transform-box: fill-box; transform-origin: 50% 90%; animation: tilt 5s ease-in-out infinite; }
.m-bell { transform-box: fill-box; transform-origin: 50% 0; animation: tilt 2.4s ease-in-out infinite reverse; }
.mascot-stage.is-jump .mascot { animation: jump 700ms var(--spring); }
.speech {
  position: absolute; bottom: 30%; right: 96%; z-index: 5; white-space: nowrap;
  padding: 8px 14px; border: var(--bw) solid var(--ink); border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 16px; box-shadow: var(--sh-sm);
  transform-origin: 100% 100%; animation: pop-in 600ms var(--spring) 1.2s both;
}
.speech.is-new { animation: pop-in 500ms var(--spring) both; }

/* Doodle bay lơ lửng */
.doodles { position: absolute; inset: 0; z-index: var(--z-doodle); pointer-events: none; }
.dd { position: absolute; width: var(--w, 44px); height: auto; aspect-ratio: 1; --r: 0deg; animation: float var(--t, 6s) ease-in-out infinite; animation-delay: var(--dl, 0s); transition: opacity 400ms, transform 500ms var(--spring); }
.dd-cloud { aspect-ratio: 100 / 56; animation: drift var(--t, 40s) linear infinite; opacity: .95; }
.c1 { --w: 150px; top: 8%; left: -6%; --t: 46s; }
.c2 { --w: 110px; top: 58%; left: 40%; --t: 38s; --dl: -12s; opacity: .8; }
.c3 { --w: 90px; top: 18%; right: 4%; --t: 52s; --dl: -30s; }
.s1 { --w: 46px; top: 12%; left: 46%; --r: -10deg; --t: 5.4s; }
.s2 { --w: 54px; top: 70%; left: 3%; --r: -14deg; --t: 6.2s; --dl: -1s; }
.s3 { --w: 46px; top: 4%; right: 30%; --r: 12deg; --t: 7s; --dl: -2s; }
.s4 { --w: 42px; bottom: 16%; right: 2%; --r: 8deg; --t: 5.8s; --dl: -3s; }
.s5 { --w: 40px; top: 32%; right: 1%; --t: 7.6s; --dl: -1.5s; }
.s6 { --w: 34px; bottom: 30%; left: 44%; --r: -12deg; --t: 4.8s; }
.s7 { --w: 64px; top: 84%; left: 30%; --t: 8s; }
.fm.s1 { --w: 74px; top: 4%; right: 34%; }
.fm.s2 { --w: 40px; }
.fm.s3 { --w: 40px; }
.sp1 { --w: 30px; top: 46%; left: 52%; --t: 3.6s; }
.sp2 { --w: 26px; top: 26%; left: 8%; --t: 4.2s; --dl: -2s; }
.fm { opacity: 0; transform: scale(.3); }
[data-brand="farm"] .fz { opacity: 0; transform: scale(.3); }
[data-brand="farm"] .fm { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden; background: var(--c-primary); color: #fff;
  border-block: var(--bw) solid var(--ink); transform: rotate(-1.4deg); margin: -20px -10px 0; padding: 12px 0;
  transition: background-color var(--dur-slow);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2.2vw, 24px); white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; }
.mq-item svg { width: 26px; height: 26px; --d-fill: var(--c-accent); }

/* ---------- Bản đồ & cơ sở ---------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.map-card {
  position: relative; border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--sh-lg);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.55) 0 2px, transparent 3px) 0 0 / 34px 34px,
    var(--c-sea);
  padding: 12px; overflow: hidden;
}
.vn-map { position: relative; width: min(100%, 420px); margin-inline: auto; aspect-ratio: 420 / 760; }
.vn-svg, .zoom-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vn-land { fill: var(--c-land); stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; transition: fill var(--dur-slow); }
.vn-land-shadow { fill: var(--ink); opacity: .9; }
.vn-sea-label { font-family: var(--font-display); font-weight: 700; fill: #2B7FA6; font-size: 15px; letter-spacing: .3em; }
.vn-island { fill: var(--c-land); stroke: var(--ink); stroke-width: 1.6; }
.vn-island-label { font-family: var(--font-body); font-weight: 800; fill: var(--ink); font-size: 11px; }
.vn-wave { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; opacity: .8; }
.vn-boat { animation: sail 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.zoom-ring { fill: rgba(255,255,255,.35); stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; }
.zoom-line { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; fill: none; }
.zoom-bubble {
  position: absolute; left: calc(var(--bx) * 1%); top: calc(var(--by) * 1%); width: calc(var(--bd) * 1%); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden;
  border: var(--bw) solid var(--ink); box-shadow: var(--sh); background: var(--c-sea);
}
.zoom-bubble .zoom-svg { position: absolute; inset: 0; }
.zoom-bubble .pins { position: absolute; inset: 0; }
.zoom-label {
  position: absolute; z-index: 2; left: calc(var(--bx) * 1%); top: calc(var(--ty) * 1%); transform: translate(-50%, -55%) rotate(-3deg); padding: 2px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; white-space: nowrap; pointer-events: none;
}
.pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute; left: calc(var(--px) * 1%); top: calc(var(--py) * 1%); pointer-events: auto;
  display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; transform: translate(-50%, -100%);
  min-width: 44px; min-height: 44px; justify-content: center; align-items: flex-end;
}
.pin-drop {
  position: relative; width: 30px; height: 30px; border: var(--bw) solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--c-primary); box-shadow: 2px 3px 0 var(--ink); transition: transform var(--dur) var(--spring), background-color var(--dur);
}
.pin-drop::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); }
.pin-count { position: absolute; top: -4px; right: -6px; z-index: 1; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--c-accent); border: 1.5px solid var(--ink); font: 800 11px/16px var(--font-body); color: var(--ink); text-align: center; }
.pin-label {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 2px; white-space: nowrap;
  padding: 0 8px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); font: 800 12px/20px var(--font-body); color: var(--ink);
}
.pin.lbl-top .pin-label { top: auto; bottom: 100%; margin: 0 0 2px; }
.pin.is-active .pin-drop { transform: rotate(-45deg) scale(1.22); background: var(--c-accent); }
.pin.is-active::before {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 34px; height: 12px; margin-left: -17px; border-radius: 50%;
  border: 3px solid var(--c-primary); animation: ring 1.6s ease-out infinite;
}
.pin:hover .pin-drop { transform: rotate(-45deg) scale(1.14) translateY(-2px); }
.js .pins:not(.is-in) .pin { opacity: 0; }
.pins.is-in .pin { animation: drop 700ms var(--spring) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.pin-pop {
  position: absolute; z-index: 6; left: calc(var(--px) * 1%); top: calc(var(--py) * 1%); transform: translate(-50%, 12px);
  display: grid; gap: 4px; padding: 8px; min-width: 190px; border: var(--bw) solid var(--ink); border-radius: 16px; background: #fff; box-shadow: var(--sh);
  animation: pop-in 320ms var(--spring) both;
}
.pin-pop button { text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--c-soft); font-weight: 800; font-size: 14px; min-height: 44px; }
.pin-pop button:hover { background: var(--c-band); }

.loc-panel { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.loc-cross {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 20px;
  border: var(--bw) dashed var(--ink); border-radius: var(--radius-lg); background: var(--c-soft);
}
.loc-cross img { width: 96px; height: auto; transform: rotate(-4deg); transition: transform var(--dur) var(--spring); }
.loc-cross:hover img { transform: rotate(4deg) scale(1.06); }
.loc-cross h3 { font-size: 1.2rem; margin-bottom: 4px; }
.loc-cross p { font-size: 15px; color: var(--c-muted); margin-bottom: 10px; }
.loc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.loc-btn {
  width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left;
  padding: 14px 14px; border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--sh-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), background-color var(--dur);
}
.loc-btn:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); }
.loc-btn[aria-pressed="true"] { background: var(--c-accent); box-shadow: var(--sh); }
.loc-btn .lb-ico { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--c-soft); display: grid; place-items: center; color: var(--c-primary); }
.loc-btn[aria-pressed="true"] .lb-ico { background: #fff; }
.loc-btn .lb-ico svg { width: 22px; height: 22px; }
.loc-btn b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.15; color: var(--ink); }
.loc-btn small { display: block; color: var(--c-muted); font-weight: 700; font-size: 13px; }
.loc-btn .lb-tag { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.loc-detail {
  position: relative; padding: clamp(20px, 3vw, 28px); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg);
  background: var(--c-surface); box-shadow: var(--sh-lg); display: grid; gap: 14px;
}
.loc-detail.is-swap { animation: swap-in 520ms var(--spring); }
.ld-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ld-head img { height: 40px; width: auto; }
.ld-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.ld-rows { display: grid; gap: 10px; }
.ld-rows li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: var(--c-text); }
.ld-rows svg { width: 22px; height: 22px; color: var(--c-primary); margin-top: 2px; }
.ld-rows a { font-weight: 800; text-decoration: none; }
.ld-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.zalo-club {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 4px; padding: 12px 14px;
  border: var(--bw) solid var(--ink); border-radius: 18px; background: #E8F1FF; color: var(--ink); text-decoration: none;
  box-shadow: var(--sh-sm); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.zalo-club:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); }
.zalo-club:active { transform: translate(2px, 3px); box-shadow: none; }
.zc-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #0068FF; color: #fff; border: 1.5px solid var(--ink); animation: breathe 2.6s ease-in-out infinite; }
.zc-ico svg { width: 28px; height: 28px; }
.zc-txt b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.zc-txt small { display: block; color: var(--c-muted); font-weight: 700; font-size: 13.5px; line-height: 1.35; }
.zc-go { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #0068FF; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; white-space: nowrap; }
.zc-go svg { width: 16px; height: 16px; }
.ld-sticker { position: absolute; top: -18px; right: 18px; padding: 4px 14px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--c-secondary); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; transform: rotate(4deg); box-shadow: var(--sh-sm); }
[data-brand="farm"] .ld-sticker { color: var(--ink); }

/* ---------- Vé ưu đãi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.ticket {
  --notch: var(--c-bg);
  position: relative; display: grid; grid-template-rows: 1fr auto; border: var(--bw) solid var(--ink); border-radius: var(--radius);
  background: var(--c-surface); box-shadow: var(--sh); transition: transform var(--dur) var(--spring), box-shadow var(--dur);
}
.ticket:hover { transform: translate(-3px, -5px) rotate(-1deg); box-shadow: var(--sh-lg); }
.ticket.is-hot { background: var(--c-soft); }
.tk-top { padding: 24px 22px 20px; display: grid; gap: 12px; align-content: start; }
.tk-top h3 { font-size: 1.45rem; padding-right: 56px; }
.tk-aud { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 15px; color: var(--c-muted); }
.tk-aud svg { width: 20px; height: 20px; color: var(--c-primary); margin-top: 2px; }
.tk-terms { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--c-band) 55%, #fff); border: 2px dashed color-mix(in srgb, var(--ink) 35%, transparent); }
.tk-terms > b { font-family: var(--font-display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.tk-terms ul { display: grid; gap: 6px; }
.tk-terms li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--c-text); }
.tk-terms svg { width: 18px; height: 18px; padding: 2px; margin-top: 1px; border-radius: 50%; background: var(--c-accent-2); color: #fff; }
.tk-bottom {
  position: relative; padding: 18px 22px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 2px dashed var(--ink);
}
.tk-bottom::before, .tk-bottom::after {
  content: ""; position: absolute; top: -16px; width: 28px; height: 28px; border-radius: 50%; background: var(--notch);
  border: var(--bw) solid var(--ink); transition: background-color var(--dur-slow);
}
.tk-bottom::before { left: -17px; clip-path: inset(0 0 0 50%); }
.tk-bottom::after { right: -17px; clip-path: inset(0 50% 0 0); }
.tk-price { display: grid; line-height: 1.05; }
.tk-price s { color: var(--c-muted); font-weight: 700; font-size: 15px; }
.tk-price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.2rem); color: var(--c-primary); font-variant-numeric: tabular-nums; }
.tk-price b small { font-size: 16px; font-weight: 700; color: var(--c-muted); margin-left: 2px; }
.tk-save { justify-self: start; margin-top: 4px; padding: 1px 10px; border-radius: 999px; background: var(--c-accent); border: 1.5px solid var(--ink); font-weight: 800; font-size: 13px; color: var(--ink); }
.tk-off {
  position: absolute; top: -16px; right: 16px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: var(--bw) solid var(--ink); background: var(--c-accent); color: var(--ink); transform: rotate(12deg);
  font-family: var(--font-display); font-weight: 800; font-size: 18px; box-shadow: var(--sh-sm);
}
.ticket.is-hot .tk-off { background: var(--c-pink); }
.tk-hot { justify-self: start; padding: 2px 12px; border-radius: 999px; background: var(--c-primary); color: #fff; font-weight: 800; font-size: 13px; }

/* ---------- Trò chơi: tab biểu tượng + carousel ảnh (lấy cảm hứng tiNiWorld) ---------- */
.act-tabs { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 10px; margin: 0 auto 26px; max-width: 1040px; }
.act-tab {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 4px 4px 14px;
  border: 0; background: none; color: var(--c-muted); font: 800 15px/1.25 var(--font-display); text-align: center; transition: color var(--dur);
}
.act-tab-ico {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px;
  background: var(--c-surface); border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--spring), background-color var(--dur), box-shadow var(--dur);
}
.act-tab-ico svg { width: 58px; height: 58px; }
.act-tab::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 4px; border-radius: 4px; background: var(--c-primary); translate: -50% 0; transition: width var(--dur) var(--spring); }
.act-tab:hover .act-tab-ico { transform: translateY(-3px); }
.act-tab[aria-selected="true"] { color: var(--ink); }
.act-tab[aria-selected="true"] .act-tab-ico { background: var(--c-accent); transform: translateY(-4px) rotate(-5deg); box-shadow: var(--sh); }
.act-tab[aria-selected="true"]::after { width: 44px; }
.act-tab .act-tab-badge { position: absolute; top: -2px; right: calc(50% - 52px); padding: 1px 8px; border-radius: 999px; background: var(--c-pink); border: 1.5px solid var(--ink); color: var(--ink); font-size: 11px; }

.act-panel {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(16px, 2.4vw, 28px); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); background: var(--c-surface); box-shadow: var(--sh-lg);
}
.act-panel.is-swap { animation: swap-in 480ms var(--spring); }
.act-info { display: grid; gap: 14px; justify-items: start; }
.act-tag { padding: 3px 12px; border-radius: 999px; background: var(--c-accent); color: var(--ink); font-weight: 800; font-size: 13px; border: 1.5px solid var(--ink); }
.act-tag.is-special { background: var(--c-pink); }
.act-info h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.act-info p { color: var(--c-muted); }
.act-meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--c-muted); }
.act-meta svg { width: 18px; height: 18px; color: var(--c-primary); }
.act-car { --car-ratio: 4 / 3; }
.act-car .car-frame { box-shadow: var(--sh); }

.city-highlight {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; margin-bottom: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 3vw, 32px); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--sh-lg);
  background: linear-gradient(135deg, #E6F8FF 0%, #FFE6F3 100%);
  --c-primary: #E6168A;
}
.city-highlight.is-swap { animation: swap-in 600ms var(--spring); }
.ch-copy { display: grid; gap: 14px; justify-items: start; }
.ch-copy img { height: 44px; width: auto; }
.ch-badge { padding: 4px 14px; border-radius: 999px; background: #12B8F0; color: #fff; font-weight: 800; font-size: 14px; border: 1.5px solid var(--ink); }
.ch-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.ch-copy p { color: var(--c-muted); }
.ch-jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-jobs li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); font-weight: 800; font-size: 14px; }
.ch-jobs li:nth-child(3n+1) { background: #FFE11A; } .ch-jobs li:nth-child(3n+2) { background: #BDEBFF; } .ch-jobs li:nth-child(3n) { background: #FFC9E6; }
.ch-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ch-photos figure { margin: 0; aspect-ratio: 3/4; border: var(--bw) solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-sm); }
.ch-photos figure:nth-child(2) { transform: translateY(-14px) rotate(2deg); }
.ch-photos figure:nth-child(1) { transform: rotate(-3deg); }
.ch-photos figure:nth-child(3) { transform: rotate(3deg); }
.ch-photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Video review 9:16 ---------- */
.reels-block { margin-top: clamp(56px, 8vw, 88px); }
.reels-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.reels-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.reels-head p { color: var(--c-muted); }
.reel-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 23%, 270px); gap: 18px; overflow-x: auto; padding: 8px 10px 22px 4px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
@media (min-width: 961px) { .reel-row { justify-content: center; grid-auto-columns: clamp(220px, 26%, 290px); } }
.reel {
  position: relative; scroll-snap-align: start; aspect-ratio: 9 / 16; padding: 0; overflow: hidden; text-align: left;
  border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--ink); box-shadow: var(--sh);
  transition: transform var(--dur) var(--spring), box-shadow var(--dur);
}
.reel:hover { transform: translate(-2px, -4px) rotate(-1.2deg); box-shadow: var(--sh-lg); }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.reel:hover img { transform: scale(1.06); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.75)); }
.reel-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; border: var(--bw) solid var(--ink); background: #fff; color: var(--c-primary); box-shadow: var(--sh-sm); animation: breathe 2.4s ease-in-out infinite; }
.reel-play svg { width: 26px; height: 26px; margin-left: 4px; }
.reel-txt { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; color: #fff; display: grid; gap: 4px; }
.reel-txt b { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.reel-txt small { font-weight: 700; opacity: .9; }
.reel-badge { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-weight: 800; font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }
.reel-badge svg { width: 14px; height: 14px; }

/* ---------- Sinh nhật ---------- */
.bd-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bd-copy { display: grid; gap: 18px; justify-items: start; }
.usp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.usp li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--c-surface); border: 1.5px solid var(--ink); font-weight: 800; font-size: 15px; line-height: 1.3; }
.usp li svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--c-accent); border: 1.5px solid var(--ink); color: var(--ink); }
.polaroids { position: relative; aspect-ratio: 1 / 1; }
.pola { position: absolute; margin: 0; width: 54%; padding: 10px 10px 34px; background: #fff; border: var(--bw) solid var(--ink); border-radius: 10px; box-shadow: var(--sh); transition: transform 700ms var(--spring); }
.pola img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 4px; }
.pola figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.pola::before { content: ""; position: absolute; top: -14px; left: 50%; width: 70px; height: 24px; margin-left: -35px; background: color-mix(in srgb, var(--c-accent) 75%, transparent); border: 1.5px solid var(--ink); transform: rotate(-4deg); }
.pola:nth-child(1) { left: 0; top: 6%; transform: rotate(-7deg); z-index: 1; }
.pola:nth-child(2) { right: 0; top: 0; transform: rotate(6deg); z-index: 2; }
.pola:nth-child(3) { left: 26%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.polaroids:hover .pola:nth-child(1) { transform: rotate(-10deg) translate(-8px, -6px); }
.polaroids:hover .pola:nth-child(2) { transform: rotate(9deg) translate(8px, -8px); }
.polaroids .balloon { position: absolute; z-index: 4; width: 46px; animation: float 5s ease-in-out infinite; }
.polaroids .balloon.b1 { top: -8%; left: 42%; --d-fill: var(--c-primary); }
.polaroids .balloon.b2 { top: 30%; right: -4%; --d-fill: var(--c-secondary); animation-delay: -2s; width: 38px; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); align-items: stretch; }
.pkg {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: clamp(22px, 3vw, 30px);
  border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); background: var(--c-surface); box-shadow: var(--sh);
  transition: transform var(--dur) var(--spring), box-shadow var(--dur);
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.pkg.is-featured { background: var(--c-soft); transform: translateY(-14px); box-shadow: var(--sh-lg); }
.pkg.is-featured:hover { transform: translateY(-20px); }
.pkg-ribbon { position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(-2deg); padding: 4px 16px; border-radius: 999px; background: var(--c-primary); color: #fff; border: var(--bw) solid var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 15px; white-space: nowrap; box-shadow: var(--sh-sm); }
.pkg h4 { font-size: 1.6rem; }
.pkg-price { font-family: var(--font-display); font-weight: 800; color: var(--c-primary); font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pkg-price small { display: block; font-family: var(--font-body); font-size: 14px; color: var(--c-muted); font-weight: 700; margin-bottom: 4px; }
.pkg-price .pkg-unit { display: inline; margin-left: 2px; font-size: 16px; color: var(--c-muted); }
.pkg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pkg-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--c-band); border: 1.5px solid var(--ink); font-weight: 800; font-size: 14px; }
.pkg-chips svg { width: 16px; height: 16px; }
.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15.5px; }
.checks li small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--c-muted); }
.pkg-actions { display: grid; gap: 10px; }
.bd-note {
  max-width: 760px; margin: 32px auto 0; padding: 12px 20px; text-align: center; font-weight: 700; color: var(--ink);
  border: 1.5px dashed var(--ink); border-radius: 999px; background: var(--c-surface);
}
.checks svg { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--c-accent-2); color: #fff; border: 1.5px solid var(--ink); }
[data-brand="farm"] .checks svg { background: var(--c-accent-2); }
/* Quà tặng kèm gói: nền vàng, chữ đậm */
.checks li.is-gift { margin-top: 2px; padding: 8px 10px; border: 1.5px dashed var(--ink); border-radius: 14px; background: color-mix(in srgb, var(--c-accent) 32%, var(--c-surface)); font-weight: 800; }
.checks li.is-gift svg { background: var(--c-primary); }
.checks li.is-gift small { font-weight: 700; color: var(--c-primary); }

.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 0; border-top: 3px dashed var(--ink); transform-origin: left; transform: scaleX(var(--line, 1)); transition: transform 1.4s var(--ease-out); }
.js .steps:not(.is-in) { --line: 0; }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; counter-increment: step; }
.step-n { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--c-accent); border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm); font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); }
.step:nth-child(even) .step-n { background: var(--c-secondary); color: #fff; }
.step:nth-child(3) .step-n { background: var(--c-pink); color: var(--ink); }
.step h4 { font-size: 1.15rem; }
.step p { font-size: 14.5px; color: var(--c-muted); }
.js .steps:not(.is-in) .step { opacity: 0; transform: translateY(20px) scale(.9); }
.steps.is-in .step { transition: opacity 500ms var(--ease-out), transform 600ms var(--spring); transition-delay: calc(var(--i) * 140ms + 200ms); }

/* ---------- Đoàn ---------- */
.grp-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.grp-copy { display: grid; gap: 18px; justify-items: start; }
.grp-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1; }
.grp-photos figure { margin: 0; border: var(--bw) solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh); }
.grp-photos figure:first-child { grid-row: span 2; }
.grp-photos img { width: 100%; height: 100%; object-fit: cover; }
.segments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.segments li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 18px; border: 1.5px solid var(--ink); background: var(--c-surface); font-weight: 800; font-size: 15px; }
.segments svg { width: 40px; height: 40px; flex: none; }
.monthly { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 18px; border: var(--bw) dashed var(--ink); border-radius: var(--radius); background: var(--c-soft); }
.monthly .cal { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--c-primary); color: #fff; border: var(--bw) solid var(--ink); font-family: var(--font-display); font-weight: 800; line-height: 1; text-align: center; font-size: 12px; }
.monthly .cal b { font-size: 26px; display: block; }
.monthly h4 { font-size: 1.2rem; }
.monthly p { font-size: 14.5px; color: var(--c-muted); }
.monthly small { font-weight: 800; color: var(--c-primary); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
/* Poster mời đoàn: khung sticker, xoay nhẹ như ảnh dán */
.sub-note { text-align: center; color: var(--c-muted); margin: -16px 0 26px; }
.posters { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 30px); max-width: calc(var(--n, 2) * 320px); margin-inline: auto; }
.poster {
  position: relative; display: block; padding: 8px; aspect-ratio: 1414 / 2000; overflow: hidden;
  border: var(--bw) solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: var(--sh);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--spring), rotate var(--dur) var(--spring), translate var(--dur) var(--spring), scale var(--dur) var(--spring), box-shadow var(--dur);
}
.poster img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 10px); border: 1.5px solid var(--ink); background: var(--c-soft); }
.poster:nth-child(odd) { rotate: -1.6deg; }
.poster:nth-child(even) { rotate: 1.6deg; translate: 0 10px; }
.poster:hover { rotate: 0deg; translate: 0 -6px; scale: 1.02; box-shadow: var(--sh-lg); z-index: 1; }
.poster-zoom {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); font-weight: 800; font-size: 13px; color: var(--ink); box-shadow: var(--sh-sm);
}
.poster-zoom svg { width: 16px; height: 16px; }
.grp-pricing { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 22px; justify-items: center; padding: clamp(22px, 3vw, 34px); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); background: var(--c-band); box-shadow: var(--sh-lg); }
.quote { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; max-width: 720px; padding: 18px 22px; border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--c-surface); }
.quote-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--c-accent); border: var(--bw) solid var(--ink); transform: rotate(-6deg); }
.quote-ico svg { width: 30px; height: 30px; }
.quote h4 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--c-primary); }
.quote p { color: var(--c-muted); }
.modal.is-poster .modal-photo img { max-height: 92vh; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.perks li { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.perks svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-primary); color: #fff; }

/* ---------- Form tư vấn ---------- */
.consult-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.consult-copy { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-quick { display: grid; gap: 10px; }
.contact-quick a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 700; }
.contact-quick svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--c-surface); color: var(--c-primary); box-shadow: var(--sh-sm); }
.consult-form {
  position: relative; display: grid; gap: 18px; padding: clamp(22px, 3.4vw, 36px); padding-top: clamp(36px, 5vw, 48px);
  border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); background: var(--c-surface); box-shadow: var(--sh-lg);
}
.form-peek { position: absolute; top: -78px; right: 26px; width: 104px; height: 108px; pointer-events: none; }
.form-peek .mascot { position: absolute; inset: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--c-soft); }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; }
.seg-opt span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 16px; cursor: pointer; transition: background-color var(--dur), color var(--dur); }
.seg-opt span svg { width: 20px; height: 20px; }
.seg-opt input:checked + span { background: var(--c-primary); color: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--c-secondary); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 800; font-size: 15px; color: var(--ink); }
.req { color: var(--c-primary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; color: var(--c-text);
  border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; transition: box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23333' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--c-secondary); border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #A1928A; }
.field.has-error input, .field.has-error select { border-color: #C0262D; box-shadow: 4px 4px 0 #F7C1C1; }
.err { min-height: 0; color: #B3202A; font-size: 14px; font-weight: 700; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--c-muted); text-align: center; }
.form-success { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px; text-align: center; border-radius: calc(var(--radius-lg) - 4px); background: var(--c-surface); animation: swap-in 600ms var(--spring); }
.form-success h3 { font-size: 2rem; }
.fs-check { width: 88px; height: 88px; padding: 18px; border-radius: 50%; background: var(--c-accent-2); color: #fff; border: var(--bw) solid var(--ink); box-shadow: var(--sh); animation: pop-in 700ms var(--spring) both; }
.confetti { position: fixed; z-index: 95; top: 0; left: 0; width: 12px; height: 16px; border: 1.5px solid var(--ink); border-radius: 3px; pointer-events: none; }

/* ---------- Đánh giá ---------- */
.rv-marquee { overflow: hidden; padding-block: 12px 24px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-track { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; padding-left: 22px; }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
.rv { width: 340px; flex: none; display: grid; gap: 14px; align-content: start; padding: 22px; border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--sh-sm); }
.rv:nth-child(3n+2) { background: var(--c-soft); transform: rotate(1deg); }
.rv:nth-child(3n) { transform: rotate(-1deg); }
.rv-stars { display: flex; gap: 2px; }
.rv-stars svg { width: 20px; height: 20px; --d-fill: var(--c-accent); }
.rv q { font-size: 16px; quotes: "“" "”"; }
.rv-who { display: flex; align-items: center; gap: 10px; }
.rv-ava { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--c-accent); font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.rv:nth-child(even) .rv-ava { background: var(--c-secondary); color: #fff; }
.rv-who b { display: block; font-family: var(--font-display); color: var(--ink); line-height: 1.2; }
.rv-who small { color: var(--c-muted); font-weight: 700; }

/* ---------- Thư viện ảnh ---------- */
.masonry { columns: 3 260px; column-gap: 16px; }
.m-item { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; break-inside: avoid; border: var(--bw) solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--c-soft); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--spring), box-shadow var(--dur); }
.m-item:hover { transform: translate(-2px, -3px) rotate(-.6deg); box-shadow: var(--sh); }
.m-item img { width: 100%; height: auto; }
.m-item .m-zoom { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); opacity: 0; transform: scale(.6); transition: opacity var(--dur), transform var(--dur) var(--spring); }
.m-item:hover .m-zoom, .m-item:focus-visible .m-zoom { opacity: 1; transform: none; }
.m-item .m-zoom svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 14px; }
.qa { border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--sh-sm); overflow: hidden; transition: background-color var(--dur); }
.qa[open] { background: var(--c-soft); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 34px; height: 34px; flex: none; padding: 6px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--c-accent); transition: transform var(--dur) var(--spring); }
.qa[open] summary svg { transform: rotate(180deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.qa[open] .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 20px 20px; color: var(--c-muted); }

/* ---------- CTA cuối ---------- */
.cta-band { padding: clamp(24px, 4vw, 40px) 0 clamp(72px, 9vw, 112px); }
.cta-inner {
  position: relative; display: grid; justify-items: center; gap: 16px; text-align: center; padding: clamp(36px, 6vw, 72px) var(--gutter);
  border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); background: var(--c-primary); color: #fff; box-shadow: var(--sh-lg); overflow: hidden;
}
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; text-shadow: 3px 3px 0 var(--ink); }
.cta-inner p { font-size: 18px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }
.cta-dd { position: absolute; width: 70px; height: 70px; animation: float 6s ease-in-out infinite; }
.cta-dd.d1 { top: 14%; left: 6%; --r: -12deg; }
.cta-dd.d2 { bottom: 12%; right: 7%; width: 54px; --r: 8deg; animation-delay: -2s; }

/* ---------- Bảng giá tiệc theo cơ sở ---------- */
.bd-pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); align-items: stretch; }
.bd-pricing.has-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin-inline: auto; }
.tickets-card { display: grid; gap: 6px; align-content: start; padding: clamp(22px, 3vw, 30px); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); background: var(--c-surface); box-shadow: var(--sh); }
.tickets-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 6px; }
.tickets-card h4 svg { width: 34px; height: 34px; padding: 6px; border-radius: 12px; background: var(--c-accent); border: 1.5px solid var(--ink); }
.tk-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.tk-row:last-child { border-bottom: 0; }
.tk-row span { font-weight: 700; }
.tk-row b { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.7rem); color: var(--c-primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk-row b small { font-size: 14px; color: var(--c-muted); }
.tk-row .tk-text { padding: 2px 12px; border-radius: 999px; background: var(--c-accent-2); color: #fff; font: 800 15px var(--font-display); white-space: nowrap; }
[data-brand="funzone"] .tk-row .tk-text { background: var(--c-primary); }

/* ---------- Trang trí theo chủ đề ---------- */
.decor { margin-top: clamp(56px, 8vw, 88px); padding: clamp(18px, 3vw, 34px); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); background: var(--c-surface); box-shadow: var(--sh-lg); }
.decor-head { display: grid; justify-items: center; gap: 10px; text-align: center; margin-bottom: 22px; }
.ribbon {
  display: inline-block; padding: 8px 36px; background: var(--c-accent); color: var(--ink);
  font: 800 clamp(15px, 1.8vw, 19px)/1.2 var(--font-display); letter-spacing: .05em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
}
.decor-head h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.decor-head p { color: var(--c-muted); max-width: 60ch; }
.decor-car { --car-ratio: 16 / 9; max-width: 900px; margin-inline: auto; }
.decor-car .car-frame { box-shadow: var(--sh); }
.themes { margin-top: 30px; padding: clamp(16px, 2.4vw, 24px); border-radius: var(--radius-lg); background: var(--c-soft); }
.themes-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pill-title { display: inline-block; padding: 6px 18px; border-radius: 999px; border: 1.5px solid var(--c-accent-2); background: var(--c-surface); color: var(--c-primary); font: 800 16px var(--font-display); }
.strip-nav { display: flex; gap: 8px; }
.strip-nav .icon-btn { width: 40px; height: 40px; }
.strip-nav .icon-btn svg { width: 18px; height: 18px; }
.strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; overscroll-behavior-x: contain; }
.theme-card { flex: 0 0 136px; scroll-snap-align: start; }
.theme-card button { display: grid; justify-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: center; color: var(--ink); }
.theme-pic { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 22px; border: var(--bw) solid var(--ink); background: var(--theme-bg, var(--c-surface)); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--spring); }
.theme-pic img { width: 100%; height: 100%; object-fit: cover; }
.theme-pic svg { width: 66%; height: 66%; }
.theme-card b { font: 800 15px/1.25 var(--font-display); }
.theme-card button:hover .theme-pic { transform: translateY(-4px) rotate(-2deg); }
.theme-card.is-custom .theme-pic { border-style: dashed; background: var(--c-surface); color: var(--c-primary); }
.theme-card.is-custom .theme-pic span { display: grid; justify-items: center; gap: 4px; font: 800 13px/1.2 var(--font-display); }
.theme-card.is-custom svg { width: 40px; height: 40px; --d-fill: var(--c-accent); }
.decor-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 14px; text-align: center; font-weight: 700; }
.decor-cta .btn svg { --d-fill: var(--c-accent); }

/* ---------- Dịch vụ khác ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--spring); }
.svc:hover { transform: translateY(-3px) rotate(-.5deg); }
.svc-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--c-soft); border: 1.5px solid var(--ink); }
.svc-ico svg { width: 44px; height: 44px; }
.svc b { display: block; font: 800 16px/1.25 var(--font-display); color: var(--ink); }
.svc .svc-price { font: 800 18px var(--font-display); color: var(--c-primary); font-variant-numeric: tabular-nums; }
.svc-note { margin-top: 18px; text-align: center; color: var(--c-muted); }

/* ---------- Dải ảnh đoàn ---------- */
.strip-block { margin-top: clamp(48px, 7vw, 80px); }
.strip-block .themes-head { margin-bottom: 18px; }
.sub-title.left { margin: 0; text-align: left; }
.photo-strip { gap: 16px; }
.photo-strip li { flex: 0 0 clamp(240px, 31%, 360px); scroll-snap-align: start; }
.photo-strip button { display: block; width: 100%; padding: 0; aspect-ratio: 4 / 3; overflow: hidden; border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--c-soft); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--spring); }
.photo-strip button:hover { transform: translateY(-3px) rotate(-.6deg); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Nút nhắn tin nổi ---------- */
.chat-fab {
  position: fixed; z-index: var(--z-dock); right: 20px; bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex; flex-direction: row-reverse; align-items: center; gap: 8px; text-decoration: none;
  opacity: 0; transform: translateY(90px) scale(.6); pointer-events: none; transition: transform 520ms var(--spring), opacity 300ms var(--ease-out);
}
.chat-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.chat-ico { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: #fff; border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm); --chat-bolt: var(--c-primary); }
.chat-ico svg { width: 28px; height: 28px; }
.chat-ico::after { content: ""; position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border-radius: 50%; background: #34C759; border: 2px solid #fff; }
.chat-fab.is-on .chat-ico { animation: chat-wiggle 6s ease-in-out 1.2s infinite; }
.chat-tip { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); font: 800 13px var(--font-display); white-space: nowrap; box-shadow: var(--sh-sm); opacity: 0; translate: 10px 0; transition: opacity var(--dur), translate var(--dur) var(--spring); pointer-events: none; }
.chat-fab:hover .chat-tip, .chat-fab:focus-visible .chat-tip, .chat-fab.show-tip .chat-tip { opacity: 1; translate: 0 0; }
@keyframes chat-wiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-12deg) scale(1.06); } 92% { transform: rotate(10deg) scale(1.06); } 95% { transform: rotate(-6deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer); color: #F6EADB; padding: clamp(48px, 7vw, 80px) 0 calc(24px + env(safe-area-inset-bottom)); transition: background-color var(--dur-slow); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.ft-logos { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.ft-logos img { height: 52px; width: auto; background: #fff; padding: 6px 12px; border-radius: 14px; }
.ft-brand p { max-width: 42ch; color: #E2D3C4; }
.ft-hotline { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff; text-decoration: none; }
.ft-hotline svg { width: 26px; height: 26px; color: var(--c-accent); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.fb-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; transition: background-color var(--dur-fast); }
.fb-link svg { width: 20px; height: 20px; }
.fb-link:hover { background: rgba(255, 255, 255, .12); }
.ft-col h3 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.ft-col li { margin-bottom: 12px; }
.ft-col a { text-decoration: none; display: grid; gap: 2px; }
.ft-col a b { color: #fff; font-weight: 800; }
.ft-col a small { color: #CDBCAB; font-size: 13.5px; line-height: 1.45; }
.ft-col a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; color: #CDBCAB; }

/* ---------- Dock mobile ---------- */
.dock { display: none; }

/* ---------- Modal ---------- */
.modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.modal::backdrop { background: rgba(20, 12, 8, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { display: grid; place-items: center; animation: fade-in 220ms var(--ease-out); }
.modal-box { position: relative; animation: zoom-in 380ms var(--spring); }
.modal-close { position: absolute; top: -18px; right: -18px; z-index: 2; }
.modal-video { width: min(92vw, calc(84vh * 9 / 16)); aspect-ratio: 9 / 16; border: var(--bw) solid var(--ink); border-radius: var(--radius); background: #000; box-shadow: var(--sh-lg); }
.vm-frame { position: absolute; inset: 0; }
.vm-frame > iframe, .vm-frame > video, .vm-empty { border-radius: calc(var(--radius) - 4px); overflow: hidden; }
.vm-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-video { overflow: visible; }
.vm-open {
  position: absolute; left: 50%; bottom: -58px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; background: #fff; border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm);
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: none;
}
.vm-open svg { width: 16px; height: 16px; }
.vm-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background: var(--c-soft); color: var(--ink); }
.vm-empty svg.mascot { position: relative; width: 140px; height: 146px; }
.vm-empty h4 { font-size: 1.4rem; }
.vm-empty p { color: var(--c-muted); font-size: 15px; }
.modal-photo { max-width: 92vw; }
.modal-photo img { max-width: 92vw; max-height: 84vh; width: auto; border: var(--bw) solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: var(--sh-lg); }
.lb-nav { position: absolute; top: 50%; margin-top: -23px; }
.lb-prev { left: -16px; } .lb-next { right: -16px; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, calc(100% + 48px)); visibility: hidden; padding: 12px 20px; border: var(--bw) solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; box-shadow: var(--sh); transition: transform 420ms var(--spring), visibility 0s linear 420ms; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 420ms var(--spring), visibility 0s; }

/* ---------- Hiện dần khi cuộn ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 800ms var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Chuyển brand (View Transitions) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: vt-reveal 720ms cubic-bezier(.7, 0, .3, 1) both; }
html.no-vt body { animation: brand-fade 520ms var(--ease-out); }

/* ---------- Keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 6deg)); } }
@keyframes drift { from { transform: translateX(-20vw); } to { transform: translateX(120vw); } }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1, 1); } 45% { transform: translateY(-10px) scale(.98, 1.02); } 55% { transform: translateY(-10px) scale(.98, 1.02); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: .14; } 50% { transform: scale(.8); opacity: .08; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-18deg); } 50% { transform: rotate(6deg); } 75% { transform: rotate(-12deg); } }
@keyframes wave-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(10deg); } }
@keyframes ear-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(10deg); } }
@keyframes ear-r { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }
@keyframes chew { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.92); } }
@keyframes tilt { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes jump { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(6%) scale(1.08, .9); } 60% { transform: translateY(-22%) scale(.95, 1.06); } 100% { transform: translateY(0) scale(1); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.4) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drop { 0% { opacity: 0; transform: translate(-50%, -260%); } 60% { opacity: 1; transform: translate(-50%, -88%); } 80% { transform: translate(-50%, -108%); } 100% { opacity: 1; transform: translate(-50%, -100%); } }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@keyframes sail { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(-14px, 6px) rotate(4deg); } }
@keyframes swap-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.85) translateY(20px); } }
@keyframes vt-reveal { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 30%)); } to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 30%)); } }
@keyframes brand-fade { from { opacity: .4; } }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .main-nav a { padding: 8px 10px; font-size: 15px; }
  .hide-sm { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 4px; padding: 14px var(--gutter) 22px;
    background: var(--c-bg); border-bottom: var(--bw) solid var(--ink); box-shadow: 0 12px 0 rgba(0,0,0,.06);
    transform: translateY(-120%); transition: transform 420ms var(--spring); z-index: -1;
  }
  .main-nav.is-open { transform: none; }
  .main-nav a { padding: 12px 16px; font-size: 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-stats { grid-template-columns: repeat(2, auto); justify-content: center; }
  .hero-art { width: min(100%, 640px); margin-inline: auto; }
  .loc-grid { grid-template-columns: 1fr; }
  .map-card { max-width: 520px; width: 100%; margin-inline: auto; }
  .promo-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bd-intro, .grp-intro, .consult-grid, .faq-grid, .city-highlight { grid-template-columns: 1fr; }
  .consult-copy, .faq-grid .sec-head, .loc-panel { position: static; }
  .polaroids { max-width: 520px; width: 100%; margin-inline: auto; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 34px; }
  .pkg.is-featured { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 14px; max-width: 520px; margin-inline: auto; }
  .steps::before { top: 10px; bottom: 10px; left: 33px; right: auto; height: auto; border-top: 0; border-left: 3px dashed var(--ink); transform-origin: top; transform: scaleY(var(--line, 1)); }
  .step { grid-template-columns: 68px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
  .step-n { grid-row: span 2; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  /* Mobile/tablet: danh sách cơ sở lên trước bản đồ để chọn nhanh */
  .loc-panel { display: contents; }
  .loc-list { order: 1; }
  .map-card { order: 2; }
  .loc-detail { order: 3; }
  .loc-cross { order: 4; }
  /* Mobile/tablet: nút gạt brand → carousel ảnh → tiêu đề (khách thấy ảnh ngay khi vào) */
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-copy { display: contents; }
  .hero-copy > * { justify-self: center; align-self: center; text-align: center; }
  .brand-switch { order: -2; }
  .hero-art { order: -1; margin-top: 4px; width: min(100%, 640px); align-self: center; padding-bottom: 54px; }
  .act-tabs { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 4px; scrollbar-width: none; }
  .act-tabs::-webkit-scrollbar { display: none; }
  .act-tab { flex: 0 0 104px; scroll-snap-align: start; font-size: 14px; }
  .act-panel { grid-template-columns: 1fr; }
  .act-car { order: -1; }
  .bd-pricing, .bd-pricing.has-tickets { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 30px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-strip li { flex-basis: 46%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .eyebrow { font-size: 12.5px; letter-spacing: .03em; padding: 4px 12px; }
  .c2, .c3, .s6, .sp1, .s7 { display: none; }
  .c1 { --w: 110px; top: 12%; }
  .map-card { max-width: 360px; }
  .loc-list { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
  .loc-list li { flex: 0 0 auto; scroll-snap-align: start; }
  .loc-btn { min-width: 220px; }
  .pin-label { font-size: 11px; line-height: 18px; padding: 0 6px; }
  .zalo-club { grid-template-columns: auto 1fr; }
  .zc-go { grid-column: 1 / -1; justify-content: center; min-height: 44px; }
  .quote { grid-template-columns: 1fr; justify-items: start; gap: 12px; padding: 18px; }
  .quote-ico { width: 52px; height: 52px; }
  .perks { flex-direction: column; align-items: flex-start; align-self: stretch; padding-inline: 4px; }
  .brand-logo img { height: 36px; }
  [data-brand="farm"] .brand-logo img { height: 44px; }
  .loc-chip { max-width: 150px; font-size: 13px; }
  .bs-opt { padding: 6px 16px; font-size: 16px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .mascot-stage { width: 118px; }
  /* Bóng nói nằm dưới ảnh, chú thích ảnh chừa chỗ cho mascot để không che nhau */
  .speech { font-size: 14px; right: 92%; bottom: 4%; }
  .hero-car .car-cap { max-width: calc(100% - 118px); border-radius: 14px; }
  .loc-list { grid-template-columns: 1fr; }
  .usp, .segments { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .rv { width: 280px; }
  .reel-row { grid-auto-columns: 62%; }
  .rv-track { animation-duration: 32s; }
  .act-tab-ico { width: 68px; height: 68px; border-radius: 22px; }
  .act-tab-ico svg { width: 46px; height: 46px; }
  .act-tab { flex-basis: 92px; }
  .act-info h3 { font-size: 1.6rem; }
  .car-btn { width: 38px; height: 38px; }
  .car-btn svg { width: 18px; height: 18px; }
  .car-cap { font-size: 13px; left: 10px; bottom: 10px; padding: 4px 10px; }
  .masonry { columns: 2; column-gap: 10px; }
  .m-item { margin-bottom: 10px; border-radius: 16px; }
  .theme-card { flex-basis: 112px; }
  .theme-card b { font-size: 14px; }
  .decor { padding: 16px 12px; }
  .themes { padding: 14px 10px; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .svc { grid-template-columns: 1fr; justify-items: center; align-content: start; gap: 6px; padding: 10px 6px 12px; text-align: center; border-radius: 18px; }
  .svc-ico { width: 52px; height: 52px; border-radius: 16px; }
  .svc-ico svg { width: 38px; height: 38px; }
  .svc b { font-size: 13.5px; }
  .svc .svc-price { font-size: 15px; }
  .photo-strip li { flex-basis: 78%; }
  .strip-nav .icon-btn { width: 36px; height: 36px; }
  .tickets-card h4 { font-size: 1.3rem; }
  .chat-fab { right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .chat-ico { width: 46px; height: 46px; }
  .chat-ico svg { width: 24px; height: 24px; }
  .chat-tip { display: none; }
  .hero-car .car-dots { display: none; }
  .form-peek { width: 84px; height: 88px; top: -62px; right: 18px; }
  .dock {
    position: fixed; z-index: var(--z-dock); left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px;
    border: var(--bw) solid var(--ink); border-radius: 22px; background: var(--c-surface); box-shadow: var(--sh-sm);
  }
  .dock a { display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 4px; border-radius: 16px; text-decoration: none; font-weight: 800; font-size: 12.5px; color: var(--ink); }
  .dock a svg { width: 22px; height: 22px; }
  .dock a.dock-main { background: var(--c-primary); color: #fff; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .modal-close { top: 8px; right: 8px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}

/* Máy yếu / tiết kiệm dữ liệu: bớt doodle */
.is-lite .dd:not(.dd-cloud):nth-of-type(even) { display: none; }
.is-lite .dd-cloud { animation: none; }

/* Tôn trọng tùy chọn giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js .steps:not(.is-in) .step { opacity: 1 !important; transform: none !important; }
  .marquee-track, .rv-track { animation: none !important; }
  .rv-marquee { overflow-x: auto; }
  .m-lids { transform: scaleY(0) !important; }
  ::view-transition-new(root) { animation: none; }
}
