:root{
  --bg1:#0b2b5c;
  --bg2:#0a1f3f;
  --card:#0f2447cc;
  --text:#f3f6ff;
  --muted:#cfd8ee;
  --accent:#8b1f2d;   /* similar a la cinta del logo */
  --accent2:#2f62ff;
  --line:#ffffff1a;

  /* Header */
  --header-bg:#003366;
  --header-link:#ffffff;
  --header-hover:#ffcc00;
}

/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 20% 10%, #1b4ea6 0%, transparent 60%),
    radial-gradient(900px 700px at 80% 30%, #8b1f2d55 0%, transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

/* Skip link (accesibilidad) */
.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#000;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:10px; }

/* HEADER */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background-color: var(--header-bg);
  padding: 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Logo del header (contenedor) */
.site-logo{
  display:flex;
  align-items:center;
  gap: 10px;
}

.site-logo img{
  height: 48px;
  width: auto;
  display:block;
}

.site-logo span{
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

/* MENU */
.nav{ display:flex; }

.menu{
  list-style:none;
  display:flex;
  gap: 18px;
  align-items:center;
}

.menu a{
  text-decoration:none;
  color: var(--header-link);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.menu a:hover{
  color: var(--header-hover);
  background: rgba(255,255,255,0.08);
}

/* CONTENIDO */
.wrap{
  width: 100%;
  padding: 28px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card{
  width: min(920px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 20px 60px #00000055;
}

.brand{
  display:flex;
  align-items:center;
  gap: 18px;
}

/* Logo del card (imagen) */
.logo-card{
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 18px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 10px 30px #00000033;
}

.brand-text h1{
  font-size: clamp(18px, 2.3vw, 26px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .2px;
}

.subtitle{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 2px;
}

.divider{
  height: 1px;
  background: var(--line);
  margin: 18px 0 18px;
}

.headline{
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 10px;
}

.message{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 72ch;
}

.info{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-item{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #0a1630aa;
}

.label{
  display:block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.value{
  display:block;
  margin-top: 6px;
  font-weight: 800;
}

.actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .12s ease, opacity .12s ease, background .12s ease, border .12s ease;
  user-select:none;
}

.btn:active{ transform: translateY(1px); }

.primary{
  background: linear-gradient(135deg, var(--accent), #b3273b);
  color: #fff;
}

.primary:hover{ opacity: .95; }

.ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.ghost:hover{
  background: #ffffff10;
}

.footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px){
  .header{
    flex-direction: column;
    align-items: flex-start;
  }
  .menu{
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    padding: 10px 0 4px;
  }
  .menu a{ width:100%; }
}

@media (max-width: 620px){
  .brand{ align-items:flex-start; }
  .logo-card{ width: 92px; height: 92px; }
  .info{ grid-template-columns: 1fr; }
}
