/* ═══════════════════════════════════════
   SITE FOOTER
   (all rules scoped under .site-footer to
   avoid collisions with section classes)
═══════════════════════════════════════ */

.site-footer {
  --f-surface: #0e1925;
  --f-surface-2: #142233;
  --f-txt: rgba(255, 255, 255, 0.66);
  --f-txt-strong: #ffffff;
  --f-line: rgba(255, 255, 255, 0.1);

  position: relative;
  background: var(--f-surface);
  color: var(--f-txt);
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-body);
}

/* soft glow + grid texture */
.site-footer::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(255, 138, 0, 0.18), rgba(31, 157, 92, 0.1) 50%, transparent 72%);
  filter: blur(50px);
}
.site-footer .grid-tex {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--f-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--f-line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 70%);
  opacity: 0.5;
}

.site-footer .f-shell {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* reveal */
.site-footer .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-footer .reveal.in { opacity: 1; transform: none; }
.site-footer .d1 { transition-delay: 0.08s; }
.site-footer .d2 { transition-delay: 0.16s; }
.site-footer .d3 { transition-delay: 0.24s; }
.site-footer .d4 { transition-delay: 0.32s; }

/* ── CTA strip ── */
.site-footer .cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding: clamp(54px, 8vh, 90px) 0;
  border-bottom: 1px solid var(--f-line);
}
.site-footer .cta h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--f-txt-strong);
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 13ch;
}
.site-footer .cta h2 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-footer .f-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
  padding: 18px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  overflow: hidden;
  background: var(--brand-gradient);
  box-shadow: 0 18px 40px -14px rgba(255, 77, 109, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-footer .f-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -14px rgba(255, 77, 109, 0.7);
}
.site-footer .f-btn svg { transition: transform 0.3s ease; }
.site-footer .f-btn:hover svg { transform: translateX(5px); }
.site-footer .f-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: footerShine 4s ease-in-out infinite;
}
@keyframes footerShine { 0% { left: -120%; } 55%, 100% { left: 170%; } }

/* ── Columns ── */
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 50px;
}

.site-footer .f-logo {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.site-footer .f-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.site-footer .brand p {
  font-size: 15px;
  line-height: 1.65;
  max-width: 330px;
  margin-bottom: 24px;
}

.site-footer .news {
  display: flex;
  gap: 8px;
  max-width: 340px;
}
.site-footer .news input {
  flex: 1;
  background: var(--f-surface-2);
  border: 1px solid var(--f-line);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--f-txt-strong);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease;
}
.site-footer .news input::placeholder { color: rgba(255, 255, 255, 0.4); }
.site-footer .news input:focus { border-color: var(--hero-warm-2); }
.site-footer .news button {
  flex: none;
  width: 48px;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--hero-warm-1), var(--hero-warm-2));
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}
.site-footer .news button:hover { transform: translateY(-2px); }

.site-footer .col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-txt-strong);
  margin-bottom: 20px;
}
.site-footer .col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.site-footer .col a {
  text-decoration: none;
  color: var(--f-txt);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.25s ease, gap 0.25s ease;
  width: fit-content;
}
.site-footer .col a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--hero-warm-2);
  transition: width 0.25s ease;
}
.site-footer .col a:hover { color: var(--f-txt-strong); }
.site-footer .col a:hover::before { width: 14px; }

.site-footer .contact li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: var(--f-txt);
}
.site-footer .contact li svg { flex: none; margin-top: 2px; color: var(--hero-green); }
.site-footer .contact a { color: var(--f-txt); text-decoration: none; transition: color 0.25s ease; }
.site-footer .contact a:hover { color: var(--f-txt-strong); }
/* override the underline-on-hover from .col a for contact links */
.site-footer .contact a::before { display: none; }

/* ── Bottom bar ── */
.site-footer .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0 30px;
  border-top: 1px solid var(--f-line);
  font-size: 13.5px;
}
.site-footer .bar .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .bar a { color: var(--f-txt); text-decoration: none; transition: color 0.25s ease; }
.site-footer .bar a:hover { color: var(--f-txt-strong); }
.site-footer .bar .credit { color: rgba(255, 255, 255, 0.45); }
.site-footer .bar .credit a {
  font-weight: 700;
  text-decoration: none;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.25s ease;
}
.site-footer .bar .credit a:hover { opacity: 0.78; text-decoration: underline; text-underline-offset: 3px; }

.site-footer .socials { display: flex; gap: 10px; }
.site-footer .socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--f-line);
  display: grid;
  place-items: center;
  color: var(--f-txt);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-footer .socials a:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--hero-warm-1), var(--hero-warm-2));
}

/* ── Giant faded wordmark ── */
.site-footer .watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.5vw;
  z-index: 0;
  text-align: center;
  pointer-events: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(70px, 16vw, 240px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .site-footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .site-footer .bar { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .reveal { opacity: 1; transform: none; }
  .site-footer .f-btn::after { display: none; }
}
