/* Shared final CTA, footer, and copyright. Loaded after page-specific styles. */
.shared-final-cta {
  padding: 34px 0;
  background: #f6faf7;
}

.shared-final-cta__panel {
  width: min(calc(100% - 64px), 1440px);
  min-height: 168px;
  margin-inline: auto;
  padding: 32px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(22, 124, 74, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 15%, rgba(99, 185, 127, 0.16), transparent 32%),
    linear-gradient(135deg, #fff, #edf7f0);
  box-shadow: 0 18px 42px rgba(15, 71, 45, 0.09);
}

.shared-final-cta__copy { max-width: 760px; }
.shared-final-cta__eyebrow {
  margin: 0 0 8px;
  color: var(--cmid-green, #167c4a);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.shared-final-cta h2 {
  margin: 0;
  color: #10221a;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.shared-final-cta__copy > p:last-child {
  max-width: 680px;
  margin: 12px 0 0;
  color: #4c5c54;
  font-size: 16px;
  line-height: 1.65;
}
.shared-final-cta__actions { display: flex; align-items: center; gap: 12px; }
.shared-final-cta__button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--cmid-green, #167c4a);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.shared-final-cta__button svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.shared-final-cta__button--primary {
  color: #fff;
  background: var(--cmid-green, #167c4a);
  box-shadow: 0 10px 22px rgba(22, 124, 74, .2);
}
.shared-final-cta__button--secondary { color: var(--cmid-green, #167c4a); background: rgba(255,255,255,.88); }
.shared-final-cta__button:hover { transform: translateY(-2px); box-shadow: 0 13px 26px rgba(22,124,74,.18); }

.shared-footer.site-footer {
  position: relative;
  margin: 0;
  padding: 24px 0 8px;
  color: #1a2639;
  background: #fff;
  border-top: 1px solid #e4eae6;
  font-family: inherit;
}
.shared-footer .site-footer__main,
.shared-footer .footer-contact-list,
.shared-footer .site-footer__legal {
  width: min(calc(100% - 64px), 1440px);
  margin-inline: auto;
}
.shared-footer .site-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(310px, 1.6fr) minmax(130px, .7fr) minmax(150px, .8fr) minmax(150px, .75fr);
  gap: 38px;
  padding: 4px 12px 22px;
}
.shared-footer h2 { margin: 0 0 12px; color: #101a2d; font-size: 14px; font-weight: 750; line-height: 1.35; }
.shared-footer .footer-company,
.shared-footer .footer-location,
.shared-footer .footer-links,
.shared-footer .footer-social { min-width: 0; }
.shared-footer .footer-company { padding-right: 22px; border-right: 1px solid #e2e8e4; }
.shared-footer .footer-company__logo { display: inline-block; margin-bottom: 8px; }
.shared-footer .footer-company__logo img { display: block; width: 190px; max-width: 100%; height: auto; object-fit: contain; }
.shared-footer .footer-company > p { margin: 0; color: #5e6965; font-size: 13.5px; line-height: 1.7; }
.shared-footer .footer-location__top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.shared-footer .footer-location address { display: flex; gap: 12px; margin: 0; color: #253044; font-size: 13.5px; font-style: normal; line-height: 1.65; }
.shared-footer .footer-line-icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--cmid-green, #167c4a); }
.shared-footer .footer-line-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shared-footer .footer-location__map { display: inline-flex; align-items: center; gap: 7px; margin-left: 34px; color: var(--cmid-green, #167c4a); font-size: 12.5px; font-weight: 700; }
.shared-footer .footer-links,
.shared-footer .footer-social { display: flex; flex-direction: column; align-items: flex-start; }
.shared-footer .footer-links a { width: 100%; min-height: 30px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; color: #2a3547; font-size: 13.5px; line-height: 1.45; transition: color 180ms ease, transform 180ms ease; }
.shared-footer .footer-links a:hover { color: var(--cmid-green, #167c4a); transform: translateX(2px); }
.shared-footer__social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.shared-footer .shared-footer__social-link {
  width: 38px;
  min-height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: transform 180ms ease, filter 180ms ease;
}
.shared-footer .shared-footer__social-link svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.shared-footer .shared-footer__social-link--whatsapp { background: #17ad59; }
.shared-footer .shared-footer__social-link--facebook { background: #1877f2; }
.shared-footer .shared-footer__social-link--instagram { background: linear-gradient(145deg, #6a35d4, #e52f70 55%, #f5a12b); }
.shared-footer .shared-footer__social-link--instagram svg { fill: none; }
.shared-footer .shared-footer__social-link--instagram .is-filled { fill: currentColor; stroke: none; }
.shared-footer .shared-footer__social-link--tiktok { background: #111; }
.shared-footer .shared-footer__social-link--tiktok svg { fill: none; stroke-width: 2; }
.shared-footer .shared-footer__social-link--linkedin { background: #0a66c2; }
.shared-footer .shared-footer__social-link:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.shared-footer .footer-contact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 62px;
  margin-bottom: 10px;
  padding: 8px 20px;
  border-top: 1px solid #e4eae6;
  border-bottom: 1px solid #e4eae6;
  list-style: none;
}
.shared-footer .footer-contact-list li { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; color: #263145; font-size: 13.5px; line-height: 1.4; }
.shared-footer .footer-contact-list li:not(:last-child) { border-right: 1px solid #e4eae6; }
.shared-footer .footer-contact-list strong { display: block; margin-bottom: 2px; color: #0e6b40; font-size: 12px; font-weight: 750; line-height: 1.2; }
.shared-footer .footer-contact-list a { color: inherit; }
.shared-footer .site-footer__legal {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 24px;
  border: 1px solid rgba(27,79,51,.09);
  border-radius: 14px;
  color: #66706c;
  background: #f8fbf9;
  font-size: 13px;
  line-height: 1.45;
}
.shared-footer .site-footer__legal p { margin: 0; }
.shared-footer .site-footer__legal nav { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.shared-footer .site-footer__legal a { padding: 0 20px; color: inherit; transition: color 180ms ease; }
.shared-footer .site-footer__legal a:hover { color: var(--cmid-green, #167c4a); }

@media (max-width: 1080px) {
  .shared-final-cta__panel { width: min(calc(100% - 64px), 980px); grid-template-columns: 1fr; gap: 22px; }
  .shared-footer .site-footer__main,
  .shared-footer .footer-contact-list,
  .shared-footer .site-footer__legal { width: min(calc(100% - 64px), 980px); }
  .shared-footer .site-footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shared-footer .footer-company { border-right: 0; }
  .shared-footer .footer-location { grid-column: span 2; }
}

@media (max-width: 760px) {
  .shared-final-cta { padding: 24px 0; }
  .shared-final-cta__panel { width: min(calc(100% - 32px), 620px); min-height: 0; padding: 26px 20px; border-radius: 16px; }
  .shared-final-cta h2 { font-size: 30px; }
  .shared-final-cta__actions { align-items: stretch; flex-direction: column; }
  .shared-final-cta__button { width: 100%; min-height: 50px; white-space: normal; }
  .shared-footer.site-footer { padding-top: 20px; }
  .shared-footer .site-footer__main,
  .shared-footer .footer-contact-list,
  .shared-footer .site-footer__legal { width: min(calc(100% - 32px), 620px); }
  .shared-footer .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding-inline: 0; }
  .shared-footer .footer-location { grid-column: 1 / -1; }
  .shared-footer .footer-contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 12px; }
  .shared-footer .footer-contact-list li { min-height: 52px; padding: 7px 14px; }
  .shared-footer .footer-contact-list li:nth-child(2) { border-right: 0; }
  .shared-footer .footer-contact-list li:nth-child(-n + 2) { border-bottom: 1px solid #e4eae6; }
  .shared-footer .site-footer__legal { align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px 18px; }
  .shared-footer .site-footer__legal nav { justify-content: flex-start; margin-left: -12px; }
  .shared-footer .site-footer__legal a { padding-inline: 12px; }
}

@media (max-width: 440px) {
  .shared-footer .site-footer__main { grid-template-columns: 1fr; gap: 22px; }
  .shared-footer .footer-location { grid-column: auto; }
  .shared-footer .footer-contact-list { grid-template-columns: 1fr; }
  .shared-footer .footer-contact-list li { justify-content: flex-start; min-height: 46px; padding: 7px 8px; border-right: 0 !important; }
  .shared-footer .footer-contact-list li:not(:last-child) { border-bottom: 1px solid #e4eae6; }
}

@media (prefers-reduced-motion: reduce) {
  .shared-final-cta__button,
  .shared-footer .shared-footer__social-link { transition: none; }
}
