@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400 800; font-display: swap; src: url(/static/PlusJakartaSans-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400 800; font-display: swap; src: url(/static/PlusJakartaSans-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 600; font-display: swap; src: url(/static/JetBrainsMono-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400 800; font-display: swap; src: url(/static/PlusJakartaSans-400-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400 800; font-display: swap; src: url(/static/PlusJakartaSans-400-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 600; font-display: swap; src: url(/static/JetBrainsMono-400-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 600; font-display: swap; src: url(/static/JetBrainsMono-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 600; font-display: swap; src: url(/static/JetBrainsMono-400-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 600; font-display: swap; src: url(/static/JetBrainsMono-400-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
:root {
  --eu-navy: #0F172A;
  --eu-blue: #2563EB;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sh: 0 4px 20px -2px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.05);
  --eu-gold: #FFCC00;
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-muted: #F8FAFC;
  --border: #E2E8F0;
  --border-strong: #94A3B8;
  --text-main: #0F172A;
  --text-muted: #475569;
  --alert-bg: #FEF2F2;
  --alert-fg: #991B1B;
  --alert-bd: #FCA5A5;
  --status-bg: #DCFCE7;
  --status-fg: #166534;
  --status-bd: #86EFAC;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #060F1D;
    --bg-surface: #0B192C;
    --bg-muted: #112239;
    --border: #1E293B;
    --border-strong: #334155;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --alert-bg: #450A0A;
    --alert-fg: #FECACA;
    --alert-bd: #7F1D1D;
    --status-bg: #052E16;
    --status-fg: #BBF7D0;
    --status-bd: #14532D;
  }
}
* { box-sizing: border-box; }
body {
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  margin: 0 auto;
  max-width: 68rem;
  padding: 1.75rem 20px 3.5rem;
  background: var(--bg-page);
  color: var(--text-main);
  border-top: 4px solid var(--eu-blue);
}
header, main, footer {
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 1.25rem 1.75rem;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--sh);
}
main {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
header + main { border-top: 0; }
main:last-of-type { border-radius: 16px; }
header + main:last-of-type { border-radius: 0 0 16px 16px; }
footer {
  margin-top: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg-muted);
}
.brand {
  display: block;
  width: 11rem;
  height: auto;
  margin-bottom: 0.5rem;
}
header .brand { margin-bottom: 0; }
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.8rem;
}
.langs a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-muted);
}
.langs a[aria-current="true"] {
  background: var(--eu-blue);
  color: #fff;
  border-color: var(--eu-blue);
  font-weight: 700;
  text-decoration: none;
}
h1 {
  font-size: 1.45rem;
  margin: 0.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.025em;
  font-weight: 800;
}
h2 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}
p { margin: 0.65rem 0; }
a { color: var(--eu-blue); text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) {
  a { color: #93C5FD; }
}
.queried {
  background: var(--bg-muted);
  border-left: 4px solid var(--eu-blue);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
p[role="alert"] {
  background: var(--alert-bg);
  color: var(--alert-fg);
  border: 1px solid var(--alert-bd);
  border-left: 5px solid var(--alert-fg);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}
p[role="status"] {
  background: var(--status-bg);
  color: var(--status-fg);
  border: 1px solid var(--status-bd);
  border-left: 5px solid var(--status-fg);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}
dl {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
dt, dd {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
dt {
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-right: 1px solid var(--border);
}
dd {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  background: var(--eu-navy);
  color: #F8FAFC;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
tr:nth-child(even) td { background: var(--bg-muted); }
code, time {
  font-family: var(--mono);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
form { margin: 0.75rem 0; }
td form { margin: 0.2rem 0; display: inline-block; }
label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
input[type="text"], input[type="email"], input[type="password"],
input:not([type]), select {
  display: block;
  width: 100%;
  max-width: 26rem;
  margin-top: 0.25rem;
  padding: 0.5rem 0.65rem;
  font: inherit;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}
td input:not([type]) {
  display: inline-block;
  width: auto;
  max-width: 12rem;
  margin: 0 0.35rem 0 0;
  padding: 0.25rem 0.45rem;
}
button {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #3B82F6, var(--eu-blue) 55%, #1D4ED8);
  color: #fff;
  border: 1px solid transparent;
  padding: 0.55rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px -6px rgba(37,99,235,0.55);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
td button { padding: 0.25rem 0.6rem; font-size: 0.82rem; }
ul { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
main:has(+ footer) { border-bottom: 0; border-radius: 0; }
input[type="checkbox"] { width: 1rem; height: 1rem; vertical-align: middle; margin-right: 0.35rem; accent-color: var(--eu-blue); }
input:focus, select:focus { outline: 2px solid var(--eu-blue); outline-offset: 1px; border-color: var(--eu-navy); }
button:hover { transform: translateY(-1px); }
@media (max-width: 639px) {
  form.checkout input:not([type="hidden"]), form.checkout select, form.checkout button {
    width: 100%;
    max-width: none;
    font-size: 16px;
    min-height: 46px;
  }
}
/* Checkout corporativo: tarjeta de formulario + resumen de garantías */
.checkout-wrap { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; margin-top: 1rem; }
form.checkout { margin: 0; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; box-shadow: var(--sh); }
form.checkout label { display: block; font-weight: 600; color: var(--text-main); }
form.checkout input:not([type="hidden"]), form.checkout select { display: block; width: 100%; margin-top: 0.3rem; }
form.checkout button { min-height: 48px; }
aside.guarantees { background: var(--bg-muted); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.5rem; font-size: 0.92rem; }
aside.guarantees h2 { margin: 0 0 0.5rem; font-size: 1.05rem; }
aside.guarantees ul { list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) {
  .checkout-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  form.checkout button { width: auto; min-width: 14rem; }
}
@media (max-width: 639px) {
  form.checkout { padding: 1rem; }
  form.checkout button { width: 100%; font-size: 16px; }
}
/* Identidad unificada con veripass.ie: cabecera oscura, escudo + wordmark, selector de idioma, pie legal */
header.site { background: #0B1220; color: #F8FAFC; border-color: #1E293B; border-radius: 16px 16px 0 0; padding: 0.9rem 1.75rem; }
header.site .wordmark { display: inline-flex; align-items: center; gap: 0.6rem; color: #F8FAFC; text-decoration: none; font-weight: 800; letter-spacing: 0.14em; font-size: 1.05rem; min-height: 44px; }
header.site .head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
header.site a.back { color: #CBD5E1; text-decoration: none; font-size: 0.88rem; display: inline-flex; align-items: center; min-height: 44px; }
header.site a.back:hover { color: #fff; text-decoration: underline; }
header.site .langs a { background: #111C30; border-color: #334155; color: #CBD5E1; min-height: 44px; display: inline-flex; align-items: center; }
.langsel { position: relative; }
.langsel summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 0.82rem; color: #F8FAFC; border: 1px solid #334155; background: #111C30; border-radius: 999px; padding: 0 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary::after { content: "▾"; margin-left: 0.4rem; }
.langsel[open] summary { border-color: var(--eu-blue); }
.langsel div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; width: 15.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.25rem; padding: 0.6rem; background: #0B1220; border: 1px solid #334155; border-radius: 12px; box-shadow: 0 16px 40px -8px rgba(0,0,0,0.6); }
.langsel div a { color: #CBD5E1; text-decoration: none; text-align: center; font-family: var(--mono); font-size: 0.8rem; padding: 0.55rem 0; min-height: 44px; border-radius: 8px; }
.langsel div a:hover { background: #1E293B; color: #fff; }
.langsel div a[aria-current="true"] { background: var(--eu-blue); color: #fff; font-weight: 700; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-bottom: 0.4rem; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer p { margin: 0; }
/* Checkout: resumen + garantías alineados con el formulario */
aside.side { display: grid; gap: 1.25rem; align-content: start; }
section.summary { background: var(--bg-surface); border: 1px solid var(--border); border-top: 4px solid var(--eu-blue); border-radius: 16px; padding: 1.25rem 1.5rem; box-shadow: var(--sh); }
section.summary h2, section.guarantees h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
section.summary dl { grid-template-columns: 1fr 1fr; margin: 0.5rem 0; }
section.guarantees { background: var(--bg-muted); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.5rem; font-size: 0.92rem; }
section.guarantees ul { list-style: none; padding: 0; margin: 0; }
p.launch { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.75rem; align-items: baseline; margin: 0.75rem 0 0; padding: 0.75rem 1rem; border-radius: 12px; background: var(--status-bg); color: var(--status-fg); border: 1px solid var(--status-bd); }
p.launch span { font-size: 1.35rem; font-weight: 800; }
p.launch small { grid-column: 1 / -1; font-size: 0.82rem; }
p.promo { font-size: 0.88rem; color: var(--text-muted); }
p.secure { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
form.checkout select, form.checkout input:not([type="hidden"]) { max-width: none; }
form.checkout select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
/* Login: tarjeta ejecutiva centrada */
.login-card { max-width: 26rem; margin: 1.5rem auto; padding: 1.75rem; background: var(--bg-surface); border: 1px solid var(--border); border-top: 4px solid var(--eu-blue); border-radius: 16px; box-shadow: var(--sh); }
.login-card h1 { margin-top: 0; }
.login-card .lead { color: var(--text-muted); }
.login-card input, .login-card button { max-width: none; width: 100%; min-height: 46px; }
.login-card .help { font-size: 0.88rem; color: var(--text-muted); }
@media (min-width: 900px) { aside.side { align-self: stretch; } }
@media (max-width: 639px) {
  header.site { padding: 0.75rem 1rem; }
  .langsel div { right: auto; left: 0; }
  form.checkout select { font-size: 12.5px; padding-inline: 0.45rem; }
}
/* Pasaporte público: selector de idioma nativo (<select>); en móvil abre la lista del sistema, nunca una capa sobre la tarjeta */
form.langpick { display: flex; align-items: center; gap: 0.4rem; margin: 0; }
form.langpick select { font-family: inherit; font-size: 16px; min-height: 44px; max-width: 12rem; padding: 0 0.6rem; color: var(--text-main); background: var(--bg-surface); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
form.langpick select:focus-visible { outline: 2px solid var(--eu-blue); outline-offset: 2px; }
/* Pasaporte público en móvil: etiqueta encima del valor a todo el ancho */
@media (max-width: 639px) {
  body { padding-inline: 10px; }
  main, footer { padding-inline: 1rem; }
  header { padding-inline: 1rem; }
  dl { grid-template-columns: minmax(0, 1fr); }
  dt { border-right: 0; border-bottom: 0; padding-bottom: 0.15rem; font-size: 0.82rem; }
  dd { padding-top: 0.15rem; }
  header.dpp { flex-wrap: nowrap; gap: 0.5rem; }
  header.dpp .brand { width: 8.5rem; }
  header.dpp form.langpick select { max-width: 9.75rem; padding-inline: 0.5rem; text-overflow: ellipsis; }
}
