/* ============================================
   Footer – component styles
   ============================================ */
.site-footer {
  background: #1a1a1a;
  border-top: 1px solid var(--border);
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
  position: relative;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}

.footer-brand .logo {
  display: block;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.footer-brand .logo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  vertical-align: top;
  object-fit: contain;
}

.app-links {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
  border: 1px solid transparent;
}

.app-links a {
  display: inline-block;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-links a:hover {
  transform: scale(1.25);
}

.app-links a:active {
  transform: scale(1.1);
}

.app-links img {
  width: 138px;
  height: 47px;
  max-width: none;
  display: block;
}

/* Newsletter – under app-links */
.footer-newsletter {
  margin-top: 1.25rem;
}

.footer-newsletter-title {
  margin: 0 0 0.75rem;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0;
  color: #FAFAFA;
  text-transform: uppercase;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 5.02px;
}

.footer-newsletter-input {
  width: 203px;
  height: 39px;
  padding: 10.68px 11.31px 11.31px 11.31px;
  border-radius: 1.26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FAFAFA;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: #EA0029;
}

.footer-newsletter-btn {
  width: 94.77px;
  height: 38.16px;
  padding: 10.81px 15.26px 11.45px 15.26px;
  border-radius: 3.82px;
  border: none;
  background: #EA0029;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 13.99px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-newsletter-btn:hover {
  background: #c10023;
}

.footer-newsletter-btn:active {
  transform: scale(0.98);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-column: 2 / -1;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  leading-trim: none;
  color: #FAFAFA;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  leading-trim: none;
  color: #FFFFFF99;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-col-social .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col-social .social-links li {
  margin-bottom: 0;
}

.footer-col-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #EA0029;
  border-radius: 6px;
  color: #fff;
  padding: 0;
  border: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}

.footer-col-social .social-icon:hover {
  background: #c10023;
  color: #fff;
  transform: scale(1.25);
}

.footer-col-social .social-icon:active {
  transform: scale(1.1);
}

.footer-col-social .social-icon svg {
  flex-shrink: 0;
  color: inherit;
}

.footer-col-social .social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 1.5rem;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  leading-trim: none;
  color: #ADABAB;
}

/* ============================================
   Footer – light mode (stays dark)
   ============================================ */
html.theme-light .site-footer,
html[data-theme="light"] .site-footer {
  background: #1a1a1a;
  border-top-color: #2a2a2a;
}

html.theme-light .site-footer .footer-col h4,
html[data-theme="light"] .site-footer .footer-col h4 {
  color: #FAFAFA;
}

html.theme-light .site-footer .footer-col a,
html.theme-light .site-footer .app-link,
html[data-theme="light"] .site-footer .footer-col a,
html[data-theme="light"] .site-footer .app-link {
  color: #cccccc;
}

html.theme-light .site-footer .footer-col a:hover,
html.theme-light .site-footer .app-link:hover,
html[data-theme="light"] .site-footer .footer-col a:hover,
html[data-theme="light"] .site-footer .app-link:hover {
  color: #ffffff;
}

html.theme-light .site-footer .footer-bottom p,
html[data-theme="light"] .site-footer .footer-bottom p {
  color: #ADABAB;
}

/* ============================================
   Footer – responsive
   ============================================ */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 1.5rem;
  }
  .footer-bottom {
    padding: 1.25rem 1.25rem;
  }
  .footer-nav {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
