@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/public/templates/_shared/d6854d4b18ea4c43c24a.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/public/templates/_shared/3e08701b69e94031d861.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #14151a;
  --muted: rgba(20, 21, 26, 0.6);
  --line: rgba(20, 21, 26, 0.2);
  --accent: #21536c;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.contact-page {
  min-height: 100svh;
}

.contact-section {
  width: min(1200px, calc(100% - 64px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 80px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.contact-map {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(20, 21, 26, 0.3);
  border-radius: 20px;
  background: #f2f2f2;
}

.contact-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.contact-heading h1 span {
  display: block;
}

.contact-heading p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.contact-details hr {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px 90px;
}

.contact-item {
  min-width: 0;
}

.contact-icon {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h2 {
  margin: 16px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.contact-value {
  display: block;
  margin: 0;
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.contact-value--email {
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.contact-value--address {
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
}

.contact-value[href^="tel:"] {
  color: #333333;
}

.contact-value:hover {
  color: var(--accent);
}

.contact-value:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 750px) {
  .contact-section {
    width: calc(100% - 51px);
    min-height: auto;
    margin-left: 23px;
    margin-right: 28px;
    padding: 70px 0 50px;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 50px;
  }

  .contact-details {
    gap: 40px;
    order: 1;
  }

  .contact-map {
    order: 2;
  }

  .contact-heading h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .contact-heading p {
    margin-top: 20px;
    line-height: 1.8;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }

  .contact-item h2 {
    margin: 20px 0;
  }

}
