/* ========== PÁGINA 404 ==========
   Sin sidebar, centrada, usando Montserrat / Georgia
================================= */

.page-404-wrapper {
  max-width: 960px;           /* un poco más angosto que la home */
  margin: 40px auto 60px;
  padding: 0 16px;
}

.page-404 {
  text-align: center;
}

/* Eyebrow "ERROR 404" */
.page-404-eyebrow {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 8px;
}

/* Título principal */
.page-404-title {
  font-family: "PrumoDeck", "Georgia", "Times New Roman", serif;
  font-size: 36px;
  line-height: 1.2;
  color: var(--e-global-color-primary, #052861);
  margin: 0 0 16px;
}

/* Texto descriptivo */
.page-404-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  color: #202020;
  max-width: 720px;
  margin: 0 auto 28px;
}

/* Contenedor de acciones (buscador + links) */
.page-404-actions {
  max-width: 760px;
  margin: 0 auto;
}

/* Buscador */
.page-404-search {
  text-align: left;
  margin-bottom: 28px;
}

.page-404-search-label {
  display: block;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 8px;
}

.page-404-search-row {
  display: flex;
  gap: 8px;
}

.page-404-search-row input[type="text"] {
  flex: 1;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #cfd4dc;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-404-search-row input[type="text"]:focus {
  border-color: var(--e-global-color-primary, #052861);
  box-shadow: 0 0 0 1px rgba(5, 40, 97, 0.15);
}

.page-404-search-row button {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--e-global-color-primary, #052861);
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}

.page-404-search-row button:hover {
  background: #021a3b;
  transform: translateY(-1px);
}

/* Links de secciones */
.page-404-links {
  text-align: left;
  margin-top: 8px;
}

.page-404-links-title {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.page-404-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.page-404-links li {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.page-404-links a {
  color: var(--e-global-color-secondary, #009ADB);
  text-decoration: none;
}

.page-404-links a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-404-wrapper {
    margin: 32px auto 48px;
  }

  .page-404-title {
    font-size: 28px;
  }

  .page-404-text {
    font-size: 16px;
  }

  .page-404-search-row {
    flex-direction: column;
  }

  .page-404-search-row button {
    width: 100%;
    text-align: center;
  }

  .page-404-links ul {
    gap: 4px 12px;
  }
}
