:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #14233a;
  background: #eef2f7;
  color-scheme: light;
}

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

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.panel {
  width: min(100%, 56rem);
  min-height: 32rem;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  background: white;
  border: 1px solid #dce4ee;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 4rem #202e471a;
}

.marca {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 3rem;
  color: #f3f8ff;
  background: radial-gradient(ellipse at bottom right, #21458e, transparent 80%), #142542;
}

.logotipo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.isotipo {
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 0.18rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.6rem;
  border-radius: 0.65rem;
  background: #aac5ff;
}

.isotipo i { width: 0.22rem; border-radius: 0.12rem; background: #19356b; }
.isotipo i:nth-child(1) { height: 45%; }
.isotipo i:nth-child(2) { height: 72%; }
.isotipo i:nth-child(3) { height: 100%; }
.marca-texto { color: #c2d1e9; }

.ilustracion {
  position: absolute;
  z-index: -1;
  inset: 42% 2.5rem 0;
  display: flex;
  align-items: end;
  gap: 0.65rem;
  background: repeating-linear-gradient(to top, #d9e7ff26 0 1px, transparent 1px 3rem);
}

.ilustracion span {
  flex: 1;
  border: 1px solid #a3c4ff70;
  border-bottom: 0;
  border-radius: 0.6rem 0.6rem 0 0;
  background: linear-gradient(#88afff65, #3c67cf20);
}

.ilustracion span:nth-child(1) { height: 26%; }
.ilustracion span:nth-child(2) { height: 43%; }
.ilustracion span:nth-child(3) { height: 36%; }
.ilustracion span:nth-child(4) { height: 62%; }
.ilustracion span:nth-child(5) { height: 83%; }

.contenido { align-self: center; min-width: 0; padding: clamp(2rem, 5vw, 4.25rem); }
h1 { margin: 0; font-size: clamp(1.85rem, 4vw, 2.35rem); letter-spacing: -0.055em; line-height: 1.1; }
.descripcion { margin: 0.75rem 0 2rem; color: #53647a; }
label { display: block; margin-bottom: 0.45rem; font-weight: 600; }
input, button { width: 100%; min-height: 3rem; border-radius: 0.65rem; font: inherit; }
input { padding: 0.65rem 0.8rem; border: 1px solid #aebbd0; color: inherit; }
input + label { margin-top: 1.1rem; }
button { padding: 0.65rem 1rem; border: 0; background: #234ca7; color: white; font-weight: 650; cursor: pointer; }
button:hover:not(:disabled) { background: #183b8c; }
button:disabled { opacity: 0.75; cursor: wait; }
:focus-visible { outline: 3px solid #507de3; outline-offset: 3px; }
.error { margin: 0.7rem 0; color: #a71c35; font-size: 0.95rem; }
.error:empty { margin: 0; }
#enviar { margin-top: 1.25rem; }
dl { margin: 1.5rem 0; padding: 1rem 1.2rem; border-radius: 0.65rem; background: #eef2f7; }
dt { color: #53647a; font-size: 0.9rem; }
dd { margin: 0.2rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
dd + dt { margin-top: 0.8rem; }

@media (max-width: 640px) {
  body { padding: 1rem; }
  .panel { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .marca { padding: 1.5rem 2rem; }
  .ilustracion { inset: 0 1rem 0 70%; gap: 0.25rem; }
}
