:root {
  color: #193b5e;
  font-family: Garet, "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  background: #f4f7fa;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 48% 43%, #fff 0, #f7f9fb 43%, #e8eef4 100%);
}

.home {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 34px;
}

.home-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  width: min(1080px, 100%);
  min-height: min(600px, calc(100vh - 68px));
  overflow: hidden;
  border: 1px solid #dbe4ec;
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 62px rgba(27, 57, 90, .14);
}

.home-brand {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100%;
  padding: clamp(52px, 9vw, 104px) clamp(34px, 8vw, 104px);
  text-align: center;
}

.home-logo-frame {
  display: flex;
  width: min(620px, 100%);
  align-items: center;
  justify-content: center;
}

.home-logo {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
}

.home-subtitle {
  margin: 20px 0 0;
  color: #708296;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-navigation {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 40px 22px 26px;
  border-left: 1px solid #e1e8ee;
  background: linear-gradient(180deg, #f8fafc, #f2f6f9);
}

.navigation-label {
  margin: 0 0 8px;
  color: #7b8b9c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 0 14px;
  border-radius: 12px;
  background: #173f66;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 7px 15px rgba(23, 63, 102, .18);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.home-main-actions { display: grid; gap: 10px; }
.home-button-secondary { color: #234969; background: #fff; border: 1px solid #c9d7e3; box-shadow: none; }
.home-button-secondary:hover,
.home-button-secondary:focus-visible { color: #173f66; background: #edf4f8; box-shadow: 0 7px 15px rgba(23, 63, 102, .1); }

.home-button:hover,
.home-button:focus-visible {
  background: #245783;
  box-shadow: 0 10px 20px rgba(23, 63, 102, .28);
  transform: translateY(-2px);
}

.home-button:focus-visible { outline: 3px solid #a8c5df; outline-offset: 3px; }

.airbnb-access {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #dfe7ee;
}

.airbnb-title {
  margin: 0 0 10px;
  color: #7a8998;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.airbnb-actions { display: grid; gap: 7px; }

.airbnb-button {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #dbe4ec;
  border-radius: 10px;
  background: #fff;
  color: #496176;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.airbnb-button span {
  display: inline-grid;
  width: 17px;
  color: #e66157;
  font-size: 16px;
  font-weight: 800;
  place-items: center;
}

.airbnb-button:hover,
.airbnb-button:focus-visible {
  border-color: #f0a29d;
  background: #fff6f5;
  transform: translateY(-1px);
}

.airbnb-button:focus-visible { outline: 3px solid #f7c8c4; outline-offset: 2px; }

@media (max-width: 720px) {
  .home { padding: 18px; place-items: stretch; }

  .home-card {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 36px);
    border-radius: 24px;
  }

  .home-brand {
    min-height: 48vh;
    padding: 54px 26px 35px;
  }

  .home-logo-frame { width: min(480px, 100%); }

  .home-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 24px 20px 22px;
    border-top: 1px solid #e1e8ee;
    border-left: 0;
  }

  .navigation-label,
  .airbnb-access { grid-column: 1 / -1; }

  .navigation-label { margin: 0 0 2px; }
  .airbnb-access { margin-top: 4px; padding-top: 17px; }
  .airbnb-actions { grid-template-columns: repeat(3, 1fr); }
  .airbnb-button { justify-content: center; padding: 0 5px; }
  .airbnb-button span { width: auto; }
}

@media (max-width: 420px) {
  .home { padding: 12px; }
  .home-card { min-height: calc(100vh - 24px); border-radius: 20px; }
  .home-brand { min-height: 43vh; padding: 44px 20px 25px; }
  .home-subtitle { margin-top: 16px; font-size: 11px; }
  .home-navigation { padding: 20px 15px 17px; }
  .home-button { padding: 0 11px; font-size: 13px; }
  .airbnb-button { font-size: 11px; }
}
