:root {
  color-scheme: dark;
  --ink: #070914;
  --navy: #0a1731;
  --navy-2: #10254d;
  --wine: #4c0d28;
  --gold: #f3c56b;
  --gold-2: #d79a30;
  --cream: #fff9ea;
  --muted: #cbd2df;
  --line: rgba(243, 197, 107, 0.24);
  --panel: rgba(11, 19, 39, 0.78);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background:
    radial-gradient(circle at 8% 6%, rgba(151, 25, 70, 0.38), transparent 34rem),
    radial-gradient(circle at 92% 17%, rgba(25, 77, 149, 0.34), transparent 32rem),
    linear-gradient(145deg, var(--ink), #070d1d 48%, #170714 100%);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23f3c56b' stroke-opacity='.12'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3Ccircle cx='40' cy='40' r='18'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}
.mini-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.mini-brand img { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 28px rgba(243,197,107,.14); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(4,8,20,.62); }
.lang-switch button { border: 0; border-radius: 999px; padding: 7px 10px; color: var(--muted); background: transparent; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { color: #111; background: linear-gradient(135deg, var(--gold), #ffe7a6); }
.contact-mini { text-decoration: none; font-weight: 750; color: var(--gold); }

.hero { min-height: 73vh; display: grid; grid-template-columns: minmax(280px,.8fr) 1.2fr; gap: clamp(34px,6vw,86px); align-items: center; padding: 46px 0 82px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(243,197,107,.2), rgba(112,17,54,.2) 45%, transparent 70%); filter: blur(24px); }
.hero-logo { position: relative; width: min(430px, 88vw); height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: 0 36px 100px rgba(0,0,0,.46), 0 0 0 1px var(--line); }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .19em; font-size: .82rem; font-weight: 850; }
h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem,7vw,6.8rem); line-height: .95; letter-spacing: -.05em; font-weight: 600; }
.gold-text { color: transparent; background: linear-gradient(115deg,#fff1b8 10%,var(--gold) 48%,#c27a1d 85%); -webkit-background-clip: text; background-clip: text; }
.lead { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem,2vw,1.27rem); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border-radius: 999px; text-decoration: none; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #15100a; background: linear-gradient(135deg,var(--gold),#ffe9ab); box-shadow: 0 14px 36px rgba(215,154,48,.22); }
.button-secondary { border: 1px solid var(--line); background: rgba(7,11,25,.58); }

.section { padding: 34px 0 90px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px,520px); gap: 30px; align-items: end; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(2rem,4vw,3.7rem); line-height: 1.05; }
.section-heading p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.card { grid-column: span 6; min-height: 272px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(22px,3vw,34px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg,rgba(18,31,61,.85),rgba(12,10,28,.87)); box-shadow: var(--shadow); text-decoration: none; isolation: isolate; transition: transform .25s ease,border-color .25s ease; }
.card::after { content: ""; position: absolute; inset: auto -15% -45% 22%; height: 75%; border-radius: 50%; background: radial-gradient(circle,rgba(157,39,84,.42),transparent 68%); z-index: -1; }
.card:hover { transform: translateY(-5px); border-color: rgba(243,197,107,.55); }
.card-wide { grid-column: span 8; }
.card-small { grid-column: span 4; }
.card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.card-label { color: var(--gold); font-size:.77rem; font-weight:850; letter-spacing:.15em; text-transform:uppercase; }
.arrow { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border-radius:50%; border:1px solid var(--line); color:var(--gold); font-size:1.25rem; }
.card h3 { margin: 0 0 8px; font-family: Georgia,serif; font-size: clamp(1.55rem,3vw,2.35rem); line-height:1.05; }
.card p { margin:0; color:var(--muted); max-width:590px; }
.card-logo { align-self:flex-start; width:auto; height:56px; object-fit:contain; object-position:left center; }
.card-logo.square { height:74px; border-radius:15px; }
.icon-mark { font-size:2.2rem; line-height:1; }
.card.pending { cursor:not-allowed; opacity:.66; }
.card.pending:hover { transform:none; border-color:var(--line); }

.contact-panel { display:grid; grid-template-columns:1fr auto; align-items:center; gap:25px; padding: clamp(28px,5vw,54px); border:1px solid rgba(243,197,107,.38); border-radius:34px; background: linear-gradient(135deg,rgba(82,12,41,.72),rgba(12,37,79,.78)); box-shadow:var(--shadow); }
.contact-panel h2 { margin:0 0 8px; font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.4rem); }
.contact-panel p { margin:0; color:var(--muted); }

footer { padding: 28px 0 42px; color:#aeb7c7; font-size:.92rem; }
.footer-row { display:flex; justify-content:space-between; gap:20px; padding-top:25px; border-top:1px solid rgba(255,255,255,.1); }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; }
.footer-links a { color:var(--cream); text-decoration:none; }

.legal-main { min-height:78vh; padding:64px 0; }
.legal-card { max-width:860px; padding:clamp(24px,5vw,55px); border:1px solid var(--line); border-radius:28px; background:var(--panel); box-shadow:var(--shadow); }
.legal-card h1 { font-size:clamp(2.5rem,6vw,4.7rem); margin-bottom:28px; }
.legal-card h2 { margin:34px 0 8px; color:var(--gold); font-size:1.35rem; }
.legal-card p,.legal-card li { color:var(--muted); }
.legal-card a { color:var(--gold); }
.back-link { display:inline-flex; margin-bottom:25px; color:var(--gold); text-decoration:none; font-weight:800; }

:focus-visible { outline:3px solid #fff1b8; outline-offset:4px; }
@media (max-width: 820px) {
  .hero { min-height:0; grid-template-columns:1fr; text-align:center; padding-top:22px; }
  .hero-art { order:0; }
  .hero-copy { order:1; }
  .hero-logo { width:min(320px,78vw); }
  .lead { margin-left:auto; margin-right:auto; }
  .hero-buttons { justify-content:center; }
  .section-heading { grid-template-columns:1fr; gap:12px; }
  .card,.card-wide,.card-small { grid-column:span 12; }
  .contact-panel { grid-template-columns:1fr; text-align:center; }
  .footer-row { flex-direction:column; }
}
@media (max-width: 520px) {
  .site-shell { width:min(100% - 22px,1160px); }
  .mini-brand span { display:none; }
  .contact-mini { display:none; }
  .topbar { padding:12px 0; }
  .hero { padding-bottom:62px; }
  .card { border-radius:22px; min-height:245px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; }
}
