:root {
  --bg: #d8d0cb;
  --text: #4f504f;
  --panel: rgba(255, 255, 255, 0.28);
  --panel-border: rgba(255, 255, 255, 0.6);
  --shadow: rgba(91, 81, 74, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100svh;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(135deg, #dcd4cf 0%, #d4cbc6 55%, #cec4be 100%);
}

.page {
  min-height: 100svh;
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100svh;
}

.hero__left {
  position: relative;
  min-height: 100svh;
}

.hero__panel {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__contact {
  position: absolute;
  left: 10.5%;
  bottom:5%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: clamp(4rem, 10vw, 10rem);
  row-gap: 0.75rem;
  z-index: 1;
}

.hero__contact a {
  color: #5a5a59;
  text-decoration: none;
  font-size: clamp(1rem, 1.3vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

@media (min-width: 901px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page,
  .hero,
  .hero__left {
    height: 100svh;
    min-height: 100svh;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__left {
    min-height: auto;
  }

  .hero__panel {
    height: auto;
  }

  .hero__contact {
    left: 10.5%;
    bottom: 6%;
    column-gap: 1rem;
    row-gap: 0.5rem;
  }

  .hero__contact a {
    font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  }
}

@media (max-width: 450px) {
  .hero__contact {
    flex-direction: column;
    align-items: flex-start;
    column-gap: 0;
    row-gap: 0.4rem;
     bottom: -4%;
  }

  .hero__contact a {
    font-size: clamp(1.05rem, 4.8vw, 1.3rem);
  }
}
