/* ============================================================
   MyWsM - Footer Styles
   ============================================================ */

.site-footer {
  background: var(--wsm-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/*  Footer Brand  */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--wsm-blue);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-logo-mark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 7px;
  background: var(--wsm-yellow);
}
.footer-logo-mark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--wsm-white);
  position: relative;
  z-index: 1;
}

.footer-logo-text .logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--wsm-white);
  line-height: 1;
}
.footer-logo-text .logo-name em {
  color: var(--wsm-yellow);
  font-style: normal;
}
.footer-logo-text .logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--wsm-radius);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.15s;
}
.footer-social a:hover {
  background: var(--wsm-blue);
  color: var(--wsm-white);
}

/*  Footer Nav Columns  */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wsm-yellow);
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--wsm-white); }

/*  Footer Bottom  */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/*  Newsletter Strip  */
.footer-newsletter {
  background: var(--wsm-blue);
  padding: 40px 0;
}

.footer-newsletter .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text { flex: 1; min-width: 200px; }
.newsletter-text h3 {
  color: var(--wsm-white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.newsletter-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 280px;
  max-width: 440px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--wsm-radius);
  border: none;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.15);
  color: var(--wsm-white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { outline: 2px solid var(--wsm-yellow); }
.newsletter-form button {
  background: var(--wsm-yellow);
  color: var(--wsm-dark);
  border: none;
  border-radius: var(--wsm-radius);
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--wsm-yellow-dark); }

/*  Responsive Footer  */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-newsletter .container { flex-direction: column; }
  .newsletter-form { width: 100%; max-width: 100%; }
}
