/* =========================================================
   Lumen English · template gd-01 (thietkeweb.dev)
   Mobile-first · no framework
   ========================================================= */
:root {
  --bg: #f7f4ee;
  --surface: #efeae0;
  --ink: #10214a;
  --muted: #5b6478;
  --pri: #10214a;
  --pri-ink: #fff;
  --acc: #ff5a3c;
  --acc-text: #e2462a;
  --acc-ink: #fff;
  --yel: #ffc93c;
  --line: #e3ded3;
  --line-strong: #cfc8ba;
  --shadow: 0 18px 36px -20px rgba(255,90,60,.6);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Lexend", "Be Vietnam Pro", system-ui, sans-serif;
  --head-w: 700;
  --header-h: 70px;
  --header-bg: rgba(247,244,238,.94);
  --footer-bg: #0b1736;
  --call: #ff5a3c;
  --btn-r: 999px;
  --input-r: 12px;
  --input-bg: #fff;
  --nav-bg: #f7f4ee;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-variant-numeric: lining-nums; }
h1, h2 { font-family: var(--head); font-weight: var(--head-w, 700); letter-spacing: var(--head-ls, -.01em); text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { fill: currentColor; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--pri); color: #fff; padding: 10px 16px; }
.skip:focus { left: 10px; top: 10px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--btn-r, 10px); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .25s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--pri { background: var(--pri); color: var(--pri-ink, #fff); }
.btn--pri:hover { filter: brightness(1.08); box-shadow: var(--shadow); }
.btn--acc { background: var(--acc); color: var(--acc-ink, #fff); }
.btn--acc:hover { filter: brightness(1.06); box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { border-color: currentColor; color: var(--pri); }
.btn--line:hover { background: var(--pri); color: var(--pri-ink, #fff); border-color: var(--pri); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-text, var(--acc)); margin-bottom: 10px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg, rgba(255,255,255,.96)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--logo, var(--ink)); flex: none; }
.logo__mark { width: 38px; height: 38px; flex: none; color: var(--acc); }
.logo__text { font-family: var(--head); font-size: 21px; font-weight: 700; line-height: 1; display: flex; flex-direction: column; letter-spacing: -.01em; }
.logo__text small { font-family: var(--font); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-top: 5px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 8px; color: var(--logo, var(--ink)); }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--nav-bg, var(--bg)); color: var(--nav-ink, var(--ink)); padding: 12px 20px 40px; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--line); }
.menu-open .nav { opacity: 1; transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.nav ul { display: flex; flex-direction: column; }
.nav li a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav li a:hover { color: var(--acc-text, var(--acc)); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--surface); }
.sec-head { max-width: 680px; margin: 0 0 32px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 12px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head--light h2 { color: #fff; }
.sec-head--light p { color: rgba(255,255,255,.78); }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label span { color: var(--acc-text, var(--acc)); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--input-r, 8px); border: 1.5px solid var(--line-strong, var(--line)); background: var(--input-bg, #fff); color: var(--input-ink, var(--ink)); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23777'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; padding-right: 38px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #d33c3c; }
.err { display: block; color: #d33c3c; font-size: 13px; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.form__privacy { font-size: 12.5px; color: var(--muted); margin: 0; }
.form__ok { padding: 14px 16px; border-radius: 10px; background: #e8f6ec; color: #1d5e33; border: 1px solid #b9e2c6; font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg, #111); color: var(--footer-ink, rgba(255,255,255,.72)); padding: 56px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer .logo { color: #fff; }
.footer .logo__text small { color: rgba(255,255,255,.55); }
.footer__brand p { margin: 16px 0 0; max-width: 360px; }
.footer__title { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__links li { margin-bottom: 9px; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 72px; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: underline; }

/* ---------- Floating contact + demo badge ---------- */
.float { position: fixed; right: 16px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float__btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); position: relative; transition: transform .2s; }
.float__btn:hover { transform: scale(1.06); }
.float__btn--zalo { background: #0068ff; }
.float__btn--zalo svg { width: 38px; height: 38px; }
.float__btn--call { background: var(--call, var(--acc)); }
.float__btn--call svg { width: 24px; height: 24px; fill: var(--call-ink, #fff); }
.float__btn--call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--call, var(--acc)); animation: ring 2s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.demo-badge { position: fixed; left: 10px; bottom: 10px; z-index: 65; max-width: calc(100% - 90px); font: 500 11px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff; background: rgba(17,17,17,.82); padding: 6px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.2); opacity: .9; transition: opacity .2s; }
.demo-badge:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 600px) { .demo-badge { font-size: 12px; } }

@media (min-width: 768px) {
  .section { padding: 88px 0; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .float { right: 24px; bottom: 28px; }
  .float__btn { width: 56px; height: 56px; }
}
@media (min-width: 1024px) {
  .burger { display: none; }
  .nav { position: static; height: auto; background: none; color: inherit; padding: 0; opacity: 1; transform: none; visibility: visible; flex-direction: row; align-items: center; gap: 24px; border: 0; overflow: visible; }
  .nav ul { flex-direction: row; gap: 26px; }
  .nav li a { padding: 6px 0; font-size: 15px; border: 0; color: var(--logo, var(--ink)); }
  .nav__cta { display: none; }
  .container { padding: 0 32px; }
}
@media (max-width: 1023.98px) { .header__actions .btn--hide-m { display: none; } }
.logo { min-width: 0; flex: 0 1 auto; }
.logo__text { min-width: 0; white-space: nowrap; }
.logo__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .header__inner { gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__text { font-size: 18px; }
  .logo__text small { font-size: 8.5px; letter-spacing: .1em; }
  .header__actions { gap: 2px; }
  .header__actions .btn--sm { padding: 8px 12px; font-size: 13px; min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Booking widget + demo confirmation ---------- */
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--input-r, 8px); background: var(--input-bg, #fff); color: var(--input-ink, var(--ink)); min-height: 48px; }
.stepper button { width: 42px; height: 44px; flex: none; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; border-radius: var(--input-r, 8px); }
.stepper button:hover { background: color-mix(in srgb, var(--acc) 12%, transparent); }
.field .stepper input { border: 0; min-height: 44px; padding: 0; text-align: center; flex: 1; min-width: 0; background: transparent; box-shadow: none; -moz-appearance: textfield; font-weight: 600; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--acc); }
.field input[type="date"] { min-width: 0; }
.bk-sum { margin: 0; font-size: 14px; color: var(--muted); }
.bk-sum b { color: var(--ink); font-size: 16px; }
.modal-open { overflow: hidden; }
.bk-modal { position: fixed; inset: 0; z-index: 100; background: rgba(10,12,16,.62); display: grid; place-items: center; padding: 20px; }
.bk-modal__box { background: #fff; color: #1d1d1f; border-radius: 18px; width: 100%; max-width: 440px; padding: 28px 24px 22px; position: relative; max-height: calc(100dvh - 40px); overflow: auto; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); font-family: var(--font); }
.bk-modal__ic { width: 56px; height: 56px; border-radius: 50%; background: #e6f5eb; display: grid; place-items: center; margin-bottom: 14px; }
.bk-modal__ic svg { width: 28px; height: 28px; fill: #1a9a53; }
.bk-modal h2 { font-family: var(--head); font-size: 23px; margin-bottom: 6px; }
.bk-modal__code { margin: 0; font-size: 14.5px; color: #555; }
.bk-modal__code b { color: #1d1d1f; letter-spacing: .04em; }
.bk-modal dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 16px 0; padding: 14px 16px; background: #f4f4f1; border-radius: 12px; font-size: 14.5px; }
.bk-modal dt { color: #666; }
.bk-modal dd { margin: 0; font-weight: 600; text-align: right; }
.bk-modal__note { font-size: 13px; color: #666; }
.bk-modal__x { position: absolute; top: 8px; right: 8px; width: 42px; height: 42px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; color: #555; }
.bk-modal__x:hover { background: #f1f1f1; }
.bk > *, .bk .field { min-width: 0; }
.field input[type="date"] { display: block; width: 100%; }

/* chip choices + order errors */
.chips-f { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-f legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips-f__in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-f label { position: relative; cursor: pointer; }
.chips-f input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-f span { display: inline-block; padding: 8px 14px; border-radius: var(--input-r, 10px); border: 1.5px solid var(--line-strong, var(--line)); background: var(--input-bg, #fff); font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.chips-f input:checked + span { background: var(--pri); border-color: var(--pri); color: var(--pri-ink, #fff); }
.chips-f input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.bk-err { margin: 0; color: #c62828; font-size: 13.5px; font-weight: 600; }
.bk-err:empty { display: none; }

/* tabs + menu list */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; border: 1.5px solid var(--line-strong, var(--line)); background: transparent; color: inherit; padding: 9px 18px; border-radius: var(--btn-r, 999px); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tabs [aria-selected="true"] { background: var(--pri); border-color: var(--pri); color: var(--pri-ink, #fff); }
.mlist { display: grid; gap: 18px; }
.mi__t { display: flex; align-items: baseline; gap: 10px; }
.mi h3 { font-size: 17px; font-weight: 600; margin: 0; }
.mi__dots { flex: 1; min-width: 20px; border-bottom: 1.5px dotted var(--line-strong, var(--line)); transform: translateY(-4px); }
.mi b { font-weight: 700; white-space: nowrap; color: var(--price, var(--pri)); }
.mi p { margin: 3px 0 0; font-size: 14.5px; color: var(--muted); max-width: 46ch; }
.mi__tag { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acc-text, var(--acc)); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.logo__mark { stroke: currentColor; stroke-width: 0; }

/* ---------- Shop: cart button, mini cart, toast, product card, filters, checkout ---------- */
.cart-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--logo, var(--ink)); display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.cart-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn__n { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--acc); color: var(--acc-ink, #fff); font: 700 11px/19px var(--font); text-align: center; transform: scale(.85); opacity: .5; transition: transform .2s, opacity .2s; }
.cart-btn__n.has { transform: scale(1); opacity: 1; }
.mc { position: fixed; inset: 0; z-index: 90; }
.mc__ov { position: absolute; inset: 0; background: rgba(10,10,10,.5); opacity: 0; transition: opacity .25s; }
.mc__box { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--mc-bg, #fff); color: var(--mc-ink, #1d1d1f); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); font-family: var(--font); }
.mc.is-open .mc__ov { opacity: 1; }
.mc.is-open .mc__box { transform: none; }
.mc-open { overflow: hidden; }
.mc__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,.08); }
.mc__head h2 { font-size: 21px; }
.mc__head h2 span { font-family: var(--font); font-size: 15px; color: #777; font-weight: 500; }
.mc__x { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: inherit; }
.mc__x:hover { background: rgba(0,0,0,.06); }
.mc__x svg { width: 22px; height: 22px; }
.mc__free { margin: 0; padding: 10px 20px; background: var(--mc-note, #f4f1ea); font-size: 13.5px; }
.mc__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.mc__empty { color: #777; text-align: center; padding: 48px 0; margin: 0; }
.mc__list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.07); align-items: start; }
.mc__list img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; background: #eee; }
.mc__i b { display: block; font-size: 14.5px; line-height: 1.3; font-weight: 600; }
.mc__i small { display: block; color: #777; font-size: 13px; margin-top: 2px; }
.mc__q { display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; margin-top: 8px; }
.mc__q button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 16px; color: inherit; border-radius: 50%; }
.mc__q em { font-style: normal; min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.mc__r { text-align: right; }
.mc__r b { display: block; font-size: 14.5px; white-space: nowrap; }
.mc__rm { border: 0; background: none; color: #999; font-size: 12.5px; text-decoration: underline; cursor: pointer; margin-top: 6px; padding: 4px 0; }
.mc__foot { border-top: 1px solid rgba(0,0,0,.08); padding: 14px 20px 18px; display: grid; gap: 10px; }
.mc__rows p, .co__rows p { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 14px; color: #666; }
.mc__rows b, .co__rows b { color: inherit; font-weight: 600; }
.mc__total, .co__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 700; }
.mc__total b, .co__total b { font-size: 22px; }
.mc__cont { border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: 14px; color: inherit; padding: 4px; }
.toast { position: fixed; left: 50%; top: calc(var(--header-h) + 12px); z-index: 95; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: #1d1d1f; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard__img { position: relative; overflow: hidden; }
.pcard__img img { width: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__badge { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; background: var(--acc); color: var(--acc-ink, #fff); }
.pcard__b { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.pcard h3 { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.pcard__sub { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.pcard__p { margin: 6px 0 10px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pcard__p b { font-size: 16px; }
.pcard__p s { font-size: 13px; color: var(--muted); }
.pcard__add { margin-top: auto; }
.sz { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sz label { position: relative; }
.sz input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sz span { display: grid; place-items: center; min-width: 34px; height: 32px; padding: 0 8px; border: 1px solid var(--line-strong, var(--line)); font-size: 12.5px; font-weight: 600; border-radius: var(--sz-r, 4px); cursor: pointer; }
.sz input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sz input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.fbar { display: grid; gap: 12px; margin-bottom: 24px; }
.fbar > * { min-width: 0; max-width: 100%; }
.fg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fg__l { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); flex: none; }
.fg__b { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fg__b::-webkit-scrollbar { display: none; }
.fg button { flex: none; border: 1px solid var(--line-strong, var(--line)); background: transparent; color: inherit; padding: 7px 14px; font-size: 14px; font-weight: 600; border-radius: var(--btn-r, 999px); cursor: pointer; }
.fg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fbar__r { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.fbar__r select { min-height: 40px; padding: 6px 34px 6px 12px; border: 1px solid var(--line-strong, var(--line)); border-radius: var(--input-r, 8px); background: var(--input-bg, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23777'/%3E%3C/svg%3E") no-repeat right 8px center / 20px; color: var(--input-ink, var(--ink)); appearance: none; -webkit-appearance: none; font-size: 14px; }
.p-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.co { display: grid; gap: 32px; }
.co h2 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 10px; }
.co__list { margin: 20px 0 14px; border-top: 1px solid var(--line); }
.co__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.co__list em { font-style: normal; color: var(--muted); }
.co__list .co-empty { color: var(--muted); }
.co__list b { white-space: nowrap; }
.co__rows p { color: var(--muted); }
.co__total { border-top: 1.5px solid var(--ink); padding-top: 12px; margin-top: 8px; }
.co .bk { display: grid; gap: 14px; }
@media (min-width: 600px) { .co .bk { grid-template-columns: 1fr 1fr; } .co .field--full, .co .chips-f { grid-column: 1 / -1; } .fbar__r { justify-content: space-between; } }
@media (min-width: 960px) { .co { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .co__sum { position: sticky; top: calc(var(--header-h) + 24px); } }
.mc-open .toast { top: auto; bottom: 28px; }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); }
.social a:hover { background: rgba(255,255,255,.1); }
.social svg { width: 17px; height: 17px; fill: #fff; }

/* ===== template-specific ===== */
body { background: var(--bg); }
h1, h2 { letter-spacing: -.02em; }
.logo__text { font-weight: 700; }
.eyebrow { letter-spacing: .1em; }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero { padding: 28px 0 56px; background: radial-gradient(circle at 85% 20%, #ffe7a3 0, transparent 38%), var(--bg); overflow: hidden; }
.hero__in { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(36px, 9.4vw, 66px); line-height: 1.08; margin: 4px 0 18px; position: relative; z-index: 0; }
.hero h1 em { font-style: normal; color: var(--acc); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .2em; background: var(--yel); z-index: -1; border-radius: 4px; }
.hero__lead { font-size: 17px; color: var(--muted); max-width: 520px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 460px; }
.hero__facts li { border-top: 2px solid var(--ink); padding-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.hero__facts b { display: block; font: 700 26px/1.1 var(--head); color: var(--ink); }
.hero__pic { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.hero__pic img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: 200px 200px 24px 24px; }
.hero__card { position: absolute; left: -6px; bottom: 28px; display: flex; gap: 12px; align-items: center; background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(16,33,74,.45); max-width: 250px; }
.hero__card span { width: 42px; height: 42px; border-radius: 12px; background: var(--acc); display: grid; place-items: center; flex: none; }
.hero__card svg { width: 22px; height: 22px; fill: #fff; }
.hero__card p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero__card b { display: block; color: var(--ink); font-size: 15px; }
.hero__bands { position: absolute; right: -4px; top: 34px; display: grid; gap: 8px; }
.hero__bands i { font: 700 15px/1 var(--head); font-style: normal; background: var(--ink); color: #fff; padding: 9px 12px; border-radius: 999px; text-align: center; }
.hero__bands i:nth-child(2) { background: var(--yel); color: var(--ink); }
.hero__bands i:nth-child(3) { background: var(--acc); }
.test { background: var(--ink); color: #fff; }
.test__in { display: grid; gap: 32px; align-items: center; }
.test h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.test__txt > p { color: rgba(255,255,255,.75); }
.test__pts { display: grid; gap: 10px; margin: 20px 0; }
.test__pts li { display: flex; gap: 10px; align-items: center; }
.test__pts svg { width: 20px; height: 20px; fill: var(--yel); flex: none; }
.test__note { font-size: 13.5px; color: rgba(255,255,255,.6); border-left: 3px solid var(--acc); padding-left: 12px; }
.eyebrow { color: var(--acc); }
.test .eyebrow { color: var(--yel); }
.quiz { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); min-width: 0; }
.quiz__top { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.quiz__top span { flex: none; }
.quiz__bar { flex: 1; height: 8px; background: #eef0f5; border-radius: 99px; overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--acc); border-radius: 99px; transition: width .3s; }
.quiz__q { font: 600 20px/1.4 var(--head); margin-bottom: 16px; min-height: 2.8em; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; font-size: 15.5px; transition: border-color .15s, background .15s; }
.quiz__opts button:hover { border-color: var(--ink); }
.quiz__opts button i { width: 28px; height: 28px; border-radius: 8px; background: #eef0f5; display: grid; place-items: center; font: 700 13px/1 var(--head); font-style: normal; flex: none; }
.quiz__opts [aria-checked="true"] { border-color: var(--acc); background: #fff3ef; }
.quiz__opts [aria-checked="true"] i { background: var(--acc); color: #fff; }
.quiz__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.quiz__nav .btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.quiz__score { font-size: 15px; margin-bottom: 4px; }
.quiz__score b { font: 700 40px/1 var(--head); color: var(--acc); }
.quiz__lvl { color: var(--muted); font-size: 15px; }
.quiz__rec { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: #f6f3ec; }
.quiz__rec img { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.quiz__rec small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.quiz__rec h3 { font: 700 20px/1.2 var(--head); margin: 2px 0 4px; }
.quiz__rec p { margin: 0; font-size: 13.5px; color: var(--muted); }
.crs-grid { display: grid; gap: 20px; }
.crs { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.crs:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(16,33,74,.5); }
.crs__img { position: relative; }
.crs__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.crs__lv { position: absolute; left: 12px; top: 12px; background: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.crs__b { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.crs h3 { font: 700 21px/1.2 var(--head); }
.crs__goal { display: flex; align-items: center; gap: 6px; color: var(--acc); font-weight: 600; font-size: 14px; margin: 6px 0 10px; }
.crs__goal svg { width: 16px; height: 16px; }
.crs__b > p:not([class]) { font-size: 14.5px; color: var(--muted); }
.crs__meta { display: grid; gap: 6px; font-size: 13.5px; margin-bottom: 16px; }
.crs__meta li { display: flex; gap: 8px; align-items: flex-start; }
.crs__meta svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: var(--muted); }
.crs__f { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--line-strong); padding-top: 14px; }
.crs__p { margin: 0; line-height: 1.1; }
.crs__p b { font: 700 20px/1.1 var(--head); display: block; }
.crs__p small { font-size: 12px; color: var(--muted); }
.sec-head--row { max-width: none; display: grid; gap: 10px; }
.sec-head--row p { max-width: 420px; }
.sched-f { display: grid; gap: 14px; background: #fff; padding: 16px; border-radius: 16px; border: 1px solid var(--line); }
.sched-f .field label, .sched-f__l { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.sched-f__g { min-width: 0; }
.sf { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sf::-webkit-scrollbar { display: none; }
.sf button { flex: none; border: 1.5px solid var(--line-strong); background: #fff; padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; cursor: pointer; }
.sf [aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sched-n { font-size: 14px; color: var(--muted); margin: 16px 0 10px; }
.sched { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sched th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; }
.sched td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.sched td b { font-family: var(--head); font-size: 16px; display: block; }
.sched small { display: block; font-size: 12px; color: var(--muted); }
.tag-c { display: inline-block; font-size: 12px; font-weight: 600; color: var(--acc); }
.seat { font-weight: 600; font-size: 13px; background: #e9f6ee; color: #1d6b3d; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.seat--low { background: #fff0e6; color: #b4461d; }
.p-empty { text-align: center; padding: 30px 10px; color: var(--muted); }
@media (max-width: 767.98px) {
  .sched thead { display: none; }
  .sched, .sched tbody, .sched tr, .sched td { display: block; }
  .sched tr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px 10px; align-items: start; }
  .sched tr[hidden] { display: none; }
  .sched td { border: 0; padding: 0; font-size: 14px; }
  .sched td::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .sched td:first-child { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
  .sched td:first-child::before { display: none; }
  .sched td:last-child { align-self: end; }
  .sched td:last-child .btn { width: 100%; padding: 8px 10px; }
}
@media (min-width: 768px) { .sched tbody tr { background: #fff; } .sched td:last-child { text-align: right; } }
.tch { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tch article { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.tch img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.tch article > div { padding: 16px 18px 18px; }
.tch h3 { font: 700 19px/1.2 var(--head); }
.tch__r { color: var(--acc); font-weight: 600; font-size: 14px; margin: 4px 0 8px; }
.tch article p:last-child { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 599.98px) { .tch article { display: grid; grid-template-columns: 128px 1fr; align-items: center; } .tch img { height: 100%; aspect-ratio: auto; min-height: 150px; } .tch article > div { padding: 14px 16px; } }
.why__in { display: grid; gap: 32px; align-items: center; }
.why__pic img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; }
.why h2 { font-size: clamp(28px, 4.6vw, 42px); margin-bottom: 20px; }
.why__list { display: grid; gap: 18px; }
.why__list li { display: flex; gap: 14px; }
.why__list svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff0e6; fill: var(--acc); flex: none; }
.why__list b { font-size: 16.5px; }
.why__list p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.revs { display: grid; gap: 16px; }
.revs figure { margin: 0; background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--line); }
.revs blockquote { margin: 0 0 16px; font-size: 16.5px; line-height: 1.55; }
.revs figcaption { font-size: 13px; color: var(--muted); }
.revs figcaption b { display: block; color: var(--ink); font-size: 15px; }
.reg { background: linear-gradient(180deg, var(--bg) 0, var(--bg) 40%, var(--ink) 40%); }
.reg__in { display: grid; gap: 28px; }
.reg h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 12px; }
.reg__txt > p { color: var(--muted); }
.reg__c { display: grid; gap: 10px; margin-top: 16px; font-size: 15px; }
.reg__c li { display: flex; gap: 10px; align-items: center; }
.reg__c svg { width: 18px; height: 18px; fill: var(--acc); flex: none; }
.card-f { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(16,33,74,.5); border: 1px solid var(--line); }
.bk { display: grid; gap: 14px; }
.faq-w { max-width: 820px; }
@media (min-width: 600px) {
  .bk { grid-template-columns: 1fr 1fr; }
  .bk .field--full, .bk .chips-f { grid-column: 1 / -1; }
  .crs-grid { grid-template-columns: 1fr 1fr; }
  .sched-f { grid-template-columns: 1fr 1fr; }
  .sched-f .field { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .reg { background: linear-gradient(90deg, var(--bg) 0, var(--bg) 50%, var(--ink) 50%); }
  .revs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .hero { padding: 48px 0 80px; }
  .hero__in { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .test__in { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .quiz { padding: 32px; }
  .crs-grid { grid-template-columns: repeat(4, 1fr); }
  .sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
  .sched-f { grid-template-columns: 1fr 1.2fr 1.2fr; align-items: end; }
  .sched-f .field { grid-column: auto; }
  .why__in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .reg__in { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
  .card-f { padding: 32px; }
}
@media (max-width: 767.98px) { .reg__txt { margin-bottom: 20px; } .reg { padding-bottom: 48px; } }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--card-r, 14px); background: var(--card-bg, #fff); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .2s; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
