/* ===============================
   Estilos base — Rumboautoempleo.com
   =============================== */

/* Fuente y colores generales */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #111;
}

/* Encabezados */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin: 0.5em 0;
}

/* Contenedor */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* Enlaces */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Listas */
ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Botones */
.button {
  display: inline-block;
  background-color: #0077cc;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: #005fa3;
}

/* Navegación */
nav {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  display: block;
  padding: 0.8rem 1rem;
  color: #111;
}

nav a:hover {
  background-color: #eee;
}

/* Header y footer */
header {
  background-color: #fff;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

footer {
  background-color: #f9f9f9;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ddd;
}

/* Footer unificado */

.footer-legal {
  color: #64748b;
  font-size: 14px;
  padding: 16px 24px;
}

.footer-disclaimer {
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  justify-content: center;
}

/* Tarjetas */
.card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #fff;
}

.card h3 {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

/* Alertas Antiestafa */
.alerta-scam {
  background-color: #fff4e5; /* fondo ámbar claro */
  border-left: 5px solid #ff8800; /* naranja fuerte */
  padding: 1rem;
  margin: 1rem 0;
  color: #663c00; /* marrón oscuro para contraste */
  font-weight: 500;
  border-radius: 4px;
}

/* Agradecimiento (badge) */
.ack-wrap {
  display: flex;
  justify-content: center;
}

.badge-ack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-ack a {
  color: #0f172a;
  text-decoration: underline;
}

/* Logo (Option B: blue wordmark + orange underline) */
.logo {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 800;
  letter-spacing: .2px;
  display: inline-block;
  text-decoration: none;
}
.logo--underline { color: #1E3A8A; position: relative; }
.logo--underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px; background: #F97316; border-radius: 2px;
}
.logo-dot { color: #0f172a; font-weight: 700; opacity: .9; }
.logo-tag { display: block; color: #64748b; font-weight: 600; margin-top: 6px; }
