:root {
  color-scheme: light;
  --accent: #00a63c;
  --text: #171b20;
  --line: #dfe3e7;
  --card: #ffffff;
  --shadow: 0 10px 26px rgba(18, 27, 36, 0.11), 0 2px 6px rgba(18, 27, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem;
}

.contact {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
  object-fit: contain;
}

h1 {
  margin: clamp(0.7rem, 2vw, 1.25rem) 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.contact-card {
  width: min(100%, 470px);
  margin: 0;
  padding: 0 1.5rem;
  border: 1px solid #d8dde2;
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-style: normal;
  text-align: left;
}

.contact-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 76px;
  padding: 1rem 0;
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  line-height: 1.45;
}

.contact-row + .contact-row {
  border-top: 1px solid var(--line);
}

.icon {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

@media (max-width: 540px) {
  .page {
    padding: 1.5rem 1rem 2.5rem;
  }

  .contact-card {
    padding: 0 1.1rem;
  }

  .contact-row {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 0.85rem;
    min-height: 68px;
  }

  .icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}
