:root {
  --bg: #050814;
  --bg-soft: #0b1224;
  --card: #111a2f;
  --border-soft: rgba(202, 168, 90, 0.35);
  --gold: #caa85a;
  --text: #e5edf9;
  --muted: #8ea3bf;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 18px 38px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, #1b2440 0, transparent 55%),
    radial-gradient(circle at bottom right, #060a16 0, #02030a 55%);
  color: var(--text);
  min-height: 100vh;
}

/* Contraste A+ */
html.dom-high-contrast {
  filter: contrast(1.12) brightness(1.06);
}

/* Skip link */
.dom-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  font-size: 13px;
  z-index: 1000;
}

.dom-skip-link:focus {
  left: 12px;
}

.dom-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* HEADER */
.dom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(8, 13, 30, 0.96), rgba(6, 11, 25, 0.96));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.dom-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dom-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  background: radial-gradient(circle at 30% 0, rgba(202, 168, 90, 0.4), transparent 55%);
}

.dom-logo-text {
  display: flex;
  flex-direction: column;
}

.dom-logo-title {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dom-logo-sub {
  font-size: 11px;
  color: var(--muted);
}

.dom-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dom-contrast-toggle {
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 20, 0.8);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.dom-contrast-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.dom-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dom-lang-switch span {
  font-size: 11px;
  color: var(--muted);
}

.dom-lang-switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.dom-lang-switch button[aria-pressed="true"] {
  background: rgba(202, 168, 90, 0.16);
  color: var(--text);
}

.dom-lang-switch button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* BUTTONS */
.dom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease-out;
  white-space: nowrap;
}

.dom-btn-primary {
  background: linear-gradient(135deg, var(--gold), #f2d894);
  color: #111217;
  border-color: rgba(0, 0, 0, 0.8);
  box-shadow: var(--shadow-card);
}

.dom-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7);
}

.dom-btn-ghost {
  background: rgba(9, 14, 34, 0.8);
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
}

.dom-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

/* HERO */
.dom-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 26px;
  padding: 26px 24px 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(62, 143, 255, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(202, 168, 90, 0.28), transparent 60%),
    linear-gradient(135deg, #050814, #060c1b);
  border: 1px solid rgba(202, 168, 90, 0.4);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.dom-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 8px;
}

.dom-hero h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.dom-hero-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.dom-hero-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.dom-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

/* Lang pills */
.dom-lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.dom-lang-pills span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 12, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

/* HERO PANEL */
.dom-hero-panel {
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(13, 139, 255, 0.3), transparent 65%),
    rgba(5, 8, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px 18px;
  box-shadow: var(--shadow-card);
}

.dom-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(202, 168, 90, 0.08);
  margin-bottom: 10px;
}

.dom-hero-panel h2 {
  font-size: 16px;
  margin: 0 0 8px;
}

.dom-hero-panel p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}

.dom-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.dom-bullets li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
  color: var(--muted);
}

.dom-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 6px;
}

.dom-hero-footnote {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.9;
}

/* SECTIONS */
.dom-section {
  margin-top: 26px;
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(5, 8, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.dom-section-header h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.dom-section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.dom-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.dom-card {
  border-radius: 18px;
  padding: 16px 14px;
  background:
    radial-gradient(circle at top, rgba(202, 168, 90, 0.12), transparent 55%),
    rgba(7, 11, 28, 0.98);
  border: 1px solid var(--border-soft);
}

.dom-card h3 {
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 15px;
}

.dom-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.dom-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(202, 168, 90, 0.5);
  color: var(--gold);
}

/* SPLIT LAYOUT */
.dom-section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 22px;
}

.dom-block h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 19px;
}

.dom-block h3 {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 14px;
}

.dom-muted {
  color: var(--muted);
  font-size: 13px;
}

/* FORMS */
.dom-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.dom-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.dom-form input,
.dom-form select,
.dom-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 24, 0.96);
  color: var(--text);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
}

.dom-form input:focus,
.dom-form select:focus,
.dom-form textarea:focus {
  outline: 1px solid var(--gold);
  outline-offset: 1px;
}

.dom-form textarea {
  resize: vertical;
}

.dom-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.dom-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* BADGE PREVIEW */
.dom-badge-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dom-badge-card {
  width: 230px;
  padding: 16px 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(202, 168, 90, 0.35), transparent 60%),
    rgba(7, 11, 28, 0.98);
  border: 1px solid var(--border-soft);
  text-align: left;
  box-shadow: var(--shadow-card);
}

.dom-badge-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.dom-badge-card h3 {
  margin: 6px 0 4px;
  font-size: 15px;
}

.dom-badge-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.dom-badge-route {
  margin-top: 6px;
  font-size: 11px;
}

.dom-badge-qr-placeholder {
  margin-top: 10px;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
}

.dom-badge-caption {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

/* SPECS */
.dom-spec-grid {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.dom-spec-item {
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(6, 9, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dom-spec-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.dom-spec-item p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* CTA */
.dom-cta {
  text-align: center;
}

.dom-cta h2 {
  margin-bottom: 8px;
}

.dom-cta p {
  max-width: 520px;
  margin: 0 auto 12px;
}

/* FOOTER */
.dom-footer {
  margin-top: 24px;
  padding: 12px 6px 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.dom-build-note {
  font-size: 10px;
  opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .dom-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dom-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .dom-section-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .dom-page {
    padding: 18px 14px 32px;
  }
}
