:root {
  color: #20261b;
  background: #edf0e7;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1rem, 5vw, 4rem);
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 16% 12%, #f8faf4, transparent 64%);
}

.card {
  width: min(100%, 66rem);
  display: grid;
  grid-template-columns: minmax(13rem, .75fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 1px solid #d9dfd0;
  border-top: 5px solid #97b837;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem #252f1c10, 0 .25rem .75rem #252f1c08;
}

.brand {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.brand img {
  display: block;
  width: min(100%, 15rem);
  height: auto;
}

.details {
  padding: clamp(1.5rem, 5vw, 4rem);
  border-left: 1px solid #e1e6da;
  background: #fbfcf9;
}

h1 {
  margin: 0 0 1.7rem;
  font-size: clamp(1.7rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  margin: 0;
}

.contacts > div {
  min-width: 0;
  padding: 1rem 0;
  border-top: 1px solid #e1e6da;
}

dt {
  margin-bottom: .4rem;
  color: #505d47;
  font-size: .9rem;
  line-height: 1.4;
}

dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.primary {
  font-size: clamp(1rem, 2vw, 1.32rem);
  font-weight: 650;
  letter-spacing: -.025em;
}

.contacts .address {
  grid-column: 1 / -1;
  padding-bottom: 0;
}

@media (max-width: 50rem) {
  .card { grid-template-columns: minmax(0, 1fr); max-width: 38rem; }
  .brand { padding: 2.1rem; }
  .brand img { width: 10rem; }
  .details { border-top: 1px solid #e1e6da; border-left: 0; }
}

@media (max-width: 25rem) {
  .contacts { grid-template-columns: minmax(0, 1fr); }
}
