﻿@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Work+Sans:wght@300;400;500;600&display=swap");

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  --cream-1: #f6f0e4;
  --cream-2: #efe6d8;
  --ink: #1f251d;
  --slate: #5c6557;
  --brand-blue: #6a8540;
  --brand-blue-dark: #1f4720;
  --brand-olive: #6a8540;
  --brand-rust: #a05030;
  --brand-orange: #d07a2b;
  --line: rgba(37, 57, 43, 0.12);
  --shadow: 0 18px 40px rgba(24, 33, 24, 0.12);
  position: relative;
  padding: 96px 24px 36px;
  font-family: "Work Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background-color: var(--cream-1);
  background-image: url("footer.jpeg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(18px);
  animation: footer-reveal 0.9s ease forwards;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: clamp(60px, 8vw, 110px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path fill='%23f6f0e4' d='M0,64 C180,120 360,120 540,64 C720,8 900,8 1080,64 C1260,120 1440,120 1440,120 L1440,0 L0,0 Z'/></svg>");
  background-repeat: repeat-x;
  background-size: 1200px 100%;
  z-index: 1;
  pointer-events: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 240, 228, 0.98) 0%, rgba(246, 240, 228, 0.92) 45%, rgba(246, 240, 228, 0.65) 70%, rgba(246, 240, 228, 0.35) 100%),
    radial-gradient(circle at 12% 20%, rgba(208, 122, 43, 0.18), transparent 48%),
    radial-gradient(circle at 88% 12%, rgba(106, 133, 64, 0.22), transparent 45%);
  background-size: 100% 100%, 200% 200%, 200% 200%;
  background-position: center, 0% 0%, 100% 0%;
  animation: gradient-drift 18s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  background: url("logo.png") no-repeat center / contain;
  opacity: 0.06;
  filter: saturate(0.8);
  pointer-events: none;
  z-index: 0;
}

@keyframes footer-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient-drift {
  0% {
    background-position: center, 0% 0%, 100% 0%;
  }
  50% {
    background-position: center, 100% 30%, 0% 60%;
  }
  100% {
    background-position: center, 0% 0%, 100% 0%;
  }
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.brand-title {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 30px;
  letter-spacing: 1px;
  margin: 0;
  color: var(--brand-blue);
}

.brand-subtitle {
  margin: 0;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-olive);
}

.brand-copy {
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}

.brand-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(16, 64, 96, 0.12);
  box-shadow: 0 10px 22px rgba(25, 77, 122, 0.08);
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-label {
  font-weight: 600;
  color: var(--brand-blue);
}

.cta-desc {
  font-size: 13px;
  color: var(--slate);
}

.cta-button {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-rust), var(--brand-orange));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 10px 18px rgba(160, 80, 48, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(160, 80, 48, 0.3);
}

.footer-col h3 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--brand-blue-dark);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand-rust);
  letter-spacing: 0.3px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--slate);
}

.icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(106, 133, 64, 0.25);
  color: var(--brand-blue);
  box-shadow: 0 8px 16px rgba(25, 77, 122, 0.12);
}

.icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: var(--brand-blue);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social img {
  width: 18px;
  height: 18px;
  display: block;
}

.social a:hover {
  transform: translateY(-2px);
  background: var(--brand-olive);
}

.footer-divider {
  margin: 36px 0 20px;
  height: 1px;
  background: var(--line);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--slate);
}

.footer-credit a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--brand-rust);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  color: var(--brand-blue);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--brand-rust);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .brand-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 961px) {
  .footer-links {
    margin-top: 0;
  }

  .footer-support {
    margin-top: 28px;
  }

  .footer-contact {
    margin-top: 56px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 84px;
  }

  .footer-wave {
    background-size: 900px 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 110px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
