/* =========================================================
   01. Global Variables
   ========================================================= */

:root {
  --og-navy: #1f2733;
  --og-ink: #26303d;
  --og-white: #ffffff;
  --og-muted: rgba(38, 48, 61, 0.62);
  --og-khaki: #AFC1C9;
  --og-khaki-text: #515151;
  --og-blue: #AFC1C9;
  --og-blue-text: #29343e;
  --og-border: rgba(31, 39, 51, 0.08);
  --og-shadow: 0 18px 14px rgba(20, 20, 20, 0.16);
}


/* =========================================================
   02. Base Reset
   ========================================================= */

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* =========================================================
   03. Sticky Header Wrapper
   ========================================================= */
.site-nav__toggle {
  display: none;
}

.site-header {
  background-color: #fff;
  position: fixed;
  inset: 0 0 auto;
  top: 12px;
  left: 50%;

  z-index: 1000;
  width: min(100%, 98vw);
  min-height: 70px;
  padding: 0px 7px 0 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--og-border);
  backdrop-filter: none;
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;

  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transition: box-shadow 0.28s ease, min-height 0.28s ease, padding 0.28s ease, top 0.28s ease;
  -webkit-transition: box-shadow 0.28s ease, min-height 0.28s ease, padding 0.28s ease, top 0.28s ease;
  -moz-transition: box-shadow 0.28s ease, min-height 0.28s ease, padding 0.28s ease, top 0.28s ease;
  -ms-transition: box-shadow 0.28s ease, min-height 0.28s ease, padding 0.28s ease, top 0.28s ease;
  -o-transition: box-shadow 0.28s ease, min-height 0.28s ease, padding 0.28s ease, top 0.28s ease;
}

.home .site-header,
.page-template-default .site-header {
  background: var(--og-white);
}

.site-header.is-scrolled {
  top: 12px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.2);
}

/* =========================================================
   04. Right Side: phone pill + CTA pill
   ========================================================= */

.site-header__right-inner {
  display: flex;
  align-items: center;
}

.site-header__right-spacer {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.hero_btn {
  position: absolute;
  bottom: 70px;
  display: flex;
  justify-content: center;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.site-header__actions .site-btn__book {
  border: 2px solid var(--og-blue);
}

.site-btn__book {
	min-height: 58px;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 0 8px 0 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--og-blue);
	color: var(--og-blue-text);
	font-size: 15px;
	transition: all 0.2s ease;
	position: relative;
	z-index: 11;
	justify-content: space-between;
	font-weight: 600;
}

.btn__book-light {
  background: var(--og-white);
  color: var(--og-blue-text);
  border: 1px solid var(--og-border);
  position: relative;
  z-index: 11;
}

.btn__book-card {
  background: var(--og-white);
  color: var(--og-blue-text);
  border: 2px solid var(--og-border);
  position: relative;
  z-index: 11;
}

.header-btn-text--mobile {
  display: none;
}

@media (max-width: 1099px) {

  .header-btn-text--desktop {
    display: none;
  }

  .header-btn-text--mobile {
    display: inline;
  }

}

.site-btn__book span.svg_icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--og-white);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.site-btn__book:hover span.svg_icon,
.btn__book-light span.svg_icon {
  background: var(--og-blue);
}

.hero__content .site-btn__book:hover span.svg_icon {
  background: #FFF;
}


.site-btn__book span svg {
  width: 12px;
  height: 12px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* New arrow */
.site-btn__book span.svg_icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  top: 50%;
  background: #000;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12l-11-8v6h-13v4h13v6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12l-11-8v6h-13v4h13v6z'/%3E%3C/svg%3E") center / contain no-repeat;

  transform: translate(-50%, -50%) translateX(-40px);
  z-index: 1;
}

/* Hover out */
.site-btn__book:hover span svg {
  animation: slideOut 0.6s forwards;
}

/* Hover in */
.site-btn__book:hover span::after {
  animation: slideIn 0.6s forwards;
}

@keyframes slideOut {
  from {
    transform: translate(-50%, -50%) translateX(0);
  }

  to {
    transform: translate(-50%, -50%) translateX(40px);
  }
}

@keyframes slideIn {
  from {
    transform: translate(-50%, -50%) translateX(-40px);
  }

  to {
    transform: translate(-50%, -50%) translateX(0);
  }
}

.site-btn__book:focus,
.site-btn__book:hover,
.site-btn__book:focus-visible {
  outline: none;
  transform: translateY(-2px);
  color: #000;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  background: #fff;
  border: 2px solid var(--og-blue);
}

.hero__content .site-btn__book:hover {
  background-color: var(--og-blue);
}

.site-nav__panel .site-btn__book {
  display: none;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  height: 58px;
  padding: 0 22px;
  gap: 10px;
  border-radius: 999px;
  border: 2px solid var(--og-blue);
  background: transparent;
  color: #515151;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  -webkit-transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  -moz-transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  -ms-transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  -o-transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-header__phone span {
  color: #515151;
  width: 20px;
}

/* drop the old orange dot icon */

.site-header__phone:focus,
.site-header__phone:hover,
.site-header__phone:focus-visible {
  background: transparent;
  color: #515151;
  outline: none;
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

/* =========================================================
   06. Logo Area
   ========================================================= */
.site-header__logo {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 220px;
  width: 100%;
  min-width: 220px;
}

.site-header__logo a {
  display: inline-flex;
  align-items: center;
}

.site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* =========================================================
   08. WordPress Menu: Main Level
   ========================================================= */
.site-nav__menu {
  min-height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav__menu .menu-item {
  position: relative;
}

.site-nav__menu>.menu-item>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  color: #000000;
  font-size: clamp(16px, 1.55vw, 18px);
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: color 0.22s ease, transform 0.22s ease;
}

.site-nav__menu a:focus,
.site-nav__menu a:hover,
.site-nav__menu a:focus-visible,
.site-nav__menu .current-menu-item>a,
.site-nav__menu .current-menu-ancestor>a {
  color: var(--og-blue);
  outline: none;
}


/* =========================================================
   09. Dropdown Arrows
   ========================================================= */

.menu-item-has-children>a::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
  position: absolute;
  right: 12px;
}

.menu-item-has-children>a::after {
  content: "";
  width: 8px;
  height: 8px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
  position: relative;
  right: 0;
  margin-left: auto;
}

.menu-item-has-children.is-open>a::after {
  transform: rotate(225deg) translateY(-1px);
}


/* =========================================================
   10. Desktop Dropdown Menus
   ========================================================= */

.sub-menu {
  position: absolute;
  z-index: 20;
  min-width: 244px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--og-white);
  border: 1px solid var(--og-border);
  border-radius: 18px;
  box-shadow: var(--og-shadow);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translate(0%, 12px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  -webkit-transform: translate(0%, 12px);
  -moz-transform: translate(0%, 12px);
  -ms-transform: translate(0%, 12px);
  -o-transform: translate(0%, 12px);
}

.menu-item:hover>.sub-menu,
.menu-item:focus-within>.sub-menu,
.menu-item.is-open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(0%, 0);
  -webkit-transform: translate(0%, 0);
  -moz-transform: translate(0%, 0);
  -ms-transform: translate(0%, 0);
  -o-transform: translate(0%, 0);
}

.sub-menu .menu-item {
  width: 100%;
}

.sub-menu a {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 14px;
	border-radius: 12px;
	padding: 12px 14px;
	color: var(--og-black);
	font-size: 16px;
	text-align: left;
	transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
	margin-bottom: 2px;
}

.sub-menu .current_page_item>a,
.sub-menu a:hover,
.sub-menu a:focus-visible {
  color: var(--og-black);
  background: var(--og-blue);
  outline: none;
  padding-left: 18px;
}

.menu-item.icon-brand>a {
  position: relative;
}

/* =========================================================
   11. Desktop Nested Dropdown Menus
   ========================================================= */

.sub-menu .sub-menu {
  top: -12px;
  left: calc(100% + 14px);
  transform: translate(12px, 0);
}

.sub-menu .menu-item:hover>.sub-menu,
.sub-menu .menu-item:focus-within>.sub-menu,
.sub-menu .menu-item.is-open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}

.submenu-toggle {
  display: none;
}

/* =========================================================
   13. Responsive: Large Tablet / Small Desktop
   ========================================================= */

@media (max-width: 1400px) {
  .site-header {
    gap: 18px;
  }

  .site-nav__menu {
    gap: 17px;
  }
}

@media (max-width: 1280px) {
  .site-header__logo {
    min-width: 180px;
  }


  .site-header__book {
    min-height: 50px;
    padding-inline: 22px;
  }

  .site-header__phone {
    padding: 0 12px;
  }

  .site-btn__book {
    gap: 10px;
    padding: 0 8px 0 12px;
  }

  .site-header__phone {
    display: none;
  }

  .site-header__actions .site-nav__toggle.site-nav__phone {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    background: var(--og-khaki);
    cursor: pointer;
    padding: 0;
  }

  .site-header__actions .hamburger_phone {
    -webkit-mask-image: url('../img/phone-icon.svg');
    mask-image: url('../img/phone-icon.svg');
    mask-size: 35px;
    -webkit-mask-size: 35px;
    background-color: #000000;
    height: 35px;
    width: 35px;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    display: block;
  }
}


/* =========================================================
   Responsive: Tablet
   ========================================================= */

@media (max-width: 1024px) {
  .site-header__actions {
    gap: 12px;
  }

  .site-header {
    gap: 12px;
  }

  .site-nav__menu {
    gap: 12px;
  }

  .site-nav__menu>.menu-item>a {
    gap: 5px;
  }
}


/* =========================================================
   Responsive: Mobile Header
   ========================================================= */

@media (max-width: 991px) {

  .site-header,
  .site-header.is-scrolled {
    min-height: 70px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
  }

  .site-header__right {
    display: none;
  }

  .is-scrolled .site-header__main,
  .site-header__main {
    position: static;
    width: auto;
    transform: translate(0, 0);
    width: 100%;
  }

  .site-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .site-nav {
    width: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 10px;
  }

  .site-nav__toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
  }

  .site-header__logo {
    z-index: 1002;
  }

}


/* =========================================================
   Responsive: Mobile Toggle Button
   ========================================================= */

@media (max-width: 991px) {
  .site-nav__toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    background: #eeeeee;
    cursor: pointer;
    padding: 0;
  }

  .site-nav__phone {
    background: #515151;
  }

  .site-nav__toggle span {
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: #515151;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* =========================================================
   Responsive: Mobile Slide Menu
   ========================================================= */

@media (max-width: 991px) {
  .site-nav__panel {
    position: fixed;
    inset: -24px -23px 0px auto;
    width: 100vw;
    height: 100vh;
    padding: 104px 18px 28px;
    background: rgba(255, 255, 255);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s ease, visibility 0.32s ease;
    overflow-y: auto;
  }

  .site-nav__panel.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__panel .site-btn__book {
    display: inline-flex;
    margin-top: 20px;
    border: 2px solid var(--og-blue);
  }
}


/* =========================================================
   Responsive: Mobile Menu Items
   ========================================================= */

@media (max-width: 991px) {
  .site-nav__menu {
    min-height: auto;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-nav__menu>.menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .site-nav__menu>.menu-item>a {
    width: 100%;
    min-height: 58px;
    justify-content: space-between;
    font-size: 19px;
  }
}


/* =========================================================
   Responsive: Mobile Dropdown Menus
   ========================================================= */

@media (max-width: 991px) {

  .sub-menu,
  .sub-menu .sub-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.28s ease;
  }

  .menu-item.is-open>.sub-menu {
    max-height: 620px;
    transform: translate(0, 0);
  }

  .sub-menu a {
    min-height: 48px;
    padding: 10px 18px 10px 18px;
    color: #000;
    font-size: 18px;
  }

  .sub-menu a:hover,
  .sub-menu a:focus-visible {
    padding-left: 22px;
  }

  .sub-menu .sub-menu a {
    padding-left: 34px;
  }

  .menu-item:hover>.sub-menu,
  .menu-item:focus-within>.sub-menu,
  .menu-item.is-open>.sub-menu {
    transform: translate(0, 0);
  }

}

@media (max-width:991px) {
  /* =========================================================
   Mobile Submenu Toggle
   ========================================================= */

  .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }


  .menu-item-has-children>a {
    width: calc(100% - 54px);
  }

  .submenu-toggle {
    width: 54px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: .25s;
    position: absolute;
    top: 0;
    right: 0;
  }

  .submenu-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform .3s ease;
  }

  .submenu-toggle path {
    fill: none;
    stroke: #000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .menu-item-has-children.is-open>.submenu-toggle svg {
    transform: rotate(180deg);
  }

  .menu-item-has-children>.sub-menu {
    width: 100%;
  }

  .menu-item-has-children>a::after {
    display: none;
  }

  .submenu-toggle[aria-expanded="true"] span {
    background: var(--og-orange);
  }
}

/* =========================================================
   Responsive: Mobile Phone Icon
   ========================================================= */

@media (max-width: 991px) {
  .ham__phone {
    display: block;
    width: 100%;
  }

  .hamburger_phone {
    -webkit-mask-image: url('../img/phone-icon.svg');
    mask-image: url('../img/phone-icon.svg');
    mask-size: 33px;
    -webkit-mask-size: 33px;
    background-color: #FFFF;
    height: 33px;
    width: 33px;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    display: block;
  }
}