/* =========================================================
   MoriGraphy — Văn phòng nhiếp ảnh (theme thám tử)
   Token màu khớp với bộ biến "MoriGraphy Tokens" trong Figma.
   ========================================================= */
:root {
  --bg: #F3ECDD;          /* bg/canvas  — giấy cũ */
  --surface: #FFFCF5;     /* bg/surface */
  --alt: #E6D9BF;         /* bg/alt     — giấy kraft */
  --ink: #15223B;         /* text/ink   — xanh navy */
  --muted: #5E6577;       /* text/muted */
  --line: #D5C7AA;        /* line/default */
  --accent: #B8302A;      /* brand/accent — đỏ nơ */
  --accent-hover: #9E2621;
  --accent-soft: #F2DAD3; /* brand/accent-soft */
  --on-accent: #FFFFFF;
  --success: #3E6B52;
  --tone-warm: #C9A87C; --tone-rose: #D9A9A0; --tone-sage: #A9B59B;
  --tone-sky: #8FA3BF; --tone-dusk: #6E7C99; --tone-stone: #BFB3A0;

  /* Font ngộ nghĩnh: tiêu đề + nhãn Baloo 2 (tròn, đậm), chữ thường Nunito */
  --font-serif: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-mono: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 22px; --radius-md: 16px; --radius-sm: 12px;
  --shadow-card: 0 1px 0 rgba(21, 34, 59, .04), 0 10px 30px -18px rgba(21, 34, 59, .35);
  --shadow-pop: 0 24px 64px -24px rgba(21, 34, 59, .45);
  --ease: cubic-bezier(.4, 0, .2, 1);      /* chữ ký motion: Premium */
  --dur-quick: .18s; --dur: .35s;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fine-print { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease), border-color var(--dur-quick) var(--ease), transform var(--dur-quick) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--surface); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.link-btn:hover { text-decoration-color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-icon { width: 30px; height: 30px; flex: none; }
/* Logo ảnh của team */
.brand-logo { display: inline-flex; align-items: center; border-radius: 10px; }
.brand-logo img { height: 64px; width: auto; display: block; margin: -4px 0; transition: transform var(--dur) var(--ease); }
.brand-logo:hover img { transform: rotate(-2deg) scale(1.03); }
@media (max-width: 900px) { .brand-logo img { height: 52px; margin: 0; } }
@media (max-width: 640px) { .brand-logo img { height: 46px; } }
.mag-glass { fill: var(--surface); stroke: var(--ink); stroke-width: 2.6; }
.mag-handle { stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; fill: none; }
.mag-handle-ink { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; fill: none; }
.mag-dot { fill: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 24px/1.1 var(--font-serif); }
.brand-sub { font: 500 9.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Placeholders (thay bằng ảnh thật) ---------- */
.ph { position: relative; background-color: var(--tone-stone); overflow: hidden; }
.ph::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 10px, transparent 10px 20px); pointer-events: none; }
.ph > span { position: absolute; left: 16px; bottom: 14px; font: 500 12px var(--font-mono); background: rgba(255,252,245,.9); padding: 6px 10px; border-radius: 8px; color: var(--muted); z-index: 1; }
.ph-warm { background-color: var(--tone-warm); } .ph-rose { background-color: var(--tone-rose); } .ph-sage { background-color: var(--tone-sage); }
.ph-sky { background-color: var(--tone-sky); } .ph-dusk { background-color: var(--tone-dusk); } .ph-stone { background-color: var(--tone-stone); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-title { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin: 10px 0 0; flex-wrap: wrap; }
.hero-stats dt { font: 600 32px/1.1 var(--font-serif); }
.hero-stats dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; }
.folder { --folder: var(--tone-warm); position: relative; aspect-ratio: 5 / 6; background: var(--folder); border-radius: 6px 26px 26px 26px; box-shadow: var(--shadow-card); }
.folder::before { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(21,34,59,.25); border-radius: 4px 18px 18px 18px; pointer-events: none; }
.polaroid .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid .ph.has-img::after { display: none; }
.folder-tab { position: absolute; top: -30px; left: 0; background: var(--folder); padding: 8px 18px 10px; border-radius: 12px 12px 0 0; font: 600 12px var(--font-mono); letter-spacing: .08em; color: var(--ink); }
.polaroid { position: absolute; left: 16%; top: 11%; width: 64%; margin: 0; background: var(--surface); padding: 4.5% 4.5% 0; border-radius: 4px; box-shadow: var(--shadow-pop); transform: rotate(4deg); }
.polaroid .ph { aspect-ratio: 1 / 1; }
.polaroid figcaption { font: 500 13px var(--font-mono); color: var(--muted); padding: 14px 2px 16px; }
.stamp { position: absolute; right: 8%; bottom: 13%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 16px; border: 3px solid var(--accent); border-radius: 6px; color: var(--accent); transform: rotate(-10deg); opacity: .9; background: rgba(255,252,245,.35); }
.stamp strong { font: 600 22px var(--font-mono); letter-spacing: .08em; }
.stamp span { font: 600 10.5px var(--font-mono); letter-spacing: .08em; }
.hero-mag { position: absolute; left: -4%; bottom: 4%; width: 30%; }
.hero-mag .mag-glass { fill: rgba(255,252,245,.3); stroke-width: 2.2; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--alt); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 680px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 46px); }
.section-sub { color: var(--muted); font-size: 16px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Chips & tabs */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; cursor: pointer; transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease), border-color var(--dur-quick) var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--alt); margin-bottom: 28px; }
.section-alt .tabs, .booking-card .tabs { background: var(--bg); }
.tab { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease); }
.tab.is-active { background: var(--ink); color: var(--surface); }

/* Service card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.card-media { aspect-ratio: 16 / 9; }
.card-tag { position: absolute; top: 14px; left: 14px; z-index: 1; font: 600 11px var(--font-mono); letter-spacing: .08em; background: var(--surface); color: var(--ink); padding: 5px 10px; border-radius: 6px; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 24px; }
.card-desc { font-size: 14px; color: var(--muted); }
.card-list { list-style: none; padding: 0; margin: 4px 0 0; font-size: 14px; display: grid; gap: 6px; }
.card-list li { padding-left: 24px; position: relative; }
.card-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); }
.price { font: 600 20px var(--font-sans); }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 6px; }

/* Team card */
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 10px; text-align: left; cursor: pointer; box-shadow: var(--shadow-card); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); position: relative; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.team-card .avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font: 600 26px var(--font-serif); color: var(--surface); margin-bottom: 6px; }
.team-card h3 { font-size: 22px; }
.team-meta { font-size: 13px; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--accent); }
.rating svg { width: 14px; height: 14px; fill: currentColor; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.team-card .more { margin-top: 6px; font-weight: 500; font-size: 14px; }
.badge-id { position: absolute; top: 18px; right: 18px; font: 600 11px var(--font-mono); color: var(--muted); letter-spacing: .06em; }

/* Item card (addon / product) */
.item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 14px 14px; display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; box-shadow: var(--shadow-card); transition: border-color var(--dur-quick) var(--ease), background var(--dur-quick) var(--ease); }
.item .thumb { width: 76px; height: 76px; border-radius: 12px; }
.item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.item-type { font: 600 10.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.item-name { font-weight: 600; font-size: 16px; }
.item-desc { font-size: 13px; color: var(--muted); }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.item-price { font-weight: 500; font-size: 14px; }
.item.is-selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 40%, var(--surface)); }

/* Qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 17px; border-radius: 999px; }
.qty button:disabled { color: var(--line); cursor: not-allowed; }
.qty button:not(:disabled):hover { background: var(--bg); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-size: 14px; }

/* Travel zones */
.zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.zone { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-card); position: relative; }
.zone-no { font: 600 11px var(--font-mono); letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.zone h3 { font-size: 20px; }
.zone-ex { font-size: 13px; color: var(--muted); }
.zone-fee { font: 600 18px var(--font-sans); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.zone-fee small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.zone .link-btn { font-size: 14px; align-self: flex-start; margin-top: 4px; }

/* ---------- Booking ---------- */
.stepper { list-style: none; padding: 0; margin: 0 0 28px; display: flex; align-items: center; gap: 10px; counter-reset: step; }
.stepper li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.stepper li:not(:last-child)::after { content: ""; width: 48px; height: 1px; background: var(--line); margin-left: 4px; }
.stepper li.is-done:not(:last-child)::after { background: var(--accent); }
.stepper .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--font-mono); border: 1px solid var(--line); background: var(--surface); flex: none; }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done .dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.stepper li.is-active { color: var(--ink); font-weight: 600; }
.stepper li.is-active .dot { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.stepper button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.stepper button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.booking-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px 38px 28px; box-shadow: var(--shadow-card); min-width: 0; }
.step-view { min-height: 360px; }
.step-title { font-size: 30px; margin-bottom: 6px; }
.step-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.step-error { flex: 1; text-align: center; color: var(--accent); font-size: 14px; font-weight: 500; }
.group-label { font: 600 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.group-label:first-child { margin-top: 0; }

/* Option cards (radio) */
.options { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options.one-col { grid-template-columns: 1fr; }
.option { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); cursor: pointer; background: var(--surface); transition: border-color var(--dur-quick) var(--ease), background var(--dur-quick) var(--ease); }
.option:hover { border-color: var(--ink); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: border-color var(--dur-quick) var(--ease); }
.option .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform var(--dur-quick) var(--ease); }
.option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface)); }
.option:has(input:checked) .radio { border-color: var(--accent); }
.option:has(input:checked) .radio::after { transform: scale(1); }
.option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.option.is-disabled { opacity: .5; cursor: not-allowed; }
.option.is-disabled:hover { border-color: var(--line); }
.opt-title { font-weight: 600; font-size: 15px; }
.opt-sub { font-size: 13px; color: var(--muted); }
.opt-side { font-weight: 600; font-size: 14px; text-align: right; white-space: nowrap; }
.opt-side small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.opt-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 16px var(--font-serif); color: var(--surface); }

/* Fields */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color var(--dur-quick) var(--ease), box-shadow var(--dur-quick) var(--ease); }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.field.has-error input, .field.has-error select { border-color: var(--accent); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .err { font-size: 12px; color: var(--accent); min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; }

/* Calendar + slots */
.when { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-size: 16px; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 16px; }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 46px); gap: 6px; }
.cal-dow { font: 600 11px var(--font-mono); color: var(--muted); text-align: center; padding: 6px 0; }
.cal-day { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; transition: background var(--dur-quick) var(--ease), border-color var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease); }
.cal-day:hover:not(:disabled) { border-color: var(--ink); }
.cal-day:disabled { border-color: transparent; color: var(--line); cursor: not-allowed; background: transparent; }
.cal-day.is-today { box-shadow: inset 0 -2px 0 var(--ink); }
.cal-day.is-selected { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.cal-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.slot { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; transition: background var(--dur-quick) var(--ease), border-color var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease); }
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot:disabled { background: var(--alt); border-color: transparent; color: var(--muted); text-decoration: line-through; cursor: not-allowed; }
.slot.is-selected { background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 600; }
/* Buổi chụp: Cả ngày / Buổi sáng / Buổi chiều */
.slots.shifts { grid-template-columns: repeat(3, 1fr); }
.slot.shift { height: auto; min-height: 64px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.slot.shift strong { font: 700 15px/1.2 var(--font-serif); }
.slot.shift small { font-size: 12px; color: var(--muted); }
.slot.shift.is-selected small { color: inherit; opacity: .8; }
.slot.shift:disabled { text-decoration: none; opacity: .55; }
@media (max-width: 380px) { .slots.shifts { grid-template-columns: 1fr; } .slot.shift { flex-direction: row; justify-content: space-between; padding: 12px 16px; min-height: 52px; } }
.note { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); font-size: 13px; margin-top: 14px; }
.note.neutral { background: var(--bg); color: var(--muted); }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-md); font-size: 14px; }

/* Summary */
.summary { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-card); }
.summary h3 { font-size: 24px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 5px 0; }
.sum-row span:first-child { color: var(--muted); }
.sum-row span:last-child { font-weight: 500; text-align: right; }
.sum-sep { height: 1px; background: var(--line); margin: 10px 0; border: 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 4px; }
.sum-total span:first-child { font-size: 14px; color: var(--muted); }
.sum-total strong { font: 600 24px var(--font-sans); }
.sum-deposit span:last-child { color: var(--accent); font-weight: 600; }
.sum-empty { font-size: 14px; color: var(--muted); }
.sum-fine { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Success */
.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 12px 0; }
.success-icon { width: 76px; height: 76px; }
.success-icon circle { fill: #E1EBE3; }
.success-icon path { fill: none; stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 0; }
.success h3 { font-size: 34px; }
.case-code { font: 600 14px var(--font-mono); letter-spacing: .06em; background: var(--accent-soft); color: var(--accent); padding: 9px 18px; border-radius: 999px; }
.success .sum-box { width: 100%; max-width: 520px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 20px; }
.pay-box { width: 100%; max-width: 620px; display: grid; grid-template-columns: 236px 1fr; gap: 22px; align-items: center; text-align: left; border: 1.5px solid var(--accent); border-radius: var(--radius-md); padding: 18px; background: color-mix(in srgb, var(--accent-soft) 25%, var(--surface)); }
.pay-qr { margin: 0; background: #fff; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: var(--shadow-card); }
.pay-qr img { width: 220px; height: 220px; image-rendering: pixelated; display: block; }
.pay-qr figcaption { font: 500 11px var(--font-mono); color: var(--muted); }
.pay-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pay-info h4 { margin: 0 0 4px; font: 600 20px var(--font-serif); }
.pay-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 8px; align-items: baseline; font-size: 14px; }
.pay-row span { color: var(--muted); font-size: 13px; }
.pay-row b { font-weight: 600; overflow-wrap: anywhere; }
.pay-row .link-btn { font-size: 12px; }
.pay-info .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 640px) { .pay-box { grid-template-columns: 1fr; justify-items: center; } .pay-info { width: 100%; } }
/* Trạng thái tiền cọc + khung chat sau khi đã cọc */
.deposit-status { width: 100%; max-width: 620px; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: var(--radius-md); background: var(--alt); }
.deposit-status > div { flex: 1; display: grid; gap: 2px; }
.deposit-status small { color: var(--muted); font-size: 13px; }
.dot-wait { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; animation: mg-pulse 1.4s ease-in-out infinite; }
@keyframes mg-pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.deposit-status.is-paid { background: #E3F1E6; }
.dot-ok { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #2E7D4F; color: #fff; font-weight: 800; flex: none; }
.chat-box { width: 100%; max-width: 620px; text-align: left; padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.chat-box h4 { margin: 0; font: 800 18px var(--font-serif); }
.chat-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chat-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff; background: var(--ink); }
.chat-zalo { background: #0068FF; } .chat-messenger { background: #7B4DFF; } .chat-instagram { background: #D62976; }
.chat-call { background: var(--surface); color: var(--ink); border: 1px solid var(--ink); }
.chat-sms { background: #2E7D4F; }
@media (max-width: 480px) { .chat-link { flex: 1 1 calc(50% - 10px); } .deposit-status { flex-wrap: wrap; } .deposit-status .btn { width: 100%; } }
.success-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- CTA / Contact / Footer ---------- */
.cta-band { background: var(--ink); color: var(--bg); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--bg); }
.cta-inner p { color: var(--tone-stone); margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-grid h2 { font-size: clamp(32px, 4vw, 46px); margin: 12px 0 20px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 16px; }
.contact-list li > span:first-child { font: 600 11.5px/2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-grid .section-sub { margin-top: -6px; max-width: 460px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-card); }
.contact-card li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.contact-card li:last-child { border-bottom: 0; }
.contact-val a { text-underline-offset: 3px; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21, 34, 59, .6); }
.modal-dialog { position: relative; width: min(960px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--surface); border-radius: 26px; box-shadow: var(--shadow-pop); display: grid; grid-template-columns: 320px 1fr; }
.modal-dialog:focus { outline: none; }
#modalBody { display: contents; } /* để ảnh & thông tin là 2 cột của lưới modal */
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.modal-close svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.profile-portrait { min-height: 100%; display: flex; align-items: flex-end; padding: 24px; }
.profile-portrait .ph-label { font: 500 12px var(--font-mono); background: rgba(255,252,245,.9); padding: 6px 10px; border-radius: 8px; color: var(--muted); position: relative; z-index: 1; }
.profile-info { padding: 40px 40px 34px; display: flex; flex-direction: column; gap: 20px; }
.profile-info h2 { font-size: 38px; margin-top: 6px; }
.profile-block h4 { margin: 0 0 8px; font: 600 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.day-pill { width: 44px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 600 12px var(--font-mono); background: var(--accent-soft); color: var(--accent); }
.day-pill.off { background: var(--bg); color: var(--line); text-decoration: line-through; }
.portfolio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.portfolio .ph { aspect-ratio: 1; border-radius: 10px; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Ảnh thật: avatar, chân dung, portfolio */
.team-card .avatar, .opt-avatar { overflow: hidden; }
.team-card .avatar img, .opt-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-portrait.has-img { padding: 0; position: relative; background: var(--alt); }
.profile-portrait.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-thumb { all: unset; cursor: zoom-in; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--alt); }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur) var(--ease); }
.pf-thumb:hover img { transform: scale(1.05); }
.pf-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.modal .portfolio { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(12, 18, 32, .92); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 12px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; grid-column: 2; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.lightbox figcaption { color: var(--bg); font: 500 13px var(--font-mono); text-align: center; }
.lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; cursor: pointer; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); cursor: pointer; display: grid; place-items: center; }
.lb-close svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; padding: 64px 8px 24px; } .lightbox figure { grid-column: 1; } .lb-nav { position: absolute; bottom: 20px; } .lb-prev { left: 24px; } .lb-next { right: 24px; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--surface); padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); z-index: 90; max-width: calc(100% - 32px); text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Ẩn trước khi GSAP chạy để tránh nháy (chỉ khi JS bật & cho phép motion) */
.js-motion .hero-anim, .js-motion .reveal { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .zones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .when { grid-template-columns: 1fr; }
  .stepper li:not(:last-child)::after { width: 20px; }
}
@media (max-width: 900px) {
  .nav { position: absolute; inset: 100% 0 auto 0; /* ngay dưới header, cao bao nhiêu cũng khớp */ flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-inner { gap: 12px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 440px; width: 100%; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .modal-dialog { grid-template-columns: 1fr; }
  .profile-portrait { min-height: 180px; }
  .stepper { overflow-x: auto; padding-bottom: 6px; }
  .stepper .label { display: none; }
  .stepper li.is-active .label { display: inline; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 72px; }
  .grid-3, .grid-4, .zones, .options, .fields { grid-template-columns: 1fr; }
  .booking-card { padding: 24px 18px 20px; border-radius: 20px; }
  .step-title { font-size: 25px; }
  .cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .cal-day { height: 40px; }
  .step-nav { flex-wrap: wrap; }
  .step-error { order: -1; flex-basis: 100%; }
  .step-nav .btn { flex: 1; }
  .header-cta { display: none; }
  .hero-stats { gap: 28px; }
  .profile-info { padding: 28px 22px 24px; }
  .profile-info h2 { font-size: 30px; }
  .item { grid-template-columns: 60px 1fr; }
  .item .thumb { width: 60px; height: 60px; }
  .option { grid-template-columns: auto 1fr; }
  .opt-side { grid-column: 2; text-align: left; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
}
