/* Contact information accompanies the enquiry checklist above the footer. */
.home-page .contact-action-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.home-page .contact-action .contact-action-details ul {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 28px;
}

.home-page .contact-methods {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid #4c5255;
  font-style: normal;
}

.home-page .contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c3c7ca;
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  white-space: nowrap;
}

.home-page .contact-methods a[href^="tel:"] { letter-spacing: .15em; }
.home-page .contact-methods a:hover { color: #fff; }
.home-page .contact-methods a:focus-visible { outline: 2px solid #ff6500; outline-offset: 4px; }

.home-page .contact-methods svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page #footer .crop-footer-info strong { margin-bottom: 26px; }

@media (min-width: 701px) {
  .home-page .contact-action-details { position: relative; }
  .home-page .contact-action-details::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #4c5255;
    pointer-events: none;
  }
  .home-page .contact-methods {
    transform: translateX(20px);
    border-left-color: transparent;
  }
}

@media (min-width: 1101px) {
  .home-page .contact-action { width: 33.333333%; }
  .home-page .contact-action .button { width: 100%; }
  .home-page .contact-action-details { grid-template-columns: 1fr 1.05fr; gap: 16px; }
  .home-page .contact-action .contact-action-details ul { font-size: 13px; }
  .home-page .contact-methods { padding-left: 22px; }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .home-page .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .home-page .contact-action .button { width: 100%; margin-top: 28px; }
}

@media (min-width: 1101px) and (max-width: 1500px) {
  .home-page .contact-action { width: min(520px, 48%); }
}

@media (max-width: 700px) {
  .home-page .contact { background: #1d272b; padding-bottom: 36px; overflow-anchor: none; }
  .home-page .contact-action { width: 100%; border-top: 1px solid #777e81; padding-top: 32px; }
  .home-page .contact-action > h3 { display: block; margin: 0; padding-inline: 16px; font-size: 16px; }
  .home-page .contact-action .contact-action-details ul { display: block; padding-inline: 16px; font-size: 13px; line-height: 34px; }
  .home-page .contact-action-details { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
  .home-page .contact-methods { border-left: 0; border-block: 1px solid #777e81; padding: 38px 0; width: 100%; align-items: center; gap: 4px; }
  .home-page .contact-methods a { justify-content: center; font-size: 15px; line-height: 23px; }
  .home-page .contact-methods a[href^="tel:"] {
    min-height: 36px;
    padding: 5px 10px;
    font-weight: 600;
    color: #f2f5f6;
    transition: color .18s, background-color .18s;
  }
  .home-page .contact-methods a[href^="tel:"] svg {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: rgb(255 255 255 / 7%);
    transform-origin: center;
    animation: contact-phone-nudge 6s ease-in-out infinite;
    transition: background-color .18s;
  }
  .home-page .contact-methods a[href^="tel:"]:nth-child(2) svg { animation-delay: 1.2s; }
  .home-page .contact-methods a[href^="tel:"]:active {
    color: #ff8738;
    background: rgb(255 255 255 / 6%);
  }
  .home-page .contact-methods a[href^="tel:"]:active svg {
    animation: none;
    background: rgb(255 135 56 / 15%);
  }
  .home-page .contact-action .button { width: 100%; margin-top: 24px; min-height: 44px; padding: 12px 16px; font-size: 14px; text-align: center; }
  .home-page #footer .crop-footer-info strong { margin-bottom: 0; }
}

@keyframes contact-phone-nudge {
  0%, 5%, 100% { transform: rotate(0); }
  1%, 3% { transform: rotate(-8deg); }
  2%, 4% { transform: rotate(8deg); }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .home-page .contact-methods a[href^="tel:"] svg { animation: none; }
}
