* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  padding: 12px 10px;
  display: grid;
  place-items: center;
  background: #f5f6f8;
  color: #0b1938;
  font-family: Arial, Helvetica, sans-serif;
}

.card {
  container-type: inline-size;
  width: min(100%, 600px);
  aspect-ratio: 90 / 55;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 16px;
  box-shadow: 0 12px 38px #1b29411c;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2cqi 5.5cqi;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 1.5% 0 43%;
  background: url("./logistics.png") right center / contain no-repeat;
  opacity: .29;
}

h1 {
  margin: 0;
  font-size: clamp(27px, 10cqi, 62px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}

.sub,
.service {
  font-size: clamp(13px, 3.65cqi, 22px);
}

.sub {
  margin: .4em 0 0;
  font-weight: 800;
  line-height: 1.15;
}

.service {
  margin: .35em 0 0;
  color: #47536a;
  line-height: 1.2;
}

.location {
  margin: 2.4cqi 3.8cqi 2.1cqi;
  color: #47536a;
  font-size: clamp(9px, 1.85cqi, 11px);
  font-style: normal;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.location a {
  color: inherit;
  text-decoration-color: #8893a5;
  text-underline-offset: .18em;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1cqi;
  margin: 0 3.8cqi;
  padding-top: 2cqi;
  border-top: 1px solid #e8edf3;
}

.action {
  display: flex;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, .65cqi, 5px);
  border-radius: 8px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.action:focus-visible {
  outline: 2px solid #216cc5;
  outline-offset: 1px;
}

.circle {
  display: grid;
  place-items: center;
  width: clamp(23px, 8cqi, 48px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  font-size: clamp(14px, 4.25cqi, 26px);
  line-height: 1;
}

.call {
  background: #278b3d;
}

.call::before {
  content: "";
  width: .58em;
  height: .88em;
  border: .09em solid currentColor;
  border-radius: .14em;
  box-shadow: inset 0 -.11em currentColor;
}

.email {
  background: #526681;
}

.save {
  background: #216cc5;
}

.action strong {
  font-size: clamp(11px, 2.7cqi, 16px);
  line-height: 1.15;
}

.action small {
  color: #47536a;
  font-size: clamp(9px, 2.15cqi, 13px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

@media (max-width: 300px) {
  .card {
    min-height: 174px;
  }
}
