:root {
  --navy: #071b45;
  --text: #314768;
  --turquoise: #69a7b4;
  --border: #dbe3ea;
  --background: #eef4f7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

html {
  background: var(--background);
}

body {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 24px 20px;
  color: var(--text);
  font-family: Aptos, "Aptos Display", "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(105, 167, 180, 0.12), transparent 30%),
    linear-gradient(135deg, #f6f9fa 0%, #eaf1f4 100%);
}

.page-card {
  width: min(930px, 100%);
  margin: auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(219, 227, 234, 0.9);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(31, 62, 85, 0.11);
}

.hero {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 27px 29px 26px;
}

.logo-box {
  display: grid;
  flex: 0 0 122px;
  width: 122px;
  height: 122px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 19px;
}

.logo {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.hero-text {
  min-width: 0;
}

h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.9px;
}

.hero-text p {
  max-width: 650px;
  margin: 0;
  color: #324768;
  font-size: 17px;
  line-height: 1.34;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(285px, 0.85fr);
  gap: 20px;
  padding: 0 29px 28px;
}

.contact-card,
.access-card {
  min-height: 232px;
  border: 1px solid var(--border);
  border-radius: 17px;
}

.contact-card {
  padding: 20px 19px;
  background:
    radial-gradient(circle at top left, rgba(105, 167, 180, 0.07), transparent 37%),
    linear-gradient(180deg, #fcfefe 0%, #ffffff 100%);
}

.access-card {
  padding: 20px;
  background: #fff;
}

h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-item {
  display: flex;
  min-height: 39px;
  align-items: center;
  gap: 11px;
}

.contact-icon {
  display: grid;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--turquoise);
  font-size: 15px;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.contact-item a,
.contact-item span:not(.contact-icon) {
  color: #314768;
  font-size: 15px;
  line-height: 1.22;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-item a:hover {
  color: #467e89;
  text-decoration: underline;
}

.access-card p {
  max-width: 300px;
  margin: 0 0 16px;
  color: #314768;
  font-size: 15px;
  line-height: 1.48;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.button-primary {
  color: #fff;
  background: var(--turquoise);
  border-color: var(--turquoise);
  box-shadow: 0 9px 18px rgba(75, 133, 145, 0.2);
}

.button-secondary {
  color: var(--navy);
  background: #fff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 29px;
  color: #314768;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

footer span:last-child {
  white-space: nowrap;
}

@media (max-height: 650px) and (min-width: 761px) {
  body {
    place-items: start center;
  }
}

@media (max-width: 760px) {
  body {
    place-items: start center;
    padding: 14px;
  }

  .hero {
    gap: 18px;
    padding: 23px 21px;
  }

  .logo-box {
    flex-basis: 108px;
    width: 108px;
    height: 108px;
  }

  .logo {
    width: 82px;
    height: 82px;
  }

  h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .main-grid {
    grid-template-columns: 1fr;
    padding: 0 21px 22px;
  }

  .contact-card,
  .access-card {
    min-height: auto;
  }

  footer {
    padding: 17px 21px;
  }
}

@media (max-width: 520px) {
  body {
    padding: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  h1 {
    font-size: 28px;
  }

  .main-grid {
    padding-right: 14px;
    padding-left: 14px;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
