:root {
  --bg: #05063D;
  --primary: #0A0C52;
  --accent: #DB1318;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.15);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(rgba(5, 6, 61, 0.82), rgba(5, 6, 61, 0.96)), url('/assets/hero-bg.jpg') center / cover no-repeat fixed var(--bg);
}

h1, h2, .eyebrow, button, summary {
  font-family: 'Fjalla One', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

a { color: inherit; }

.sr-only, .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---- Hero ---- */

.hero {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  text-align: center;
}

.logo { width: 8rem; height: auto; border-radius: 0.75rem; }

.eyebrow {
  margin: 1.5rem 0 0.5rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 0.95rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.lede { margin: 1rem 0 2rem; color: var(--muted); font-size: 1.125rem; }

/* ---- Forms ---- */

.row { display: flex; flex-direction: column; gap: 0.5rem; }

input, textarea {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

input::placeholder { color: rgba(255, 255, 255, 0.45); }

input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text);
  background: var(--accent);
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
}

button:hover { filter: brightness(1.1); }
button:disabled { opacity: 0.5; cursor: default; }

.consent { margin: 0.75rem 0 0; font-size: 0.8rem; color: var(--muted); }
.consent a { text-decoration: underline; }
.status { min-height: 1.5rem; margin: 0.5rem 0 0; font-size: 0.9rem; }

.card {
  margin-top: 1rem;
  padding: 1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.card-title { margin: 0; font-weight: 600; }
.card-text { margin: 0.25rem 0 0.75rem; font-size: 0.85rem; color: var(--muted); }

.link {
  padding: 0.25rem 0;
  font: inherit;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.55);
  background: none;
}

.contact { margin-top: 2rem; text-align: left; }

.contact summary {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
}

.contact form { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; }
.contact label { font-size: 0.85rem; color: var(--muted); }
.contact button { margin-top: 0.5rem; }

/* ---- Footer ---- */

.foot { padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); text-align: center; font-size: 0.85rem; color: var(--muted); }
.social { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 0.75rem; }
.foot-legal { margin: 0; }

.whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  color: #fff;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s, filter 0.15s;
}

.whatsapp:hover { filter: brightness(1.1); transform: scale(1.05); }
.whatsapp svg { width: 1.75rem; height: 1.75rem; }

/* ---- Text pages (gdpr, 404) ---- */

.page { flex: 1; width: 100%; max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem; }
.page-head { text-align: center; margin-bottom: 2rem; }
.page-head .logo { width: 5rem; }
.page h1 { font-size: clamp(1.9rem, 7vw, 2.75rem); margin-top: 1rem; }
.page h2 { margin: 2rem 0 0.5rem; font-size: 1.15rem; letter-spacing: 0.06em; }
.page p, .page li { color: rgba(255, 255, 255, 0.82); }
.page ul { padding-left: 1.25rem; }
.page a { color: var(--accent); }
.small { font-size: 0.8rem; color: var(--muted); }

@media (min-width: 640px) {
  .hero { padding-top: 5rem; }
  .logo { width: 10rem; }
  .row { flex-direction: row; }
  .row input { flex: 1; }
}
