:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #0a2540;
  --muted: #5b7083;
  --primary: #1a73e8;   /* azul corporativo */
  --primary-600: #0f4a92;
  --accent: #fbbc04;    /* acento */
  --border: #e2e8f0;
  --shadow: 0 10px 24px rgba(10, 37, 64, 0.08);
}

/* Reset mínimo y tipografía */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* Accesibilidad */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem; background: #fff; border-radius: .5rem; box-shadow: var(--shadow); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Layout base */
.container { width: min(1100px, 92%); margin-inline: auto; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand { display: flex; align-items: center; gap: 1rem; }
.logo-box { width: 48px; height: 48px; background: #ffffff; border: 0px solid var(--primary); border-radius: 50%; flex: 0 0 48px; }
.Fo { }
.site-title { font-size: clamp(1.2rem, 2vw + .5rem, 1.8rem); margin: 0; }
.site-tagline { margin: 0; color: var(--muted); font-size: .95rem; }

.main-nav ul { display: flex; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.main-nav a { text-decoration: none; color: var(--text); padding: .5rem .75rem; border-radius: .5rem; }
.main-nav a:hover { background: #edf2f7; }

/* Main */
#contenido { padding: 2rem 10%; }
.intro h6 { margin: 0 0 .5rem; font-size: 1rem; color: var(--primary-600); letter-spacing: .02em; text-transform: uppercase; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; box-shadow: var(--shadow); margin: 1rem 0; width: 100%; }
.card header { margin-bottom: .5rem; }
.kpis { color: var(--muted); font-size: .95rem; }

/* Cards en UNA sola columna SIEMPRE */
.cards { display: block;  }
.cards .card { width: 100%; }
.card p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  }

/* Footer */
.site-footer { margin-top: 2rem; padding: 1rem 0 2rem; color: var(--muted); border-top: 1px solid var(--border); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; }
.breadcrumb li::after { content: '/'; margin-left: .5rem; color: var(--border); }
.breadcrumb li:last-child::after { content: ''; }

footer {
  background: #f7f9fc;
  color:#eee;
  padding: 40px 20px 10px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
  margin: 15px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #3cc7df;
  border-bottom: 2px solid #000000;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify; /* 👈 Esto justifica el texto */
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #12882e;
}

/* Redes sociales */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #12882e;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #aaa;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #aaa;
}

.contact-social {
  display: flex;
  gap: 40px;
  flex: 1 1 400px;
}

.contact-social div {
  flex: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #aaa;
}

/* Responsive Design (breakpoints) */
@media (max-width: 900px) {
  #contenido { padding: 1.5rem 8%; }
}
@media (max-width: 720px) {
  .header-wrap { flex-direction: column; align-items: stretch; }
  .main-nav ul { flex-wrap: wrap; }
  #contenido { padding: 1rem 6%; }
  img { max-width: 140%; height: auto; display: block; margin-left:-19.5%;}
  .Fo { width: 15px; height: 15px; }
}
@media (max-width: 480px) {
  #contenido { padding: .15rem 5%; }
  .site-title { font-size: 1.25rem; margin-top:0px;}
  img { max-width: 150%; height: auto; display: block;  margin-left:-22.5%;}
  .Fo { width: 10px; height: 10px; }
}

