﻿/* Credit links stay outside the SVG so the attribution remains readable at 390px. */
#coverage figure { margin: 0; width: 100%; min-width: 0; }
#coverage .map-image { width: 100%; height: auto; display: block; }
#coverage figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding-top: .65rem;
  font-size: .86rem;
}
#coverage .map-copy > a, #coverage figcaption a, .faq-section--cards .section-subtitle a {
  color: #075985;
  text-decoration: underline;
  text-underline-offset: .18em;
}
#coverage .contact-split__subtitle { max-width: 42ch; }
#coverage .map-copy > a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 12px;
}
#coverage { scroll-margin-top: 0; } /* The page already reserves the fixed header with scroll-padding-top. */
#coverage .contact-split__info h2 { text-align: left; }
#coverage .map-copy { gap: 14px; }
#coverage .map-copy .section-title,
#coverage .map-copy .contact-split__subtitle,
#coverage .map-copy > a { margin-block: 0; }
#coverage .contact-split__benefits { gap: 8px; }
#coverage .contact-split__benefit { padding: 12px 16px; }
#coverage .contact-split__benefit span { line-height: 1.45; }
@media (min-width: 993px) {
  #coverage .map-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #coverage .contact-split__card {
    align-self: center;
    height: auto;
    min-height: 0;
    padding: 16px;
  }
}
.home-request-slot { text-align: start; }
body.page-home #faq { scroll-margin-top: 16px; }
.faq-cards-grid summary:focus-visible {
  outline: 2px solid #075985;
  outline-offset: -4px;
  border-radius: inherit;
}
@media (min-width: 769px) {
  body.page-home .popular-services-grid > .popular-service-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-items: start;
    justify-items: start;
    row-gap: 0;
  }
}
@media (max-width: 350px) {
  body.page-home.home-video .popular-service-card__cta {
    font-size: clamp(12px, 3.75vw, 13px);
    padding-inline: 5px;
  }
}
@media (min-width: 641px) {
  body.page-home .advantages-grid--stage4 > .advantage-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-items: start;
    row-gap: 0;
  }
  body.page-home .work-cases-grid > .work-case-card:not(.is-hidden) {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  body.page-home .work-case-card__body {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-items: start;
  }
  body.page-home .work-case-card__format {
    margin-top: 0;
  }
}
@media (min-width: 993px) {
  /* Closed questions form pairs. An expanded answer retains the reference's
     independent columns and the native accordion behaviour. */
  #faq .faq-cards-grid:not(:has(> details[open])) {
    grid-auto-flow: row;
    grid-auto-rows: auto;
    row-gap: 20px;
    align-items: stretch;
  }
  #faq .faq-cards-grid:not(:has(> details[open])) > .home-faq-card {
    grid-row: auto;
  }
  #faq .faq-cards-grid:not(:has(> details[open])) summary {
    height: 100%;
  }
}
@media (max-width:599px) {
  .home-request-slot { display: grid; }
  body.page-home.home-video { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

#work-cases .visit-case__label {
  display: block;
  margin-bottom: .2rem;
  color: #174a66;
  font-weight: 750;
}
#work-cases .visit-case span.work-case-card__result {
  display: block;
}
#work-cases .visit-case__payment {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  align-self: end;
  margin: .4rem 0 0;
  font-size: .9rem;
}
#work-cases .visit-case__payment > div {
  display: flex;
  flex-wrap: wrap;
  gap: .3em;
}
#work-cases .visit-case__payment dt {
  color: #526277;
}
#work-cases .visit-case__payment dd {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
  overflow-wrap: anywhere;
}
