/* --- Footer Styles --- */
.clean-footer {
  --footer-text-muted: #999999;
  background-color: #242424;
  color: var(--footer-text-muted);
  font-family: var(--font-noto);
  font-size: 13px;
  line-height: 1.6;
  padding-top: 48px;
  padding-bottom: 32px;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Main Row: Left Lead & Right Form */
.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 56px;
  margin-bottom: 40px;
  text-align: left;
}

/* Left: Brand & Lead */
.footer-lead {
  flex: 1;
  max-width: 280px;
}

.footer-brand-name {
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: var(--font-weight-light);
  letter-spacing: var(--link-letter-spacing);
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-lead-text {
  font-size: 13px;
  color: inherit;
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer-email-text {
  font-size: 12px;
  color: inherit;
  line-height: 1.5;
}

.footer-email-link {
  color: inherit;
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: var(--font-weight-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  word-break: break-all;
}

.footer-email-link:hover {
  color: #ffffff;
}

/* Right: Form */
.footer-form-col {
  flex: 1.2;
  width: 100%;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 14px;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-textarea {
  resize: vertical;
  min-height: 64px;
  max-height: 200px;
}

.form-footer-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
  min-height: 32px;
}

.form-notice-text {
  font-size: 12px;
  color: inherit;
  opacity: 0;
}

.form-notice-text.show {
  opacity: 1;
}

.form-submit-btn {
  background-color: #ffffff;
  color: #171717;
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: var(--font-weight-normal);
  font-family: var(--font-outfit);
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.1s;
}

.form-submit-btn:hover {
  opacity: 0.9;
}

.form-submit-btn:active {
  transform: scale(0.98);
}

/* --- Footer Bottom / Sub-footer --- */
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: inherit;
  font-family: var(--font-outfit);
}

.bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bottom-copyright {
  font-size: 12px;
  font-weight: var(--font-weight-light);
  color: inherit;
}

.dot-separator {
  color: inherit;
}

.privacy-link {
  color: inherit;
  font-size: 12px;
  font-weight: var(--font-weight-light);
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.privacy-link:hover {
  color: #ffffff;
}

/* --- Responsive (Mobile <= 680px) --- */
@media (max-width: 680px) {
  .clean-footer {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .footer-main-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
  }

  .footer-lead {
    max-width: 100%;
  }

  .footer-bottom {
    padding-top: 20px;
  }
}
