/* Elevate Fit-Out — shared site footer (projects-page style, used on every page) */

@font-face {
  font-family: 'Bastliga One';
  src: url('../fonts/Bastliga-One.ttf') format('truetype');
  font-display: swap;
}

/* pre-footer CTA — the footer signature answers this title */
.next-cta {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #DFD8C8;
  padding: 90px 24px;
}
.next-cta h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 7.4vw, 124px);
  font-weight: 400;
  line-height: 1.04;
  color: #1E1B16;
  margin: 0;
}
.next-cta .accent { color: #EE5D2F; }

.site-footer {
  background: #F4F1E7;
  color: #1E1B16;
  font-family: 'Manrope', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.site-footer a { text-decoration: none; }

.sf-enquire-row {
  display: flex;
  justify-content: center;
  padding: 16px 24px 6px;
}
.site-footer .sf-enquire {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
  background: #EE5D2F;
  color: #131312;
  padding: 16px 38px;
  border-radius: 10px;
}
.site-footer .sf-enquire:hover { filter: brightness(1.08); }

/* signature — drawn on by scroll (assets/js/footer.js) */
.sf-sig {
  display: flex;
  justify-content: center;
  padding: 92px 24px 0;
}
.sf-sig .sig-stage { width: min(800px, 92vw, 84vh); }
.sf-sig svg { width: 100%; height: auto; display: block; overflow: visible; }
.sf-sig .m1, .sf-sig .m2 {
  stroke-dasharray: 100.5 100.5;
  stroke-dashoffset: 100.5;
}
.sf-sig .sg-swash {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.sf-sig .sig-text { font-family: 'Bastliga One', cursive; fill: #1E1B16; }
.sf-sig .sig-text-sm { font-size: 120px; }
.sf-sig .sig-text-lg { font-size: 180px; }

.sf-mailing {
  margin: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  flex-wrap: wrap;
}
.sf-mailing-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  color: #1E1B16;
  white-space: nowrap;
}
.sf-sub {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.sf-sub-input {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #1E1B16;
  background: transparent;
  border: 1px solid rgba(30,27,22,.35);
  border-right: 0;
  padding: 0 18px;
  min-width: 240px;
  outline: none;
}
.sf-sub-input::placeholder { color: #8A8271; letter-spacing: .08em; }
.sf-sub-input:focus { border-color: #EE5D2F; }
.sf-mailing-btn {
  border: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .26em;
  background: #131312;
  color: #F4F1E7;
  padding: 14px 28px;
  cursor: pointer;
}
.sf-mailing-btn:hover { color: #F4F1E7; background: #EE5D2F; }
.sf-sub-msg {
  margin: -18px 60px 0;
  padding-bottom: 20px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #3D7A3D;
}
.sf-sub-msg.err { color: #C0392B; }

.sf-cols {
  margin: 0 32px;
  border-top: 1px solid rgba(30,27,22,.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 30px 28px 32px;
}
.sf-head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  color: #1E1B16;
}
.sf-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  font-size: 13px;
}
.sf-list a, .sf-list div { color: #4A453C; }
.sf-list a:hover { color: #EE5D2F; }

.sf-cols > div:last-child { display: flex; flex-direction: column; }
.sf-brand-side {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sf-brand-side img { height: 40px; }
.sf-copy {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #7A7466;
}
.sf-baseline { height: 10px; background: #131312; }

/* floating WhatsApp button (site-wide) */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@media (max-width: 679px) {
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
}

@media (max-width: 1023px) {
  .sf-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 679px) {
  .sf-mailing { margin: 0 20px; padding: 36px 0; }
  .sf-mailing-title { white-space: normal; }
  .sf-sub { width: 100%; }
  .sf-sub-input { flex: 1; min-width: 0; padding: 12px 14px; border-right: 1px solid rgba(30,27,22,.35); border-bottom: 0; }
  .sf-sub { flex-direction: column; }
  .sf-sub-msg { margin: -12px 20px 0; text-align: left; }
  .sf-cols { grid-template-columns: 1fr; margin: 0 20px; padding: 40px 0 48px; }
}
