﻿/* Korvanto — Footer */
.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 3.5rem;
  margin-top: 0;
}

#footer-placeholder {
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem);
  align-items: start;
  padding-bottom: 2.5rem;
  width: 100%;
}

.footer-brand,
.footer-col {
  min-width: 0;
  opacity: 1;
  visibility: visible;
}

.site-footer h4 {
  color: var(--gold);
}

.site-footer a:not(.btn):not(.footer-social-link) {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:not(.btn):not(.footer-social-link):hover {
  color: var(--gold);
}

.site-footer .contact-value,
.site-footer .footer-desc,
.site-footer li {
  color: rgba(255, 255, 255, 0.88);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: transform var(--transition), opacity var(--transition);
}

.footer-logo:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  background: var(--white);
  border: 1px solid rgba(197, 154, 74, 0.28);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.footer-logo:hover .footer-logo-wrap {
  border-color: rgba(197, 154, 74, 0.5);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

.footer-logo-img {
  display: block;
  width: min(260px, 100%);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 32ch;
}

.footer-credentials {
  margin: 0 0 1.25rem;
  padding-left: 0.85rem;
  border-left: 3px solid rgba(197, 154, 74, 0.55);
  list-style: none;
}

.footer-credentials li {
  font-size: 0.8rem;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}

.footer-credentials a {
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--transition);
}

.footer-credentials a:hover {
  color: var(--gold);
}

.footer-credentials li:last-child {
  margin-bottom: 0;
}

.footer-brand .btn {
  display: inline-flex;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.footer-social-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-social-link:hover .footer-social-icon {
  filter: brightness(0) saturate(100%);
  opacity: 1;
}

.footer-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: block;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.contact-list .label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.contact-emails {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-emails a {
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
