/* =========================================================
   Môi Trường Đô Thị Lâm Đồng – iOS-style design system
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --brand-green: #1f8a4c;
  --brand-green-2: #34c759;
  --brand-blue: #0a7cc9;
  --brand-blue-2: #0a84ff;
  --tint: var(--brand-green);
  --orange: #ff9500;
  --red: #ff3b30;
  --yellow: #ffd60a;
  --zalo: #0068ff;

  --bg: #f2f2f7;
  --bg-elev: #ffffff;
  --card: #ffffff;
  --card-2: #f7f7fa;
  --label: #1c1c1e;
  --label-2: rgba(60, 60, 67, 0.72);
  --label-3: rgba(60, 60, 67, 0.45);
  --sep: rgba(60, 60, 67, 0.14);
  --fill: rgba(120, 120, 128, 0.12);
  --fill-2: rgba(120, 120, 128, 0.2);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.86);

  --grad: linear-gradient(135deg, #1f8a4c 0%, #22a35a 40%, #0a7cc9 100%);
  --grad-text: linear-gradient(120deg, #1f8a4c 10%, #0a7cc9 90%);

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --r-xl: 38px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08), 0 32px 64px rgba(0, 0, 0, 0.1);

  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Be Vietnam Pro', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 72px;
  --tabbar-h: 0px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elev: #1c1c1e;
    --card: #1c1c1e;
    --card-2: #2c2c2e;
    --label: #f5f5f7;
    --label-2: rgba(235, 235, 245, 0.68);
    --label-3: rgba(235, 235, 245, 0.4);
    --sep: rgba(84, 84, 88, 0.55);
    --fill: rgba(120, 120, 128, 0.24);
    --fill-2: rgba(120, 120, 128, 0.36);
    --glass: rgba(28, 28, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(28, 28, 30, 0.88);
    --tint: #30d158;
    --grad-text: linear-gradient(120deg, #30d158 10%, #40a9ff 90%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 32px 64px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  letter-spacing: -0.005em;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
::selection { background: rgba(31, 138, 76, 0.22); }
:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.55); outline-offset: 2px; border-radius: 8px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--card); padding: 8px 14px; border-radius: 10px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--label-2); }
.small { font-size: 0.86rem; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-tight { padding: 32px 0; }
.section-top-0 { padding-top: 0; }
.section-alt { background: var(--bg-elev); }
@media (prefers-color-scheme: dark) { .section-alt { background: #0b0b0c; } }

/* View transitions giữa các trang (Chrome/Edge/Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-ios) both; }
::view-transition-new(root) { animation: vt-in 0.42s var(--ease-ios) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Typography helpers ---------- */
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gradient-light { background: linear-gradient(120deg, #b6f5c8, #8fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--eb, var(--tint));
  background: color-mix(in srgb, var(--eb, var(--tint)) 12%, transparent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow-light { color: #fff; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.25); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; max-width: none; flex-wrap: wrap; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
.section-sub { color: var(--label-2); font-size: 1.08rem; margin-top: 14px; }
.section-sub.left { max-width: 620px; }
.large-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6); animation: live 1.8s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
}
.glass-dark {
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  color: #fff;
}
.glass-card {
  background: var(--glass-strong);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- App icon (squircle) ---------- */
.app-icon {
  --s: 56px;
  width: var(--s); height: var(--s); flex: none;
  display: grid; place-items: center;
  border-radius: calc(var(--s) * 0.28);
  color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--tint)) 78%, #fff) 0%, var(--c, var(--tint)) 55%, color-mix(in srgb, var(--c, var(--tint)) 80%, #000) 100%);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c, var(--tint)) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.app-icon .ic { width: 52%; height: 52%; stroke-width: 2; }
.app-icon.lg { --s: 72px; }
.app-icon.sm { --s: 42px; }
.app-icon.xs { --s: 30px; border-radius: 8px; }
.app-icon.white { background: #fff; box-shadow: var(--shadow); }
.app-icon img { width: 60%; height: 60%; object-fit: contain; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bh); padding: 0 22px;
  border-radius: 999px; border: 0;
  font-weight: 600; font-size: 0.98rem; white-space: nowrap;
  transition: transform 0.35s var(--spring), box-shadow 0.3s, background 0.3s, opacity 0.2s;
  will-change: transform;
}
.btn:active { transform: scale(0.95); transition-duration: 0.1s; }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-sm { --bh: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(31, 138, 76, 0.32); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(31, 138, 76, 0.42); transform: translateY(-2px); }
.btn-glass { background: var(--fill); color: var(--label); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass:hover { background: var(--fill-2); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--brand-green); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.btn-white:hover { transform: translateY(-2px); }
.btn-glass-light { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass-light:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }
.btn-zalo { background: var(--zalo); color: #fff; box-shadow: 0 8px 22px rgba(0, 104, 255, 0.3); }
.btn-zalo img { background: #fff; border-radius: 6px; padding: 2px; }
.btn-zalo:hover { transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transform: scale(0); animation: ripple 0.6s var(--ease-out); pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.btn-ring { position: absolute; inset: 0; border-radius: inherit; z-index: -1; }
.btn-ring::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55); animation: btnpulse 2s infinite; }
@keyframes btnpulse { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5); } 70% { box-shadow: 0 0 0 16px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.btn-primary .ic { animation: none; }
.pulse-soft { animation: pulse-soft 2.4s var(--ease-out) infinite; }
@keyframes pulse-soft { 0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(255, 255, 255, 0.5); } 50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 12px rgba(255, 255, 255, 0); } }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--spring); }
.round-btn:hover { transform: scale(1.08); }
.round-btn:active { transform: scale(0.92); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--fill); font-size: 0.78rem; font-weight: 600; color: var(--label-2); }
.chip .ic { width: 14px; height: 14px; }
.chip-dark { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); }

/* ---------- Topbar ---------- */
.topbar { background: #0e1a14; color: rgba(255, 255, 255, 0.82); font-size: 0.82rem; position: relative; z-index: 51; }
.topbar-inner { display: flex; align-items: center; gap: 22px; height: 38px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item .ic { width: 15px; height: 15px; opacity: 0.85; }
.topbar-spacer { flex: 1; }
.topbar-hot strong { color: var(--yellow); letter-spacing: 0.02em; }
.topbar-hot .ic { animation: shake 2.4s infinite; transform-origin: 50% 50%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(242, 242, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid transparent;
  transition: height 0.35s var(--ease-ios), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
@media (prefers-color-scheme: dark) { .nav { background: rgba(0, 0, 0, 0.66); } }
.nav.scrolled { --nav-h: 62px; border-bottom-color: var(--sep); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; max-width: 1360px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; transition: transform 0.6s var(--spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; color: var(--brand-green); }
.brand-sub { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .brand-name { color: #30d158; } }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link { white-space: nowrap; position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 13px; border-radius: 999px; font-weight: 500; font-size: 0.94rem; color: var(--label-2); transition: color 0.2s, background 0.25s; }
.nav-link:hover { color: var(--label); background: var(--fill); }
.nav-link.active { color: var(--label); font-weight: 600; background: var(--card); box-shadow: var(--shadow-sm); }
.dd-caret { width: 14px; height: 14px; transition: transform 0.3s var(--spring); }
.nav-dd { position: relative; }
.nav-dd:hover .dd-caret, .nav-dd:focus-within .dd-caret { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 640px; padding: 12px;
  background: var(--glass-strong);
  backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: 1px solid var(--glass-border); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -8px) scale(0.96); transform-origin: top center;
  transition: opacity 0.25s, transform 0.4s var(--spring), visibility 0.25s;
}
.nav-dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-dd:hover .dd-panel, .nav-dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-sm); transition: background 0.2s; }
.dd-item:hover { background: var(--fill); }
.dd-item strong { display: block; font-size: 0.94rem; }
.dd-item small { display: block; color: var(--label-2); font-size: 0.8rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd-footer { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 12px; border-radius: var(--r-sm); background: var(--fill); font-weight: 600; font-size: 0.9rem; color: var(--tint); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.hot-pill { display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--spring); }
.hot-pill:hover { transform: translateY(-2px); }
.hot-pill-icon { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #3ddc6a, #1f8a4c); color: #fff; }
.hot-pill-icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: btnpulse 2s infinite; }
.hot-pill-icon .ic { width: 18px; height: 18px; animation: shake 2.4s infinite; }
.hot-pill-text { display: flex; flex-direction: column; line-height: 1.15; }
.hot-pill-text small { font-size: 0.7rem; color: var(--label-2); }
.hot-pill-text strong { font-size: 1rem; color: var(--red); letter-spacing: 0.01em; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fill); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--label); transition: transform 0.4s var(--spring), opacity 0.2s, top 0.3s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .menu-btn span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu sheet */
.menu-sheet {
  position: fixed; inset: 0; z-index: 49;
  padding: calc(var(--nav-h) + 38px) 16px calc(24px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: opacity 0.3s, transform 0.5s var(--ease-ios), visibility 0.3s;
}
.menu-open .menu-sheet { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.menu-open .tabbar, .menu-open .fab-stack { opacity: 0; pointer-events: none; transform: translateY(30px); transition: opacity 0.25s, transform 0.4s var(--ease-ios); }
.menu-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 18px; }
.menu-head img { border-radius: 50%; }
.menu-head strong { display: block; }
.menu-head small { color: var(--label-2); font-size: 0.8rem; }
.menu-sheet .list-row { opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.5s var(--ease-ios), background 0.2s; transition-delay: calc(var(--i) * 25ms); }
.menu-open .menu-sheet .list-row { opacity: 1; transform: none; }
.menu-cta { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- iOS grouped list ---------- */
.list-group { background: var(--card); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.list-title { margin: 22px 16px 8px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--label-2); }
.list-title.in { margin: 14px 16px 6px; }
.list-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; transition: background 0.2s; }
.list-row + .list-row::before { content: ''; position: absolute; top: 0; right: 0; left: 58px; height: 0.5px; background: var(--sep); }
.list-row.static + .list-row.static::before { left: 16px; }
.list-group .list-row:has(.app-icon) + .list-row::before { left: 58px; }
a.list-row:hover { background: var(--fill); }
a.list-row:active { background: var(--fill-2); }
.list-label { flex: 1; font-weight: 500; }
.list-value { color: var(--label-2); font-weight: 600; text-align: right; }
.list-chev { width: 18px; height: 18px; color: var(--label-3); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal='scale'] { transform: scale(0.92); }
[data-reveal='left'] { transform: translateX(-40px); }
[data-reveal='right'] { transform: translateX(40px); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Blobs / mesh ---------- */
.hero-mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: blob 18s ease-in-out infinite alternate; }
.blob-a { width: 520px; height: 520px; background: #6ee7a0; top: -160px; left: -120px; }
.blob-b { width: 460px; height: 460px; background: #7cc4ff; top: 10%; right: -140px; animation-delay: -6s; }
.blob-c { width: 380px; height: 380px; background: #ffe38a; bottom: -160px; left: 35%; animation-delay: -12s; opacity: 0.4; }
@media (prefers-color-scheme: dark) { .blob { opacity: 0.25; } }
@keyframes blob { 0% { translate: 0 0; scale: 1; } 50% { translate: 40px 30px; scale: 1.1; } 100% { translate: -30px 50px; scale: 0.95; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; margin-bottom: 20px; }
.hero-sub { font-size: 1.14rem; color: var(--label-2); max-width: 540px; margin-bottom: 28px; }
.hero-sub strong { color: var(--label); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--label-2); font-size: 0.92rem; font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: var(--tint); }
.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); transform-style: preserve-3d; transition: transform 0.6s var(--ease-out); border: 6px solid var(--card); }
.hero-photo img { width: 100%; height: auto; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; box-shadow: var(--shadow); font-size: 0.86rem; line-height: 1.3; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-card strong { display: block; font-size: 0.9rem; }
.float-card small { color: var(--label-2); font-size: 0.76rem; }
.fc-1 { left: -28px; bottom: 18%; }
.fc-2 { right: -18px; top: -22px; animation-delay: -2s; }
.fc-3 { right: 8%; bottom: -26px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; animation-delay: -4s; }
.stars { display: flex; gap: 2px; color: #ffcc00; }
.stars .ic { width: 15px; height: 15px; fill: currentColor; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--grad); color: #fff; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.marquee-item .ic { opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; transition: transform 0.4s var(--spring), box-shadow 0.3s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 0.5em; margin-left: 2px; }
.stat-label { color: var(--label-2); font-weight: 500; font-size: 0.92rem; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--spring), box-shadow 0.4s;
  transform-style: preserve-3d;
}
.service-card::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); transition: transform 0.6s var(--ease-out); }
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scale(1.6); }
.service-card .app-icon { margin-bottom: 6px; transition: transform 0.5s var(--spring); }
.service-card:hover .app-icon { transform: scale(1.08) rotate(-6deg); }
.service-card h3 { font-size: 1.24rem; }
.service-card p { color: var(--label-2); font-size: 0.95rem; flex: 1; margin: 0; }
.service-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 0.5px solid var(--sep); }
.price-from { font-size: 0.88rem; color: var(--label-2); }
.price-from strong { color: var(--c, var(--tint)); font-size: 1.02rem; }
.circle-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); transition: background 0.3s, color 0.3s, transform 0.4s var(--spring); }
.service-card:hover .circle-arrow { background: var(--c); color: #fff; transform: translateX(4px); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 16px; }
.bento-photo { grid-column: span 2; grid-row: span 2; position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bento-photo:hover img { transform: scale(1.06); }
.bento-photo-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 18px; display: flex; flex-direction: column; }
.bento-photo-cap span { font-size: 0.88rem; opacity: 0.85; }
.bento-card { background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.45s var(--spring), box-shadow 0.3s; }
.section-alt .bento-card, .section-alt .stat-card { background: var(--bg); box-shadow: none; }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 14%, transparent); color: var(--tint); margin-bottom: 14px; transition: transform 0.5s var(--spring); }
.bento-card:hover .bento-icon { transform: scale(1.12) rotate(8deg); }
.bento-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.bento-card p { color: var(--label-2); font-size: 0.92rem; margin: 0; }
.bento-cta { grid-column: span 2; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--grad); color: #fff; box-shadow: 0 16px 36px rgba(31, 138, 76, 0.28); transition: transform 0.45s var(--spring); }
.bento-cta::before { content: ''; position: absolute; width: 260px; height: 260px; right: -60px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%); }
.bento-cta:hover { transform: translateY(-5px) scale(1.01); }
.bento-cta small { display: block; opacity: 0.85; font-weight: 600; }
.bento-cta strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.bento-cta-icon { position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.35); }
.bento-cta-icon::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); animation: ringout 2s var(--ease-out) infinite; }
.bento-cta-icon .ic { width: 28px; height: 28px; animation: shake 2s infinite; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason-grid.four { grid-template-columns: repeat(4, 1fr); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-line { position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.steps-line span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.8s var(--ease-out) 0.3s; }
.steps.in .steps-line span { width: 100%; }
.step { position: relative; text-align: center; }
.step-num { position: relative; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 24px; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow); color: var(--tint); transition: transform 0.5s var(--spring); }
.section-alt .step-num { background: var(--bg); }
.step:hover .step-num { transform: translateY(-6px) rotate(-4deg); }
.step-num .ic { width: 30px; height: 30px; }
.step-num em { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-style: normal; font-size: 0.78rem; font-weight: 700; box-shadow: 0 4px 10px rgba(31, 138, 76, 0.35); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--label-2); font-size: 0.92rem; margin: 0 auto; max-width: 240px; }

/* ---------- Carousel ---------- */
.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - 1160px) / 2)) 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.photo-card { position: relative; flex: 0 0 min(560px, 82vw); aspect-ratio: 16 / 8; margin: 0; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: center; box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; }
.carousel-nav { display: flex; gap: 10px; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.video-grid.big { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; text-align: left; }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: linear-gradient(135deg, #1f8a4c, #0a7cc9); box-shadow: var(--shadow); transition: transform 0.5s var(--spring), box-shadow 0.3s; }
.video-card:hover .video-thumb { transform: translateY(-4px) scale(1.015); box-shadow: var(--shadow-lg); }
.video-thumb video { width: 100%; height: 100%; object-fit: cover; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.45)); }
.play-btn { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); transition: transform 0.45s var(--spring), background 0.3s; }
.play-btn .ic { width: 22px; height: 22px; margin-left: 3px; }
.play-btn::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); animation: ringout 2s var(--ease-out) infinite; }
.video-card:hover .play-btn { transform: scale(1.15); background: var(--brand-green); }
.video-dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 0.76rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.video-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.video-meta strong { font-size: 0.98rem; line-height: 1.35; }
@keyframes ringout { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Quick quote ---------- */
.quick-quote { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--grad); color: #fff; box-shadow: 0 30px 60px rgba(31, 138, 76, 0.25); }
.quick-quote::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 60%); top: -300px; left: -200px; animation: blob 14s ease-in-out infinite alternate; }
.qq-copy { position: relative; }
.qq-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.qq-copy p { opacity: 0.9; font-size: 1.05rem; }
.qq-list { display: grid; gap: 10px; margin-top: 18px; }
.qq-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.qq-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.qq-form { position: relative; padding: 26px; color: var(--label); display: grid; gap: 14px; }
.form-note { text-align: center; font-size: 0.88rem; color: var(--label-2); margin: 0; }
.form-note a { color: var(--tint); font-weight: 700; }

/* ---------- Form fields ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--label-2); padding-left: 4px; }
input[type='text'], input[type='tel'], input[type='password'], input[type='search'], select, textarea {
  width: 100%; font: inherit; color: var(--label);
  background: var(--fill); border: 1.5px solid transparent;
  border-radius: var(--r-sm); padding: 13px 16px; min-height: 50px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tint); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tint) 18%, transparent); }
input::placeholder, textarea::placeholder { color: var(--label-3); }
.select-wrap { position: relative; display: block; }
.select-wrap select { padding-right: 40px; cursor: pointer; }
.select-wrap .ic { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--label-3); width: 18px; height: 18px; }
.field.invalid input, .invalid { border-color: var(--red) !important; animation: shakeX 0.4s; }
.field-error { color: var(--red); font-size: 0.86rem; margin: 6px 4px 0; min-height: 0; }
.field-error:empty { display: none; }
@keyframes shakeX { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- FAQ ---------- */
.faq { box-shadow: var(--shadow-sm); }
.section-alt .faq { background: var(--bg); box-shadow: none; }
.faq-item + .faq-item { border-top: 0.5px solid var(--sep); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; background: none; text-align: left; font-weight: 600; font-size: 1rem; }
.faq-plus { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--fill); transition: transform 0.45s var(--spring), background 0.3s, color 0.3s; }
.faq-plus .ic { width: 16px; height: 16px; }
.faq-item.open .faq-plus { transform: rotate(180deg); background: var(--tint); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-ios); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 18px; margin: 0; color: var(--label-2); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: linear-gradient(135deg, #0e3b24 0%, #145c37 45%, #0a4f86 100%); color: #fff; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(52, 199, 89, 0.45), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(10, 132, 255, 0.45), transparent 60%); animation: glowmove 10s ease-in-out infinite alternate; }
@keyframes glowmove { to { transform: translate(-30px, 20px) scale(1.1); } }
.cta-content { position: relative; }
.cta-content h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.cta-content p { opacity: 0.86; max-width: 560px; font-size: 1.06rem; margin-bottom: 26px; }
.cta-art { position: relative; }
.cta-art img { width: 220px; height: 220px; animation: spin-slow 40s linear infinite; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3)); }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); color: #fff; isolation: isolate; }
.page-hero-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; z-index: -3; animation: kenburns 24s ease-in-out infinite alternate; }
.page-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(110deg, rgba(8, 40, 24, 0.92) 0%, rgba(14, 70, 42, 0.78) 45%, rgba(8, 60, 110, 0.55) 100%); }
.page-hero .blob { z-index: -1; opacity: 0.35; }
.page-hero-inner { position: relative; }
.page-title { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 16px; max-width: 820px; }
.page-sub { font-size: 1.12rem; opacity: 0.88; max-width: 640px; margin: 0; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 14px; height: 14px; opacity: 0.6; }
.crumbs.dark { color: var(--label-2); }
.crumbs.dark a:hover { color: var(--label); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy p { color: var(--label-2); font-size: 1.04rem; }
.split-copy .section-title { margin-bottom: 18px; }
.stack-photos { position: relative; padding: 0 0 70px 40px; }
.stack-photos > img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sp-1 { transform: rotate(-3deg); }
.sp-2 { position: absolute; width: 70% !important; left: 0; bottom: 0; border: 6px solid var(--bg); transform: rotate(4deg); animation: floaty 7s ease-in-out infinite; }
.sp-badge { position: absolute; right: -10px; bottom: 30px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite -3s; }
.sp-badge img { border-radius: 50%; }
.sp-badge strong { display: block; font-size: 0.92rem; }
.sp-badge small { color: var(--label-2); font-size: 0.78rem; }
.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list .ic { color: var(--tint); margin-top: 3px; }
.check-list.compact { gap: 8px; font-size: 0.95rem; }
.check-list.compact li { font-weight: 400; color: var(--label-2); }
.check-list.warn .ic { color: var(--red); }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mvv-card { position: relative; overflow: hidden; padding: 32px; border-radius: var(--r-lg); background: var(--bg); transition: transform 0.45s var(--spring); }
.mvv-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.mvv-card:hover { transform: translateY(-6px); }
.mvv-card:hover::after { transform: scaleX(1); }
.mvv-card h3 { font-size: 1.3rem; margin: 18px 0 8px; }
.mvv-card p { color: var(--label-2); margin: 0; }

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.equip-card { border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.45s var(--spring), box-shadow 0.3s; }
.equip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.equip-img { aspect-ratio: 16 / 9; overflow: hidden; }
.equip-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.equip-card:hover .equip-img img { transform: scale(1.08); }
.equip-body { padding: 22px; }
.equip-body h3 { font-size: 1.12rem; margin: 12px 0 6px; }
.equip-body p { color: var(--label-2); font-size: 0.94rem; margin: 0; }

.area-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); font-weight: 600; transition: transform 0.4s var(--spring); }
.area-pill:hover { transform: translateY(-3px) scale(1.04); }
.area-pin { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.area-pin .ic { width: 16px; height: 16px; }

/* ---------- Services list ---------- */
.service-list { display: grid; gap: clamp(48px, 8vw, 96px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-row.reverse .service-row-media { order: 2; }
.service-row-media { position: relative; }
.service-row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.floating-icon { position: absolute; right: -16px; top: -16px; animation: floaty 5s ease-in-out infinite; }
.service-row-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.service-row-copy > p { color: var(--label-2); }
.service-row-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 22px; border-top: 0.5px solid var(--sep); }
.price-tag { font-size: 0.92rem; color: var(--label-2); }
.price-tag strong { font-size: 1.5rem; font-weight: 800; color: var(--c); margin: 0 2px; letter-spacing: -0.02em; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.prose h2 { font-size: 1.6rem; font-weight: 800; margin: 40px 0 16px; }
.prose > :first-child { margin-top: 0; }
.prose p { color: var(--label-2); }
.prose a { color: var(--tint); font-weight: 600; }
.lead { font-size: 1.1rem; }
.card-prose { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.card-prose h2 { font-size: 1.25rem; margin-top: 28px; }
.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.info-card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.info-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.info-card-head h3 { font-size: 1.06rem; }
.timeline { display: grid; gap: 0; position: relative; }
.tl-item { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.tl-item::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: linear-gradient(var(--c), transparent); opacity: 0.4; }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 40px; height: 40px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 40%, transparent); }
.tl-item strong { display: block; font-size: 1.04rem; margin-top: 8px; }
.tl-item p { color: var(--label-2); margin: 2px 0 0; font-size: 0.95rem; }
.price-table .list-row { min-height: 56px; }
.price-table .list-value { color: var(--tint); }
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0 0; }
.photo-strip img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.detail-side { display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 20px); }
.side-card { background: var(--card); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card h3 { font-size: 1.24rem; margin-top: 6px; }
.side-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-sm); background: var(--fill); }
.side-price small { width: 100%; color: var(--label-2); }
.side-price strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-price span { color: var(--label-2); }
.side-perks { display: grid; gap: 8px; margin: 4px 0 6px; }
.side-perks li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem; }
.side-perks .ic { color: var(--tint); }
.side-others { margin: 0; }

/* ---------- Pricing ---------- */
.segmented-wrap { display: flex; justify-content: center; margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.segmented-wrap::-webkit-scrollbar { display: none; }
.segmented { position: relative; display: inline-flex; padding: 3px; border-radius: 12px; background: var(--fill); flex: none; }
.seg-btn { position: relative; z-index: 1; border: 0; background: none; padding: 8px 16px; border-radius: 9px; font-size: 0.9rem; font-weight: 500; white-space: nowrap; color: var(--label-2); transition: color 0.25s; }
.seg-btn.active { color: var(--label); font-weight: 600; }
.seg-indicator { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 9px; background: var(--card); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1); transition: transform 0.45s var(--spring), width 0.45s var(--spring); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.price-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 24px; transition: transform 0.45s var(--spring), box-shadow 0.3s, opacity 0.35s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.hide { display: none; }
.price-card.pop { animation: pop 0.5s var(--spring); }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } }
.price-card header { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 0.5px solid var(--sep); }
.price-card h2 { font-size: 1.12rem; margin-bottom: 2px; }
.price-lines { display: grid; padding: 8px 0 16px; flex: 1; }
.price-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 0.92rem; }
.price-lines li + li { border-top: 0.5px dashed var(--sep); }
.price-lines span { color: var(--label-2); }
.price-lines strong { color: var(--c); text-align: right; white-space: nowrap; }
.price-card footer { display: grid; gap: 10px; }
.link-more { display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: var(--tint); font-weight: 600; font-size: 0.9rem; }
.link-more .ic { width: 16px; height: 16px; transition: transform 0.3s var(--spring); }
.link-more:hover .ic { transform: translateX(4px); }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: var(--r-lg); overflow: hidden; background: var(--sep); box-shadow: var(--shadow); }
.promise-item { display: flex; gap: 16px; padding: 28px; background: var(--card); }
.promise-num { font-size: 2.2rem; font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promise-item strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.promise-item p { color: var(--label-2); margin: 0; font-size: 0.94rem; }

/* ---------- Booking ---------- */
.booking-hero { position: relative; overflow: hidden; padding: 48px 0 40px; }
.booking-hero .container { position: relative; z-index: 1; }
.booking-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.wizard { padding: clamp(20px, 3.5vw, 36px); overflow: hidden; }
.wz-progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; }
.wz-bar { position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: var(--fill); z-index: 0; }
.wz-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 0.6s var(--ease-ios); }
.wz-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wz-step small { font-size: 0.78rem; color: var(--label-3); font-weight: 600; transition: color 0.3s; }
.wz-dot { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--fill-2); font-weight: 700; font-size: 0.9rem; color: var(--label-3); transition: all 0.45s var(--spring); }
.wz-dot .ic { position: absolute; width: 18px; height: 18px; stroke-width: 3; opacity: 0; transform: scale(0.4); transition: all 0.4s var(--spring); }
.wz-step.active .wz-dot { border-color: var(--tint); color: var(--tint); transform: scale(1.12); box-shadow: 0 0 0 6px color-mix(in srgb, var(--tint) 16%, transparent); }
.wz-step.active small { color: var(--label); }
.wz-step.done .wz-dot { background: var(--tint); border-color: var(--tint); color: transparent; }
.wz-step.done .wz-dot .ic { opacity: 1; transform: none; color: #fff; }
.wz-step.done small { color: var(--label-2); }
.wz-viewport { position: relative; min-height: 300px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wz-panel { display: none; }
.wz-panel.active { display: block; animation: wz-in 0.5s var(--ease-ios) both; }
.wz-panel.active.back { animation-name: wz-in-back; }
@keyframes wz-in { from { opacity: 0; transform: translateX(40px); } }
@keyframes wz-in-back { from { opacity: 0; transform: translateX(-40px); } }
.wz-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; padding: 0; }
.wz-label { font-weight: 600; font-size: 0.86rem; color: var(--label-2); margin: 18px 4px 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.wz-label:first-of-type { margin-top: 0; }
.svc-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-option input { position: absolute; opacity: 0; pointer-events: none; }
.svc-box { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--card); border: 2px solid var(--sep); cursor: pointer; transition: border-color 0.25s, transform 0.4s var(--spring), box-shadow 0.3s, background 0.25s; animation: wz-in 0.5s var(--ease-ios) both; animation-delay: calc(var(--i) * 40ms); }
.svc-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.svc-option input:checked + .svc-box { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, var(--card)); box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 22%, transparent); }
.svc-option input:focus-visible + .svc-box { outline: 3px solid rgba(10, 132, 255, 0.5); }
.svc-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.svc-text strong { font-size: 0.95rem; }
.svc-text small { color: var(--label-2); font-size: 0.8rem; }
.svc-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--fill-2); color: transparent; transition: all 0.35s var(--spring); flex: none; }
.svc-check .ic { width: 14px; height: 14px; stroke-width: 3; }
.svc-option input:checked + .svc-box .svc-check { background: var(--c); border-color: var(--c); color: #fff; transform: scale(1.1); }

.form-group { margin: 0; background: var(--card); border: 0.5px solid var(--sep); box-shadow: none; }
.form-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 16px; }
.form-row + .form-row { border-top: 0.5px solid var(--sep); }
.form-row.col { flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; }
.form-label { display: inline-flex; align-items: center; gap: 8px; width: 130px; flex: none; font-weight: 600; font-size: 0.94rem; }
.form-label .ic { color: var(--tint); width: 18px; height: 18px; }
.form-row input, .form-row select { background: transparent; border: 0; padding: 8px 0; min-height: 40px; border-radius: 0; box-shadow: none !important; }
.form-row input:focus, .form-row select:focus { background: transparent; }
.form-row:focus-within { background: color-mix(in srgb, var(--tint) 5%, transparent); }
.form-row.invalid { animation: shakeX 0.4s; background: color-mix(in srgb, var(--red) 8%, transparent); border-color: var(--sep) !important; }
.select-wrap.inline { flex: 1; }

.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip { flex: 0 0 66px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; border-radius: 18px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--sep); transition: all 0.35s var(--spring); }
.date-chip small { font-size: 0.72rem; color: var(--label-2); font-weight: 600; text-transform: uppercase; }
.date-chip strong { font-size: 1.36rem; line-height: 1.1; }
.date-chip em { font-style: normal; font-size: 0.7rem; color: var(--label-3); }
.date-chip:hover { transform: translateY(-2px); }
.date-chip.active { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(31, 138, 76, 0.35); transform: scale(1.05); }
.date-chip.active small, .date-chip.active em { color: rgba(255, 255, 255, 0.85); }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot input { position: absolute; opacity: 0; }
.slot span { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--sep); cursor: pointer; transition: all 0.35s var(--spring); text-align: center; }
.slot small { font-size: 0.76rem; color: var(--label-2); }
.slot input:checked + span { background: color-mix(in srgb, var(--tint) 12%, var(--card)); box-shadow: inset 0 0 0 2px var(--tint); transform: scale(1.03); }
.slot.urgent input:checked + span { background: color-mix(in srgb, var(--red) 10%, var(--card)); box-shadow: inset 0 0 0 2px var(--red); color: var(--red); }
.slot input:focus-visible + span { outline: 3px solid rgba(10, 132, 255, 0.5); }
.summary { border: 0.5px solid var(--sep); box-shadow: none; }
.summary .list-row { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
.summary .list-label { flex: 0 0 120px; color: var(--label-2); font-weight: 500; }
.summary .list-value { flex: 1; color: var(--label); text-align: right; word-break: break-word; }
.wz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 0.5px solid var(--sep); }
.wz-actions [hidden] { display: none; }
.wz-actions #wzNext, .wz-actions #wzSubmit { margin-left: auto; }
.btn.loading { pointer-events: none; opacity: 0.8; }
.btn.loading::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wz-success { text-align: center; padding: 20px 0; }
.wz-success h2 { font-size: 1.8rem; font-weight: 800; margin: 18px 0 6px; }
.check-anim { width: 120px; height: 120px; margin: 0 auto; }
.check-anim circle { fill: none; stroke: var(--brand-green-2); stroke-width: 6; stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw 0.8s var(--ease-out) forwards; }
.check-anim path { fill: none; stroke: var(--brand-green-2); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 0.5s var(--ease-out) 0.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.code-pill { display: inline-block; margin: 6px 0 16px; padding: 10px 22px; border-radius: 999px; background: var(--fill); font-size: 1.4rem; font-weight: 800; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.wizard.finished .wz-progress, .wizard.finished .wz-actions { display: none; }
.booking-side { display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 20px); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 36px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.45s var(--spring), box-shadow 0.3s; }
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card .app-icon { margin-bottom: 14px; }
.contact-card small { color: var(--label-2); font-weight: 500; }
.contact-card strong { font-size: 1.3rem; letter-spacing: -0.01em; word-break: break-all; }
.cc-action { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 600; font-size: 0.9rem; color: var(--c); }
.cc-action .ic { width: 16px; height: 16px; transition: transform 0.3s var(--spring); }
.contact-card:hover .cc-action .ic { transform: translateX(4px); }
.ring-anim .ic { animation: shake 2.4s infinite; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); background: var(--fill); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cap { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; box-shadow: var(--shadow); }
.map-cap strong { display: block; font-size: 0.9rem; }
.map-cap small { color: var(--label-2); font-size: 0.8rem; }
.contact-form { padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.5rem; font-weight: 800; }
.contact-form > p { margin: -8px 0 4px; }

/* ---------- Blog ---------- */
.coming-soon { text-align: center; max-width: 620px; margin: 0 auto 48px; display: grid; justify-items: center; gap: 12px; }
.coming-soon h2 { font-size: 1.8rem; font-weight: 800; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.blog-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); }
.soon-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.blog-body { padding: 20px; display: grid; gap: 10px; justify-items: start; }
.blog-body h3 { font-size: 1.08rem; }
.sk-line { display: block; width: 100%; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--fill) 25%, var(--fill-2) 50%, var(--fill) 75%); background-size: 200% 100%; animation: shimmer 1.6s infinite; }
.sk-line.short { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; overflow: hidden; }
.notfound .container { position: relative; z-index: 1; }
.nf-code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; animation: floaty 5s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 40px; color: rgba(255, 255, 255, 0.78); }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 70px; fill: #0c1712; }
.footer-body { background: #0c1712; padding: 32px 0 calc(28px + var(--tabbar-h) + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-brand > img { width: 108px; height: 108px; margin-bottom: 16px; transition: transform 1s var(--spring); }
.footer-brand > img:hover { transform: rotate(360deg); }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; }
.footer-brand strong { color: #fff; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; font-size: 0.93rem; }
.footer-links a { position: relative; transition: color 0.2s, padding 0.3s var(--spring); }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact { display: grid; gap: 12px; font-size: 0.93rem; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ic { color: #30d158; }
.footer-contact img { background: #fff; border-radius: 5px; padding: 1px; }
.footer-contact a:hover { color: #fff; }
.footer-hot { font-size: 1.3rem; color: var(--yellow); letter-spacing: 0.02em; }
.footer-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; transition: transform 0.4s var(--spring), background 0.3s; }
.social-btn:hover { transform: translateY(-4px); background: var(--brand-green); }
.social-btn.zalo:hover { background: var(--zalo); }
.social-btn img { background: #fff; border-radius: 6px; padding: 2px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.footer-slogan { display: inline-flex; align-items: center; gap: 6px; }
.footer-slogan .ic { color: #30d158; }

/* ---------- Floating call / Zalo ---------- */
.fab-stack { position: fixed; right: 20px; bottom: calc(24px + var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.fab { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 60px; height: 60px; }
.fab-core { position: relative; z-index: 2; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); transition: transform 0.4s var(--spring); }
.fab:hover .fab-core { transform: scale(1.1); }
.fab:active .fab-core { transform: scale(0.92); }
/* Vòng sóng lan toả: 3 vòng nối tiếp, có viền sáng để nổi cả trên nền tối */
.fab { --fc: 52, 199, 89; }
.fab-zalo { --fc: 0, 132, 255; }
.fab-ring { position: absolute; right: 0; top: 0; z-index: 1; width: 60px; height: 60px; border-radius: 50%; background: rgba(var(--fc), 0.5); border: 2px solid rgba(var(--fc), 0.9); animation: fab-ring 1.8s cubic-bezier(0.15, 0.6, 0.3, 1) infinite; pointer-events: none; }
.fab-ring:nth-child(2) { animation-delay: 0.6s; }
.fab-ring:nth-child(3) { animation-delay: 1.2s; }
@keyframes fab-ring { 0% { transform: scale(1); opacity: 0.95; } 70% { opacity: 0.25; } 100% { transform: scale(2.5); opacity: 0; } }
/* Nhấp nháy: lõi nút phát sáng theo nhịp */
.fab-core { animation: fab-blink 1.2s ease-in-out infinite; }
@keyframes fab-blink {
  0%, 100% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(var(--fc), 0); filter: brightness(1); }
  50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 22px 8px rgba(var(--fc), 0.75); filter: brightness(1.18); }
}
.fab-call .fab-core { background: linear-gradient(160deg, #4cd964, #1f8a4c); color: #fff; }
.fab-call .fab-core .ic { width: 28px; height: 28px; animation: shake 1.6s ease-in-out infinite; }
.fab-zalo .fab-core { background: #fff; border: 3px solid #0084ff; }
.fab-zalo .fab-core { animation-delay: 0.6s; }
.fab-zalo .fab-core img { width: 34px; height: 34px; animation: zalo-bounce 2.4s var(--spring) infinite; }
.fab-call .fab-label { animation: fab-label-blink 1.2s ease-in-out infinite; }
@keyframes fab-label-blink { 0%, 100% { filter: brightness(1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); } 50% { filter: brightness(1.2); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 18px rgba(var(--fc), 0.7); } }
.fab-label { position: absolute; right: 44px; z-index: 1; white-space: nowrap; padding: 9px 30px 9px 16px; border-radius: 999px; font-weight: 700; font-size: 0.94rem; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); opacity: 0; transform: translateX(16px) scale(0.9); transform-origin: right center; transition: opacity 0.3s, transform 0.45s var(--spring); pointer-events: none; }
.fab-call .fab-label { background: linear-gradient(90deg, #1f8a4c, #34c759); opacity: 1; transform: none; letter-spacing: 0.02em; }
.fab-zalo .fab-label { background: var(--zalo); }
.fab:hover .fab-label { opacity: 1; transform: none; }
@keyframes shake {
  0%, 50%, 100% { transform: rotate(0); }
  5%, 15%, 25%, 35% { transform: rotate(-16deg); }
  10%, 20%, 30%, 40% { transform: rotate(16deg); }
}
@keyframes zalo-bounce { 0%, 60%, 100% { transform: translateY(0) scale(1); } 20% { transform: translateY(-4px) scale(1.08); } 40% { transform: translateY(0) scale(0.96); } }
.fab-top { width: 44px; height: 44px; margin-right: 8px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--glass-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); opacity: 0; transform: scale(0.6); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--spring); }
.fab-top .ic { transform: rotate(180deg); }
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Tab bar (mobile) ---------- */
.tabbar { display: none; }

/* ---------- Dynamic Island ---------- */
.island { position: fixed; top: 12px; left: 0; right: 0; margin: 0 auto; z-index: 200; display: flex; align-items: center; gap: 12px; width: max-content; min-width: 120px; max-width: min(92vw, 460px); min-height: 36px; padding: 0 14px; border-radius: 999px; background: #000; color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); transform: translateY(-90px) scale(0.6); opacity: 0; transition: transform 0.6s var(--spring), opacity 0.3s, min-height 0.5s var(--spring), padding 0.5s var(--spring), border-radius 0.5s; overflow: hidden; pointer-events: none; }
.island.show { transform: none; opacity: 1; min-height: 60px; padding: 10px 22px 10px 12px; border-radius: 30px; }
.island-icon { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #30d158; }
.island-icon .ic { width: 20px; height: 20px; stroke-width: 2.6; }
.island.error .island-icon { background: #ff453a; }
.island-text { font-size: 0.92rem; font-weight: 600; line-height: 1.3; opacity: 0; transition: opacity 0.3s 0.15s; }
.island.show .island-text { opacity: 1; }

/* ---------- Sheet modal ---------- */
.sheet { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.sheet.open { visibility: visible; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel { position: relative; width: min(960px, 100%); max-height: 90vh; overflow: auto; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); padding: 14px; transform: translateY(40px) scale(0.94); opacity: 0; transition: transform 0.55s var(--spring), opacity 0.3s; }
.sheet.open .sheet-panel { transform: none; opacity: 1; }
.sheet-grabber { display: none; }
.sheet-close { position: absolute; top: 22px; right: 22px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.5); color: #fff; backdrop-filter: blur(10px); transition: transform 0.3s var(--spring); }
.sheet-close:hover { transform: rotate(90deg); }
.sheet-body video { width: 100%; border-radius: calc(var(--r-lg) - 8px); background: #000; aspect-ratio: 16 / 9; }
.sheet-body h3 { padding: 14px 8px 4px; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1340px) {
  .hot-pill { display: none; }
}
@media (max-width: 1180px) {
  .nav-link { padding: 8px 9px; font-size: 0.9rem; }
}
@media (min-width: 1025px) and (max-width: 1180px) { .brand-text { display: none; } }
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .hot-pill { display: flex; margin-left: auto; }
  .nav-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-copy .btn-row, .hero-trust { justify-content: center; }
  .service-grid, .price-grid, .equip-grid, .blog-grid, .video-grid.big { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .reason-grid, .reason-grid.four { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .booking-grid { grid-template-columns: 1fr; }
  .detail-side, .booking-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-quote { grid-template-columns: 1fr; }
  .split, .service-row { grid-template-columns: 1fr; gap: 36px; }
  .service-row.reverse .service-row-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .mvv { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 62px; --tabbar-h: 74px; }
  .hide-sm { display: none !important; }
  .topbar-inner { justify-content: center; }
  .topbar-spacer { display: none; }
  .topbar .topbar-item:first-child { display: none; }
  .hide-md { display: none !important; }
  .hot-pill { padding: 4px; }
  .hot-pill-text { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 0.9rem; }
  .brand-sub { font-size: 1rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 18px; }
  .service-grid, .price-grid, .equip-grid, .blog-grid, .video-grid.big, .reason-grid, .reason-grid.four, .two-cards { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .video-meta strong { font-size: 0.88rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-photo { grid-column: auto; grid-row: auto; min-height: 240px; }
  .bento-cta { grid-column: auto; padding: 22px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-line { top: 36px; bottom: 80px; left: 35px; right: auto; width: 3px; height: auto; }
  .steps-line span { width: 100% !important; height: 0; transition: height 1.8s var(--ease-out) 0.3s; }
  .steps.in .steps-line span { height: 100%; }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; text-align: left; padding-bottom: 26px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
  .step p { margin: 0; max-width: none; }
  .fc-1 { left: -6px; bottom: 10%; }
  .fc-2 { right: -6px; top: -18px; }
  .fc-3 { display: none; }
  .float-card { padding: 8px 12px 8px 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-content p { margin-left: auto; margin-right: auto; }
  .cta-content .btn-row { justify-content: center; }
  .cta-art { display: none; }
  .promise { grid-template-columns: 1fr; }
  .svc-pick { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: 1fr 1fr; }
  .form-label { width: 112px; font-size: 0.9rem; }
  .summary .list-label { flex-basis: 96px; }
  .wz-step small { font-size: 0.7rem; }
  .section-head.row-head .carousel-nav { display: none; }
  .stack-photos { padding-left: 0; }
  .sp-badge { right: 0; }
  .floating-icon { right: 10px; }
  .map-card { min-height: 340px; }

  /* Tab bar iOS */
  .tabbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    height: 64px; padding: 0 6px;
    border-radius: 26px;
    background: var(--glass-strong);
    backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 0.5px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    transition: transform 0.45s var(--ease-ios);
  }
  .tabbar.hidden { transform: translateY(calc(100% + 20px)); }
  .tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 0 9px; color: var(--label-3); font-size: 0.66rem; font-weight: 600; transition: color 0.2s, transform 0.3s var(--spring); }
  .tab:active { transform: scale(0.9); }
  .tab-icon { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 12px; transition: background 0.3s; }
  .tab-icon .ic { width: 23px; height: 23px; }
  .tab.active { color: var(--tint); }
  .tab.active .tab-icon { background: color-mix(in srgb, var(--tint) 14%, transparent); }
  .tab-main .tab-icon { width: 54px; height: 54px; margin-top: -26px; border-radius: 20px; background: var(--grad) !important; color: #fff; box-shadow: 0 10px 22px rgba(31, 138, 76, 0.4); border: 3px solid var(--bg); }
  .tab-main { color: var(--label); }
  .tab-main.active { color: var(--tint); }
  .fab-stack { right: 14px; gap: 14px; }
  .fab, .fab-core, .fab-ring { width: 54px; height: 54px; }
  .fab-call .fab-label { display: none; }
  .island { top: calc(8px + env(safe-area-inset-top)); }

  /* Sheet thành bottom sheet */
  .sheet { padding: 0; place-items: end stretch; }
  .sheet-panel { width: 100%; border-radius: 28px 28px 0 0; padding: 8px 12px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); max-height: 92vh; transition: transform 0.55s var(--ease-ios); }
  .sheet.open .sheet-panel { transform: translateY(var(--drag, 0px)); }
  .sheet-panel.dragging { transition: none; }
  .sheet-grabber { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--fill-2); margin: 4px auto 12px; }
  .sheet-close { top: 26px; right: 22px; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 2.2rem; }
  .btn-lg { --bh: 52px; padding: 0 20px; font-size: 0.98rem; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* Riêng 2 nút Gọi / Zalo luôn nhấp nháy lan toả để khách dễ thấy */
  .fab .fab-ring { animation-duration: 1.8s !important; animation-iteration-count: infinite !important; }
  .fab .fab-core, .fab-call .fab-label { animation-duration: 1.2s !important; animation-iteration-count: infinite !important; }
  .fab-call .fab-core .ic { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
  .fab-zalo .fab-core img { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; }
}

@media (max-height: 820px) and (min-width: 1025px) { .detail-side, .booking-side { position: static; } }

/* =========================================================
   Banner trang chủ (hiển thị trọn vẹn) + module nhận báo giá
   ========================================================= */
.banner-hero { position: relative; background: linear-gradient(180deg, #e9f6ee, var(--bg)); line-height: 0; }
.banner-hero picture { display: block; max-width: 1752px; margin: 0 auto; }
.banner-img { width: 100%; height: auto; aspect-ratio: 1752 / 897; object-fit: contain; animation: banner-in 0.9s var(--ease-out) both; }
@keyframes banner-in { from { opacity: 0; transform: scale(1.015); } }
@media (prefers-color-scheme: dark) { .banner-hero { background: #0b0b0c; } }

.quote-strip { position: relative; padding: 28px 0 8px; }
.qs-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}
.qs-card::before { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 199, 89, 0.18), transparent 65%); pointer-events: none; }
.qs-card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 132, 255, 0.14), transparent 65%); pointer-events: none; }
.qs-copy { position: relative; z-index: 1; }
.qs-copy .eyebrow { margin-bottom: 12px; }
.qs-title { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; margin-bottom: 10px; }
.qs-sub { color: var(--label-2); margin: 0; }
.qs-sub strong { color: var(--label); }
.qs-form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.qs-form .field label { font-size: 0.82rem; }
.qs-submit { margin-top: 4px; min-height: 54px; width: 100%; transition: opacity 0.35s, filter 0.35s, box-shadow 0.35s, transform 0.45s var(--spring); }
/* Mờ khi đang nhập SĐT chưa đúng */
.qs-submit.is-dim { opacity: 0.42; filter: grayscale(0.85) saturate(0.6); box-shadow: none; transform: scale(0.98); cursor: not-allowed; }
.qs-submit.is-dim:hover { transform: scale(0.98); box-shadow: none; }
/* Nổi lên khi nhập đúng */
.qs-submit.is-ready { animation: qs-ready 0.6s var(--spring), qs-glow 1.6s var(--ease-out) 0.2s 2; }
@keyframes qs-ready { 0% { transform: scale(0.98); } 45% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes qs-glow { 0% { box-shadow: 0 8px 22px rgba(31, 138, 76, 0.32), 0 0 0 0 rgba(52, 199, 89, 0.55); } 100% { box-shadow: 0 8px 22px rgba(31, 138, 76, 0.32), 0 0 0 16px rgba(52, 199, 89, 0); } }
.qs-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.84rem; color: var(--label-2); }
.qs-note .ic { width: 15px; height: 15px; color: var(--tint); }
.qs-note a { color: var(--red); font-weight: 700; }

/* Ô nhập có icon + thông báo lỗi ngay dưới ô */
.input-icon { position: relative; }
.input-icon > .ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--label-3); pointer-events: none; transition: color 0.2s; }
.input-icon input { padding-left: 42px; }
.input-icon:focus-within > .ic { color: var(--tint); }
.field-msg { display: block; min-height: 1.2em; padding: 0 4px; font-size: 0.8rem; line-height: 1.35; color: var(--label-3); }
.field.invalid .field-msg { color: var(--red); }
.field.invalid .input-icon > .ic { color: var(--red); }
.field.valid input { border-color: color-mix(in srgb, var(--brand-green-2) 70%, transparent); }
.field.valid .input-icon::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 12px; margin-top: -8px; border: solid var(--brand-green-2); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); animation: pop 0.35s var(--spring); }

@media (max-width: 1024px) {
  .qs-card { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .quote-strip { padding-top: 18px; }
  .qs-form { gap: 12px; }
  .qs-note { justify-content: center; text-align: center; flex-wrap: wrap; margin-top: 4px; }
  .qs-copy { text-align: center; }
}
