.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 6%, rgba(255, 255, 255, 0.82) 0 18%, transparent 46%),
    linear-gradient(180deg, var(--fdv-cream) 0%, #fffaf4 100%);
}

.contact-inner {
  width: min(1608px, calc(100% - 136px));
  margin: 0 auto;
  padding: 104px 0 112px;
}

.contact-header {
  max-width: 1040px;
  margin: 0 auto 58px;
  text-align: center;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--fdv-orange);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-kicker i {
  width: 58px;
  height: 2px;
  display: inline-block;
  background: var(--fdv-orange-light);
}

.contact-title {
  margin: 0;
  color: var(--fdv-navy-text);
  font-size: clamp(58px, 4.65vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-title span {
  color: var(--fdv-orange);
}

.contact-description {
  max-width: 920px;
  margin: 24px auto 0;
  color: var(--fdv-navy-text);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.62;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.contact-card {
  min-width: 0;
  border: 1px solid rgba(4, 20, 46, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(4, 20, 46, 0.08);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-card:hover {
  border-color: rgba(253, 99, 0, 0.28);
  box-shadow: 0 20px 42px rgba(4, 20, 46, 0.11);
  transform: translateY(-3px);
}

.contact-quick-card {
  min-height: 148px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  column-gap: 28px;
}

.contact-icon-shell {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(253, 99, 0, 0.08);
}

.contact-icon-shell img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.contact-card h3,
.contact-card h4 {
  margin: 0;
  color: var(--fdv-navy-text);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-card p {
  margin: 10px 0 0;
  color: var(--fdv-navy-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
}

.contact-highlight {
  display: inline-block;
  margin-top: 10px;
  color: var(--fdv-orange);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-main-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 34px;
  align-items: stretch;
}

.contact-hours-card {
  min-height: 382px;
  padding: 32px 34px 28px;
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.contact-heading-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.contact-hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-hours-list li {
  min-height: 44px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 58px 14px 58px;
  align-items: center;
  column-gap: 8px;
  border-top: 1px solid rgba(58, 62, 87, 0.12);
  color: var(--fdv-navy-text);
  font-size: 15px;
  font-weight: 700;
}

.contact-hours-list li:first-child {
  border-top: 0;
}

.contact-hours-list li.is-today {
  position: relative;
  margin: 4px -10px;
  padding: 0 10px;
  border-top-color: transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(253, 99, 0, 0.09), rgba(18, 114, 198, 0.06));
  box-shadow: inset 0 0 0 1px rgba(253, 99, 0, 0.12);
}

.contact-hours-list li.is-today + li {
  border-top-color: transparent;
}

.contact-hours-list li::before {
  width: 6px;
  height: 6px;
  justify-self: center;
  border-radius: 999px;
  background: var(--fdv-orange);
  content: "";
}

.contact-hours-list span {
  min-width: 0;
}

.contact-hours-list .contact-time {
  text-align: center;
  font-weight: 500;
}

.contact-hours-list .contact-dash {
  color: var(--fdv-line);
  text-align: center;
  font-weight: 500;
}

.contact-hours-list .contact-closed {
  grid-column: 3 / 6;
  text-align: center;
  font-weight: 500;
}

.contact-map-card {
  position: relative;
  min-height: 382px;
  overflow: hidden;
  border-radius: 14px;
  background: #f4efe5;
}

.contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-label {
  position: absolute;
  z-index: 2;
  min-width: 270px;
  top: 36px;
  left: 40px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  border: 1px solid rgba(4, 20, 46, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(4, 20, 46, 0.12);
}

.contact-map-label img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.contact-map-label strong {
  display: block;
  color: var(--fdv-navy-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-map-label span {
  display: block;
  margin-top: 4px;
  color: var(--fdv-navy-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.contact-bottom-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 34px;
  align-items: stretch;
}

.contact-departments-card {
  min-height: 156px;
  padding: 28px 34px 26px;
}

.contact-departments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.contact-department {
  min-width: 0;
  padding: 0 30px;
}

.contact-department:first-child {
  padding-left: 0;
}

.contact-department + .contact-department {
  border-left: 1px solid rgba(58, 62, 87, 0.22);
}

.contact-department h4 {
  font-size: 16px;
  line-height: 1.2;
}

.contact-department a {
  display: inline-block;
  margin-top: 14px;
  color: var(--fdv-orange);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 160ms ease, transform 160ms ease;
}

.contact-department a:hover {
  color: #ff741d;
  transform: translateY(-1px);
}

.contact-email-card {
  min-height: 156px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  column-gap: 30px;
}

.contact-email-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--fdv-orange);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: color 160ms ease, transform 160ms ease;
}

.contact-email-card a:hover {
  color: #ff741d;
  transform: translateY(-1px);
}

@media (min-width: 1000px) and (max-width: 1500px) {
  .contact-inner {
    width: min(1240px, calc(100% - 64px));
    padding: 82px 0 92px;
  }

  .contact-header {
    margin-bottom: 48px;
  }

  .contact-title {
    font-size: clamp(48px, 4vw, 58px);
  }

  .contact-description {
    font-size: 16px;
  }

  .contact-quick-grid,
  .contact-main-grid,
  .contact-bottom-grid {
    gap: 24px;
  }

  .contact-quick-card {
    min-height: 132px;
    padding: 22px 24px;
    grid-template-columns: 70px minmax(0, 1fr);
    column-gap: 18px;
  }

  .contact-icon-shell {
    width: 70px;
    height: 70px;
  }

  .contact-icon-shell img {
    width: 58px;
    height: 58px;
  }

  .contact-card h3,
  .contact-card h4 {
    font-size: 20px;
  }

  .contact-card p {
    font-size: 14px;
  }

  .contact-highlight,
  .contact-department a,
  .contact-email-card a {
    font-size: 15px;
  }

  .contact-hours-card,
  .contact-map-card {
    min-height: 330px;
  }

  .contact-hours-card {
    padding: 28px 28px 24px;
  }

  .contact-hours-list li {
    min-height: 39px;
    grid-template-columns: 18px minmax(0, 1fr) 54px 12px 54px;
    column-gap: 7px;
    font-size: 13.5px;
  }

  .contact-map-label {
    min-width: 250px;
    left: 28px;
    top: 28px;
  }

  .contact-departments-card,
  .contact-email-card {
    min-height: 142px;
    padding: 24px 28px;
  }

  .contact-department {
    padding: 0 22px;
  }

  .contact-email-card {
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 24px;
  }
}

@media (min-width: 1000px) and (max-width: 1179px) {
  .contact-quick-grid {
    width: min(840px, 100%);
    margin: 0 auto;
  }

  .contact-quick-card {
    padding: 20px 18px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .contact-main-grid,
  .contact-bottom-grid {
    width: min(840px, 100%);
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-bottom-grid {
    margin-top: 24px;
  }

  .contact-departments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
