/* TORNLINGO Exam Service. Bright and soft: a sky-blue hero, white rounded cards on light grey, lime for the main action,
   pill buttons, gentle motion (respecting "reduce motion"). Phone first: a floating tab bar and a fixed action bar in the booking steps. */
:root {
  --bg: #f3f5f8; --card: #ffffff; --ink: #0d1726; --ink-2: #1c2a3d; --muted: #5d6878; --line: #e3e7ee; --line-2: #c9d0db;
  --blue: #1f7ae6; --blue-2: #64b4f6; --blue-dk: #0c4fa6; --blue-soft: #e8f2fe;
  --lime: #d8f46a; --lime-dk: #b9da3c; --lime-ink: #1b2600;
  --ok: #157a46; --ok-soft: #e5f5ec; --warn: #9a5c00; --warn-soft: #fff3dc; --bad: #c0362c; --bad-soft: #fdecea;
  --f: 'Anuphan', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-xl: 28px; --r-lg: 20px; --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(13,23,38,.04), 0 8px 24px rgba(13,23,38,.06);
  --shadow-lg: 0 18px 50px rgba(13,40,80,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1200px; --pad: 24px; --top: 68px;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; scroll-padding-top: 90px; scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--f); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent }
[hidden] { display: none !important }
img { max-width: 100%; display: block }
a { color: inherit; text-underline-offset: 3px }
p { margin: 0 0 12px }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 500 }
h1 { font-size: clamp(30px, 4vw, 46px) }
h2 { font-size: clamp(24px, 3vw, 38px) }
h3 { font-size: 19px; font-weight: 600 }
html[lang=th] h1, html[lang=th] h2, html[lang=th] h3 { letter-spacing: 0; line-height: 1.32 }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 3px solid rgba(31,122,230,.45); outline-offset: 2px }
.es-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad) }
.es-skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 999px }
.es-skip:focus { left: 8px; top: 8px }
.es-mono { font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums }
.es-muted { color: var(--muted) }
.es-small { font-size: 14px }
.es-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 12px }
.es-kick::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue) }

/* ---------- motion ---------- */
@keyframes esIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes esFloat { 0%, 100% { transform: var(--t) translateY(0) } 50% { transform: var(--t) translateY(-8px) } }
@keyframes esMarquee { to { transform: translateX(-50%) } }
@keyframes esDrift { from { transform: translateX(-4%) } to { transform: translateX(4%) } }
.es-main > * { animation: esIn .45s var(--ease) both }
.es-main.still > * { animation: none }
.es-main > *:nth-child(2) { animation-delay: .05s } .es-main > *:nth-child(3) { animation-delay: .1s } .es-main > *:nth-child(4) { animation-delay: .15s }

/* ---------- header ---------- */
.es-util { display: none }
.es-top { position: sticky; top: 0; z-index: 40; background: rgba(243,245,248,.82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s }
.es-top.scrolled { border-bottom-color: var(--line) }
.es-top .es-wrap { display: flex; align-items: center; gap: 24px; min-height: var(--top) }
.es-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none }
.es-brand img { width: 34px; height: 34px }
.es-brand b { display: block; font-size: 17px; font-weight: 700; line-height: 1.1 }
.es-brand small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500 }
.es-nav { display: flex; gap: 4px; flex: 1; justify-content: center }
.es-nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; padding: 9px 16px; font-size: 15px; font-weight: 500; border-radius: 999px; transition: background .2s, color .2s }
.es-nav a:hover { background: rgba(13,23,38,.06) } .es-nav a.on { background: var(--ink); color: #fff }
.es-top .es-cta { flex: none }
.es-acct { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; white-space: nowrap }
.es-acct b { color: var(--ink); font-weight: 600; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom }
.es-lang { display: inline-flex; background: rgba(13,23,38,.06); border-radius: 999px; padding: 3px }
.es-lang button { background: none; border: 0; color: var(--muted); padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 999px; transition: background .2s, color .2s }
.es-lang button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12) }

/* ---------- buttons ---------- */
.es-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s }
.es-btn:hover { background: var(--ink-2); box-shadow: 0 6px 18px rgba(13,23,38,.18) }
.es-btn:active { transform: scale(.97) }
.es-btn svg { width: 18px; height: 18px; flex: none }
.es-btn.accent { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); padding-right: 8px }
.es-btn.accent:hover { background: var(--lime-dk); border-color: var(--lime-dk); box-shadow: 0 8px 22px rgba(160,200,30,.35) }
.es-btn.accent svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ink); color: var(--lime); transition: transform .2s var(--ease) }
.es-btn.accent:hover svg { transform: rotate(-45deg) }
.es-btn.accent.sm svg { width: 28px; height: 28px; padding: 6px }
.es-btn.line { background: #fff; color: var(--ink); border-color: var(--line-2) } .es-btn.line:hover { border-color: var(--ink); background: #fff }
.es-hero .es-btn.line, .es-box.dark .es-btn.line, .es-dark .es-btn.line { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px) }
.es-hero .es-btn.line:hover, .es-box.dark .es-btn.line:hover, .es-dark .es-btn.line:hover { background: rgba(255,255,255,.26) }
.es-btn.quiet { background: none; border-color: transparent; color: var(--blue-dk); padding-left: 4px; padding-right: 4px; min-height: 40px }
.es-btn.quiet:hover { background: none; box-shadow: none; text-decoration: underline }
.es-btn.danger { background: #fff; color: var(--bad); border-color: #f1c2bd } .es-btn.danger:hover { background: var(--bad); color: #fff; border-color: var(--bad) }
.es-btn.sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px }
.es-btn.lg { min-height: 56px; padding: 14px 28px; font-size: 16.5px }
.es-btn.accent.lg { padding-right: 10px }
.es-btn.block { width: 100% }
.es-btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none }
.es-btn.tl { background: #fff; color: var(--ink); border-color: var(--line-2); gap: 12px; width: 100%; min-height: 56px }
.es-btn.tl img { width: 26px; height: 26px }
.es-btn.tl:hover { border-color: var(--ink) }
.es-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center }
.es-actions.between { justify-content: space-between } .es-actions.end { justify-content: flex-end }

/* ---------- hero (home): a sky ---------- */
.es-hero { padding: 12px }
.es-hero-in { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; text-align: center; padding: clamp(56px, 8vw, 96px) 20px 36px;
  background: linear-gradient(180deg, #0b63dc 0%, #1d7ff0 34%, #4ea6f6 66%, #a6d4fb 100%) }
.es-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center }
.es-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,70,160,.75), rgba(31,122,230,.45) 55%, rgba(185,220,251,.55)) }
.es-clouds { position: absolute; inset: auto -10% -6% -10%; height: 55%; pointer-events: none; animation: esDrift 30s ease-in-out infinite alternate;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)) 4% 92% / 34% 46% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0)) 24% 100% / 30% 38% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,.85), rgba(255,255,255,0)) 52% 104% / 40% 36% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,.92), rgba(255,255,255,0)) 80% 96% / 34% 44% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,.8), rgba(255,255,255,0)) 98% 80% / 26% 40% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,.5), rgba(255,255,255,0)) 14% 40% / 22% 22% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,.45), rgba(255,255,255,0)) 88% 30% / 20% 18% no-repeat }
.es-hero-txt { position: relative; max-width: 820px; margin: 0 auto }
.es-hero h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px }
html[lang=th] .es-hero h1 { line-height: 1.25; letter-spacing: -.01em }
.es-hero h1 span { color: rgba(255,255,255,.72) }
.es-hero p.lead { font-size: clamp(16px, 1.5vw, 18.5px); color: rgba(255,255,255,.88); max-width: 34em; margin: 0 auto 28px }
.es-hero .es-actions { justify-content: center }
.es-float { position: relative; display: flex; justify-content: center; align-items: center; gap: 14px; margin: 56px auto 18px; perspective: 1400px; min-height: 210px }
.es-fcard { --t: rotateY(0deg); flex: none; width: 172px; min-height: 176px; padding: 14px; border-radius: 16px; background: #fff; color: var(--ink); text-align: left; box-shadow: var(--shadow-lg);
  transform: var(--t); animation: esFloat 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1s); font-size: 13px; line-height: 1.35; text-decoration: none; transition: box-shadow .2s }
.es-fcard:hover { box-shadow: 0 24px 60px rgba(13,40,80,.28) }
.es-fcard small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 6px }
.es-fcard b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px }
.es-fcard .big { font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 10px 0 6px }
.es-fcard.dark { background: var(--ink); color: #fff } .es-fcard.dark small { color: rgba(255,255,255,.6) }
.es-fcard.lime { background: var(--lime); color: var(--lime-ink) } .es-fcard.lime small { color: rgba(27,38,0,.65) }
.es-fcard.glass { background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px) } .es-fcard.glass small { color: rgba(255,255,255,.8) }
.es-fcard > svg { width: 30px; height: 30px; margin-top: 18px; color: var(--lime) }
.es-fcard .qr svg { width: 92px; height: 92px; display: block; margin-top: 6px }
.es-fcard .bar { height: 6px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden } .es-fcard .bar i { display: block; height: 100%; background: var(--blue) }
.es-fcard .pill { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dk); font-weight: 600; font-size: 12px }
.es-fcard.dark .pill { background: rgba(216,244,106,.18); color: var(--lime) }
.es-rated { position: relative; margin: 6px 0 0; font-size: 14px; color: rgba(13,40,80,.75) }
.es-rated b { color: var(--ink) }

/* the line of things we do, scrolling */
.es-marquee { overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent) }
.es-mq-track { display: flex; gap: 44px; width: max-content; animation: esMarquee 38s linear infinite }
.es-marquee:hover .es-mq-track { animation-play-state: paused }
.es-mq-track span { display: inline-flex; align-items: center; gap: 10px; color: #8a94a3; font-weight: 600; font-size: 16px; white-space: nowrap }
.es-mq-track svg { width: 22px; height: 22px }

/* the big sentence with little icon chips */
.es-about { text-align: center; padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px) }
.es-about h2 { font-size: clamp(28px, 4vw, 48px); max-width: 18em; margin: 0 auto; line-height: 1.22 }
.es-about h2 span.m { color: #8a94a3 }
.es-ichip { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 50%; vertical-align: -.12em; margin: 0 .08em }
.es-ichip svg { width: 55%; height: 55% }
.es-ichip.b { background: var(--blue-2); color: #fff } .es-ichip.l { background: var(--lime); color: var(--lime-ink) }

/* bento of figures */
.es-bento { display: grid; grid-template-columns: 1.05fr 1.2fr 1.05fr; grid-template-rows: auto auto; gap: 16px }
.es-bcard { border-radius: var(--r-lg); padding: 22px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; text-decoration: none; color: inherit }
.es-bcard small { font-size: 14px; color: var(--muted) }
.es-bcard b { display: block; font-size: clamp(40px, 4.4vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1 }
.es-bcard p { margin: 0; font-size: 14.5px }
.es-bcard.blue { grid-row: span 2; background: linear-gradient(170deg, #1f7ae6, #6cb9f7); color: #fff; padding: 18px; min-height: 380px }
.es-bcard.blue .in { background: #fff; color: var(--ink); border-radius: 16px; padding: 20px; margin-top: auto }
.es-bcard.blue .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.22); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px) }
.es-bcard.blue .ico svg { width: 20px; height: 20px }
.es-bcard.blue .lbl { font-weight: 700; font-size: 20px; letter-spacing: .02em }
.es-bcard.grey { grid-row: span 2; background: #e9ecf1 }
.es-bcard.grey ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.es-bcard.grey li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px }
.es-bcard.grey li svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px }
.es-bcard.lime { background: var(--lime); color: var(--lime-ink) } .es-bcard.lime small { color: rgba(27,38,0,.7) }
.es-bcard.dark { background: var(--ink); color: #fff; min-height: 120px; flex-direction: row; align-items: center } .es-bcard.dark small { color: rgba(255,255,255,.7) }

/* ---------- sections ---------- */
.es-sec { padding: clamp(40px, 6vw, 80px) 0 }
.es-sec.soft { background: transparent }
.es-sec.tight { padding-top: 24px }
.es-dark { background: var(--ink); color: #fff; border-radius: var(--r-xl); margin: 0 12px }
.es-dark p { color: rgba(255,255,255,.75) }
.es-dark .es-kick { color: rgba(255,255,255,.7) } .es-dark .es-kick::before { background: var(--lime) }
.es-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap }
.es-sec-head h2 { margin: 0; max-width: 20em }
.es-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--blue-dk); padding: 8px 14px; border-radius: 999px; background: var(--blue-soft); transition: background .2s }
.es-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease) }
.es-link:hover { background: #d8e9fd } .es-link:hover svg { transform: translateX(3px) }
.es-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.es-fig { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow) }
.es-fig b { display: block; font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -.03em }
.es-fig span { display: block; font-weight: 600; margin-top: 10px } .es-fig small { color: var(--muted) }
.es-notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--blue) }
.es-notice svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px }
.es-notice p { margin: 0; white-space: pre-line }

/* ---------- exam list: rounded rows ---------- */
.es-list { display: grid; gap: 12px }
.es-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s }
a.es-row:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,23,38,.1) }
.es-date { line-height: 1; text-align: center; background: var(--blue-soft); color: var(--blue-dk); border-radius: 16px; padding: 12px 6px }
.es-date b { display: block; font-size: 32px; font-weight: 600; letter-spacing: -.02em }
.es-date small { display: block; font-size: 12.5px; font-weight: 600; margin-top: 6px }
.es-date svg { width: 28px; height: 28px; margin: 4px auto }
.es-row h3 { margin: 0 0 6px; font-size: 18.5px }
.es-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; color: var(--muted); font-size: 14px }
.es-meta span { display: inline-flex; align-items: center; gap: 6px }
.es-meta svg { width: 15px; height: 15px; flex: none }
.es-row-side { display: flex; align-items: center; gap: 18px; justify-content: flex-end; text-align: right }
.es-price { font-size: 19px; font-weight: 600; white-space: nowrap }
.es-price small { display: block; font-size: 12px; color: var(--muted); font-weight: 500 }
.es-empty { padding: 48px 24px; background: #fff; border-radius: var(--r-lg); color: var(--muted); text-align: center; box-shadow: var(--shadow) }
.es-empty svg { width: 32px; height: 32px; margin: 0 auto 10px }
.es-empty p { margin-bottom: 16px }
.es-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 13px; font-weight: 600; border-radius: 999px; white-space: nowrap; line-height: 1.3; background: #eef0f4; color: var(--muted) }
.es-tag.ok { background: var(--ok-soft); color: var(--ok) } .es-tag.warn { background: var(--warn-soft); color: var(--warn) } .es-tag.bad { background: var(--bad-soft); color: var(--bad) }
.es-tag.ink { background: var(--blue-soft); color: var(--blue-dk) } .es-tag.fill { background: var(--ink); color: #fff }
.es-phead .es-tag { background: var(--lime); color: var(--lime-ink) }

/* how it works */
.es-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
.es-steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 22px }
.es-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: 16px; font-weight: 700; margin-bottom: 18px }
.es-steps h3 { font-size: 19px; margin-bottom: 8px; color: #fff }
.es-steps p { margin: 0; color: rgba(255,255,255,.7); font-size: 15px }
.es-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch }
.es-split > div { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow) }
.es-checks { list-style: none; margin: 0; padding: 0; counter-reset: ck; display: grid; gap: 10px }
.es-checks li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start }
.es-checks li::before { content: counter(ck); counter-increment: ck; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dk); font-weight: 700; font-size: 14px }
.es-cta { background: linear-gradient(120deg, #1f7ae6, #64b4f6); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap }
.es-cta h2 { margin: 0 0 6px } .es-cta p { margin: 0; color: rgba(255,255,255,.85) }

/* ---------- inner pages ---------- */
.es-phead { padding: 12px var(--pad) 0 }
.es-phead > .es-wrap { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; padding: 36px 32px 32px; max-width: calc(var(--wrap) - 48px);
  background: linear-gradient(135deg, #1668d8 0%, #2f8cee 55%, #7cc1f8 100%) }
.es-phead > .es-wrap::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); pointer-events: none }
.es-phead h1 { margin: 0; max-width: 22em; position: relative }
.es-phead p { color: rgba(255,255,255,.85); margin: 8px 0 0; position: relative }
.es-phead .es-kick { color: rgba(255,255,255,.8) } .es-phead .es-kick::before { background: var(--lime) }
.es-crumb { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 12px; position: relative }
.es-crumb a { color: rgba(255,255,255,.85); text-decoration: none } .es-crumb a:hover { color: #fff; text-decoration: underline }
.es-phead .es-meta { color: rgba(255,255,255,.85); margin-top: 12px; position: relative }
.es-phead-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; position: relative }
.es-main { min-height: 60vh; outline: none }
.es-body { padding-top: 24px; padding-bottom: 72px }
.es-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start }
.es-sticky { position: sticky; top: calc(var(--top) + 16px) }
.es-block { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 30px); margin-bottom: 16px; box-shadow: var(--shadow) }
.es-block h2 { font-size: 22px; font-weight: 600; margin-bottom: 14px; letter-spacing: -.01em }
.es-box { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow) }
.es-box.dark { background: var(--ink); color: #fff }
.es-box.dark .es-muted { color: rgba(255,255,255,.65) }
.es-box h3 { margin-bottom: 6px }
.es-bigprice { font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0 18px }
.es-narrow { max-width: 560px; margin: 0 auto; background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow) }
.es-table { width: 100%; border-collapse: collapse; font-size: 15px }
.es-table th, .es-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top }
.es-table tr:last-child th, .es-table tr:last-child td { border-bottom: 0 }
.es-table th { font-weight: 500; color: var(--muted); width: 38%; padding-right: 16px }
.es-table.cols th { width: auto; font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-2) }
.es-table.cols td { padding-right: 16px }
.es-scroll { overflow-x: auto }
.es-rules { margin: 0; padding-left: 22px } .es-rules li { margin: 0 0 8px }
.es-alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px 18px; margin: 0 0 16px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow) }
.es-alert svg { width: 20px; height: 20px; margin-top: 2px }
.es-alert p { margin: 0 } .es-alert p + p, .es-alert p + .es-actions, .es-alert div > .es-actions { margin-top: 10px }
.es-alert.ok { background: var(--ok-soft); box-shadow: none } .es-alert.ok svg { color: var(--ok) }
.es-alert.warn { background: var(--warn-soft); box-shadow: none } .es-alert.warn svg { color: var(--warn) }
.es-alert.bad { background: var(--bad-soft); box-shadow: none } .es-alert.bad svg { color: var(--bad) }
.es-alert.info { background: var(--blue-soft); box-shadow: none } .es-alert.info svg { color: var(--blue) }

/* ---------- forms ---------- */
.es-form { display: grid; gap: 20px }
.es-field { display: grid; gap: 8px; min-width: 0 }
.es-field > label, .es-label { font-weight: 600; font-size: 15px }
.es-req::after { content: ' *'; color: var(--bad) }
.es-opt { font-weight: 400; color: var(--muted); font-size: 14px }
.es-input, .es-select, .es-textarea { width: 100%; min-height: 52px; padding: 12px 16px; font-size: 16px; background: #f6f8fb; border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none }
.es-input:hover, .es-select:hover, .es-textarea:hover { border-color: var(--line-2) }
.es-input:focus, .es-select:focus, .es-textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,122,230,.15) }
.es-input[aria-invalid="true"], .es-textarea[aria-invalid="true"] { border-color: var(--bad); background: #fffafa; box-shadow: 0 0 0 4px rgba(192,54,44,.1) }
.es-input.code { font-size: 26px; font-weight: 600; letter-spacing: .35em; text-align: center; max-width: 260px }
.es-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d1726' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px }
.es-textarea { min-height: 110px; resize: vertical; line-height: 1.5 }
.es-input[type=date] { min-width: 0 }
.es-hint { font-size: 14px; color: var(--muted); margin: 0 }
.es-err { font-size: 14px; color: var(--bad); font-weight: 600; margin: 0 }
.es-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px }
.es-inline { display: flex; gap: 10px; flex-wrap: wrap } .es-inline .es-input { flex: 1 1 240px; width: auto }
.es-seg { display: inline-flex; background: #eef1f5; border-radius: 999px; padding: 4px; justify-self: start; max-width: 100% }
.es-seg label { position: relative; cursor: pointer }
.es-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer }
.es-seg span { display: block; padding: 10px 20px; font-weight: 600; font-size: 15px; white-space: nowrap; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s }
.es-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12) }
.es-seg input:focus-visible + span { outline: 3px solid rgba(31,122,230,.45) }
.es-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; cursor: pointer; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, background .2s }
.es-check:hover { border-color: var(--line-2) }
.es-check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--line-2); border-radius: 7px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s }
.es-check input::after { content: ''; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0 }
.es-check input:checked { background: var(--blue); border-color: var(--blue) } .es-check input:checked::after { opacity: 1 }
.es-check:has(input:checked) { border-color: var(--blue); background: var(--blue-soft) }
.es-check.bad { border-color: var(--bad) }
.es-choices { display: grid; gap: 10px }
.es-choice { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; cursor: pointer; transition: border-color .2s, background .2s, transform .15s var(--ease) }
.es-choice:hover { border-color: var(--line-2) } .es-choice:active { transform: scale(.99) }
.es-choice input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--line-2); border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer }
.es-choice input::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s var(--ease) }
.es-choice input:checked { background: var(--blue); border-color: var(--blue) } .es-choice input:checked::after { transform: scale(1) }
.es-choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft) }
.es-choice:has(input:disabled) { opacity: .5; cursor: not-allowed }
.es-choice b { font-size: 16.5px }
.es-seats { text-align: right; line-height: 1.15 }
.es-seats b { font-size: 26px; display: block; font-weight: 600; color: var(--blue-dk) }
.es-seats small { color: var(--muted); font-size: 13px }
.es-photo { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: start }
.es-photo-box { position: relative; width: 140px; aspect-ratio: 3 / 4; border: 2px dashed var(--line-2); border-radius: var(--r); background: #f6f8fb; display: grid; place-items: center; text-align: center; padding: 10px; color: var(--muted); font-size: 14px; overflow: hidden; cursor: pointer; transition: border-color .2s }
.es-photo-box:hover { border-color: var(--blue) }
.es-photo-box svg { width: 30px; height: 30px; margin: 0 auto 6px; display: block }
.es-photo-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.es-photo ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 14px } .es-photo li { margin-bottom: 4px }
.es-cam { position: relative; width: 100%; max-width: 380px; aspect-ratio: 3 / 4; margin: 0 auto; background: #000; overflow: hidden; border-radius: var(--r-lg) }
.es-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1) }
.es-cam-guide { position: absolute; inset: 14% 20% 24%; border: 2px solid rgba(255,255,255,.85); border-radius: 50% 50% 46% 46%; pointer-events: none }
.es-crop { position: relative; width: min(100%, 330px); aspect-ratio: 3 / 4; margin: 0 auto; overflow: hidden; background: #000; touch-action: none; cursor: grab; border-radius: var(--r-lg) }
.es-crop img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; user-select: none; -webkit-user-drag: none }
.es-crop::after { content: ''; position: absolute; inset: 12% 18% 22%; border: 2px solid rgba(255,255,255,.8); border-radius: 50% 50% 46% 46%; pointer-events: none }
.es-range { width: 100%; accent-color: var(--blue); height: 32px }
.es-or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; color: var(--muted); font-size: 14px; margin: 20px 0 }
.es-or::before, .es-or::after { content: ''; border-top: 1px solid var(--line) }

/* ---------- booking steps ---------- */
.es-stepper { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 8px; counter-reset: st; position: relative }
.es-stepper li { counter-increment: st; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.75); font-size: 14.5px; font-weight: 500; transition: background .3s }
.es-stepper li::before { content: counter(st); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.22); font-weight: 700; font-size: 13px }
.es-stepper li.on { background: #fff; color: var(--ink) } .es-stepper li.on::before { background: var(--lime); color: var(--lime-ink) }
.es-stepper li.done { color: #fff } .es-stepper li.done::before { content: '\2713'; background: var(--lime); color: var(--lime-ink) }
.es-step-m { display: none }
.es-wz { background: #fff; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow) }
.es-wz h2 { font-size: 24px; font-weight: 600 }
.es-wz-bar { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line) }
.es-sum dl { margin: 10px 0 0; display: grid; gap: 2px }
.es-sum dt { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px }
.es-sum dd { margin: 0; font-weight: 500 }
.es-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15) }
.es-total b { font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--lime) }
.es-review { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start }
.es-review img, .es-review .ph { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: #f0f2f6; display: grid; place-items: center; color: var(--muted) }
.es-review .ph svg { width: 30px; height: 30px }

/* ---------- one booking ---------- */
.es-track { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; position: relative }
.es-track li { padding: 8px 12px; border-radius: 999px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); font-size: 14px; display: flex; gap: 8px; align-items: center }
.es-track li svg { width: 16px; height: 16px; opacity: .45 }
.es-track li.done { color: var(--lime-ink); background: var(--lime) } .es-track li.done svg { opacity: 1 }
.es-ticket { display: grid; grid-template-columns: 130px minmax(0, 1fr) 170px; gap: 26px; border-radius: var(--r-lg); padding: 26px; background: linear-gradient(180deg, #fff, #f7faff); border: 1.5px solid var(--line); position: relative; overflow: hidden }
.es-ticket::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--lime)) }
.es-tphoto { width: 130px; aspect-ratio: 3 / 4; object-fit: cover; background: #f0f2f6; display: grid; place-items: center; color: var(--muted); border-radius: var(--r); text-align: center; font-size: 12px; padding: 6px }
.es-tphoto svg { width: 34px; height: 34px }
.es-ticket h3 { font-size: 24px; margin: 4px 0 16px }
.es-tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px }
.es-tgrid small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px }
.es-tgrid b { font-weight: 600; word-break: break-word }
.es-big { font-size: 22px }
.es-qr { background: #fff; border-radius: var(--r); padding: 10px; align-self: start; box-shadow: var(--shadow) }
.es-qr svg { width: 100%; height: auto; display: block }
.es-qr small { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px }
.es-countdown { font-weight: 700; font-variant-numeric: tabular-nums }
.es-score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center }
.es-score-big { min-width: 170px; padding: 22px 26px; border-radius: var(--r-lg); background: linear-gradient(160deg, #1f7ae6, #64b4f6); color: #fff }
.es-score-big b { display: block; font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -.04em }
.es-score-big small { color: rgba(255,255,255,.85); font-size: 15px }
.es-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px }
.es-item { padding: 10px 12px; border-radius: var(--r-sm); background: #f4f6f9; font-size: 14px; display: grid; gap: 2px }
.es-item span { color: var(--muted); font-size: 13.5px }
.es-item.ok { background: var(--ok-soft) } .es-item.no { background: var(--bad-soft) } .es-item.flag { background: var(--warn-soft); outline: 2px solid var(--warn) }
details > summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px }
details > summary::-webkit-details-marker { display: none }
details > summary::after { content: '+'; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #eef1f5; font-size: 20px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease) }
details[open] > summary::after { transform: rotate(45deg) }
.es-sheet { border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; overflow: auto; max-height: 80vh; -webkit-overflow-scrolling: touch }
.es-sheet svg { display: block; width: 100%; height: auto }
.es-sheet { touch-action: pan-x pan-y; overscroll-behavior: contain }
.es-sh-in { position: relative; width: 100%; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none }
.es-sh-in canvas { display: block; width: 100%; height: 100%; pointer-events: none }
.es-sh-in .es-sh-ov { position: absolute; inset: 0; width: 100%; height: 100% }
.es-sh-wait { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.6) } .es-sh-wait[hidden] { display: none }
@media (hover: none) { .es-sheet .bq:hover { fill: transparent; stroke: transparent } }
.es-sheet .bq { fill: transparent; stroke: transparent; stroke-width: 3; cursor: pointer }
.es-sheet .bq:hover { fill: rgba(31,122,230,.18); stroke: var(--blue) }
.es-sheet .bq.qf { stroke: rgba(154,92,0,.6) }
.es-sheet .bq.pick { fill: rgba(192,54,44,.22); stroke: var(--bad); stroke-width: 4 }
.es-zoom { display: inline-flex; background: #eef1f5; border-radius: 999px; padding: 3px; gap: 3px }
.es-zoom button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.1) }
.es-zoom button:active { transform: scale(.94) } .es-zoom svg { width: 18px; height: 18px }
.es-flags { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; align-items: center }
.es-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 999px; color: var(--warn); font-weight: 600; font-size: 14px; background: var(--warn-soft) }
.es-chip button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(154,92,0,.12); cursor: pointer; color: inherit; display: grid; place-items: center } .es-chip svg { width: 14px; height: 14px }
.es-qgrid { display: flex; flex-wrap: wrap; gap: 6px }
.es-qgrid button { min-width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600 }
.es-qgrid button[aria-pressed="true"] { background: var(--warn); color: #fff; border-color: var(--warn) }

/* help */
.es-faq { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 30px); box-shadow: var(--shadow) }
.es-faq details { border-bottom: 1px solid var(--line); padding: 16px 0 } .es-faq details:last-child { border-bottom: 0 }
.es-faq summary { font-size: 16.5px } .es-faq details p { margin: 10px 0 0; color: var(--muted) }
.es-contact { list-style: none; margin: 0; padding: 0 }
.es-contact li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); white-space: pre-line } .es-contact li:last-child { border-bottom: 0 }
.es-contact small { display: block; color: rgba(255,255,255,.6); font-size: 13px }
.es-contact a { color: #fff }

/* ---------- dialog, toast ---------- */
.es-modal { position: fixed; inset: 0; z-index: 80; background: rgba(13,23,38,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; overflow-y: auto; animation: esFade .2s ease }
@keyframes esFade { from { opacity: 0 } }
@keyframes esUp { from { opacity: 0; transform: translateY(24px) scale(.98) } }
.es-dialog { width: 100%; max-width: 480px; background: #fff; padding: 28px; border-radius: var(--r-xl); box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: esUp .3s var(--ease) }
.es-dialog.wide { max-width: 640px }
.es-dialog h2 { font-size: 24px; font-weight: 600 }
.es-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 500; max-width: calc(100vw - 32px); box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: esUp .3s var(--ease) }
.es-toast.bad { background: var(--bad) }
.es-gone { visibility: hidden }

/* ---------- footer ---------- */
.es-foot { background: var(--ink); color: rgba(255,255,255,.65); font-size: 14px; padding: 48px 0 32px; margin: 56px 12px 12px; border-radius: var(--r-xl) }
.es-foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px }
.es-foot b { display: block; color: #fff; font-size: 15px; margin-bottom: 10px }
.es-foot a { color: rgba(255,255,255,.85); text-decoration: none; line-height: 2 } .es-foot a:hover { color: var(--lime) }
.es-foot-bot { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px }
.es-tabs { display: none }

/* ---------- narrower ---------- */
@media (max-width: 1180px) { .es-top .es-wrap { gap: 14px } .es-acct .via { display: none } .es-acct b { max-width: 130px } .es-nav a { padding: 9px 12px } }
@media (max-width: 1020px) {
  .es-grid { grid-template-columns: minmax(0, 1fr) }
  .es-sticky { position: static }
  .es-steps { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .es-ticket { grid-template-columns: 110px minmax(0, 1fr) } .es-tphoto { width: 110px } .es-qr { grid-column: 1 / -1; max-width: 190px }
  .es-bento { grid-template-columns: 1fr 1fr } .es-bcard.blue { grid-row: span 2 } .es-bcard.grey { grid-row: auto }
  .es-fcard:nth-child(n+6) { display: none }
  .es-me-btn > span:not(.es-me-av), .es-me-btn > svg { display: none }
}
/* ---------- phone: native feel ---------- */
@media (max-width: 760px) {
  :root { --pad: 16px; --top: 58px }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)) }
  .es-nav, .es-top .es-cta { display: none }
  .es-top .es-lang { margin-left: auto }
  .es-acct a.es-btn { min-height: 36px; padding: 6px 12px; font-size: 13.5px }
  .es-brand img { width: 30px; height: 30px } .es-brand b { font-size: 16px }
  .es-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; padding: 6px;
    background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); border-radius: 26px; box-shadow: 0 10px 30px rgba(13,23,38,.16), inset 0 0 0 1px rgba(13,23,38,.06) }
  .es-tabs a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px 7px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600; border-radius: 20px; transition: background .2s, color .2s }
  .es-tabs a svg { width: 22px; height: 22px }
  .es-tabs a.on { color: var(--ink); background: var(--lime) }
  .es-tabs a:active { transform: scale(.95) }
  .es-hero { padding: 8px }
  .es-hero-in { padding: 44px 16px 24px; border-radius: 24px }
  .es-hero h1 { font-size: 36px }
  .es-hero .es-actions .es-btn { flex: 1 1 100% }
  .es-float { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 36px -16px 10px; padding: 8px 16px 20px; perspective: none; min-height: 0; scrollbar-width: none }
  .es-float::-webkit-scrollbar { display: none }
  .es-fcard { --t: none !important; scroll-snap-align: center; animation: none; width: 168px } .es-fcard:nth-child(n+6) { display: block }
  .es-about h2 { font-size: 27px }
  .es-bento { grid-template-columns: 1fr; gap: 12px } .es-bcard.blue { min-height: 300px } .es-bcard { min-height: 140px }
  .es-figs { grid-template-columns: minmax(0, 1fr) }
  .es-steps { grid-template-columns: minmax(0, 1fr); gap: 10px }
  .es-dark { margin: 0 8px; border-radius: 24px }
  .es-split { grid-template-columns: minmax(0, 1fr) }
  .es-row { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 16px }
  .es-row-side { grid-column: 1 / -1; justify-content: space-between; text-align: left; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line) }
  .es-date { padding: 10px 4px } .es-date b { font-size: 26px }
  .es-row h3 { font-size: 17px }
  .es-row2 { grid-template-columns: minmax(0, 1fr) }
  .es-phead { padding: 8px 8px 0 } .es-phead > .es-wrap { border-radius: 24px; padding: 26px 18px 22px }
  .es-body { padding-top: 16px; padding-bottom: 40px }
  .es-stepper { display: none }
  .es-step-m { display: block; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.9); position: relative }
  .es-step-m i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); margin-top: 10px; overflow: hidden } .es-step-m i span { display: block; height: 100%; border-radius: 3px; background: var(--lime); transition: width .4s var(--ease) }
  .es-wz { padding: 18px; border-radius: 22px }
  /* the Back / Next bar sticks to the bottom only while the booking form is on screen: it never covers the summary or the footer below */
  .es-wz-bar { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 5; margin: 22px -8px -8px; padding: 8px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(13,23,38,.12) }
  .es-wz-bar .es-btn { flex: 1 1 0; justify-content: center; min-height: 48px }
  .es-wz-bar .es-btn.line { flex: 0 1 auto }
  .es-wz-bar .es-btn { flex: 1; min-height: 46px } .es-wz-bar .es-btn.line { flex: 0 0 auto }
  .es-wz { margin-bottom: 70px }
  .es-photo { grid-template-columns: 104px minmax(0, 1fr); gap: 14px } .es-photo-box { width: 104px }
  .es-choice { grid-template-columns: 24px minmax(0, 1fr); padding: 14px } .es-seats { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline } .es-seats b { font-size: 18px; display: inline }
  .es-review { grid-template-columns: 84px minmax(0, 1fr); gap: 14px } .es-review img, .es-review .ph { width: 84px }
  .es-ticket { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 20px 16px } .es-tphoto { width: 88px } .es-ticket h3 { font-size: 20px }
  .es-tgrid { grid-template-columns: minmax(0, 1fr); gap: 10px } .es-big { font-size: 19px }
  .es-qr { margin: 0 auto }
  .es-track { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .es-score { grid-template-columns: minmax(0, 1fr); gap: 14px }
  .es-foot { margin: 40px 8px 8px; border-radius: 24px; padding: 32px 0 24px }
  .es-foot-in { grid-template-columns: minmax(0, 1fr); gap: 24px }
  .es-dialog { padding: 22px 18px; border-radius: 24px 24px 0 0; align-self: end; animation: esUp .3s var(--ease) } .es-modal { padding: 0; place-items: end stretch }
  .es-toast { bottom: calc(96px + env(safe-area-inset-bottom)) }
  .es-table th { width: 42% }
  .es-cta { border-radius: 24px }
}
@media print { .es-top, .es-tabs, .es-foot, .es-wz-bar, .es-marquee { display: none !important } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important } }

/* the account button (top right): a round picture or initial, a short name, a small menu */
.es-me { position: relative }
.es-me-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 14px var(--f); cursor: pointer; transition: border-color .2s, box-shadow .2s }
.es-me-btn:hover { border-color: var(--ink); box-shadow: 0 4px 14px rgba(13,23,38,.1) }
.es-me-btn img, .es-me-av { width: 30px; height: 30px; border-radius: 50%; flex: none }
.es-me-btn img { background: var(--ink); padding: 5px; filter: brightness(1) }
.es-me-av { display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 14px }
.es-me-btn svg { width: 14px; height: 14px; color: var(--muted) }
.es-me-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(13,23,38,.18); animation: esUp .2s var(--ease) }
.es-me-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px }
.es-me-head b { display: block; font-size: 15px } .es-me-head small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis }
.es-me-menu a, .es-me-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; border: 0; background: none; font: 500 14.5px var(--f); color: var(--ink); text-decoration: none; cursor: pointer }
.es-me-menu a:hover, .es-me-menu button:hover { background: var(--bg) }
.es-me-menu button { color: var(--bad) }
.es-me-btn > span:not(.es-me-av) { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.es-pages span { padding: 6px 14px !important; font-size: 13.5px !important }

/* phones: no zoom when a field gets focus (iOS zooms under 16px) */
@media (max-width: 640px) { input, select, textarea { font-size: 16px !important } }
.es-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(31,122,230,.25); border-top-color: var(--blue); animation: es-spin .8s linear infinite }
@keyframes es-spin { to { transform: rotate(360deg) } }

/* the level of a result (e.g. CEFR) and what it means */
.es-band { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted, #555) } .es-band li { margin: 2px 0 }

/* fee lines and the discount code (booking) */
.es-lines { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; margin-top: 8px; font-size: 14px; color: var(--muted) }
.es-table tr.es-line th, .es-table tr.es-line td { font-size: 14px; color: var(--muted); font-weight: 400; padding-top: 6px; padding-bottom: 6px }
.es-code-box { margin: 18px 0 4px }
.es-code { display: flex; gap: 8px; margin-top: 6px } .es-code .es-input { flex: 1; text-transform: uppercase; letter-spacing: .04em } .es-code .es-btn { flex: none }
.es-code-ok { display: flex; align-items: center; gap: 10px; background: #eef9e0; border-radius: var(--r); padding: 12px 14px; margin: 0; font-size: 15px }
.es-code-ok svg { width: 20px; height: 20px; flex: none; color: #3d7a12 } .es-code-ok span { flex: 1 }

/* exam issuers (our clients) */
.es-issuer { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 2px 0 4px; font-weight: 500 }
.es-issuer img { width: 20px; height: 20px; object-fit: contain; border-radius: 5px; background: #fff }
.es-issuer.on-blue { color: rgba(255,255,255,.9); margin: 6px 0 2px; font-size: 14px } .es-issuer.on-blue img { width: 24px; height: 24px; border-radius: 6px; padding: 2px }
.es-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px }
.es-fchip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500 }
.es-fchip img { width: 20px; height: 20px; object-fit: contain } .es-fchip.on { background: var(--ink); color: #fff; border-color: var(--ink) }
.es-clients { padding-top: 10px; padding-bottom: 10px }
.es-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 14px }
.es-logo { display: grid; place-items: center; height: 60px; min-width: 90px; color: var(--muted); text-decoration: none; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s }
.es-logo:hover { filter: none; opacity: 1 } .es-logo img { max-height: 56px; max-width: 150px; object-fit: contain } .es-logo b { font-size: 17px }
.es-org { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); display: grid; gap: 28px }
.es-org-h h2 { margin: 6px 0 10px } .es-org-h p { max-width: 720px; margin: 0 }
.es-org-s { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
@media (max-width: 980px) { .es-org-s { grid-template-columns: 1fr 1fr } } @media (max-width: 560px) { .es-org-s { grid-template-columns: 1fr } }
.es-org-s li { background: #f6f8fb; border-radius: var(--r-lg); padding: 20px } .es-org-s b { color: var(--blue); font-size: 14px; letter-spacing: .06em } .es-org-s h3 { margin: 8px 0 6px; font-size: 18px } .es-org-s p { margin: 0; color: var(--muted); font-size: 15px }
.es-org-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: #e8f2fe; border-radius: var(--r-lg); padding: 20px 22px }
.es-org-cta h3 { margin: 0 0 4px } .es-org-cta p { margin: 0; color: var(--muted) }
.es-clients .es-kick { display: flex; justify-content: center }

.es-choice.off { opacity: .55 }
