/* Tối thứ Bảy ở Andora — sukien.andoracity.vn. Màu theo nhận diện Andora: teal đậm #08333F, teal #10828F. */
:root {
  --ink: #08333f;
  --teal: #10828f;
  --teal-2: #0c6772;
  --mint: #e6f3f2;
  --sand: #f6f1e7;
  --gold: #c8a464;
  --text: #1d2b30;
  --muted: #5d7177;
  --line: #d9e5e5;
  --white: #fff;
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 51, 63, .12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--sand); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 4vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 .8em; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header + hero */
.top { position: absolute; inset: 0 0 auto; z-index: 3; padding: 16px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top img { height: 40px; width: auto; }
.top a.link { color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,.5); padding: 7px 12px; border-radius: 999px; }
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; color: #fff; background: var(--ink) center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,51,63,.35) 0%, rgba(8,51,63,.55) 45%, rgba(8,51,63,.95) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 110px 0 36px; }
.hero h1 { color: #fff; }
.hero .kicker { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.hero p.lead { font-size: 1.05rem; max-width: 620px; color: rgba(255,255,255,.92); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; padding: 0; list-style: none; }
.chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; font-size: .85rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--teal); color: #fff; transition: background .15s, transform .1s; }
.btn:hover { background: var(--teal-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #b8934f; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--mint); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
section { padding: 44px 0; }
.section-head { margin-bottom: 20px; }
.section-head p { color: var(--muted); max-width: 680px; }

/* Event cards */
.events { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ev { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 2px solid transparent; }
.ev.is-selected { border-color: var(--teal); }
.ev img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--mint); }
.ev .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ev .date { font-size: .8rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.ev h3 { margin: 0; }
.ev .meta { font-size: .85rem; color: var(--muted); }
.ev .btn { margin-top: auto; min-height: 42px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--mint); color: var(--teal-2); }
.badge--off { background: #f1e3e2; color: var(--danger); }

/* Highlights */
.perks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.perk { background: #fff; border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); }
.perk b { display: block; color: var(--ink); margin-bottom: 4px; }

/* Form */
.panel { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: clamp(18px, 4vw, 30px); }
.form { display: grid; gap: 14px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
label { font-weight: 600; font-size: .9rem; color: var(--ink); display: block; margin-bottom: 6px; }
input[type=text], input[type=tel], select { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
input:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16,130,143,.15); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 48px; min-height: 46px; border: 0; background: var(--mint); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.stepper output { flex: 1; text-align: center; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { margin: 0; font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: .88rem; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts input:checked + span { color: var(--teal-2); }
.opts label:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.hp { position: absolute; left: -9999px; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
.msg--err { background: #fbeceb; color: var(--danger); }
.msg--ok { background: var(--mint); color: var(--teal-2); }
.ref-note { background: var(--mint); color: var(--teal-2); padding: 10px 14px; border-radius: 10px; font-size: .88rem; }

/* Ticket */
.ticket { max-width: 420px; margin: 0 auto; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.ticket .head { background: var(--ink); color: #fff; padding: 20px 18px 16px; }
.ticket .head img { height: 34px; width: auto; margin: 0 auto 10px; }
.ticket .head h2 { color: #fff; font-size: 1.2rem; margin: 0; }
.ticket .qr { padding: 20px; }
.ticket .qr canvas, .ticket .qr img { width: min(260px, 100%); height: auto; margin: 0 auto; image-rendering: pixelated; }
.ticket .info { padding: 0 20px 20px; }
.ticket .tear { border-top: 2px dashed var(--line); margin: 0 18px; }
.ticket .actions { padding: 16px 20px 22px; display: grid; gap: 10px; }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 28px 0 90px; font-size: .85rem; }
footer a { color: #fff; }
footer img { height: 34px; width: auto; margin-bottom: 10px; }

/* /moi */
.code-box { font-size: 2rem; font-weight: 700; letter-spacing: .2em; color: var(--ink); background: var(--mint); border-radius: 12px; padding: 10px 16px; text-align: center; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; min-width: 0; }
.stats { width: 100%; border-collapse: collapse; font-size: .9rem; }
.stats th, .stats td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.stats td.n { text-align: right; font-weight: 700; color: var(--ink); }
.card-preview { width: 100%; max-width: 360px; border-radius: 12px; box-shadow: var(--shadow); margin: 0 auto; }
textarea { width: 100%; min-height: 150px; font: inherit; font-size: 15px; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; }

@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  section { padding: 32px 0; }
}
@media print {
  .top, footer, .ticket .actions, section:not(#ve) { display: none !important; }
  body { background: #fff; }
}
