/* ===== Footer Styles ===== */
.site-footer {
  background:#f9fafb;
  border-top:1px solid #e5e7eb;
  font-family:'Poppins', sans-serif;
  padding:30px 0 20px;
  color:#374151;
  font-size:14px;
  line-height:1.6;
}

.footer-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:15px;
}

.footer-brand .brand-name {
  font-weight:700;
  font-size:18px;
  color:#14532d;
}
.footer-brand .brand-tagline {
  margin-left:8px;
  font-size:13px;
  color:#6b7280;
  font-weight:500;
}

.footer-nav {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.footer-nav a {
  color:#374151;
  text-decoration:none;
  font-weight:500;
}
.footer-nav a:hover {
  color:#14532d;
}

/* wrapper just for layout */
.footer-lang { position: relative; display: inline-block; }

/* the select itself */
.footer-lang select{
  appearance: none;            /* Standard */
  -webkit-appearance: none;    /* Safari */
  -moz-appearance: none;       /* Firefox */

  box-sizing: border-box;
  height: 36px;                /* controls overall size */
  line-height: 36px;           /* vertical centering */
  padding: 0 36px 0 12px;      /* <- inner spacing (right = room for arrow) */

  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #fff;

  font-size: 13px;
  font-weight: 600;
  color: #374151;

  cursor: pointer;
}

/* custom arrow */
.footer-lang::after{
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px; height: 10px;
  pointer-events: none;
  transform: translateY(-50%);
  background: no-repeat center / 10px 10px
    
}

.footer-mission {
  text-align:center;
  font-size:13px;
  color:#6b7280;
  margin-bottom:12px;
}

.footer-bottom {
  text-align:center;
  font-size:12px;
  color:#9ca3af;
}

@media (max-width: 640px) {

  /* Add space before footer so cards don't touch it */
  .ft-signature{ margin-top: 40px; }

  /* Footer container padding */
  .fts__container{ padding: 22px 16px 18px; }

  /* Stack brand / nav / language vertically with comfy gaps */
  .fts__lockup{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Smaller tagline chip */
  .fts__brand .tag{
    font-size: 12px;
    padding: 4px 8px;
  }

  /* Nav wraps with larger tap targets */
  .fts__nav{
    justify-content: flex-start;
    gap: 14px;
    margin: 10px 0;
  }
  .fts__nav a{ padding: 4px 0; } /* improves tap area */

  /* Language select goes full-width */
  .fts__locale{ width: 100%; }
  .fts__select{
    width: 100%;
    height: 40px;              /* consistent height on iOS */
    padding: 0 14px;           /* inner spacing */
    box-sizing: border-box;
  }

  /* Mission + legal text a bit tighter but readable */
  .fts__mission{ margin: 8px 0 12px; font-size: 13px; line-height: 1.45; }
  .fts__legal{ font-size: 12px; gap: 8px; }
}}