/* Generado de main.css: estilos corporativos de cabecera y footer. */
.site-header, .site-footer {
  --bg: #050816;
  --bg-2: #080d1f;
  --card: rgba(255,255,255,.06);
  --card-2: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.12);
  --text: #f8fafc;
  --muted: #a8b3c7;
  --muted-2: #76839a;
  --blue: #4f8cff;
  --cyan: #38d5ff;
  --violet: #8b5cf6;
  --green: #42f5b6;
  --white: #ffffff;
  --dark: #020617;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0,0,0,.45);
  --container: 1180px;
}

.site-header, .site-footer {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.site-header a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-header .container,
.site-footer .container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 22, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.footer-logo {
  font-weight: 850;
  font-size: 1.12rem;
  letter-spacing: -.035em;
}

.logo span {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .94rem;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: #FF9800;
  color: var(--white) !important;
  box-shadow: 0 12px 30px rgba(79,140,255,.25);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
}

.site-header p,
.site-footer p {
  margin-top: 0;
}

.site-footer {
  padding: 80px 0 30px;
  background: #020617;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.site-footer h4 {
  margin-top: 0;
}

.footer-logo {
  color: var(--white) !important;
  margin-bottom: 18px !important;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

@media (max-width: 980px) {
.menu-toggle {
    display: block;
  }

.main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: rgba(5, 8, 22, .96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

.main-nav.is-open {
    display: flex;
  }

.footer-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
.site-header .container,
.site-footer .container {
    width: min(100% - 28px, var(--container));
  }

.header-inner {
    height: 76px;
  }

.main-nav {
    top: 76px;
  }

}

.footer-grid-5 {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.15fr 1.25fr 1.05fr;
  gap: 42px;
  padding-bottom: 50px;
}

.footer-logo span {
  color: var(--cyan);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: #60dfff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(3px);
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-contact-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-contact-item p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--muted);
}

.footer-contact-item a {
  color: var(--muted);
  transition: color .25s ease;
}

.footer-contact-item a:hover {
  color: #8eeaff;
}

.footer-contact p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact strong {
  color: var(--white);
}

.site-footer h4 {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -.02em;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  transition: .25s ease;
}

.site-footer a:hover {
  color: #8eeaff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-2);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  margin: 0;
  color: var(--muted-2);
  font-size: .94rem;
}

@media (max-width: 1200px) {
.footer-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

.footer-grid-5 > div:first-child {
    grid-column: span 3;
  }

}

@media (max-width: 820px) {
.footer-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

.footer-grid-5 > div:first-child {
    grid-column: span 2;
  }

.footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 560px) {
.footer-grid-5 {
    grid-template-columns: 1fr;
  }

.footer-grid-5 > div:first-child {
    grid-column: span 1;
  }

.footer-contact {
    padding: 16px;
  }

}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-main-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;
  padding: 0;

  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 50%;

  font: inherit;
  line-height: 1;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-dropdown-toggle span {
  display: block;
  position: relative;
  top: -2px;

  width: 7px;
  height: 7px;

  font-size: 0;
  line-height: 0;

  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform: rotate(45deg);

  transition:
    transform 0.2s ease,
    top 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
  top: 2px;
  transform: rotate(-135deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;

  width: min(720px, calc(100vw - 40px));
  padding: 28px;

  background: #ffffff;
  border: 1px solid rgba(20, 30, 45, 0.09);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(20, 30, 45, 0.16);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translate(-50%, 10px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;

  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 20px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translate(-50%, 0);
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

.nav-dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown-title {
  display: block;
  margin-bottom: 10px;

  color: #020202;

  font-size: 15px;
  font-weight: 700;
}

.nav-dropdown-column > a {
  display: flex;
  flex-direction: column;
  gap: 3px;

  padding: 11px 12px;

  color: #151922;
  text-decoration: none;

  border-radius: 10px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-dropdown-column > a:hover,
.nav-dropdown-column > a:focus-visible {
  color: #ffffff;
  background: #101a33;
  transform: translateX(2px);
  outline: none;
}

.nav-dropdown-column > a:hover strong,
.nav-dropdown-column > a:focus-visible strong {
  color: #ffffff;
}

.nav-dropdown-column > a:hover span,
.nav-dropdown-column > a:focus-visible span {
  color: rgba(255, 255, 255, 0.72);
}

.nav-dropdown-column .nav-dropdown-all:hover,
.nav-dropdown-column .nav-dropdown-all:focus-visible {
  color: #101a33;
  background: transparent;
  transform: translateX(2px);
}

.nav-dropdown-column .nav-dropdown-all {
  display: block;
  margin-top: 8px;
  padding-top: 14px;

  color: #151922;
  font-size: 13px;
  font-weight: 650;

  border-top: 1px solid rgba(20, 30, 45, 0.1);
  border-radius: 0;
}

.nav-dropdown-column .nav-dropdown-all:hover {
  background: transparent;
}

@media (max-width: 960px) {
body.mobile-menu-open {
    overflow: hidden;
  }

.main-nav {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;

    padding-bottom: 30px;
  }

.nav-dropdown {
    position: relative;
    width: 100%;
    overflow: visible;
  }

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
  }

.nav-main-link {
    display: flex;
    align-items: center;
    flex: 1;
  }

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 40px;
    height: 40px;
    padding: 0;

    color: inherit;
    background: transparent;
    border: 0;

    cursor: pointer;
  }

.nav-dropdown-menu {
    position: static;
    top: auto;
    left: auto;

    display: grid;
    grid-template-columns: 1fr;
    gap: 0;

    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 18px;

    overflow: hidden;

    background: #ffffff;
    border: 0;
    border-radius: 12px;
    box-shadow: none;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: none;

    transition:
      max-height 0.35s ease,
      margin 0.25s ease,
      padding 0.25s ease,
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

.nav-dropdown.is-open > .nav-dropdown-menu {
    max-height: 1600px;
    margin-top: 10px;
    padding: 20px 18px;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
  }

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
    transform: none;
  }

.nav-dropdown.is-open:hover > .nav-dropdown-menu,
.nav-dropdown.is-open:focus-within > .nav-dropdown-menu {
    max-height: 1600px;
    margin-top: 10px;
    padding: 20px 18px;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
  }

.nav-dropdown-column {
    gap: 4px;
  }

.nav-dropdown-column + .nav-dropdown-column {
    margin-top: 24px;
  }

.nav-dropdown-column > a {
    padding: 11px 10px;
  }

}

/* Fondo oscuro sobre el contenido editorial claro; foco accesible. */
.site-header { background: #080d1f; }
.skip-link { z-index: 1100; }
