/* V13.3 — Footer editorial premium: marca integrada, navegación y cierre */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 5.2vw, 78px) clamp(28px, 7vw, 112px) 24px;
  color: #153b4c;
  background:
    radial-gradient(ellipse at 12% 5%, rgba(44,169,165,.055), transparent 34%),
    linear-gradient(180deg, #edf3ef 0%, #f5f7f3 100%);
  border-top: 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(0,139,152,.30) 24%, rgba(21,59,76,.12) 72%, transparent 96%);
}
.site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -250px;
  bottom: -310px;
  border: 1px solid rgba(0,139,152,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(0,139,152,.025), 0 0 0 58px rgba(0,139,152,.018);
  pointer-events: none;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.28fr) minmax(160px, .72fr) minmax(220px, .9fr);
  gap: clamp(38px, 6.3vw, 104px);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: -7px 0 18px -4px;
  outline-offset: 6px;
}
.footer-logo-surface {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(248px, 100%);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.footer-logo-surface img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 3px 5px rgba(18,55,66,.045));
}
.footer-tagline {
  position: relative;
  margin: 0 0 13px;
  padding-top: 13px;
  color: #153b4c;
  font: 400 clamp(25px, 2vw, 29px)/1.18 var(--serif);
  letter-spacing: -.35px;
}
.footer-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, #0797a1, rgba(7,151,161,.15));
}
.footer-location-note {
  color: #6d8286;
  font: 500 10px/1.6 var(--sans);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding-top: 4px;
}
.footer-nav h3 {
  position: relative;
  margin: 0 0 9px;
  padding-bottom: 10px;
  color: #153b4c;
  font: 400 23px/1.15 var(--serif);
  letter-spacing: -.25px;
}
.footer-nav h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25px;
  height: 1px;
  background: #1599a2;
  opacity: .72;
}
.footer-nav a,
.footer-privacy-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 0 2px;
  border: 0;
  background: transparent;
  color: #5b737b;
  text-align: left;
  text-decoration: none;
  font: 400 12.5px/1.5 var(--sans);
  cursor: pointer;
  transition: color .22s ease, transform .22s ease;
}
.footer-nav a::after,
.footer-privacy-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 1px;
  background: #0797a1;
  transition: right .22s ease;
}
.footer-nav a:hover,
.footer-privacy-link:hover {
  color: #007f8d;
  transform: translateX(2px);
}
.footer-nav a:hover::after,
.footer-privacy-link:hover::after {
  right: 0;
}
.footer-secondary-heading {
  margin-top: 16px !important;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px 28px;
  max-width: 1320px;
  margin: clamp(42px, 4.5vw, 62px) auto 0;
  padding-top: 19px;
  border-top: 1px solid rgba(31,77,86,.14);
}
.footer-copyright,
.footer-credit {
  margin: 0;
  color: #74878a;
  font: 400 10px/1.65 var(--sans);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer-credit strong {
  color: #315966;
  font-weight: 650;
  letter-spacing: .01em;
}
@media (max-width: 900px) {
  .site-footer { padding: 48px 34px 21px; }
  .footer-main {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 36px 46px;
  }
  .footer-brand-block {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(150px, 210px) 1fr;
    align-items: center;
    column-gap: 27px;
  }
  .footer-brand {
    grid-row: 1 / span 2;
    margin: 0;
  }
  .footer-logo-surface { width: 205px; }
  .footer-tagline { align-self: end; margin-bottom: 9px; font-size: 25px; }
  .footer-location-note { grid-column: 2; align-self: start; }
  .footer-bottom { margin-top: 34px; }
}
@media (max-width: 600px) {
  .site-footer { padding: 38px 23px 19px; }
  .footer-main { gap: 29px 22px; }
  .footer-brand-block {
    grid-template-columns: 124px minmax(0,1fr);
    column-gap: 17px;
  }
  .footer-brand { grid-row: 1 / span 2; }
  .footer-logo-surface { width: 124px; }
  .footer-tagline {
    align-self: end;
    margin-bottom: 7px;
    padding-top: 10px;
    font-size: 20px;
  }
  .footer-location-note { font-size: 8px; letter-spacing: .045em; }
  .footer-nav { gap: 10px; }
  .footer-nav h3 { font-size: 19px; margin-bottom: 5px; padding-bottom: 8px; }
  .footer-nav a, .footer-privacy-link { font-size: 11px; }
  .footer-secondary-heading { margin-top: 10px !important; }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 29px;
    padding-top: 14px;
  }
  .footer-copyright, .footer-credit { font-size: 9px; }
}
@media (max-width: 390px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px 15px; }
  .footer-brand-block { grid-template-columns: 104px minmax(0,1fr); column-gap: 13px; }
  .footer-logo-surface { width: 104px; }
  .footer-tagline { font-size: 18px; }
  .footer-location-note { font-size: 7.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-nav a, .footer-privacy-link,
  .footer-nav a::after, .footer-privacy-link::after { transition: none; }
}
