/* Pie de página landing Telvoice — páginas secundarias */
.tv-site-footer {
  background: #0052cc;
  color: #ffffff;
  margin-top: auto;
}

.tv-site-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3.5rem 1rem 1.5rem;
}

@media (min-width: 640px) {
  .tv-site-footer__inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.tv-site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .tv-site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tv-site-footer__grid {
    grid-template-columns: 4fr 8fr;
    gap: 2.5rem;
  }
}

.tv-site-footer__brand p {
  margin: 1rem 0 0;
  max-width: 20rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.tv-site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.tv-site-footer__logo img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.tv-site-footer__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tv-site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tv-site-footer__cta--primary {
  background: #fff;
  color: #0052cc;
}

.tv-site-footer__cta--primary:hover {
  background: #dae2ff;
  color: #001848;
}

.tv-site-footer__cta--ghost {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.tv-site-footer__cta--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.tv-site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .tv-site-footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tv-site-footer__heading {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.tv-site-footer__links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tv-site-footer__links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.2s;
}

.tv-site-footer__links a:hover {
  color: #fff;
}

.tv-site-footer__dropdown {
  position: relative;
}

.tv-site-footer__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.2s;
}

.tv-site-footer__dropdown-toggle::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 0.2s ease;
}

.tv-site-footer__dropdown.is-open .tv-site-footer__dropdown-toggle::after {
  transform: rotate(-135deg) translateY(0.1rem);
}

.tv-site-footer__dropdown-toggle:hover {
  color: #fff;
}

.tv-site-footer__dropdown-menu {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0.5rem 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.tv-site-footer__dropdown-menu[hidden] {
  display: none;
}

.tv-site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 640px) {
  .tv-site-footer__legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.tv-site-footer__legal p {
  margin: 0;
}

.tv-site-footer__legal p:last-child {
  color: rgba(255, 255, 255, 0.55);
}

/* Compatibilidad con utilidades Tailwind en numeracion-sim */
#telvoice-site-footer .bg-primary {
  background: #0052cc;
}

#telvoice-site-footer .text-on-primary {
  color: #fff;
}
