:root {
  --primary: #002261;
  --bg: #0a1533;
  --card: #0e1a3a;
  --text: #ffffff;
  --text-secondary: #000000;
  --muted: #c7cbd1;
  --accent: #002261;
  --accent-2: #2a57b8;
  --border: #20325c;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  color: var(--text);
  background-color: #ffffff;
  background-image: url('../img/background.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 60vh auto;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)) padding-box,
              linear-gradient(180deg, rgba(0,34,97,0.45), rgba(0,34,97,0.2)) border-box,
              var(--card);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

/* Centrar el título del aviso dentro de la tarjeta */
.card > header { justify-content: center; }

h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.2px;
  text-align: center;
}

.content { color: var(--text); font-size: 16px; margin-top: 6px; }
.content p { margin: 0 0 14px 0; }
.content p { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--accent-2); text-underline-offset: 3px; }
.link-plain { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(0,0,0,0.2); }
.link-plain:hover { opacity: 0.85; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

button {
  appearance: none;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)) padding-box,
              linear-gradient(180deg, rgba(0,34,97,0.4), rgba(0,34,97,0.2)) border-box,
              #0b1220;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.04s ease, background 0.25s ease, opacity 0.25s ease;
}

button.secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)) padding-box,
              linear-gradient(180deg, rgba(42,87,184,0.4), rgba(42,87,184,0.2)) border-box,
              #0b1220;
}

button:hover { transform: translateY(-1px); }
button:active { transform: translateY(0); opacity: 0.9; }

.contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .card { padding: 22px; }
  h1 { font-size: 18px; }
  .content { font-size: 15px; }
}
@media (max-width: 720px) {
  html, body {
    background-size: 40vh auto;
  }
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0)) padding-box,
              #071737;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.navbar-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand img { width:100px; height: 100px; object-fit: contain; border-radius: 6px; }
.nav-menu { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.nav-item > a, .dropdown-toggle { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.nav-item > a:hover, .dropdown-toggle:hover { background: rgba(255,255,255,0.06); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 320px;
  background: #0a1533;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  list-style: none;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.dropdown.open .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.dropdown-menu li a:hover { background: rgba(255,255,255,0.06); }
.spacer { flex: 1; }

/* Responsive navbar */
.nav-toggle {
  display: none;
  font-size: 20px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    right: 16px;
    top: 64px;
    flex-direction: column;
    gap: 6px;
    background: #0a1533;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    display: none;
    min-width: 260px;
    z-index: 200;
  }
  .nav-menu.open { display: flex; }
  .dropdown-menu { position: static; margin-top: 0; box-shadow: none; min-width: 0; padding-left: 12px; }
}

/* --- Footer --- */
.site-footer {
  margin-top: 28px;
  background: var(--primary);
  color: #ffffff;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 18px 16px 28px 16px;
}
.footer-title {
  font-weight: 600;
  margin-bottom: 6px;
}
.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

