@font-face {
  font-family: Outfit;
  src: url("OutfitRegular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("OutfitSemiBold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --navy: #031b33;
  --navy-light: #0b2b49;
  --gold: #f1a309;
  --ink: #10283e;
  --muted: #475c6d;
  --line: #d6dfe7;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
  color: var(--ink);
  background: #f2f5f7;
  font: 100%/1.5 Outfit, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #124e7c; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #1676ac; outline-offset: 3px; }
.mast { background: var(--navy); color: white; border-bottom: 1px solid #294258; }
.mast-inner {
  max-width: 1200px; margin: auto; padding: 9px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand, .staff-link { display: inline-flex; align-items: center; min-height: 44px; }
.brand { color: #fff; gap: 10px; text-decoration: none; font-size: 1.18rem; font-weight: 650; letter-spacing: -.035em; }
.brand img { border-radius: 8px; object-fit: cover; }
.brand-accent, .card-name span { color: var(--gold); }
.staff-link { padding: 4px 12px; border: 1px solid #557087; color: #fff; background: transparent; border-radius: 9px; font-size: .875rem; font-weight: 400; text-decoration: none; }
.staff-link:hover { color: #fff; background: #193c59; }
.mast :focus-visible { outline-color: var(--gold); }
main { max-width: 760px; margin: auto; padding: 26px var(--gutter) 56px; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { font-weight: 650; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.15rem, 5vw, 3.35rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.3rem, 3vw, 1.55rem); margin-bottom: 13px; }
main section, .portal main > form {
  margin: 14px 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line);
  border-radius: 18px; background: #fff; overflow-wrap: anywhere;
}
p + p, section form + form { margin-top: 12px; }
form { display: grid; gap: 10px; }
label { display: grid; gap: 6px; font-weight: 600; }
input, textarea, button { font: inherit; }
input, textarea {
  min-width: 0; width: 100%; padding: 11px 13px; border: 1px solid #8495a2;
  border-radius: 10px; color: var(--ink); background: white;
}
button {
  min-height: 48px; padding: 10px 15px; cursor: pointer; border: 1px solid transparent;
  border-radius: 11px; color: var(--navy); background: var(--gold); font-weight: 650;
}
button:hover { background: #ffb625; }
button.secondary { background: #fff; border-color: #879aaa; color: var(--navy); }
[role=alert], .notice, .mode-note { padding: 10px 14px; background: #fff0d0; color: #634400; border-radius: 9px; }
.notice { background: #e5f4ee; color: #15573c; }
video { width: 100%; max-height: 275px; background: var(--navy); object-fit: contain; }
[hidden], [data-scan-status]:empty { display: none; }
.storefront { max-width: none; padding: 0 0 55px; }
.offer {
  background: var(--navy); color: white; display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(25px, 6vw, 80px); align-items: center;
  padding: clamp(36px, 6vw, 78px) max(var(--gutter), calc((100% - 1088px) / 2));
}
.offer h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.03; margin: 0 0 20px; }
.offer h1 span { display: block; color: #ffb733; }
.lead { max-width: 34ch; color: #d4dfe8; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.46; }
.lead strong { color: #fff; white-space: nowrap; }
.gift-card {
  aspect-ratio: 1.76; width: 100%; max-width: 560px; justify-self: end; padding: 1px;
  background: linear-gradient(130deg, #e8bc6b, #648098 46%, #314b61 68%, #9baab6);
  border-radius: clamp(16px, 2vw, 26px); box-shadow: 0 13px 30px #0005; overflow: hidden;
}
.card-face {
  height: 100%; border-radius: inherit; display: flex; flex-direction: column;
  justify-content: space-between; padding: clamp(16px, 3vw, 32px); align-items: flex-start;
  background: linear-gradient(90deg, #031324f0 4%, #061a2ad4 28%, #06162742 64%, transparent),
              url("veszprem-este.webp") center 63% / cover;
}
.card-name { font-size: clamp(.93rem, 1.55vw, 1.22rem); font-weight: 650; letter-spacing: -.02em; }
.card-amount { display: grid; gap: 2px; text-shadow: 0 1px 5px #001120; }
.card-amount small { font-size: .88rem; color: #ecf1f5; }
.card-amount strong { font-size: clamp(1.65rem, 3.8vw, 3.25rem); line-height: 1.06; letter-spacing: -.045em; white-space: nowrap; }
.order-grid {
  max-width: 1200px; margin: 0 auto; padding: clamp(20px, 3.5vw, 45px) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(18px, 4vw, 48px); align-items: start;
}
.order-grid section { margin: 0; }
.details { border: 0; padding-inline: 0; background: transparent; }
.details p, .purchase > p { color: var(--muted); }
.details .dates { color: var(--ink); font-weight: 600; margin: 0 0 10px; }
.dates time { white-space: nowrap; }
.purchase { border-top: 3px solid var(--gold); }
.purchase input { max-width: 9rem; }
.total { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 5px; }
.total strong { font-size: 1.6rem; }
.mode-note { font-size: .9rem; }
.receipt-wrap, .portal main { max-width: 800px; }
.receipt { border-top: 4px solid var(--gold); }
.receipt-values > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt-values dd { font-size: 1.25rem; font-weight: 650; }
.receipt .mode-note, .order-ref { margin-top: 18px; }
.order-ref strong { display: block; overflow-wrap: anywhere; }
.portal main > form { max-width: 460px; }
.portal section form { padding-block: 12px; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .offer, .order-grid { grid-template-columns: minmax(0, 1fr); }
  .offer { gap: 22px; padding-block: 28px; }
  .offer h1 { font-size: clamp(2rem, 7.4vw, 3rem); margin-bottom: 10px; }
  .offer h1 span { display: inline; }
  .gift-card { justify-self: start; max-width: 490px; }
  .order-grid { gap: 20px; }
  .details { padding-block: 0; }
  .purchase { grid-row: 1; }
}
@media (max-width: 355px) {
  .brand { gap: 6px; font-size: 1rem; }
  .brand img { width: 37px; height: auto; }
  .staff-link { padding-inline: 8px; }
}
