* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.coloressistema{
  color: #fbbf24;
  color: #1e3a8a;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e3a8a;
  background-color: #f9fafb;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =================================================================================
                               HEADER
================================================================================= */
.homh-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.homh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.homh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.homh-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.homh-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homh-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.homh-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0339a6;
  display: none;
}

@media (min-width: 640px) {
  .homh-logo-text {
    display: block;
  }
}

.homh-nav {
  display: none;
  gap: 2rem;
}

.homh-nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 4px;
}

.homh-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fbbf24;
  transition: width 0.3s ease;
}

.homh-nav a:hover,
.homh-nav a.homh-active {
  color: #0339a6;
}

.homh-nav a:hover::after,
.homh-nav a.homh-active::after {
  width: 100%;
}

.homh-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.homh-login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0339a6;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(3, 57, 166, 0.1);
  transition: background-color 0.2s;
}

.homh-login-btn:hover {
  background-color: #022d85;
}

.homh-login-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #ffffff;
}

.homh-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #0339a6;
  background: none;
  border: none;
  cursor: pointer;
}

.homh-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

@media (min-width: 1024px) {
  .homh-nav {
    display: flex;
  }

  .homh-menu-toggle {
    display: none;
  }
}

/* Menú móvil (overlay) */
.homh-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 60;
  display: none;
  animation: homh-fadeIn 0.3s ease;
}

.homh-mobile-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 5rem;
}

.homh-mobile-nav {
  background-color: #ffffff;
  width: 90%;
  max-width: 300px;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.homh-mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
  border-bottom: 1px solid #f9fafb;
  position: relative;
}

.homh-mobile-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fbbf24;
  transition: width 0.3s ease;
}

.homh-mobile-nav a:hover,
.homh-mobile-nav a.homh-active {
  color: #0339a6;
}

.homh-mobile-nav a:hover::after,
.homh-mobile-nav a.homh-active::after {
  width: 100%;
}

.homh-mobile-nav a:last-child {
  border-bottom: none;
}

.homh-close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #1e3a8a;
  cursor: pointer;
}

.homh-close-menu svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

@keyframes homh-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =================================================================================
                               FOOTER
================================================================================= */
.hofoot {
  background-color: #0339a6;
  border-top: 1px solid rgba(17, 24, 39, 0.5);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.hofoot-container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .hofoot-container {
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 10px 100px;
  }
}

.hofoot-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hofoot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hofoot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hofoot-col-main {
  grid-column: span 1 / span 1;
}

@media (min-width: 768px) {
  .hofoot-col-main {
    grid-column: span 2 / span 2;
  }
}

@media (min-width: 1024px) {
  .hofoot-col-main {
    grid-column: span 1 / span 1;
  }
}

.hofoot-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hofoot-brand img {
  width: 40px;
  height: 40px;
  display: block;
}

.honfoo-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.hofoot-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.hofoot-social {
  display: flex;
  gap: 1rem;
}

.hofoot-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.hofoot-social a:hover {
  border-color: #fbbf24;
  background-color: #fbbf24;
  color: #0339a6;
}

.hofoot-heading {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid rgba(250, 181, 7, 0.62);
}

.hofoot-links {
  list-style: none;
}

.hofoot-links li {
  margin-bottom: 0.75rem;
}

.hofoot-links a {
  color: rgba(255, 255, 255, 1);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hofoot-links a:hover {
  color: #fbbf24;
}

.hofoot-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hofoot-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hofoot-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.hofoot-copyright {
  color: #ffffff;
  font-size: 0.875rem;
}