/* Sapiens V4 compatibility layer.
 * Original booking, success and cookie component declarations from the unchanged
 * Sapiens Site Integration 0.2.25 styles.css. No general layout selectors.
 * Keep the production form markup and script-v3.js contract unchanged.
 */
@font-face {
  font-family: "Sapiens Booking Arsenal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/wp-content/uploads/2022/08/Arsenal-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Sapiens Booking Arsenal";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/wp-content/uploads/2022/08/Arsenal-Bold.woff2") format("woff2");
}
body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]) {
  --brand-milk: #eeecdd;
  --brand-paper: #d6d0c0;
  --brand-black: #1a1a1a;
  --brand-charcoal: #353333;
  --brand-olive: #323522;
  --brand-rust: #914a30;
  --brand-brown: #783927;
  --radius: 6px;
  --font-display: "Sapiens Booking Arsenal", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Sapiens Booking Arsenal", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]),
body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]) *,
body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]) *::before,
body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]) *::after {
  box-sizing: border-box;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) :is(button, input, select, textarea) {
  font: inherit;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) :is(h2, h3) {
  letter-spacing: normal;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) .section-kicker {
  margin: 0 0 12px;
  color: var(--brand-brown);
  font: 800 13px/1.5 var(--font-display);
  text-transform: uppercase;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) :is(.booking-copy, .booking-dialog-copy) p:not(.section-kicker) {
  margin: 1em 0;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--brand-black);
  border-radius: var(--radius);
  color: var(--brand-milk);
  background: var(--brand-rust);
  box-shadow: 4px 4px 0 rgba(26, 26, 26, .16);
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) .button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(26, 26, 26, .18);
}
body.sapiens-home-v4 :is(#booking, #bookingModal) .button:is(:hover, :focus, :focus-visible, :active) {
  color: var(--brand-milk);
  background: var(--brand-rust);
  border-color: var(--brand-black);
}
body.sapiens-home-v4 .booking-form label {
  margin: 0 0 12px;
  color: var(--brand-brown);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

body.sapiens-home-v4 .booking-copy h2 {
  margin: 0;
  color: var(--brand-black);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

body.sapiens-home-v4 .booking-copy h2,
body.sapiens-home-v4 .booking-dialog h2 {
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.06;
}

body.sapiens-home-v4 .booking-copy p:not(.section-kicker),
body.sapiens-home-v4 .booking-dialog-copy p:not(.section-kicker) {
  color: var(--brand-charcoal);
  font-size: 17px;
  line-height: 1.48;
}

body.sapiens-home-v4 .booking-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(50px, 5.2vw, 68px) clamp(22px, 5vw, 72px);
  color: var(--brand-black);
  border-top: 1px solid var(--brand-black);
  border-bottom: 1px solid var(--brand-black);
  background:
    linear-gradient(90deg, rgba(238, 236, 221, 0.95), rgba(238, 236, 221, 0.86)),
    url("/wp-content/plugins/sapiens-site-integration/assets/gallery-02.jpg") center/cover;
  background-blend-mode: normal, soft-light;
}

body.sapiens-home-v4 .booking-copy {
  max-width: 560px;
  justify-self: end;
}

body.sapiens-home-v4 .booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  padding: 22px;
  border: 1px solid var(--brand-black);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-black);
  box-shadow: 0 22px 54px rgba(26, 26, 26, 0.16);
}

body.sapiens-home-v4 .booking-form .field {
  display: grid;
  gap: 7px;
}

body.sapiens-home-v4 .booking-form label {
  margin: 0;
  color: var(--brand-charcoal);
  font-size: 12px;
  letter-spacing: 0.04em;
}

body.sapiens-home-v4 .booking-form .field-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.sapiens-home-v4 .booking-form input:not([type="checkbox"]),
body.sapiens-home-v4 .booking-form select,
body.sapiens-home-v4 .booking-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 6px;
  color: var(--brand-black);
  background: rgba(238, 236, 221, 0.34);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body.sapiens-home-v4 .booking-form input:not([type="checkbox"]):focus,
body.sapiens-home-v4 .booking-form select:focus,
body.sapiens-home-v4 .booking-form textarea:focus {
  outline: 0;
  border-color: var(--brand-rust);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(145, 74, 48, 0.12);
}

body.sapiens-home-v4 .booking-form textarea {
  min-height: 92px;
  resize: vertical;
}

body.sapiens-home-v4 .field-wide {
  grid-column: 1 / -1;
}

body.sapiens-home-v4 .checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--brand-charcoal);
  font-size: 13px;
  line-height: 1.35;
}

body.sapiens-home-v4 .checkbox-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--brand-rust);
}

body.sapiens-home-v4 .checkbox-field a {
  color: var(--brand-brown);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body.sapiens-home-v4 .booking-form button,
body.sapiens-home-v4 .form-status {
  grid-column: 1 / -1;
}

body.sapiens-home-v4 .booking-form button {
  min-height: 48px;
  width: 100%;
  border-radius: 6px;
  font-size: 16px;
  letter-spacing: 0.08em;
}

body.sapiens-home-v4 .booking-form button:disabled {
  cursor: progress;
  opacity: 0.62;
}

body.sapiens-home-v4 .form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  margin: 0;
  color: var(--brand-olive);
  font-weight: 800;
}

body.sapiens-home-v4 .form-status.is-success {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--brand-black);
  border-radius: var(--radius);
  background: rgba(167, 165, 127, 0.22);
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.1);
}

body.sapiens-home-v4 .form-status.is-error {
  color: var(--brand-brown);
}

body.sapiens-home-v4 .status-check,
body.sapiens-home-v4 .booking-success-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--brand-black);
  border-radius: 50%;
  color: var(--brand-milk);
  background: var(--brand-olive);
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.12);
}

body.sapiens-home-v4 .status-check {
  width: 28px;
  height: 28px;
}

body.sapiens-home-v4 .status-check::after,
body.sapiens-home-v4 .booking-success-mark::after {
  content: "";
  width: 42%;
  height: 24%;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translate(1px, -1px);
}

body.sapiens-home-v4 .sapiens-hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body.sapiens-home-v4 .booking-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

body.sapiens-home-v4 .booking-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.sapiens-home-v4 .booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.56);
  backdrop-filter: blur(8px);
}

body.sapiens-home-v4 .booking-dialog {
  position: relative;
  isolation: isolate;
  overflow: auto;
  width: min(860px, 100%);
  max-height: min(88svh, 820px);
  padding: clamp(26px, 4.2vw, 44px);
  border: 1px solid var(--brand-black);
  border-radius: var(--radius);
  color: var(--brand-black);
  background:
    radial-gradient(circle at 92% 8%, rgba(145, 74, 48, 0.13), transparent 24%),
    linear-gradient(135deg, rgba(238, 236, 221, 0.98), rgba(214, 208, 192, 0.96));
  box-shadow: 12px 12px 0 rgba(26, 26, 26, 0.2);
}

body.sapiens-home-v4 .booking-dialog.is-success {
  width: min(620px, 100%);
}

body.sapiens-home-v4 .booking-dialog.is-success .booking-dialog-copy,
body.sapiens-home-v4 .booking-dialog.is-success .booking-form-modal {
  display: none;
}

body.sapiens-home-v4 .booking-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 28%, rgba(255, 255, 255, 0.26) 28.2%, rgba(26, 26, 26, 0.06) 28.55%, transparent 29.1%),
    linear-gradient(74deg, transparent 0 68%, rgba(50, 53, 34, 0.08) 68.3%, rgba(255, 255, 255, 0.18) 68.75%, transparent 69.2%);
  mix-blend-mode: multiply;
  opacity: 0.56;
}

body.sapiens-home-v4 .booking-dialog-copy {
  max-width: 680px;
  margin-bottom: 24px;
}

body.sapiens-home-v4 .booking-dialog-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

body.sapiens-home-v4 .booking-form-modal {
  width: 100%;
  box-shadow: none;
  background: rgba(238, 236, 221, 0.72);
}

body.sapiens-home-v4 .booking-success {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 300px;
  padding: clamp(20px, 3vw, 34px);
  outline: 0;
}

body.sapiens-home-v4 .booking-success[hidden] {
  display: none;
}

body.sapiens-home-v4 .booking-success-mark {
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  color: var(--brand-milk);
  background: var(--brand-rust);
}

body.sapiens-home-v4 .booking-success h3 {
  max-width: 460px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
}

body.sapiens-home-v4 .booking-success-text {
  max-width: 520px;
  margin: 0;
  color: var(--brand-charcoal);
  font-size: 18px;
}

body.sapiens-home-v4 #bookingModal .modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--brand-black);
  border-radius: 50%;
  color: var(--brand-black);
  background: rgba(238, 236, 221, 0.88);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.sapiens-home-v4 .cookie-banner {
  position: fixed;
  z-index: 80;
  left: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(448px, calc(100vw - 28px));
  padding: 14px 14px 14px 16px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 8px;
  background: rgba(238, 236, 221, 0.94);
  box-shadow: 6px 6px 0 rgba(26, 26, 26, 0.12);
  color: var(--brand-black);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(10px);
}

body.sapiens-home-v4 .cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.sapiens-home-v4 .cookie-banner p {
  margin: 0;
  color: var(--brand-charcoal);
  font-size: 13px;
  line-height: 1.35;
}

body.sapiens-home-v4 .cookie-banner a {
  color: var(--brand-black);
  font-weight: 800;
  text-decoration: none;
}

body.sapiens-home-v4 .cookie-banner a:hover,
body.sapiens-home-v4 .cookie-banner a:focus-visible {
  color: var(--brand-rust);
  text-decoration: none;
}

body.sapiens-home-v4 .cookie-banner__button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 9px 14px;
  border: 1px solid var(--brand-black);
  border-radius: 999px;
  background: var(--brand-black);
  color: var(--brand-milk);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

body.sapiens-home-v4 .cookie-banner__button:hover,
body.sapiens-home-v4 .cookie-banner__button:focus-visible {
  background: var(--brand-rust);
  color: var(--brand-milk);
}

@media (min-width: 861px) {
body.sapiens-home-v4 .booking-dialog {
    width: min(780px, 100%);
    max-height: min(92svh, 760px);
    padding: clamp(20px, 2.8vw, 32px);
  }

body.sapiens-home-v4 .booking-dialog-copy {
    margin-bottom: 14px;
  }

body.sapiens-home-v4 .booking-dialog-copy h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 0.98;
  }

body.sapiens-home-v4 .booking-dialog-copy p:not(.section-kicker) {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.35;
  }

body.sapiens-home-v4 .booking-form-modal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 16px;
  }

body.sapiens-home-v4 .booking-form-modal .field-wide,
body.sapiens-home-v4 .booking-form-modal .field-group,
body.sapiens-home-v4 .booking-form-modal .checkbox-field,
body.sapiens-home-v4 .booking-form-modal button,
body.sapiens-home-v4 .booking-form-modal .form-status {
    grid-column: 1 / -1;
  }

body.sapiens-home-v4 .booking-form-modal input:not([type="checkbox"]),
body.sapiens-home-v4 .booking-form-modal select {
    min-height: 42px;
    padding: 8px 10px;
  }

body.sapiens-home-v4 .booking-form-modal textarea {
    min-height: 72px;
  }

body.sapiens-home-v4 .booking-form-modal .checkbox-field {
    font-size: 12px;
  }
}

@media (max-width: 1040px) {
body.sapiens-home-v4 .booking-band {
    grid-template-columns: 1fr;
  }

body.sapiens-home-v4 .booking-copy {
    justify-self: start;
  }
}

@media (max-width: 720px) {
body.sapiens-home-v4 .cookie-banner {
    right: 14px;
    left: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    align-items: stretch;
    flex-direction: column;
    width: auto;
    gap: 12px;
  }

body.sapiens-home-v4 .cookie-banner__button {
    width: 100%;
  }

body.sapiens-home-v4 .booking-copy h2,
body.sapiens-home-v4 .booking-dialog h2 {
    font-size: 34px;
  }

body.sapiens-home-v4 .booking-copy p:not(.section-kicker),
body.sapiens-home-v4 .booking-dialog-copy p:not(.section-kicker) {
    font-size: 16px;
  }

body.sapiens-home-v4 .booking-modal {
    align-items: end;
    padding: 14px;
  }

body.sapiens-home-v4 .booking-dialog {
    width: 100%;
    max-height: 92svh;
    padding: 22px 14px 16px;
  }

body.sapiens-home-v4 .booking-dialog-copy {
    margin-bottom: 12px;
  }

body.sapiens-home-v4 .booking-dialog-copy h2 {
    max-width: calc(100% - 44px);
    font-size: 28px;
    line-height: 0.98;
  }

body.sapiens-home-v4 .booking-dialog-copy p:not(.section-kicker) {
    display: none;
  }

body.sapiens-home-v4 .booking-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
  }

body.sapiens-home-v4 .booking-form .field-contact,
body.sapiens-home-v4 .booking-form .field-wide,
body.sapiens-home-v4 .booking-form .field-group,
body.sapiens-home-v4 .booking-form .checkbox-field,
body.sapiens-home-v4 .booking-form button,
body.sapiens-home-v4 .booking-form .form-status {
    grid-column: 1 / -1;
  }

body.sapiens-home-v4 .booking-form .field {
    gap: 5px;
  }

body.sapiens-home-v4 .booking-form label {
    font-size: 11px;
  }

body.sapiens-home-v4 .booking-form input:not([type="checkbox"]),
body.sapiens-home-v4 .booking-form select {
    min-height: 40px;
    padding: 7px 9px;
    font-size: 15px;
  }

body.sapiens-home-v4 .booking-form textarea {
    min-height: 64px;
    padding: 8px 9px;
    font-size: 15px;
  }

body.sapiens-home-v4 .booking-form .field-group {
    gap: 8px;
  }

body.sapiens-home-v4 .checkbox-field {
    gap: 8px;
    font-size: 12px;
    line-height: 1.28;
  }

body.sapiens-home-v4 .checkbox-field input {
    width: 16px;
    height: 16px;
  }

body.sapiens-home-v4 .booking-form button {
    min-height: 42px;
  }

body.sapiens-home-v4 #bookingModal .modal-close {
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
  }
}
/* Component boundaries restore behavior suppressed by the old global reset. */
body.sapiens-home-v4 #booking { scroll-margin-top: calc(var(--header-height, 80px) + 24px); }
body.sapiens-home-v4 #bookingModal .booking-dialog {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) .booking-form .sapiens-hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
body.sapiens-home-v4.modal-open { overflow: hidden; }
body.sapiens-home-v4.modal-open .mobile-actions { visibility: hidden; pointer-events: none; }
body.sapiens-home-v4 [data-cookie-banner][hidden] { display: none !important; }
body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]) :is(a, button, input[type="checkbox"]):focus-visible {
  outline: 2px solid var(--brand-rust);
  outline-offset: 3px;
}
body.sapiens-home-v4 :is(#booking, #bookingModal) .booking-form :is(input:not([type="checkbox"]), select, textarea):focus-visible {
  outline: 0;
  border-color: var(--brand-rust);
  box-shadow: 0 0 0 3px rgba(145, 74, 48, .12);
}
@media (prefers-reduced-motion: reduce) {
  body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]),
  body.sapiens-home-v4 :is(#booking, #bookingModal, [data-cookie-banner]) * {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
/* Keep theme hover/focus defaults inside the Sapiens palette. */
body.sapiens-home-v4 .header-phone:is(:hover, :focus) {
  color: var(--accent);
  text-decoration: none;
}
body.sapiens-home-v4 .btn:focus {
  box-shadow: none;
}
body.sapiens-home-v4 .btn:not(.btn-outline):is(:hover, :focus) {
  color: var(--white);
  text-decoration: none;
}

/* Prevent WordPress theme link states from introducing non-brand blue. */
body.sapiens-home-v4 :is(.header,.mobile-nav,.hero,.section,.footer,.menu-drawer,.sapiens-quick-actions) a,
body.sapiens-home-v4 :is(.header,.mobile-nav,.hero,.section,.footer,.menu-drawer,.sapiens-quick-actions) a:is(:link,:visited,:hover,:focus,:active){color:inherit;text-decoration:none}
body.sapiens-home-v4 :is(.link,.desktop-nav a,.mobile-nav a,.menu-index a,.occasion-links a,.journal-links a,.header-phone,.contact-phone,.footer a):is(:hover,:focus-visible){color:var(--accent)}
body.sapiens-home-v4 :is(.hero-menu-note a,.menu-item a):is(:link,:visited,:hover,:focus,:active){color:var(--accent)}
body.sapiens-home-v4 :is(a.btn:not(.btn-outline),a.day-book,.sapiens-quick-actions__booking),
body.sapiens-home-v4 :is(a.btn:not(.btn-outline),a.day-book,.sapiens-quick-actions__booking):is(:link,:visited,:hover,:focus,:active){color:var(--white)}
body.sapiens-home-v4 .sapiens-quick-actions__call:is(:link,:visited,:hover,:focus,:active){color:var(--ink)}
body.sapiens-home-v4 .room-photo:is(:link,:visited,:hover,:focus,:active),
body.sapiens-home-v4 .journal-card:is(:link,:visited,:hover,:focus,:active){color:var(--ink)}
body.sapiens-home-v4 .skip:is(:link,:visited,:hover,:focus,:active){color:var(--white)}
body.sapiens-home-v4 :is(.header,.mobile-nav,.hero,.section,.footer,.menu-drawer,.sapiens-quick-actions) a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
body.sapiens-home-v4 ::selection{background:var(--sage);color:var(--ink)}
body.sapiens-home-v4 a.btn.btn-outline:is(:hover,:focus-visible){color:var(--white);background:var(--ink);border-color:var(--ink)}