/* The two navigation bands share the same grid on every page. */
:root {
  --resort-mast-height: 82px;
  --resort-band-height: 56px;
  --resort-header-height: calc(var(--resort-mast-height) + var(--resort-band-height));
}

html {
  scroll-padding-top: calc(var(--resort-header-height) + 14px);
}

.resort-mast {
  --nav-paper: #f9f8f3;
  --nav-ink: #304b44;
  --nav-label: #53665d;
  --nav-line: #d8ded4;
  --nav-action: #405f52;
  position: sticky;
  z-index: 60;
  top: 0;
  color: var(--nav-ink);
  background: var(--nav-paper);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.4;
  border-bottom: 1px solid var(--nav-line);
}

.resort-mast::before {
  content: "";
  position: absolute;
  inset: var(--resort-mast-height) 0 auto;
  height: 1px;
  background: var(--nav-line);
  pointer-events: none;
}

.resort-nav-shell {
  width: min(1512px, 100%);
  margin-inline: auto;
  padding-inline: clamp(28px, 4.6vw, 72px);
}

.resort-mast-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-rows: var(--resort-mast-height) var(--resort-band-height);
  column-gap: clamp(20px, 2.4vw, 42px);
  align-items: center;
}

.resort-mast a,
.resort-mast summary {
  color: inherit;
  text-decoration: none;
}

.resort-mast a:focus-visible,
.resort-mast summary:focus-visible {
  outline: 3px solid #607f6f;
  outline-offset: 3px;
}

.resort-identity {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  max-width: 100%;
}

.resort-identity .logo-symbol {
  flex: none;
  width: 47px;
  height: 47px;
  color: #587466;
}

.resort-identity .logo-symbol path,
.resort-identity .logo-symbol circle {
  stroke-width: 1.55;
}

.resort-identity-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: nowrap;
}

.resort-identity-copy strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  line-height: .92;
  font-weight: 600;
  letter-spacing: -.035em;
  text-transform: none;
}

.resort-identity-copy small {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .012em;
  color: var(--nav-label);
}

.resort-address,
.resort-phone,
.resort-reserve,
.resort-menu-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 9px;
  white-space: nowrap;
}

.resort-address {
  grid-area: 1 / 2;
  justify-self: start;
  margin-left: clamp(0px, 2vw, 30px);
  color: var(--nav-label);
  font-size: 13px;
  font-weight: 500;
}

.resort-phone {
  grid-area: 1 / 3;
  justify-self: end;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.resort-mast .resort-reserve,
.resort-mast .resort-menu-reserve {
  justify-self: end;
  border-radius: 5px;
  background: var(--nav-action);
  color: #fffef7;
  min-height: 45px;
  padding: 9px 17px;
  font-size: 15px;
  font-weight: 600;
  transition: background .15s ease;
}

.resort-reserve {
  grid-area: 1 / 4;
}

.resort-mast .resort-reserve:hover,
.resort-mast .resort-menu-reserve:hover {
  background: #304d41;
}

.resort-primary {
  grid-area: 2 / 1 / 3 / 4;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  align-self: stretch;
  min-width: 0;
  gap: 15px;
}

.resort-primary a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.resort-primary a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
}

.resort-primary a:hover::after,
.resort-primary a[aria-current]::after {
  background: #789280;
}

.resort-directory {
  grid-area: 2 / 4;
  justify-self: end;
}

.resort-directory-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  padding: 5px 0 5px 12px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.resort-directory-toggle::-webkit-details-marker {
  display: none;
}

.resort-toggle-symbol {
  display: inline-flex;
  width: 18px;
  height: 16px;
  flex: none;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 1.5px;
}

.resort-toggle-symbol i {
  height: 1.5px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
}

.resort-directory[open] .resort-toggle-symbol i:first-child {
  transform: translateY(5.75px) rotate(45deg);
}

.resort-directory[open] .resort-toggle-symbol i:nth-child(2) {
  visibility: hidden;
}

.resort-directory[open] .resort-toggle-symbol i:last-child {
  transform: translateY(-5.75px) rotate(-45deg);
}

.resort-small-label {
  display: none;
}

.resort-menu-panel {
  position: absolute;
  inset: 100% 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: calc(100vh - var(--resort-header-height));
  max-height: calc(100dvh - var(--resort-header-height));
  border-block: 1px solid var(--nav-line);
  background: var(--nav-paper);
  box-shadow: 0 12px 24px rgb(34 53 46 / 10%);
}

.resort-menu-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 70px);
  padding-block: 25px 21px;
}

.resort-menu-group h2 {
  margin: 0 0 9px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-transform: none;
}

.resort-menu-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resort-menu-group li a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 39px;
  padding-block: 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.resort-menu-group a:hover,
.resort-menu-group a[aria-current],
.resort-address:hover span,
.resort-phone:hover,
.resort-menu-phone:hover,
.resort-menu-mail:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.resort-menu-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(12px, 2.1vw, 27px);
  padding-block: 15px 18px;
  border-top: 1px solid var(--nav-line);
}

.resort-menu-contacts,
.resort-menu-messengers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resort-menu-contacts {
  flex-wrap: wrap;
  gap: 6px 14px;
}

.resort-menu-contacts .resort-menu-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.resort-menu-messengers .contact-messenger {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  border: 1px solid var(--nav-line);
  border-radius: 6px;
  background: var(--nav-paper);
  color: var(--nav-action);
  cursor: pointer;
}

.resort-menu-messengers .contact-messenger:hover,
.resort-menu-messengers .contact-max[open] .contact-messenger {
  border-color: #a8b8ac;
  background: #e8eee6;
}

.resort-menu-messengers .contact-max-tip {
  inset: auto auto 100% 0;
  margin: 0 0 6px;
  box-shadow: 0 6px 20px rgb(35 59 50 / 14%);
}

.resort-menu-messengers .contact-max-tip a {
  text-decoration: underline;
}

.resort-menu-phone {
  font-size: 18px;
  font-weight: 600;
}

.resort-menu-mail {
  font-size: 15px;
}

.resort-menu-reserve {
  margin-left: auto;
}

@media (max-width: 1120px) {
  .resort-address {
    margin-left: 0;
    font-size: 12px;
  }

  .resort-mast-grid {
    column-gap: 20px;
  }
}

@media (max-width: 980px) {
  :root {
    --resort-mast-height: 75px;
    --resort-band-height: 51px;
  }

  .resort-nav-shell {
    padding-inline: 28px;
  }

  .resort-mast-grid {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0 22px;
  }

  .resort-address,
  .resort-mast .resort-reserve,
  .resort-wide-label {
    display: none;
  }

  .resort-phone {
    grid-area: 1 / 2;
    font-size: 16px;
  }

  .resort-directory {
    grid-area: 1 / 3;
  }

  .resort-directory-toggle {
    min-height: 45px;
    padding: 8px 14px;
    border: 1px solid #a8b8ac;
    border-radius: 5px;
    gap: 9px;
    font-size: 16px;
  }

  .resort-directory[open] .resort-directory-toggle {
    background: #e6ece3;
  }

  .resort-small-label {
    display: inline;
  }

  .resort-primary {
    grid-column: 1 / -1;
    gap: 14px;
  }

  .resort-primary a {
    font-size: 16px;
  }
}

@media (max-width: 710px) {
  .resort-primary .resort-nav-optional {
    display: none;
  }

  .resort-primary a {
    font-size: 17px;
  }

  .resort-menu-groups {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 22px;
  }

  .resort-menu-group + .resort-menu-group {
    border-top: 1px solid var(--nav-line);
    padding-top: 18px;
  }

  .resort-menu-group h2 {
    font-size: 26px;
  }

  .resort-menu-group li a {
    min-height: 44px;
    font-size: 16px;
  }

  .resort-menu-foot {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .resort-menu-reserve {
    margin-left: 0;
  }
}

@media (max-width: 580px) {
  :root {
    --resort-mast-height: 70px;
    --resort-band-height: 46px;
  }

  .resort-nav-shell {
    padding-inline: clamp(14px, 4.8vw, 22px);
  }

  .resort-mast-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 9px;
  }

  .resort-phone {
    display: none;
  }

  .resort-directory {
    grid-column: 2;
  }

  .resort-identity {
    gap: 8px;
  }

  .resort-identity .logo-symbol {
    width: 35px;
    height: 35px;
  }

  .resort-identity-copy {
    gap: 2px;
  }

  .resort-identity-copy strong {
    font-size: 29px;
  }

  .resort-identity-copy small {
    font-size: 10.5px;
  }

  .resort-directory-toggle {
    padding-inline: 10px;
    font-size: 15px;
  }

  .resort-primary {
    gap: 8px;
  }

  .resort-primary a {
    font-size: 17px;
  }

  .resort-menu-panel > .resort-nav-shell {
    display: flex;
    flex-direction: column;
  }

  .resort-menu-foot {
    order: -1;
    justify-content: space-between;
    gap: 12px;
    border-top: 0;
    border-bottom: 1px solid var(--nav-line);
    padding-block: 12px;
  }

  .resort-menu-messengers .contact-max-tip {
    inset: 100% auto auto 0;
    margin: 6px 0 0;
  }

  .resort-menu-mail {
    display: none;
  }

  .resort-menu-phone {
    font-size: 15px;
  }

  .resort-mast .resort-menu-reserve {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 350px) {
  .resort-nav-shell {
    padding-inline: 12px;
  }

  .resort-mast-grid,
  .resort-identity {
    column-gap: 6px;
  }

  .resort-identity .logo-symbol {
    width: 26px;
    height: 29px;
  }

  .resort-identity-copy strong {
    font-size: 24.5px;
  }

  .resort-identity-copy small {
    font-size: 10px;
  }

  .resort-directory-toggle {
    gap: 6px;
    padding-inline: 7px;
  }

  .resort-primary a {
    font-size: 16px;
  }
}
