@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #EEECDF;
  --red: #D91E27;
  --graphite: #484B58;
  --text-soft: rgba(72, 75, 88, 0.84);
  --card-bg: rgba(255, 255, 255, 0.42);
  --card-bg-accent: rgba(217, 30, 39, 0.065);
  --card-border: rgba(72, 75, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--graphite);
  font-family: "Gilroy", "Manrope", "Inter", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  min-height: 100svh;
  padding: 24px 16px 40px;
}

.layout {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.hero {
  margin-bottom: 24px;
  text-align: center;
}

.logo {
  display: block;
  width: min(62vw, 235px);
  height: auto;
  margin: 0 auto 20px;
}

.opening {
  display: inline-block;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(217, 30, 39, 0.10);
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

h1 {
  max-width: 360px;
  margin: 0 auto;
  color: var(--graphite);
  font-size: clamp(42px, 12vw, 56px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.cards {
  display: grid;
  gap: 14px;
}

.info-card,
.map-card {
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: var(--card-bg);
}

.info-card {
  padding: 20px;
}

.info-card--accent {
  background: var(--card-bg-accent);
}

.info-card p {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.45;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.card-label {
  margin-bottom: 10px !important;
  color: var(--red) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.address {
  margin: 0;
  color: var(--graphite);
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.contact-link {
  display: inline-block;
  color: var(--graphite);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  word-break: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map-card {
  overflow: hidden;
}

.map {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

@media (min-width: 560px) {
  .page {
    padding: 40px 24px 56px;
  }

  .layout {
    max-width: 560px;
  }

  .logo {
    width: 250px;
  }

  h1 {
    max-width: 500px;
    font-size: 60px;
  }

  .info-card {
    padding: 24px;
  }

  .map {
    height: 340px;
  }
}

@media (min-width: 768px) {
  .layout {
    max-width: 700px;
  }

  .cards {
    gap: 18px;
  }

  .info-card,
  .map-card {
    border-radius: 24px;
  }

  .info-card p,
  .address,
  .contact-link {
    font-size: 20px;
  }

  h1 {
    font-size: 68px;
  }

  .map {
    height: 360px;
  }
}

@media (min-width: 1100px) {
  .page {
    padding: 56px 48px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .layout {
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }

  .hero {
    position: sticky;
    top: 56px;
    margin-bottom: 0;
  }

  .logo {
    width: 280px;
    margin-bottom: 28px;
  }

  .opening {
    margin-bottom: 24px;
    font-size: 15px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(48px, 4.4vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.045em;
  }

  .cards {
    gap: 20px;
  }

  .info-card {
    padding: 28px;
  }

  .info-card p,
  .address,
  .contact-link {
    font-size: 23px;
    line-height: 1.45;
  }

  .map {
    height: 370px;
  }
}

@media (min-width: 1320px) {
  .layout {
    max-width: 1240px;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 84px;
  }

  .logo {
    width: 300px;
  }

  h1 {
    max-width: 390px;
    font-size: 62px;
  }
}
