/* Concept E: discreet operating-company location panel. */
.footer-company-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.footer-company-links button,
.footer-company-links a {
  position: relative;
  border: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s ease;
}

.footer-company-links button:not(:last-child)::after,
.footer-company-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 1px;
  height: 11px;
  background: #d5deea;
  transform: translateY(-50%);
}

.footer-company-links button:hover,
.footer-company-links a:hover {
  color: var(--red);
}

body.company-open {
  overflow: hidden;
}

.company-drawer {
  position: fixed;
  z-index: 150;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.company-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.company-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 40, .54);
  backdrop-filter: blur(3px);
}

.company-card {
  position: absolute;
  top: 0;
  right: 0;
  width: min(485px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: clamp(46px, 7vh, 74px) 42px 38px;
  color: var(--navy);
  background: #fff;
  box-shadow: -26px 0 74px rgba(5, 18, 40, .16);
  transform: translateX(24px);
  transition: transform .32s ease;
}

.company-drawer.open .company-card {
  transform: translateX(0);
}

.company-close {
  position: absolute;
  top: 23px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 1px solid #dce4ef;
  border-radius: 13px;
  color: var(--navy);
  background: #f7f9fc;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.company-card .eyebrow {
  margin-bottom: 17px;
}

.company-card h2 {
  margin-bottom: 17px;
  font-size: clamp(31px, 4vw, 39px);
  line-height: 1.25;
}

.company-summary {
  margin-bottom: 32px;
  font-size: 15px;
}

.company-details {
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid #e4eaf2;
  border-radius: 19px;
}

.company-row {
  display: grid;
  gap: 6px;
  padding: 19px 21px;
  border-bottom: 1px solid #e9eef5;
}

.company-row small,
.company-contact-grid small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .19em;
}

.company-row strong {
  color: var(--navy);
  font-size: 16px;
}

.company-row span {
  color: var(--text);
  font-size: 13px;
}

.company-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.company-contact-grid a {
  display: grid;
  gap: 8px;
  padding: 19px 16px 20px 21px;
  transition: background .18s ease;
}

.company-contact-grid a + a {
  border-left: 1px solid #e9eef5;
}

.company-contact-grid a:hover {
  background: #f6f9fd;
}

.company-contact-grid strong {
  color: var(--navy);
  font-size: 12px;
  letter-spacing: -.02em;
}

.company-visit-note {
  margin-bottom: 27px;
  padding: 14px 17px;
  color: var(--text);
  background: var(--soft);
  border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0;
  font-size: 13px;
}

.company-actions {
  display: grid;
  gap: 10px;
}

.company-actions .btn {
  min-height: 51px;
  font-size: 14px;
}

.company-actions .map {
  color: var(--navy);
  background: #fff;
  border-color: #d6dfeb;
}

.company-actions .map:hover {
  transform: translateY(-1px);
  border-color: #bdccdf;
  background: #f7f9fc;
}

@media (max-width: 760px) {
  .footer-company-links {
    justify-content: center;
  }

  .company-card {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(82vh, 680px);
    padding: 43px 20px 22px;
    border-radius: 24px 24px 0 0;
    transform: translateY(28px);
  }

  .company-drawer.open .company-card {
    transform: translateY(0);
  }

  .company-close {
    top: 15px;
    right: 18px;
    width: 39px;
    height: 39px;
    font-size: 24px;
  }

  .company-card h2 {
    font-size: 29px;
  }

  .company-summary {
    margin-bottom: 22px;
    padding-right: 10px;
  }

  .company-contact-grid {
    grid-template-columns: 1fr;
  }

  .company-contact-grid a + a {
    border-top: 1px solid #e9eef5;
    border-left: 0;
  }
}
