.oga-footer {
  background: #ffffff;
  color: #1F2A30;
}

.footer-quick {
  padding: 40px 5%;
  background: #F8FAFB;
  border-block: 1px solid #E9EEF1;
}

.footer-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.oga-footer button,
.oga-footer a {
  font: inherit;
  text-align: left;
}

.oga-footer .footer-quick-action {
  --footer-accent: #0F6B6F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 20px 24px;
  color: #163D57;
  background: #ffffff;
  border: 1px solid #D5DEE3;
  border-left: 2px solid var(--footer-accent);
  border-radius: 0;
  font-weight: 600;
  line-height: 1.5;
}

.footer-quick-action:nth-child(2) { --footer-accent: #163D57; }
.footer-quick-action:nth-child(3) { --footer-accent: #2D8D93; }
.footer-quick-action:nth-child(4) { --footer-accent: #0F6B6F; }
.oga-footer button:disabled { opacity: 1; cursor: default; }
.oga-footer .footer-arrow { color: #0F6B6F; flex-shrink: 0; }
.oga-footer .footer-quick-action:disabled .footer-arrow { color: #6B7280; }

.footer-institutional {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 56px;
  max-width: 1424px;
  margin: 0 auto;
  padding: 64px 5% 72px;
}

.footer-logo { display: block; max-width: 360px; margin-bottom: 24px; }
.footer-logo img { display: block; width: 100%; height: auto; }

.oga-footer h2 {
  margin: 0 0 22px;
  color: #163D57;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.oga-footer p {
  margin: 22px 0 0;
  color: #1F2A30;
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #D5DEE3;
  color: #0F6B6F;
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-secondary a,
.footer-secondary button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  color: #1F2A30;
  background: transparent;
  font-size: 0.875rem;
  line-height: 1.5;
}

.oga-footer a:hover { color: #0F6B6F; }
.footer-contact-actions a:hover,
.oga-footer a.footer-quick-action:hover { background: #E9EEF1; border-color: #2D8D93; }
.oga-footer a:focus-visible { outline: 2px solid #0F6B6F; outline-offset: 4px; }
.footer-mobile-bar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .oga-footer a { transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
  .footer-arrow { transition: transform 250ms ease; }
  .oga-footer a:hover .footer-arrow { transform: translateX(3px); }
}

@media (max-width: 1000px) {
  .footer-institutional { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-identity-block { grid-column: 1 / -1; }
  .footer-logo { max-width: 340px; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .footer-quick { padding: 28px 24px; }
  .footer-quick-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .oga-footer .footer-quick-action { min-height: 64px; padding: 16px; font-size: 0.9375rem; }
  .footer-institutional { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 24px 48px; }
  .footer-identity-block { grid-column: auto; }
  .footer-logo { max-width: 320px; }
  .oga-footer h2 { margin-bottom: 16px; }
  .footer-mobile-bar {
    position: fixed;
    z-index: 900;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: calc(68px + env(safe-area-inset-bottom, 0px));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    border-top: 1px solid #D5DEE3;
    background: #ffffff;
  }
  .footer-mobile-bar a,
  .footer-mobile-bar button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 48px;
    padding: 6px 8px;
    border: 0;
    background: #F8FAFB;
    color: #0F6B6F;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
  }
  .footer-mobile-bar button:disabled { background: #163D57; color: #ffffff; }
  .footer-mobile-bar .footer-arrow { display: none; }
}
