/* Unified site footer + floating WhatsApp button.
   Loaded after styles.css; uses its own class names (sf-*) so the legacy
   .footer rules in styles.css no longer apply.
   Social icons in the inline SVG sprite: Font Awesome Free 6.4.0 by
   @fontawesome - https://fontawesome.com, License CC BY 4.0
   (https://fontawesome.com/license/free). */

.site-footer {
  --sf-bg: #050508;
  --sf-gold: #c9a55c;
  --sf-gold-hover: #e2c68a;
  --sf-cream: #f5f0e8;
  --sf-text: rgba(245, 240, 232, 0.8);
  --sf-muted: rgba(245, 240, 232, 0.6);
  --sf-line: rgba(201, 165, 92, 0.25);
  --sf-ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  background: var(--sf-bg);
  border-top: 1px solid var(--sf-line);
  padding: 88px 0 32px;
  font-family: 'Montserrat', sans-serif;
  color: var(--sf-text);
  text-align: left;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer ::selection {
  background: var(--sf-gold);
  color: var(--sf-bg);
}

.sf-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sf-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
}

.sf-brand {
  grid-column: 1 / span 4;
}

.sf-services {
  grid-column: 6 / span 3;
}

.sf-connect {
  grid-column: 10 / span 3;
}

/* Brand column */
.sf-logo-link {
  display: inline-block;
  margin: 0 0 32px;
  border-radius: 4px;
}

.sf-logo {
  display: block;
  width: 180px;
  height: auto;
}

.site-footer .sf-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--sf-cream);
  opacity: 1;
  margin: 0 0 32px;
  max-width: 20ch;
  text-wrap: balance;
}

.sf-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--sf-gold);
  color: var(--sf-bg);
  border: 1px solid var(--sf-gold);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 200ms var(--sf-ease), border-color 200ms var(--sf-ease);
}

.sf-wa-btn:hover {
  background: var(--sf-gold-hover);
  border-color: var(--sf-gold-hover);
  color: var(--sf-bg);
}

.sf-wa-btn .sf-icon {
  width: 20px;
  height: 20px;
}

/* Column headings */
.site-footer .sf-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sf-gold);
  margin: 0 0 24px;
}

/* Services */
.sf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-list li + li {
  margin-top: 0;
}

.sf-list a {
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--sf-text);
  transition: color 200ms var(--sf-ease);
}

.sf-list a:hover {
  color: var(--sf-gold-hover);
}

/* Connect */
.sf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.sf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sf-gold);
  border-radius: 50%;
  color: var(--sf-gold);
  transition: background-color 200ms var(--sf-ease), color 200ms var(--sf-ease);
}

.sf-social a:hover {
  background: var(--sf-gold);
  color: var(--sf-bg);
}

.sf-social .sf-icon {
  width: 20px;
  height: 20px;
}

.sf-icon {
  display: block;
  fill: currentColor;
  flex: none;
}

.sf-alma {
  display: inline-block;
  padding: 6px 0;
  font-family: 'Cinzel', serif;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  color: var(--sf-gold);
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--sf-ease), border-color 200ms var(--sf-ease);
}

.sf-alma:hover {
  color: var(--sf-gold-hover);
  border-bottom-color: var(--sf-gold-hover);
}

.site-footer .sf-place {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--sf-muted);
  opacity: 1;
}

/* Bottom row */
.sf-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--sf-line);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--sf-muted);
}

.site-footer .sf-bottom p {
  margin: 0;
  opacity: 1;
}

.sf-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--sf-muted);
  transition: color 200ms var(--sf-ease);
}

.sf-bottom a:hover {
  color: var(--sf-gold-hover);
}

/* Keyboard focus */
.site-footer a:focus-visible,
.sf-wa-float:focus-visible {
  outline: 2px solid var(--sf-gold, #c9a55c);
  outline-offset: 3px;
}

.site-footer .sf-wa-btn:focus-visible {
  outline-color: var(--sf-cream);
}

/* Floating WhatsApp button */
.sf-wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #c9a55c;
  color: #050508;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(201, 165, 92, 0.18);
  transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sf-wa-float:hover {
  background: #e2c68a;
  color: #050508;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(201, 165, 92, 0.25);
}

.sf-wa-float .sf-icon {
  width: 32px;
  height: 32px;
}

/* Tablet */
@media (max-width: 1024px) {
  .sf-brand {
    grid-column: 1 / span 6;
  }
  .sf-services {
    grid-column: 7 / span 6;
  }
  .sf-connect {
    grid-column: 1 / -1;
  }
}

/* Phones: single column */
@media (max-width: 768px) {
  .site-footer {
    padding: 64px 0 104px;
  }
  .sf-inner {
    padding: 0 16px;
  }
  .sf-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }
  .sf-brand,
  .sf-services,
  .sf-connect {
    grid-column: 1 / -1;
  }
  .sf-logo-link {
    margin-bottom: 24px;
  }
  .sf-logo {
    width: 150px;
  }
  .site-footer .sf-tagline {
    max-width: none;
  }
  .sf-bottom {
    flex-direction: column;
    margin-top: 56px;
  }
  .sf-wa-float {
    right: 16px;
    bottom: 16px;
    width: 60px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .sf-wa-float {
    transition: none !important;
  }
}
