:root {
  --bg1: #0077ff;
  --bg2: #00c6ff;
  --accent: #ffdd00;
  --text: #0b0b0b;
  --muted: #5a5a5a;
  --white: #ffffff;
  --glass: rgba(255,255,255,0.12);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.15);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: #fff;
  background: transparent; /* transparente para ver el mapa */
}

/* --- Fondo del mapa con overlay degradado --- */
.mapa-fondo {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1; /* detrás del contenido */
  overflow: hidden;
}
.mapa-fondo svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mapa-fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  opacity: 0.25; /* controla la intensidad del degradado */
  pointer-events: none;
}

/* --- Animación avisos --- */
.alerta {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2;
  animation: pulso 1.5s infinite;
}
@keyframes pulso {
  0%   { r: 6; opacity: 1; }
  50%  { r: 14; opacity: 0.4; }
  100% { r: 6; opacity: 1; }
}

.container {
  width: min(100%, 980px);
  margin-inline: auto;
  padding: 16px;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
}
.logo { width: 160px; height: auto; }

.hero {
  text-align: center;
  padding: 40px 0 16px;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
}
.hero h1 span { color: var(--accent); }
.hero p {
  margin: 0;
  opacity: .95;
  font-size: clamp(16px, 2.5vw, 18px);
}

.card {
  margin: 26px auto 0;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  width: min(100%, 560px);
}

.card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
}
label span {
  font-size: 14px;
  opacity: .9;
}
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #fff;
  color: var(--text);
  font-size: 16px;
}

button {
  margin-top: 6px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform .05s ease, filter .2s ease;
}
button:active { transform: scale(0.99); }
button:hover { filter: brightness(0.96); }

.msg {
  min-height: 20px;
  margin: 6px 0 0;
  font-size: 14px;
}

.small {
  margin-top: 10px;
  font-size: 12px;
  color: #f0f0f0;
  opacity: .85;
}

.footer {
  text-align: center;
  padding: 30px 16px 40px;
  opacity: .9;
  font-size: 14px;
}
