/**
 * Footer Builder público.
 */
.sytec-footer-builder {
  padding: 0;
  overflow: hidden;
}

.sytec-footer-device--mobile {
  display: none;
}

.sytec-footer-row {
  padding-block: var(--sytec-footer-row-padding);
  color: var(--sytec-footer-row-text);
  background: var(--sytec-footer-row-background);
  border-top: 1px solid var(--sytec-footer-row-border);
}

.sytec-footer-row a {
  color: var(--sytec-footer-row-link);
}

.sytec-footer-row__inner {
  display: grid;
  grid-template-columns: var(--sytec-footer-row-columns);
  gap: var(--sytec-footer-row-gap);
  align-items: start;
}

.sytec-footer-row__inner:not(.sytec-container) {
  width: 100%;
  padding-inline: clamp(20px, 4vw, 64px);
}

.sytec-footer-zone {
  display: flex;
  min-width: 0;
  gap: var(--sytec-footer-row-gap);
  flex-wrap: wrap;
  align-items: center;
}

.sytec-footer-zone--left {
  grid-column: 1;
}

.sytec-footer-zone--center {
  grid-column: 2;
}

.sytec-footer-zone--right {
  grid-column: 3;
}

.sytec-footer-zone--align-start {
  justify-content: flex-start;
  text-align: left;
}

.sytec-footer-zone--align-center {
  justify-content: center;
  text-align: center;
}

.sytec-footer-zone--align-end {
  justify-content: flex-end;
  text-align: right;
}

.sytec-footer-component {
  min-width: 0;
  max-width: 100%;
}

.sytec-footer-logo,
.sytec-footer-image img,
.sytec-footer-payment-methods img {
  display: block;
  width: auto;
  height: auto;
}

.sytec-footer-site-title {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.sytec-footer-menu,
.sytec-footer-categories {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sytec-footer-menu--vertical,
.sytec-footer-categories--vertical {
  flex-direction: column;
}

.sytec-footer-menu--horizontal,
.sytec-footer-categories--horizontal {
  flex-flow: row wrap;
}

.sytec-footer-menu ul {
  padding-left: 1rem;
  list-style: none;
}

.sytec-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 1.1em;
  border: 1px solid currentColor;
  border-radius: var(--sytec-border-radius, 6px);
  text-decoration: none;
}

.sytec-footer-button--primary {
  color: #fff !important;
  background: var(--sytec-primary, #2563eb);
  border-color: var(--sytec-primary, #2563eb);
}

.sytec-footer-button--link {
  padding-inline: 0;
  border-color: transparent;
}

.sytec-footer-social,
.sytec-footer-contact,
.sytec-footer-payment-methods {
  display: flex;
  gap: var(--sytec-social-gap, 10px);
  align-items: center;
  flex-wrap: wrap;
}

.sytec-footer-social a {
  display: inline-grid;
  width: calc(var(--sytec-social-size, 18px) + 14px);
  height: calc(var(--sytec-social-size, 18px) + 14px);
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
}

.sytec-footer-copyright {
  width: 100%;
  margin: 0;
}

.sytec-footer-copyright--left {
  text-align: left;
}

.sytec-footer-copyright--center {
  text-align: center;
}

.sytec-footer-copyright--right {
  text-align: right;
}

.sytec-footer-payment-methods img {
  max-height: 42px;
}

.sytec-footer-separator {
  display: inline-block;
}

.sytec-footer-spacer {
  display: block;
}

@media (max-width: 767px) {
  .sytec-footer-device--desktop {
    display: none;
  }

  .sytec-footer-device--mobile {
    display: block;
  }

  .sytec-footer-row--stack .sytec-footer-row__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .sytec-footer-row--center-mobile .sytec-footer-zone {
    justify-content: center;
    text-align: center;
  }

  .sytec-footer-row--stack .sytec-footer-zone {
    grid-column: 1;
  }

  .sytec-footer-zone {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Footer institucional global. Se limita al fallback nativo y no altera el Builder. */
.sytec-site-footer--native {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(37, 99, 235, 0.14), transparent 32rem),
    linear-gradient(135deg, rgba(8, 22, 44, 0.96), rgba(6, 18, 38, 0.99)),
    var(--sytec-footer-background, #08162c);
  color: #b8c6dc;
  isolation: isolate;
}

.sytec-site-footer--native::before {
  position: absolute;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  top: -18rem;
  left: -12rem;
  border: 1px solid rgba(96, 165, 250, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(37, 99, 235, 0.025),
    0 0 0 9rem rgba(37, 99, 235, 0.018);
  content: "";
}

.sytec-site-footer__main {
  display: grid;
  padding-block: clamp(3.5rem, 6vw, 4.5rem) 2.75rem;
  grid-template-columns:
    minmax(220px, 1.35fr)
    minmax(190px, 1fr)
    minmax(220px, 1.1fr)
    minmax(180px, 0.9fr);
  gap: clamp(2rem, 3.2vw, 3rem);
}

.sytec-site-footer__column {
  min-width: 0;
}

.sytec-site-footer__title {
  position: relative;
  margin: 0 0 1.15rem;
  padding-bottom: 0.7rem;
  color: #f8fafc !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.sytec-site-footer__title::after {
  position: absolute;
  width: 2.25rem;
  height: 2px;
  bottom: 0;
  left: 0;
  border-radius: 99px;
  background: #3b82f6;
  content: "";
}

.sytec-site-footer__brand-link {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  align-items: center;
}

.sytec-site-footer__logo {
  display: block;
  width: auto;
  max-width: min(290px, 100%);
  height: auto;
  max-height: 76px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

.sytec-site-footer__wordmark {
  color: #f8fafc;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.sytec-site-footer__wordmark > span {
  color: #38bdf8;
}

.sytec-site-footer__wordmark > small {
  display: block;
  margin-top: 0.35rem;
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.sytec-site-footer--native .sytec-site-footer__identity p {
  max-width: 34rem;
  margin: 0;
  color: #c5d3e8;
  font-size: 0.92rem;
  line-height: 1.7;
}

.sytec-site-footer__identity .sytec-site-footer__identity-note {
  margin-top: 0.8rem;
  color: #8fa4c0;
  font-size: 0.84rem;
}

.sytec-site-footer__contact-list,
.sytec-site-footer__menu,
.sytec-site-footer__coverage-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sytec-site-footer__contact-list {
  display: grid;
  gap: 0.55rem;
}

.sytec-site-footer__contact-list a {
  display: flex;
  min-width: 0;
  min-height: 48px;
  padding: 0.55rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 12px;
  align-items: center;
  gap: 0.7rem;
  color: #d5e1f1 !important;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.sytec-site-footer__contact-list a:hover {
  border-color: rgba(96, 165, 250, 0.2);
  background: rgba(59, 130, 246, 0.09);
  color: #fff !important;
}

.sytec-site-footer__contact-list a > span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.sytec-site-footer__contact-list small {
  display: block;
  margin-bottom: 0.1rem;
  color: #7f96b5;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sytec-site-footer__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sytec-site-footer__contact-list li:first-child .sytec-site-footer__icon {
  fill: currentColor;
  stroke: none;
}

.sytec-site-footer__coverage {
  min-height: 0;
  align-self: start;
}

.sytec-site-footer__coverage-card {
  position: relative;
  height: auto;
  min-height: 0;
  padding: 0.85rem 1rem;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  background: rgba(12, 35, 67, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.sytec-site-footer__coverage-visual {
  position: relative;
  height: 92px;
  min-height: 0;
  margin-bottom: 0.875rem;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(rgba(96, 165, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(30, 64, 175, 0.35), rgba(8, 29, 58, 0.75));
  background-size: 18px 18px, 18px 18px, auto;
}

.sytec-site-footer__coverage-visual strong {
  position: absolute;
  right: 0.75rem;
  bottom: 0.55rem;
  color: rgba(219, 234, 254, 0.52);
  font-size: 1.65rem;
  letter-spacing: 0.12em;
}

.sytec-site-footer__coverage-orbit {
  position: absolute;
  width: 112px;
  height: 112px;
  top: -32px;
  left: -18px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(96, 165, 250, 0.035);
}

.sytec-site-footer__coverage-line {
  position: absolute;
  width: 4px;
  height: 74px;
  top: 9px;
  left: 52px;
  border-radius: 999px;
  background: linear-gradient(#7dd3fc, #2563eb);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.65);
  transform: rotate(7deg);
}

.sytec-site-footer__coverage-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  left: 50px;
  border: 2px solid #dbeafe;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.sytec-site-footer__coverage-dot--north {
  top: 12px;
}

.sytec-site-footer__coverage-dot--center {
  top: 43px;
  left: 53px;
}

.sytec-site-footer__coverage-dot--south {
  top: 74px;
  left: 57px;
}

.sytec-site-footer--native .sytec-site-footer__coverage-card p {
  margin: 0;
  color: #d0dced;
  font-size: 0.88rem;
  line-height: 1.6;
}

.sytec-site-footer__coverage-card .sytec-site-footer__coverage-detail {
  margin-top: 0.65rem;
  color: #8fa4c0;
  font-size: 0.78rem;
}

.sytec-site-footer__coverage-tags {
  display: flex;
  margin-top: 0.65rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sytec-site-footer__coverage-tags li {
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(96, 165, 250, 0.17);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #bfdbfe;
  font-size: 0.68rem;
  font-weight: 750;
}

.sytec-site-footer__menu {
  display: grid;
  gap: 0.15rem;
}

.sytec-site-footer__menu a {
  display: flex;
  min-height: 40px;
  padding: 0.42rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.09);
  color: #c5d3e8 !important;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.sytec-site-footer__menu a::after {
  color: #4f8fda;
  content: "→";
  transition: transform 160ms ease, color 160ms ease;
}

.sytec-site-footer__menu li:first-child a {
  justify-content: flex-start;
  color: #dbeafe !important;
}

.sytec-site-footer__menu li:first-child a::after {
  margin-left: auto;
}

.sytec-site-footer__menu a:hover {
  color: #60a5fa !important;
}

.sytec-site-footer__menu a:hover::after {
  color: #93c5fd;
  transform: translateX(3px);
}

.sytec-site-footer__menu .sytec-site-footer__icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.sytec-site-footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.sytec-site-footer__bottom {
  display: flex;
  min-height: 70px;
  padding-block: 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #91a4be;
  font-size: 0.8rem;
}

.sytec-site-footer__bottom--policies {
  justify-content: flex-end;
}

.sytec-site-footer--native .sytec-site-footer__bottom p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.sytec-site-footer__legal {
  display: flex;
  padding-right: 12rem;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.sytec-site-footer__legal a {
  color: #afbdd1 !important;
  text-decoration: none;
}

.sytec-site-footer__legal a:hover {
  color: #60a5fa !important;
}

.sytec-site-footer--native a:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

/* Franja legal permanente, independiente del footer configurable. */
.sytec-legal-strip {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: #071429;
  color: #91a4be;
  font-size: 0.78rem;
}

.sytec-legal-strip__inner {
  display: flex;
  min-height: 56px;
  padding-block: 0.35rem max(0.35rem, env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.sytec-legal-strip .sytec-legal-strip__inner p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.sytec-legal-strip .sytec-legal-strip__privacy {
  display: inline-flex;
  min-height: 44px;
  margin: 0;
  padding: 0.55rem 0;
  align-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: #c5d3e8;
  font: inherit;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(197, 211, 232, 0.45);
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.sytec-legal-strip .sytec-legal-strip__privacy:hover {
  background: transparent;
  box-shadow: none;
  color: #fff;
  text-decoration-color: #60a5fa;
  transform: none;
}

.sytec-legal-strip .sytec-legal-strip__privacy:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .sytec-site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem clamp(2rem, 6vw, 4rem);
  }

  .sytec-site-footer__coverage-card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .sytec-site-footer__main {
    padding-block: 2.75rem 2rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .sytec-site-footer__identity {
    order: 1;
  }

  .sytec-site-footer__contact {
    order: 2;
  }

  .sytec-site-footer__links {
    order: 3;
  }

  .sytec-site-footer__coverage {
    order: 4;
  }

  .sytec-site-footer__logo {
    max-width: min(260px, 100%);
    max-height: 68px;
  }

  .sytec-site-footer__contact-list a,
  .sytec-site-footer__menu a {
    min-height: 44px;
  }

  .sytec-site-footer__bottom {
    min-height: 0;
    padding-block: 1.25rem 1.5rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .sytec-site-footer__legal {
    padding-right: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .sytec-legal-strip__inner {
    min-height: 0;
    padding-block: 0.75rem max(0.75rem, env(safe-area-inset-bottom));
    justify-content: center;
    flex-direction: column;
    gap: 0.15rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sytec-site-footer--native a,
  .sytec-site-footer--native a::after {
    transition: none;
  }
}
