/* =====================================================
   FOOTER
===================================================== */

.bd-footer {
  background: #0f0f0f;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

.bd-footer-container {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto; 
  padding: 80px 48px 36px;
}

/* =====================================================
   TOP GRID
===================================================== */

.bd-footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid #2a2a2a;
}

/* =====================================================
   BRAND
===================================================== */

.bd-footer-brand {
  padding-right: 24px;
}

.bd-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.bd-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.bd-logo-wrap h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.bd-logo-wrap span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: #555;
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.bd-footer-brand p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #888;
  margin-bottom: 28px;
}

/* Socials */
.bd-socials {
  display: flex;
  gap: 8px;
}

.bd-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.bd-socials a .material-icons-round {
  font-size: 17px;
}

.bd-socials a:hover {
  border-color: #444;
  color: #fff;
  background: #1a1a1a;
}

/* =====================================================
   LINK COLUMNS
===================================================== */

.bd-footer-col h3,
.bd-footer-newsletter h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  font-family: "DM Mono", monospace;
  margin-bottom: 20px;
}

.bd-footer-col {
  display: flex;
  flex-direction: column;
}

.bd-footer-col a {
  font-size: 14px;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.18s;
}

.bd-footer-col a:hover {
  color: #fff;
}

/* =====================================================
   NEWSLETTER
===================================================== */

.bd-footer-newsletter p {
  font-size: 13.5px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 18px;
}

.bd-footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-footer-newsletter input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background: #161616;
  color: #fff;
  font-size: 13.5px;
  font-family: "DM Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.bd-footer-newsletter input::placeholder {
  color: #555;
}

.bd-footer-newsletter input:focus {
  border-color: #444;
  background: #1c1c1c;
}

.subscribe-form-smbt-btn-botron {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  color: #0f0f0f;
  font-size: 13.5px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.subscribe-form-smbt-btn-botron .material-icons-round {
  font-size: 16px;
}

.subscribe-form-smbt-btn-botron:hover {
  background: #e8e8e8;
}

.subscribe-form-smbt-btn-botron:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bd-form-message {
  font-size: 12.5px;
  min-height: 20px;
}

.bd-form-message.success { color: #6ee7b7; }
.bd-form-message.error   { color: #fca5a5; }

/* =====================================================
   DIVIDER RULE
===================================================== */

.bd-footer-divider {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 0;
}

/* =====================================================
   BOTTOM BAR
===================================================== */

.bd-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
}

.bd-footer-copy {
  font-size: 12.5px;
  color: #555;
  font-family: "DM Mono", monospace;
}

.bd-footer-legal {
  display: flex;
  gap: 28px;
}

.bd-footer-legal a {
  font-size: 12.5px;
  color: #555;
  text-decoration: none;
  transition: color 0.18s;
}

.bd-footer-legal a:hover {
  color: #bbb;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .bd-footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
  .bd-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px;
  }
  .bd-footer-brand p {
    margin-bottom: 0;
  }
  .bd-socials {
    /* justify-content: flex-end; */
    align-items: flex-start;
    margin-top: 4px;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
  .bd-footer-container {
    padding: 60px 24px 28px;
  }
  .bd-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .bd-footer-brand {
    grid-column: 1 / -1;
    display: block;
  }
  .bd-footer-brand p {
    margin-bottom: 20px;
  }
  .bd-footer-newsletter {
    grid-column: 1 / -1;
  }
  .bd-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .bd-footer-top {
    grid-template-columns: 1fr;
  }
}