/* Shared site footer — visual source of truth = homepage sfl-footer */

.sfl-footer .sfl-container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.sfl-footer {
  background: #0a1738;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 3rem;
  font-family: "Lexend Deca", system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}

.sfl-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  align-items: start;
}

.sfl-footer .sfl-logo-light {
  color: #8eb6ff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sfl-footer .sfl-logo-light img {
  width: auto;
  height: 52px;
  max-width: min(280px, 58vw);
  object-fit: contain;
  display: block;
}

.sfl-footer-tagline {
  margin: 0.35rem 0 0;
  padding-left: 2.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.sfl-footer-subtag {
  display: none;
}

.sfl-footer-heading {
  color: #fff;
  margin: 0 0 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.sfl-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sfl-footer-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  display: block;
  margin-bottom: 0.45rem;
}

.sfl-footer-link-ico,
.sfl-footer-link-chevron {
  display: none;
}

.sfl-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.sfl-footer p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.82);
}

.sfl-footer .sfl-social {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.sfl-footer .sfl-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
  color: #fff;
  text-decoration: none;
}

/* Desktop: keep simple contact paragraphs; hide structured contact + newsletter */
.sfl-footer-contact {
  display: none;
}

.sfl-footer-newsletter {
  display: none;
}

.sfl-footer-contact-plain {
  margin: 0 0 0.45rem;
}

.sfl-footer-contact-plain a {
  display: inline;
  margin: 0;
}

.sfl-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sfl-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.sfl-footer-made .fa-heart {
  color: #7c8cff;
  font-size: 0.78em;
  margin: 0 0.15rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ========== Mobile footer = mockup ========== */
@media (max-width: 960px) {
  .sfl-footer {
    background:
      radial-gradient(120% 55% at 50% -8%, rgba(70, 120, 210, 0.38) 0%, rgba(20, 45, 110, 0.18) 42%, transparent 70%),
      radial-gradient(80% 40% at 100% 8%, rgba(40, 80, 170, 0.22) 0%, transparent 55%),
      #07122e;
    padding: 2.35rem 0 0;
    text-align: center;
  }

  .sfl-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.65rem;
    padding-bottom: 1.35rem;
    justify-items: center;
  }

  .sfl-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .sfl-footer .sfl-logo-light {
    justify-content: center;
  }

  .sfl-footer .sfl-logo-light img {
    height: 48px;
    max-width: min(240px, 70vw);
  }

  .sfl-footer-tagline {
    padding-left: 0;
    margin: 0.85rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
  }

  .sfl-footer-subtag {
    display: block;
    margin: 0.45rem 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(170, 190, 230, 0.88);
    max-width: 18rem;
  }

  .sfl-footer-links {
    width: 100%;
    gap: 0.65rem;
  }

  .sfl-footer-links .sfl-footer-heading {
    display: none; /* mockup has no Quick Links heading — nav cards only */
  }

  .sfl-footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.95rem 1rem;
    background: rgba(22, 40, 84, 0.92);
    border: 1px solid rgba(120, 150, 210, 0.18);
    border-radius: 14px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-sizing: border-box;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }

  .sfl-footer-link:hover,
  .sfl-footer-link:focus {
    background: rgba(30, 52, 105, 0.98);
    color: #fff;
  }

  .sfl-footer-link-ico {
    display: inline-grid;
    place-items: center;
    width: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
  }

  .sfl-footer-link-label {
    flex: 1;
  }

  .sfl-footer-link-chevron {
    display: inline-grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .sfl-footer-connect {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sfl-footer-connect .sfl-footer-heading {
    margin: 0.35rem 0 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: rgba(170, 195, 240, 0.9);
    font-weight: 600;
  }

  .sfl-footer .sfl-social {
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1.15rem;
  }

  .sfl-footer .sfl-social a {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(22, 40, 84, 0.95);
    border: 1px solid rgba(120, 150, 210, 0.16);
    font-size: 1.15rem;
  }

  .sfl-footer .sfl-social--wa { color: #25d366; }
  .sfl-footer .sfl-social--mail { color: #7eb6ff; }
  .sfl-footer .sfl-social--ig {
    color: #fff;
    background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af) !important;
    border: 0;
  }
  .sfl-footer .sfl-social--fb { color: #4b8efb; }
  .sfl-footer .sfl-social--yt { color: #ff3b3b; }

  .sfl-footer-contact-plain {
    display: none;
  }

  .sfl-footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 0.15rem;
    padding: 1.05rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    gap: 0;
  }

  .sfl-footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    margin: 0;
    color: #fff;
    text-decoration: none;
    text-align: center;
  }

  .sfl-footer-contact-item:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sfl-footer-contact-ico {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.1rem;
  }

  .sfl-footer-contact-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
  }

  .sfl-footer-contact-label {
    font-size: 0.72rem;
    color: rgba(170, 190, 230, 0.9);
    font-weight: 500;
  }

  .sfl-footer-contact-value {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    word-break: break-word;
  }

  .sfl-footer-newsletter {
    display: block;
    width: 100%;
    background: rgba(18, 34, 74, 0.95);
    border: 1px solid rgba(120, 150, 210, 0.16);
    border-radius: 16px;
    padding: 1.1rem 1rem 1.15rem;
    text-align: left;
    box-sizing: border-box;
  }

  .sfl-footer-newsletter-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
  }

  .sfl-footer-newsletter-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2f6bff;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.9rem;
  }

  .sfl-footer-newsletter-head strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
  }

  .sfl-footer-newsletter-head span {
    display: block;
    color: rgba(170, 190, 230, 0.9);
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .sfl-footer-newsletter-form {
    display: flex;
    gap: 0.55rem;
    align-items: stretch;
  }

  .sfl-footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(140, 165, 220, 0.28);
    background: rgba(8, 18, 42, 0.85);
    color: #fff;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    font-size: 0.82rem;
  }

  .sfl-footer-newsletter-form input::placeholder {
    color: rgba(170, 190, 230, 0.65);
  }

  .sfl-footer-newsletter-form button {
    flex-shrink: 0;
    border: 0;
    border-radius: 10px;
    background: #2f6bff;
    color: #fff;
    font: inherit;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.7rem 0.95rem;
    cursor: pointer;
  }

  .sfl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.25rem;
  }

  .sfl-footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 1.15rem 0 1.35rem;
    font-size: 0.78rem;
    color: rgba(170, 190, 230, 0.78);
  }

  .sfl-footer-made .fa-heart {
    color: #6e8cff;
  }
}

@media (max-width: 600px) {
  .sfl-footer {
    padding-top: 2.1rem;
  }

  .sfl-footer .sfl-container {
    width: min(1200px, calc(100% - 1.6rem));
  }

  .sfl-footer-grid {
    gap: 1.45rem;
  }

  .sfl-footer-link {
    padding: 0.9rem 0.95rem;
    border-radius: 13px;
  }

  .sfl-footer .sfl-social a {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .sfl-footer-contact-value {
    font-size: 0.68rem;
  }

  .sfl-footer-newsletter-form {
    flex-direction: row;
  }

  .sfl-footer-newsletter-form button {
    padding: 0.7rem 0.85rem;
  }
}
