/* ==========================================================
   Las Salinas SPA: menu + footer refresh
   Page content and images are untouched; this file only
   restyles the header/navigation and adds the footer.
   ========================================================== */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ls-lotus: #7B5EA7;        /* from the logo */
  --ls-lotus-deep: #5E4687;
  --ls-ink: #2A2236;          /* aubergine */
  --ls-ink-soft: #4A4058;
  --ls-mist: #F1EDF7;
  --ls-lilac: #C9BEE0;
  --ls-line: #E7E2EF;
  --ls-white: #FFFFFF;
  --ls-nav: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ls-serif: "Marcellus", Georgia, serif;
}

/* ---------- Header bar ---------- */
header.page_header .header_bottom {
  background-color: rgba(255, 255, 255, 0.86) !important;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(123, 94, 167, 0.12) !important;
  transition: background-color .3s ease, box-shadow .3s ease;
}
header.page_header.sticky .header_bottom {
  background-color: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 6px 24px rgba(42, 34, 54, 0.08);
}

/* ---------- Desktop menu ---------- */
header nav.main_menu > ul > li > a {
  font-family: var(--ls-nav) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: var(--ls-ink-soft) !important;
  padding: 0 16px !important;
}
header nav.main_menu > ul > li > a > span:not(.plus) {
  position: relative;
  display: inline-block;
}
header nav.main_menu > ul > li > a > span:not(.plus)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--ls-lotus);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
header nav.main_menu > ul > li:hover > a,
header nav.main_menu > ul > li.active > a,
header nav.main_menu > ul > li.current-menu-ancestor > a,
header nav.main_menu > ul > li > a.current {
  color: var(--ls-lotus) !important;
  background-color: transparent !important;
}
header nav.main_menu > ul > li:hover > a > span:not(.plus)::after,
header nav.main_menu > ul > li.active > a > span:not(.plus)::after,
header nav.main_menu > ul > li.current-menu-ancestor > a > span:not(.plus)::after {
  transform: scaleX(1);
}

/* chevron on the item that has a dropdown */
header nav.main_menu > ul > li.has_sub > a > span:not(.plus) {
  padding-right: 14px;
}
header nav.main_menu > ul > li.has_sub > a > span:not(.plus)::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease, margin .25s ease;
}
header nav.main_menu > ul > li.has_sub:hover > a > span:not(.plus)::before {
  transform: rotate(-135deg);
  margin-top: -1px;
}
header nav.main_menu > ul > li.has_sub > a > span:not(.plus)::after { right: 14px; }

/* Contact as the one clear action */
header nav.main_menu > ul > li:last-child > a {
  padding: 0 0 0 12px !important;
}
header nav.main_menu > ul > li:last-child > a > span:not(.plus) {
  line-height: 1 !important;
  padding: 11px 22px;
  border: 1.5px solid var(--ls-lotus);
  border-radius: 999px;
  color: var(--ls-lotus);
  transition: background-color .25s ease, color .25s ease;
}
header nav.main_menu > ul > li:last-child > a > span:not(.plus)::after { display: none; }
header nav.main_menu > ul > li:last-child:hover > a > span:not(.plus),
header nav.main_menu > ul > li:last-child.active > a > span:not(.plus) {
  background-color: var(--ls-lotus);
  color: var(--ls-white);
}

/* ---------- Dropdown ---------- */
header .drop_down .second {
  top: 100% !important;
}
header .drop_down .second .inner,
header .drop_down .second .inner > ul {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
header .drop_down .second .inner {
  margin-top: 6px;
}
header .drop_down .second .inner > ul {
  background-color: var(--ls-white) !important;
  border-radius: 14px;
  padding: 10px !important;
  min-width: 250px;
  box-shadow: 0 22px 48px rgba(42, 34, 54, 0.16), 0 2px 6px rgba(42, 34, 54, 0.06) !important;
}
header .drop_down .second .inner ul li a {
  font-family: var(--ls-nav) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.3 !important;
  color: var(--ls-ink-soft) !important;
  padding: 11px 14px !important;
  border-radius: 9px;
  border: 0 !important;
  transition: background-color .2s ease, color .2s ease;
}
header .drop_down .second .inner ul li a:hover,
header .drop_down .second .inner ul li.current-menu-item a {
  background-color: var(--ls-mist) !important;
  color: var(--ls-lotus-deep) !important;
}

/* ---------- Mobile menu ---------- */
header .mobile_menu_button span .qode_icon_font_elegant,
header .mobile_menu_button i {
  font-size: 26px !important;
  color: var(--ls-ink) !important;
}
header nav.mobile_menu {
  background-color: var(--ls-white) !important;
}
header nav.mobile_menu ul li a,
header nav.mobile_menu ul li h3 {
  font-family: var(--ls-nav) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--ls-ink-soft) !important;
}
header nav.mobile_menu ul li ul li a {
  font-size: 16px !important;
  font-weight: 400 !important;
}
header nav.mobile_menu ul li,
header nav.mobile_menu ul li ul li {
  border-bottom-color: var(--ls-line) !important;
}
header nav.mobile_menu ul li.active > a,
header nav.mobile_menu ul li a:hover,
header nav.mobile_menu ul li.current-menu-ancestor > a,
header nav.mobile_menu ul li.current-menu-item > a {
  color: var(--ls-lotus) !important;
}
header nav.mobile_menu .mobile_arrow i { color: var(--ls-lotus) !important; }

/* keyboard focus */
header nav a:focus-visible,
.ls-footer a:focus-visible {
  outline: 2px solid var(--ls-lotus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Footer ---------- */
.ls-footer {
  background: var(--ls-ink);
  color: #D9D2E6;
  font-family: var(--ls-nav);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.ls-footer a {
  color: #D9D2E6;
  text-decoration: none;
  transition: color .2s ease;
}
.ls-footer a:hover { color: var(--ls-white); }

.ls-footer__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.ls-footer__statement {
  padding: 84px 0 56px;
  border-bottom: 1px solid rgba(201, 190, 224, 0.18);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ls-footer__statement p {
  margin: 0;
  font-family: var(--ls-serif);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ls-lilac);
  font-weight: 400;
}
.ls-footer__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ls-lotus);
  color: var(--ls-white) !important;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.ls-footer__call:hover { background: #8C70B8; }
.ls-footer__call svg { width: 17px; height: 17px; flex: none; }

.ls-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr 1.3fr;
  gap: 40px;
  padding: 56px 0 64px;
}
.ls-footer__brand img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
  display: block;
}
.ls-footer h2 {
  font-family: var(--ls-nav);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ls-white);
  margin: 0 0 16px;
  line-height: 1.4;
}
.ls-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ls-footer li { margin: 0 0 8px; padding: 0; }
.ls-footer li a[aria-current="page"] { color: var(--ls-white); }
.ls-footer li a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ls-lilac);
  margin: 0 9px 2px 0;
}
.ls-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.ls-footer__contact svg {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 5px;
  color: var(--ls-lilac);
}

.ls-footer__bottom {
  border-top: 1px solid rgba(201, 190, 224, 0.18);
  padding: 22px 0 26px;
  font-size: 13.5px;
  color: #A79DB8;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .ls-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ls-footer__statement { padding: 56px 0 40px; }
  .ls-footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
  .ls-footer__call { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  header nav *, .ls-footer * { transition: none !important; }
}

/* ---------- Refinements ---------- */
/* keep the underline tight under the word, not at the bar's bottom edge */
header nav.main_menu > ul > li > a > span:not(.plus) {
  line-height: 1.3 !important;
  vertical-align: middle;
}
header nav.main_menu > ul > li > a > span:not(.plus)::after { bottom: -6px; }

/* the small JPG logo has a white box; blend it into the bar */
header .q_logo img.sticky,
header .q_logo img.mobile {
  mix-blend-mode: multiply;
}

/* no hover gap between the menu item and its dropdown */
header .drop_down .second .inner { margin-top: 0; }
header .drop_down .second { padding-top: 6px; }
header.page_header.sticky .header_bottom { background-color: #FFFFFF !important; }
@media (max-width: 1000px) {
  header.page_header .header_bottom { background-color: #FFFFFF !important; }
}

/* ---------- Mega menu (Therapy Center) ---------- */
header .header_bottom { position: relative; }
header nav.main_menu > ul > li.ls-mega-item { position: static !important; }

header .drop_down .second.ls-mega-panel {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  top: 100% !important;
  padding-top: 0;
  background: transparent !important;
}
header .drop_down .second.ls-mega-panel .inner {
  width: auto !important;
  max-width: 1180px;
  margin: 0 auto !important;
  padding: 0 24px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.ls-mega {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  margin-top: 8px;
  padding: 24px;
  background: var(--ls-white);
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(42, 34, 54, 0.18), 0 2px 8px rgba(42, 34, 54, 0.06);
  text-align: left;
}

/* intro card */
header .ls-mega a.ls-mega__intro {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  min-height: 300px;
  padding: 0 !important;
  background: var(--ls-ink) !important;
}
.ls-mega__intro img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .5s ease, opacity .3s ease;
}
.ls-mega__intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,34,54,0) 35%, rgba(42,34,54,.82) 100%);
}
.ls-mega__intro-text {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ls-mega__intro-title {
  font-family: var(--ls-serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--ls-white);
}
.ls-mega__intro-link {
  font-family: var(--ls-nav);
  font-size: 15px;
  font-weight: 500;
  color: var(--ls-lilac);
}
header .ls-mega a.ls-mega__intro:hover img { transform: scale(1.04); opacity: .95; }
header .ls-mega a.ls-mega__intro:hover .ls-mega__intro-link { color: var(--ls-white); }

/* treatment grid */
header .ls-mega ul.ls-mega__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 20px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  background: transparent !important;
  box-shadow: none !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  position: static !important;
  width: auto !important;
}
header .ls-mega ul.ls-mega__grid li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
header .ls-mega ul.ls-mega__grid li a {
  display: block !important;
  padding: 6px !important;
  margin: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  height: auto !important;
  line-height: 1.3 !important;
}
header .ls-mega ul.ls-mega__grid li a img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 297;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
header .ls-mega ul.ls-mega__grid li a span {
  display: block;
  padding: 0 4px 2px;
  font-family: var(--ls-nav);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ls-ink);
  text-transform: none;
  letter-spacing: 0;
}
header .ls-mega ul.ls-mega__grid li a:hover,
header .ls-mega ul.ls-mega__grid li a[aria-current="page"] {
  background: var(--ls-mist) !important;
}
header .ls-mega ul.ls-mega__grid li a:hover span,
header .ls-mega ul.ls-mega__grid li a[aria-current="page"] span {
  color: var(--ls-lotus-deep);
}

/* hide the mega panel on the mobile layout (mobile keeps its simple list) */
@media (max-width: 1000px) {
  header .drop_down .second.ls-mega-panel { display: none !important; }
}

/* mega menu: anchor to the header bar and open/close with CSS, not the theme script */
@media (min-width: 1001px) {
  header nav.main_menu,
  header nav.main_menu > ul { position: static !important; }
  header .header_bottom .container_inner { position: relative !important; }

  header nav.main_menu > ul > li.ls-mega-item > .second.ls-mega-panel {
    height: auto !important;
    overflow: visible !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  header nav.main_menu > ul > li.ls-mega-item:hover > .second.ls-mega-panel,
  header nav.main_menu > ul > li.ls-mega-item:focus-within > .second.ls-mega-panel {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
  header nav.main_menu > ul > li.ls-mega-item > .second.ls-mega-panel .inner {
    height: auto !important;
    overflow: visible !important;
  }
}

/* panel is anchored to the content-width container */
@media (min-width: 1001px) {
  header .drop_down .second.ls-mega-panel .inner { max-width: none; padding: 0 !important; }
}
header .ls-mega,
header .ls-mega ul.ls-mega__grid li a,
header .ls-mega ul.ls-mega__grid li a span { text-align: left !important; }

/* ---------- Contact popup ---------- */
html.ls-locked { overflow: hidden; }
.ls-modal {
  width: min(1000px, calc(100% - 40px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--ls-white);
  color: var(--ls-ink-soft);
  box-shadow: 0 40px 90px -20px rgba(42, 34, 54, 0.55);
  overflow: auto;
  overscroll-behavior: contain;
  font-family: var(--ls-nav);
}
.ls-modal::backdrop {
  background: rgba(42, 34, 54, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ls-modal[open] { animation: ls-pop .24s cubic-bezier(.2, .8, .2, 1); }
@keyframes ls-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.ls-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--ls-mist); color: var(--ls-ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.ls-modal-close svg { width: 18px; height: 18px; }
.ls-modal-close:hover { background: var(--ls-ink); color: var(--ls-white); }

.ls-modal-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); min-height: 520px; }

.ls-modal-side {
  position: relative;
  padding: 36px 32px;
  background: var(--ls-ink);
  color: #D9D2E6;
  display: flex; flex-direction: column;
}
.ls-modal-logo { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 34px; align-self: flex-start; }
.ls-modal-side h2 {
  margin: 0; padding: 0;
  font-family: var(--ls-serif); font-weight: 400;
  font-size: 40px; line-height: 1.05; letter-spacing: 0; text-transform: none;
  color: var(--ls-lilac);
}
.ls-modal-side > p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: #BDB3CF; }
.ls-modal-side h3 {
  margin: auto 0 14px; padding-top: 28px;
  font-family: var(--ls-nav); font-size: 15px; font-weight: 500;
  text-transform: none; letter-spacing: 0; color: var(--ls-white);
}
.ls-modal-side ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(201, 190, 224, .18); display: grid; gap: 12px; }
.ls-modal-side li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.5; }
.ls-modal-side li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--ls-lilac); }
.ls-modal-side a { color: var(--ls-white); text-decoration: none; }
.ls-modal-side a:hover { color: var(--ls-lilac); }

.ls-modal-main { display: flex; flex-direction: column; justify-content: center; padding: 40px 40px 34px; }
.ls-form-title {
  margin: 0 48px 22px 0; padding: 0;
  font-family: var(--ls-serif); font-weight: 400; font-size: 28px; line-height: 1.15;
  text-transform: none; letter-spacing: 0; color: var(--ls-ink);
}
.ls-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ls-field { margin: 0; }
.ls-field label {
  display: block; margin: 0 0 6px;
  font-family: var(--ls-nav); font-size: 14px; font-weight: 500;
  color: var(--ls-ink); text-transform: none; letter-spacing: 0;
}
.ls-field label span { font-weight: 400; color: #8A8296; }
.ls-modal .ls-field input,
.ls-modal .ls-field select,
.ls-modal .ls-field textarea {
  display: block; width: 100%; box-sizing: border-box; margin: 0;
  min-height: 46px; padding: 10px 14px;
  border: 1.5px solid #DDD6E8; border-radius: 12px;
  background: #FBFAFD; color: var(--ls-ink);
  font-family: var(--ls-nav); font-size: 15.5px; line-height: 1.4;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.ls-modal .ls-field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%237B5EA7' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.ls-modal .ls-field textarea { min-height: 120px; resize: vertical; }
.ls-modal .ls-field input:focus,
.ls-modal .ls-field select:focus,
.ls-modal .ls-field textarea:focus {
  outline: none; border-color: var(--ls-lotus); background: var(--ls-white);
  box-shadow: 0 0 0 4px rgba(123, 94, 167, .15);
}
.ls-f-message { grid-column: 1 / -1; }
.ls-err { display: none; margin: 5px 0 0; font-size: 13px; line-height: 1.4; color: #B3261E; }
.ls-field.has-error .ls-err { display: block; }
.ls-modal .ls-field.has-error input,
.ls-modal .ls-field.has-error textarea { border-color: #B3261E; background: #FFF8F7; }
.ls-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ls-status { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #FDEEEC; color: #8C1D18; font-size: 14.5px; line-height: 1.5; }
.ls-status a { color: inherit; font-weight: 500; }

.ls-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.ls-note { margin: 0; font-size: 13.5px; color: #8A8296; }
.ls-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1.5px solid var(--ls-lotus); border-radius: 999px;
  background: var(--ls-lotus); color: var(--ls-white);
  font-family: var(--ls-nav); font-size: 16px; font-weight: 500; line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ls-btn:hover { background: var(--ls-lotus-deep); border-color: var(--ls-lotus-deep); }
.ls-btn:focus-visible, .ls-modal-close:focus-visible, .ls-modal-side a:focus-visible { outline: 2px solid var(--ls-lotus); outline-offset: 3px; }
.ls-btn[disabled] { opacity: .7; cursor: progress; }
.ls-btn-ghost { background: transparent; color: var(--ls-lotus); }
.ls-btn-ghost:hover { background: var(--ls-lotus); color: var(--ls-white); }

.ls-thanks { text-align: center; padding: 40px 10px; outline: none; }
.ls-thanks svg { width: 64px; height: 64px; color: var(--ls-lotus); }
.ls-thanks h3 { margin: 16px 0 8px; font-family: var(--ls-serif); font-weight: 400; font-size: 32px; text-transform: none; letter-spacing: 0; color: var(--ls-ink); }
.ls-thanks p { margin: 0 auto 26px; max-width: 34ch; font-size: 16px; line-height: 1.6; color: var(--ls-ink-soft); }

@media (max-width: 820px) {
  .ls-modal { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .ls-modal-grid { grid-template-columns: 1fr; min-height: 100%; }
  .ls-modal-main { order: 1; padding: 28px 20px 24px; justify-content: flex-start; }
  .ls-modal-side { order: 2; padding: 26px 20px 32px; }
  .ls-modal-logo, .ls-modal-side h2, .ls-modal-side > p { display: none; }
  .ls-modal-side h3 { margin-top: 0; padding-top: 0; }
  .ls-fgrid { grid-template-columns: 1fr; }
  .ls-form-foot { flex-direction: column-reverse; align-items: stretch; }
  .ls-btn { width: 100%; }
  .ls-form-title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .ls-modal[open] { animation: none; } }

/* ==========================================================
   Page polish (content and images unchanged)
   ========================================================== */

/* 1. Homepage slider headline */
.carousel-inner .q_slide_title,
.carousel-inner .q_slide_title span {
  font-family: var(--ls-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(44px, 6.4vw, 92px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.01em !important;
  max-width: 11ch;
  text-wrap: balance;
}
.carousel-inner .q_slide_text,
.carousel-inner .q_slide_text span {
  font-family: var(--ls-nav) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: clamp(17px, 1.6vw, 22px) !important;
  line-height: 1.5 !important;
  padding-top: 18px !important;
  padding-bottom: 14px !important;
}
/* soft shade on the text side of each slide so white type stays readable */
.carousel-inner .item .image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42, 34, 54, .55) 0%, rgba(42, 34, 54, .25) 45%, rgba(42, 34, 54, 0) 70%);
  pointer-events: none;
}
.carousel-inner .item .image { position: absolute; }

/* 2. Buttons ("See offers") in the brand purple */
.content a.qbutton,
.carousel-inner a.qbutton {
  display: inline-flex !important;
  align-items: center;
  height: auto !important;
  min-height: 50px;
  padding: 0 30px !important;
  border: 1.5px solid var(--ls-lotus) !important;
  border-radius: 999px !important;
  background-color: var(--ls-lotus) !important;
  color: var(--ls-white) !important;
  font-family: var(--ls-nav) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease !important;
}
.content a.qbutton:hover,
.carousel-inner a.qbutton:hover {
  background-color: var(--ls-lotus-deep) !important;
  border-color: var(--ls-lotus-deep) !important;
  color: var(--ls-white) !important;
}
/* on the photo band the button sits on purple, so make it white */
.parallax_section_holder a.qbutton {
  background-color: var(--ls-white) !important;
  border-color: var(--ls-white) !important;
  color: var(--ls-lotus-deep) !important;
}
.parallax_section_holder a.qbutton:hover {
  background-color: transparent !important;
  color: var(--ls-white) !important;
}
.content a.qbutton:focus-visible, .carousel-inner a.qbutton:focus-visible { outline: 2px solid var(--ls-lotus); outline-offset: 3px; }

/* 3. Section headings */
.content .wpb_wrapper h2 {
  font-family: var(--ls-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(30px, 3.2vw, 42px) !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ls-ink);
}
.content .wpb_wrapper h4 {
  font-family: var(--ls-nav) !important;
  font-weight: 500 !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: var(--ls-lotus-deep) !important;
}
.content .wpb_wrapper h3 {
  font-family: var(--ls-nav) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* 4. "Amazing space" band: lavender tone that leads into the footer */
section.parallax_section_holder { position: relative; }
section.parallax_section_holder::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(123, 94, 167, .78) 0%, rgba(42, 34, 54, .82) 100%);
  pointer-events: none;
}
section.parallax_section_holder .parallax_content { position: relative; z-index: 1; }
section.parallax_section_holder h2 span { color: var(--ls-white) !important; }
section.parallax_section_holder h3,
section.parallax_section_holder h3 span {
  font-size: clamp(17px, 1.6vw, 21px) !important;
  line-height: 1.55 !important;
  color: #E9E3F3 !important;
}

/* 5. Page title banners */
.title .title_holder {
  background: linear-gradient(90deg, rgba(42, 34, 54, .62) 0%, rgba(42, 34, 54, .3) 45%, rgba(42, 34, 54, 0) 75%);
}
.title h1, .title h1 span {
  font-family: var(--ls-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(40px, 5vw, 68px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  color: var(--ls-white) !important;
}

/* ---------- Gallery ---------- */
.gallery_inner li a.qode-prettyphoto {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery_inner li a.qode-prettyphoto img {
  transition: transform .5s ease;
}
.gallery_inner li a.qode-prettyphoto .gallery_hover {
  background: linear-gradient(180deg, rgba(42, 34, 54, 0) 40%, rgba(42, 34, 54, .45) 100%) !important;
}
.gallery_inner li a.qode-prettyphoto .gallery_hover i { display: none !important; }
.gallery_inner li a.qode-prettyphoto:hover,
.gallery_inner li a.qode-prettyphoto:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -12px rgba(42, 34, 54, .35);
}
.gallery_inner li a.qode-prettyphoto:hover img { transform: scale(1.04); }
.gallery_inner li a.qode-prettyphoto:focus-visible { outline: 2px solid var(--ls-lotus); outline-offset: 3px; }

/* ---------- Lightbox ---------- */
.ls-lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(30, 24, 40, .94);
  color: var(--ls-white);
  overflow: hidden;
}
.ls-lightbox::backdrop { background: rgba(30, 24, 40, .94); }
.ls-lb-figure {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 70px 96px;
}
.ls-lb-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .25s ease;
}
.ls-lb-img.is-ready { opacity: 1; }
.ls-lb-count {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  margin: 0; font-family: var(--ls-nav); font-size: 15px; color: #D9D2E6;
}
.ls-lb-btn {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: var(--ls-white);
  cursor: pointer;
  transition: background-color .2s ease;
}
.ls-lb-btn svg { width: 24px; height: 24px; }
.ls-lb-btn:hover { background: var(--ls-lotus); }
.ls-lb-btn:focus-visible { outline: 2px solid var(--ls-lilac); outline-offset: 3px; }
.ls-lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.ls-lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.ls-lb-close { right: 20px; top: 20px; width: 46px; height: 46px; }
@media (max-width: 700px) {
  .ls-lb-figure { padding: 64px 12px 80px; }
  .ls-lb-prev, .ls-lb-next { top: auto; bottom: 12px; transform: none; width: 46px; height: 46px; }
  .ls-lb-prev { left: 16px; } .ls-lb-next { right: 16px; }
  .ls-lb-count { bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery_inner li a.qode-prettyphoto, .gallery_inner li a.qode-prettyphoto img, .ls-lb-img { transition: none; }
  .gallery_inner li a.qode-prettyphoto:hover { transform: none; }
  .gallery_inner li a.qode-prettyphoto:hover img { transform: none; }
}
