:root {
  --contact-black: #151515;
  --contact-text: #161616;
  --contact-body: #323232;
  --contact-muted: #7e8181;
  --contact-line: #ebebeb;
  --contact-surface: #f7f7f7;
}

.contact-list-page {
  min-width: 320px;
  background: var(--contact-black);
}

.contact-list-page main {
  color: var(--contact-body);
  background: #fff;
  font-family: Pretendard, sans-serif;
}

.contact-list-container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.contact-list-hero {
  min-height: 500px;
  padding: 54px 0 74px;
  overflow: hidden;
  color: #fff;
  background-color: var(--contact-black);
  background-image:
    linear-gradient(90deg, rgba(21, 21, 21, 0.16), rgba(21, 21, 21, 0.06)),
    url('../assets/images/contact-list/contact-hero-bg.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-list-hero-copy {
  max-width: 900px;
}

.contact-list-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.6px;
}

.contact-list-hero p {
  margin: 16px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.contact-list-awards {
  width: min(900px, 78%);
  height: auto;
  margin-top: 38px;
  display: block;
}

.contact-list-advisory {
  padding: 106px 0 116px;
  background: var(--contact-surface);
}

.contact-list-advisory h2,
.contact-list-other h2 {
  margin: 0 0 40px;
  color: var(--contact-text);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.6px;
}

.contact-list-cards {
  display: grid;
  gap: 32px;
}

.contact-list-card {
  min-width: 0;
  display: flex;
  background: #fff;
}

.contact-list-card-category {
  flex: 0 0 120px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  color: var(--contact-muted);
  border-right: 1px solid var(--contact-line);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.contact-list-card-content {
  min-width: 0;
  flex: 1;
  padding: 24px;
}

.contact-list-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.contact-list-card-heading > div {
  min-width: 0;
}

.contact-list-card h3 {
  margin: 0;
  color: var(--contact-body);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.contact-list-card-heading p {
  max-width: 740px;
  margin: 6px 0 0;
  color: var(--contact-body);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.contact-list-button {
  flex: 0 0 auto;
  padding: 16px 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: var(--contact-text);
  border: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    color 350ms,
    background-color 350ms,
    border-color 350ms;
}

.contact-list-button:hover {
  color: #fff;
  background: var(--contact-muted);
}

.contact-list-button:focus-visible {
  outline: 3px solid #f64114;
  outline-offset: 3px;
}

.contact-list-card-divider {
  width: 60px;
  height: 1px;
  margin: 30px 0 24px;
  background: #bdbdbd;
}

.contact-list-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 52px;
}

.contact-list-benefits ul {
  min-width: 0;
  margin: 0;
  padding-left: 20px;
}

.contact-list-benefits li {
  margin-bottom: 8px;
  color: #525252;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}

.contact-list-benefits li:last-child {
  margin-bottom: 0;
}

.contact-list-other {
  padding: 106px 0 126px;
  background: #fff;
}

.contact-list-other-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--contact-surface);
}

.contact-list-other-card p {
  margin: 0;
  color: var(--contact-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.contact-list-button-light {
  width: 180px;
  padding: 16px 24px;
  color: var(--contact-text);
  background: #fff;
  border: 1px solid var(--contact-line);
}

.contact-list-button-light:hover {
  color: var(--contact-text);
  background: var(--contact-muted);
}

@media screen and (max-width: 991px) {
  .contact-list-container {
    width: min(100%, calc(100% - 48px));
  }

  .contact-list-hero {
    min-height: 460px;
    padding-top: 48px;
  }

  .contact-list-hero h1 {
    font-size: 50px;
  }

  .contact-list-hero p {
    font-size: 20px;
  }

  .contact-list-awards {
    width: min(820px, 92%);
  }

  .contact-list-advisory,
  .contact-list-other {
    padding-top: 82px;
    padding-bottom: 92px;
  }

  .contact-list-advisory h2,
  .contact-list-other h2 {
    font-size: 34px;
  }

  .contact-list-card-category {
    flex-basis: 108px;
    padding-inline: 20px;
  }

  .contact-list-card-heading {
    flex-direction: column;
    gap: 20px;
  }

  .contact-list-card-heading p {
    line-height: 1.5;
  }

  .contact-list-button {
    line-height: 1.3;
  }

  .contact-list-other-card p {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 767px) {
  .contact-list-container {
    width: calc(100% - 40px);
  }

  .contact-list-hero {
    min-height: 400px;
    padding: 44px 0 52px;
    background-position: 62% top;
  }

  .contact-list-hero h1 {
    font-size: 32px;
    line-height: 1;
  }

  .contact-list-hero p {
    font-size: 18px;
    line-height: 1.5;
  }

  .contact-list-awards {
    width: 100%;
    margin-top: 30px;
  }

  .contact-list-advisory,
  .contact-list-other {
    padding: 40px 0;
  }

  .contact-list-advisory h2,
  .contact-list-other h2 {
    font-size: 24px;
  }

  .contact-list-cards {
    gap: 20px;
  }

  .contact-list-card {
    flex-direction: column;
  }

  .contact-list-card-category {
    flex-basis: auto;
    padding: 18px 20px;
    flex-direction: row;
    gap: 5px;
    border-right: 0;
    border-bottom: 1px solid var(--contact-line);
  }

  .contact-list-card-content {
    padding: 22px 20px 26px;
  }

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

  .contact-list-card-heading p {
    font-size: 16px;
  }

  .contact-list-button {
    font-size: 16px;
  }

  .contact-list-button-light {
    width: 140px;
  }

  .contact-list-card-divider {
    width: 48px;
    margin: 26px 0 22px;
  }

  .contact-list-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-list-benefits li {
    font-size: 16px;
  }

  .contact-list-other-card {
    padding: 22px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .contact-list-container {
    width: calc(100% - 32px);
  }

  .contact-list-hero {
    min-height: 360px;
    padding-top: 36px;
  }

  .contact-list-hero h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .contact-list-hero p {
    font-size: 15px;
  }

  .contact-list-advisory h2,
  .contact-list-other h2 {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .contact-list-card h3 {
    font-size: 18px;
  }

  .contact-list-button {
    padding: 14px;
  }

  .contact-list-benefits li {
    margin-bottom: 6px;
  }

  .contact-list-other-card p {
    font-size: 16px;
  }

  .contact-list-card-category,
  .contact-list-card-content,
  .contact-list-other-card {
    padding-inline: 16px;
  }
}
