/* ============================================================
   SITE FOOTER (custom CSS — no Tailwind for fast first paint)
   ============================================================ */

.site-footer {
  background-color: #192915;
  padding-top: clamp(3rem, 8vw, 6.25rem);
  padding-bottom: clamp(2rem, 4vw, 3.125rem);
}

.site-footer__inner {
  width: 100%;
}

/* ── Subscribe row ── */
.site-footer__subscribe-row {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.75rem);
  margin-bottom: clamp(2.5rem, 6vw, 5.3125rem);
}

.site-footer__subscribe-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .site-footer__subscribe-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__subscribe-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2.375rem);
}

.site-footer__subscribe-heading {
  font-family: var(--font-heading, 'Bacasime Antique', serif);
  font-size: clamp(2rem, 1.19rem + 3.59vw, 4rem);
  color: #ffffff;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0;
}

.site-footer__subscribe-desc {
  color: #cfcfcf;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  max-width: 416px;
  margin: 0;
}

.site-footer__subscribe-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  flex-shrink: 0;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .site-footer__subscribe-form {
    gap: 0;
  }
}

.site-footer__email-input {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  padding: 17px;
  outline: none;
  width: 100%;
}

.site-footer__email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__subscribe-btn {
  background-color: #ffffff;
  color: #192915;
  font-size: 1rem;
  font-weight: 500;
  padding-inline: 2.5rem;
  flex-shrink: 0;
  line-height: 2.65;
  border: none;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer__subscribe-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #3b4938;
  z-index: -1;
  pointer-events: none;
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .site-footer__subscribe-btn:hover {
    color: #ffffff;
  }
  .site-footer__subscribe-btn:hover::before {
    transform: translateX(0);
  }
}

@media (min-width: 640px) {
  .site-footer__email-input {
    width: clamp(14rem, 25vw, 19.625rem);
  }

  .site-footer__subscribe-btn {
    width: auto;
  }
}

.site-footer__divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin: 0;
}

/* ── Links columns ── */
.site-footer__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: clamp(3rem, 7vw, 5.3125rem);
}

@media (min-width: 640px) {
  .site-footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-footer__col-title {
  font-family: var(--font-heading, 'Bacasime Antique', serif);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 0.9;
  margin: 0;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav a,
.site-footer__link {
  color: #cfcfcf;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.site-footer__nav a:hover,
.site-footer__link:hover {
  color: #ffffff;
}

.site-footer__contact-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: 'Inter 18pt', sans-serif;
}

.site-footer__phones {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem 0.3rem;
}

.site-footer__address-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer__address {
  color: #cfcfcf;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

.site-footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.site-footer__map-link svg {
  width: 0.875rem;
  height: 0.75rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Bottom bar ── */
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__copyright {
  color: #cfcfcf;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  margin: 0;
  order: 2;
}

@media (min-width: 768px) {
  .site-footer__copyright {
    order: 1;
  }
}

.site-footer__copyright a {
  color: #cfcfcf;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__copyright a:hover {
  color: #ffffff;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  order: 1;
}

@media (min-width: 768px) {
  .site-footer__social {
    order: 2;
  }
}

.site-footer__social-link {
  color: #ffffff;
  transition: color 0.2s ease;
  display: inline-flex;
}

.site-footer__social-link:hover {
  color: #a8d5ba;
}

.site-footer__social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.site-footer__credit {
  color: #cfcfcf;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  margin: 0;
  order: 3;
}

@media (min-width: 768px) {
  .site-footer__credit {
    order: 3;
  }
}

.site-footer__credit a {
  color: #cfcfcf;
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .site-footer__credit a:hover {
    color: #ffffff;
  }
}
