/* SubAquaDive design layer. Loaded after the compiled Tailwind CSS, so it can restyle existing classes.
   New classes are prefixed sq-. Build: `npm run build:app` hashes this file into public/_astro/sq-design.<hash>.css. */

@font-face {
  font-family: "Geist";
  src: url("/_astro/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sq-deep: #04222c;
  --sq-teal: #09566b;
  --sq-aqua: #3fb5cf;
  --sq-ink: #f1f1f1;
  --sq-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- typography (Geist, self-hosted: no request to a third-party font server) ---------- */
body,
.font-paragraph {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.font-heading {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.03em;
}
h1.font-heading,
h2.font-heading {
  letter-spacing: -0.04em;
}

/* legible primary buttons everywhere: dark ink on aqua */
.bg-coral-accent.text-background {
  color: #032029;
}

/* ---------- ambient background: soft colour glow + fine grain over the existing wave pattern ---------- */
.page-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60vw 50vh at 85% -5%, rgba(63, 181, 207, 0.22), transparent 70%),
    radial-gradient(55vw 55vh at -10% 55%, rgba(62, 84, 169, 0.25), transparent 70%),
    radial-gradient(70vw 40vh at 50% 110%, rgba(3, 26, 34, 0.5), transparent 70%);
  pointer-events: none;
}

/* ---------- navigation: floating glass pill ---------- */
header.sq-nav {
  top: 12px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(1360px, calc(100% - 24px));
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 40, 52, 0.4);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px -14px rgba(0, 0, 0, 0.5);
  transition: background-color 0.35s, box-shadow 0.35s, top 0.35s, border-color 0.35s;
}
header.sq-nav[data-scrolled="true"] {
  top: 8px;
  background: rgba(4, 34, 44, 0.86);
  border-color: rgba(255, 255, 255, 0.1);
}
header.sq-nav > div {
  max-width: none;
  padding: 6px 12px 6px 14px;
}
header.sq-nav > div > div > a:first-child {
  background: #fff;
  border-radius: 9999px;
  padding: 3px 14px;
}
header.sq-nav > div > div > a:first-child img {
  height: 38px;
  width: auto;
}
header.sq-nav nav a {
  position: relative;
}
header.sq-nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--sq-aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--sq-ease);
}
header.sq-nav nav a:hover::after {
  transform: scaleX(1);
}
@media (max-width: 1023px) {
  header.sq-nav {
    top: 8px;
    width: calc(100% - 16px);
  }
  header.sq-nav > div {
    padding: 5px 8px 5px 10px;
  }
  header.sq-nav > div > div > a:first-child img {
    height: 32px;
  }
}

/* ---------- shared building blocks ---------- */
.sq-section {
  position: relative;
  padding: clamp(72px, 10vw, 168px) clamp(16px, 4vw, 56px);
}
.sq-wrap {
  position: relative;
  max-width: 92rem;
  margin: 0 auto;
}
.sq-head {
  text-align: center;
  margin: 0 auto clamp(28px, 4vw, 56px);
}
.sq-h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
  text-wrap: balance;
  margin: 0;
}
.sq-accent {
  color: var(--sq-aqua);
}
.sq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.35s var(--sq-ease),
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.35s;
}
.sq-btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.35s var(--sq-ease);
}
.sq-btn:hover svg {
  transform: translateX(4px);
}
.sq-btn:focus-visible,
.sq-card:focus-visible,
.sq-slice:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.sq-btn--primary {
  background: var(--sq-aqua);
  color: #032029;
  box-shadow: 0 14px 34px -14px rgba(63, 181, 207, 0.9);
}
.sq-btn--primary:hover {
  background: #6fd0e4;
  transform: translateY(-2px);
}
.sq-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.sq-btn--ghost:hover {
  background: #fff;
  color: #032029;
  transform: translateY(-2px);
}

/* ---------- hero (cinematic, centred) ---------- */
.sq-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 120px clamp(16px, 4vw, 48px) 104px;
  text-align: center;
}
.sq-hero-bg {
  position: absolute;
  inset: -3%;
  z-index: -3;
  background-size: cover;
  background-position: center;
  animation: sq-kb 32s ease-in-out infinite alternate;
  translate: 0 calc(var(--sq-hp, 0) * 90px);
  will-change: scale, translate;
}
@keyframes sq-kb {
  from {
    scale: 1;
  }
  to {
    scale: 1.09;
  }
}
.sq-hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 62% at 50% 46%, rgba(3, 26, 34, 0.74) 0%, rgba(3, 26, 34, 0.46) 55%, rgba(3, 26, 34, 0.3) 100%),
    linear-gradient(180deg, rgba(3, 26, 34, 0.55) 0%, rgba(3, 26, 34, 0) 28%, rgba(3, 26, 34, 0) 62%, #09566b 100%);
}
.sq-hero-inner {
  max-width: 76rem;
  margin: 0 auto;
  opacity: calc(1 - var(--sq-hp, 0) * 1.15);
  transform: translate3d(0, calc(var(--sq-hp, 0) * -48px), 0);
}
.sq-hero-title {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6.4vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #fff;
  text-wrap: balance;
}
.sq-hero-title .sq-line {
  display: block;
}
.sq-hero-sub {
  margin: 28px auto 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: rgba(241, 241, 241, 0.92);
}
.sq-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}
.sq-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 1px;
  height: 56px;
  background: linear-gradient(#fff, transparent);
  transform-origin: top;
  animation: sq-cue 2.4s ease-in-out infinite;
}
@keyframes sq-cue {
  0%,
  100% {
    transform: scaleY(0.25);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ---------- infinite marquee ---------- */
.sq-marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 26, 34, 0.45);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.sq-marquee-track {
  display: flex;
  width: max-content;
  animation: sq-marquee 70s linear infinite;
}
.sq-marquee:hover .sq-marquee-track {
  animation-play-state: paused;
}
.sq-marquee-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 clamp(20px, 3vw, 40px);
  font-size: clamp(1.1rem, 2.1vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: rgba(241, 241, 241, 0.92);
}
.sq-marquee-item::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: clamp(20px, 3vw, 40px);
  border-radius: 9999px;
  background: var(--sq-aqua);
}
@keyframes sq-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- scrubbed statement ---------- */
.sq-statement {
  max-width: 64rem;
  margin: 0 auto clamp(48px, 7vw, 96px);
  text-align: center;
  font-size: clamp(1.45rem, 3.3vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #fff;
}
.sq-statement .sq-w {
  opacity: 0.12;
}
.sq-lead {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: #fff;
  margin: clamp(20px, 2.4vw, 32px) 0 clamp(28px, 3vw, 40px);
}
.sq-lead .sq-w {
  opacity: 0.12;
}

/* ---------- gapless bento (3 cards: 7+5 columns, the first card spans two rows) ---------- */
.sq-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: minmax(300px, auto);
  gap: clamp(12px, 1.6vw, 20px);
}
.sq-bento > .sq-card:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}
.sq-bento > .sq-card:nth-child(2),
.sq-bento > .sq-card:nth-child(3) {
  grid-column: span 5;
}
.sq-bento[data-n="2"] > .sq-card {
  grid-column: span 6;
  grid-row: span 2;
}
.sq-bento[data-n="1"] > .sq-card {
  grid-column: span 12;
  grid-row: span 1;
}
@media (max-width: 1023px) {
  .sq-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sq-bento > .sq-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .sq-bento > .sq-card:nth-child(1) {
    grid-column: span 2;
  }
  .sq-bento[data-n="2"] > .sq-card:nth-child(1) {
    grid-column: span 1;
  }
}
@media (max-width: 639px) {
  .sq-bento {
    grid-template-columns: 1fr;
  }
  .sq-bento > .sq-card:nth-child(n) {
    grid-column: span 1;
  }
}
.sq-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: clamp(20px, 2.6vw, 36px);
  border-radius: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #06303c;
  color: #fff;
  text-decoration: none;
}
.sq-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 26, 34, 0) 25%, rgba(3, 26, 34, 0.55) 62%, rgba(3, 26, 34, 0.92) 100%);
}
.sq-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  transform: scale(var(--sq-scale, 1));
  opacity: var(--sq-opacity, 1);
  will-change: transform, opacity;
}
.sq-media img,
.sq-media .sq-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--sq-ease);
}
.sq-media .sq-fallback {
  background: linear-gradient(140deg, #0e7f9a, #3e54a9);
}
.sq-card:hover .sq-media img,
.sq-feature-media:hover .sq-media img {
  transform: scale(1.06);
}
.sq-card h3 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sq-card p {
  margin: 0 0 18px;
  max-width: 34rem;
  color: rgba(241, 241, 241, 0.88);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sq-card:nth-child(1) p {
  -webkit-line-clamp: 5;
}
.sq-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--sq-aqua);
}
.sq-more svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.35s var(--sq-ease);
}
.sq-card:hover .sq-more svg {
  transform: translateX(5px);
}

/* ---------- horizontal accordion (slices open on hover / focus) ---------- */
.sq-acc {
  display: flex;
  gap: clamp(8px, 1.2vw, 16px);
  height: clamp(440px, 64vh, 600px);
}
.sq-slice {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 2vw, 32px);
  border-radius: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #06303c;
  color: #fff;
  text-decoration: none;
  transition: flex-grow 0.8s var(--sq-ease);
}
.sq-slice[data-on="true"] {
  flex-grow: 4.2;
}
.sq-slice-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 1.2s var(--sq-ease);
}
.sq-slice[data-on="true"] .sq-slice-bg {
  transform: scale(1);
}
.sq-slice::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 26, 34, 0.1) 30%, rgba(3, 26, 34, 0.9) 100%);
}
.sq-slice h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.sq-slice p {
  margin: 0;
  max-width: 28rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  line-height: 1.5;
  color: rgba(241, 241, 241, 0.9);
  transition:
    opacity 0.5s,
    max-height 0.6s var(--sq-ease),
    margin 0.6s var(--sq-ease);
}
.sq-slice[data-on="true"] p {
  max-height: 140px;
  margin-top: 10px;
  opacity: 1;
  transition-delay: 0.15s;
}
@media (max-width: 767px), (hover: none) {
  .sq-acc {
    flex-direction: column;
    height: auto;
  }
  .sq-slice {
    flex: none;
    min-height: 220px;
  }
  .sq-slice[data-on] {
    flex-grow: 0;
  }
  .sq-slice p {
    max-height: none;
    margin-top: 8px;
    opacity: 1;
  }
}

/* ---------- featured dive spot ---------- */
.sq-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 1023px) {
  .sq-feature {
    grid-template-columns: 1fr;
  }
}
.sq-feature-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  border-radius: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #06303c;
}
@media (max-width: 1023px) {
  .sq-feature-media {
    aspect-ratio: 4 / 3;
  }
}
.sq-stat {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  padding: 14px 22px;
  border-radius: 20px;
  background: rgba(3, 26, 34, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.sq-stat b {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.sq-stat span {
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(241, 241, 241, 0.88);
}
.sq-feature .sq-h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
}
.sq-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- closing call to action ---------- */
.sq-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(56px, 9vw, 136px) clamp(20px, 5vw, 80px);
  border-radius: clamp(28px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(63, 181, 207, 0.38), transparent 70%),
    linear-gradient(160deg, #0b6a82, #04222c);
}
.sq-cta .sq-h2 {
  max-width: 62rem;
  margin: 0 auto;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
}
.sq-cta p {
  max-width: 40rem;
  margin: 24px auto 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: rgba(241, 241, 241, 0.92);
}
.sq-cta .sq-hero-cta {
  margin-top: 36px;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .sq-hero-bg,
  .sq-marquee-track,
  .sq-cue {
    animation: none !important;
  }
  .sq-hero-inner {
    opacity: 1 !important;
    transform: none !important;
  }
  .sq-hero-bg {
    translate: none !important;
  }
  .sq-media {
    transform: none !important;
    opacity: 1 !important;
  }
  .sq-slice,
  .sq-slice p,
  .sq-slice-bg,
  .sq-btn,
  .sq-media img {
    transition: none !important;
  }
}

/* ---------- long card texts: first lines only, soft fade (the full text is one click away) ---------- */
.sq-clamp {
  max-height: 11.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent);
  mask-image: linear-gradient(180deg, #000 66%, transparent);
}

/* ---------- empty list: a contact card instead of a blank area ---------- */
.sq-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
  border-radius: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(63, 181, 207, 0.22), transparent 70%), rgba(3, 26, 34, 0.35);
}
.sq-empty h3 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -0.035em;
  color: #fff;
}
.sq-empty p {
  max-width: 36rem;
  margin: 0 auto 24px;
  line-height: 1.55;
  color: rgba(241, 241, 241, 0.9);
}

/* ---------- not-found / page being updated ---------- */
.sq-notfound {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px clamp(16px, 4vw, 48px) 96px;
  text-align: center;
}
.sq-notfound-code {
  margin: 0;
  font-size: clamp(6rem, 22vw, 15rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(63, 181, 207, 0.3);
}
.sq-notfound .sq-h2 {
  margin-top: 8px;
}
.sq-notfound p.font-paragraph {
  max-width: 34rem;
  margin: 20px auto 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(241, 241, 241, 0.92);
}

/* ---------- map (OpenStreetMap, loaded only after the visitor presses the button) ---------- */
.sq-map {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 24rem;
  overflow: hidden;
  border-radius: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(63, 181, 207, 0.28), transparent 70%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 48px 100%,
    #06303c;
}
.sq-map-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 36px 20px 24px;
  text-align: center;
  color: #fff;
}
.sq-map-pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
  border-radius: 9999px;
  background: rgba(63, 181, 207, 0.18);
  color: var(--sq-aqua);
  box-shadow: 0 0 0 10px rgba(63, 181, 207, 0.1), 0 0 0 22px rgba(63, 181, 207, 0.05);
}
.sq-map-pin svg {
  width: 30px;
  height: 30px;
}
.sq-map-cover h3 {
  margin: 8px 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.sq-map-lines,
.sq-map-coords {
  margin: 0;
  color: rgba(241, 241, 241, 0.88);
}
.sq-map-coords {
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
  font-size: 0.95rem;
}
.sq-map-cover .sq-btn {
  margin-top: 14px;
}
.sq-map-note {
  max-width: 26rem;
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(241, 241, 241, 0.72);
}
.sq-map-frame {
  flex: 1;
  width: 100%;
  min-height: 24rem;
  border: 0;
  background: #06303c;
}
.sq-map-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  padding: 12px 16px;
  font-size: 0.85rem;
  background: rgba(3, 26, 34, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(241, 241, 241, 0.85);
}
.sq-map-bar a {
  color: var(--sq-aqua);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- photo band: 4 photos tile a 12 x 2 grid with no gaps ---------- */
.sq-photos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 20vw, 290px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.4vw, 18px);
}
.sq-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #06303c;
}
.sq-photos > .sq-tile:nth-child(1) {
  grid-column: span 6;
  grid-row: span 2;
}
.sq-photos > .sq-tile:nth-child(2),
.sq-photos > .sq-tile:nth-child(3) {
  grid-column: span 3;
}
.sq-photos > .sq-tile:nth-child(4) {
  grid-column: span 6;
}
.sq-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 14px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(3, 26, 34, 0.85));
}
.sq-tile:hover .sq-media img {
  transform: scale(1.06);
}
@media (max-width: 767px) {
  .sq-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sq-photos > .sq-tile:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .sq-photos > .sq-tile:nth-child(1),
  .sq-photos > .sq-tile:nth-child(4) {
    grid-column: span 2;
  }
}

/* ---------- site-wide polish for the older pages: card hover physics, rounder cards, readable outline buttons ---------- */
[class~="border-secondary"][class~="transition-colors"] {
  border-radius: 20px;
  transition:
    transform 0.45s var(--sq-ease),
    border-color 0.3s,
    box-shadow 0.45s var(--sq-ease);
}
[class~="border-secondary"][class~="transition-colors"]:has(a[href], button:not([disabled])):hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.65);
}
[class~="border-secondary"][class~="transition-colors"]:has(a[href], button:not([disabled])):not(:has(form, input, textarea, select)) {
  cursor: pointer;
}
/* information cards (nothing to click) do not pretend to be buttons */
[class~="border-secondary"][class~="transition-colors"]:not(:has(a[href], button)):hover {
  border-color: #3e54a9;
}
[class~="border-secondary"] img {
  transition: transform 0.9s var(--sq-ease);
}
[class~="border-secondary"]:has(a[href], button:not([disabled])):hover img {
  transform: scale(1.04);
}
.sq-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.sq-link:hover {
  color: var(--sq-aqua);
}
.text-coral-accent.border-coral-accent:not(:hover) {
  color: #9fe4f3;
  border-color: rgba(159, 228, 243, 0.7);
}
@media (prefers-reduced-motion: reduce) {
  [class~="border-secondary"][class~="transition-colors"]:hover,
  [class~="border-secondary"]:hover img {
    transform: none !important;
  }
}

/* ======================= booking wizard ======================= */
.sq-bk-page {
  min-height: 100svh;
  padding: 120px clamp(16px, 4vw, 48px) 120px;
}
.sq-bk-top {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.sq-bk-top .sq-h2 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
}
.sq-bk {
  position: relative;
  scroll-margin-top: 100px;
}
.sq-bk-loading {
  display: grid;
  place-items: center;
  min-height: 30vh;
}
.sq-bk-loading span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--sq-aqua);
  animation: sq-spin 0.9s linear infinite;
}
@keyframes sq-spin {
  to {
    transform: rotate(360deg);
  }
}
/* progress */
.sq-bk-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0 auto clamp(24px, 3vw, 40px);
  padding: 0;
  max-width: 40rem;
}
.sq-bk-steps li {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}
.sq-bk-steps li + li::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.sq-bk-steps li.is-done + li::before,
.sq-bk-steps li.is-cur::before {
  background: var(--sq-aqua);
}
.sq-bk-steps button {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  background: none;
  border: 0;
  color: rgba(241, 241, 241, 0.7);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: default;
}
.sq-bk-steps li.is-done button {
  cursor: pointer;
  color: #fff;
}
.sq-bk-steps li.is-cur button {
  color: #fff;
}
.sq-bk-steps i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
  background: #06303c;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--sq-ease);
}
.sq-bk-steps li.is-cur i {
  background: var(--sq-aqua);
  border-color: var(--sq-aqua);
  color: #032029;
  transform: scale(1.08);
}
.sq-bk-steps li.is-done i {
  background: rgba(63, 181, 207, 0.25);
  border-color: var(--sq-aqua);
  color: #fff;
}
/* panes */
.sq-bk-pane {
  animation: sq-bk-in 0.45s var(--sq-ease);
  min-width: 0;
}
@keyframes sq-bk-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.sq-bk-h {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  outline: none;
}
.sq-bk-lead {
  margin: 0 0 24px;
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(241, 241, 241, 0.9);
}
.sq-bk-eyebrow {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sq-aqua);
}
.sq-bk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.sq-chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--sq-ease);
}
.sq-chip:hover {
  border-color: #fff;
  transform: translateY(-1px);
}
.sq-chip.is-on {
  background: var(--sq-aqua);
  border-color: var(--sq-aqua);
  color: #032029;
}
.sq-field .sq-bk-chips {
  margin-bottom: 0;
}
/* service cards */
.sq-bk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 16px;
}
.sq-bk-svc {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: #fff;
  font: inherit;
  cursor: pointer;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 26, 34, 0.5);
  transition: transform 0.4s var(--sq-ease), border-color 0.25s, box-shadow 0.4s var(--sq-ease);
}
.sq-bk-svc:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 181, 207, 0.8);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.7);
}
.sq-bk-svc.is-on {
  border-color: var(--sq-aqua);
  box-shadow: 0 0 0 3px rgba(63, 181, 207, 0.35);
}
.sq-bk-svc-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #06303c;
}
.sq-bk-svc-img img,
.sq-bk-svc-img .sq-fallback,
.sq-bk-sum-img img,
.sq-bk-sum-img .sq-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--sq-ease);
}
.sq-fallback {
  background: linear-gradient(140deg, #0e7f9a, #3e54a9);
}
.sq-bk-svc:hover .sq-bk-svc-img img {
  transform: scale(1.06);
}
.sq-bk-svc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 8px;
}
.sq-bk-svc-body strong {
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sq-bk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sq-bk-tags em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}
.sq-bk-svc-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(241, 241, 241, 0.82);
}
.sq-bk-svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sq-bk-svc-foot b {
  font-size: 1.15rem;
}
.sq-bk-svc-foot small {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}
.sq-bk-pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--sq-aqua);
}
/* layout of steps 2 and 3 */
.sq-bk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 1023px) {
  .sq-bk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.sq-bk-aside {
  position: sticky;
  top: 108px;
}
.sq-bk-card {
  margin-bottom: 16px;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(3, 26, 34, 0.45);
}
.sq-bk-label {
  margin: 0 0 12px;
  font-weight: 700;
  color: #fff;
}
.sq-bk-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 639px) {
  .sq-bk-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* calendar */
.sq-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  text-transform: capitalize;
}
.sq-cal-nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.sq-cal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.sq-cal-nav:not(:disabled):hover {
  background: #fff;
  color: #032029;
}
.sq-cal-week,
.sq-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.sq-cal-week span {
  padding-bottom: 4px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.sq-cal-day {
  aspect-ratio: 1;
  min-height: 40px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--sq-ease);
}
.sq-cal-day:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  background: none;
}
.sq-cal-day:not(:disabled):hover {
  background: rgba(63, 181, 207, 0.3);
  transform: scale(1.06);
}
.sq-cal-day.is-today {
  border-color: rgba(255, 255, 255, 0.5);
}
.sq-cal-day.is-on {
  background: var(--sq-aqua);
  color: #032029;
}
/* time + participants */
.sq-bk-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sq-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 68px;
  justify-content: center;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--sq-ease);
}
.sq-time strong {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.sq-time small {
  font-size: 0.8rem;
  opacity: 0.85;
}
.sq-time:hover {
  border-color: #fff;
  transform: translateY(-1px);
}
.sq-time.is-on {
  background: var(--sq-aqua);
  border-color: var(--sq-aqua);
  color: #032029;
}
.sq-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.sq-step button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--sq-ease);
}
.sq-step button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.sq-step button:not(:disabled):hover {
  background: #fff;
  color: #032029;
  transform: scale(1.05);
}
.sq-step output {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.sq-step output strong {
  font-size: 2rem;
  font-weight: 800;
}
.sq-step output small {
  font-size: 0.8rem;
  opacity: 0.85;
}
/* summary */
.sq-bk-sum {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 26, 34, 0.6);
}
.sq-bk-sum-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #06303c;
}
.sq-bk-sum-body {
  padding: 18px 20px 20px;
}
.sq-bk-sum-body h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.sq-bk-sum dl {
  display: grid;
  gap: 8px;
  margin: 0;
}
.sq-bk-sum dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}
.sq-bk-sum dt {
  opacity: 0.75;
}
.sq-bk-sum dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.sq-bk-total {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.sq-bk-total > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sq-bk-total strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sq-aqua);
}
.sq-bk-total small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.75;
}
.sq-bk-sum.is-compact {
  margin-bottom: 16px;
}
.sq-bk-sum.is-compact .sq-bk-sum-body {
  padding: 16px 20px;
}
/* form */
.sq-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.sq-field label {
  font-weight: 700;
  color: #fff;
}
.sq-field input,
.sq-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.sq-field textarea {
  padding: 14px 16px;
  resize: vertical;
}
.sq-field input::placeholder,
.sq-field textarea::placeholder {
  color: rgba(241, 241, 241, 0.5);
}
.sq-field input:focus,
.sq-field textarea:focus {
  outline: none;
  border-color: var(--sq-aqua);
  box-shadow: 0 0 0 4px rgba(63, 181, 207, 0.25);
  background: rgba(255, 255, 255, 0.1);
}
.sq-field.has-err input {
  border-color: #ff9c9c;
  box-shadow: 0 0 0 4px rgba(255, 138, 138, 0.18);
}
.sq-field small {
  color: #ffc2c2;
  font-size: 0.88rem;
}
.sq-bk-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.8;
}
.sq-bk-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sq-bk-alert {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 156, 156, 0.6);
  background: rgba(120, 30, 30, 0.35);
}
.sq-bk-alert svg {
  flex: none;
  margin-top: 2px;
  color: #ffb4b4;
}
.sq-bk-alert p {
  margin: 4px 0 8px;
  line-height: 1.5;
}
.sq-bk-alert a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* actions */
.sq-bk-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.sq-bk-actions.is-center {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.sq-bk-bar-btns {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.sq-bk-actions .sq-bk-bar-btns {
  width: 100%;
  justify-content: space-between;
}
.sq-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.sq-bk-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(4, 34, 44, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.sq-bk-bar-total {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.sq-bk-bar-total small {
  font-size: 0.72rem;
  opacity: 0.8;
}
.sq-bk-bar-total strong {
  font-size: 1.3rem;
  color: var(--sq-aqua);
}
.sq-bk-bar .sq-btn {
  min-height: 48px;
  padding: 0 20px;
}
@media (max-width: 1023px) {
  .sq-bk-page {
    padding-bottom: 150px;
  }
  .sq-booking-page a[aria-label="Contact us on WhatsApp"] {
    bottom: 6rem;
  }
}
/* confirmation */
.sq-bk-done {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  animation: sq-bk-in 0.5s var(--sq-ease);
}
.sq-bk-done .sq-bk-lead {
  margin-inline: auto;
}
.sq-bk-check {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #032029;
  background: var(--sq-aqua);
  box-shadow: 0 0 0 12px rgba(63, 181, 207, 0.18), 0 0 0 26px rgba(63, 181, 207, 0.08);
  animation: sq-pop 0.7s var(--sq-ease);
}
@keyframes sq-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
  }
}
.sq-bk-recap {
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.sq-bk-recap .sq-bk-sum {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.sq-bk-ref {
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}
.sq-bk-ref strong {
  color: var(--sq-aqua);
  word-break: break-all;
}
.sq-bk-next {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: n;
  text-align: left;
}
.sq-bk-next li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 52px;
  counter-increment: n;
}
.sq-bk-next li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 800;
  color: #032029;
  background: var(--sq-aqua);
}
.sq-bk-next span {
  opacity: 0.85;
  line-height: 1.45;
}
.is-embedded .sq-bk-grid {
  grid-template-columns: minmax(0, 1fr);
}
.is-embedded .sq-bk-steps {
  max-width: 26rem;
  margin-bottom: 24px;
}
@media (prefers-reduced-motion: reduce) {
  .sq-bk-pane,
  .sq-bk-done,
  .sq-bk-check {
    animation: none;
  }
}

/* booking: readable text colour on the dark page, compact calendar next to time + participants */
.sq-bk-page,
.sq-bk {
  color: var(--sq-ink);
}
.sq-cal-head strong {
  color: #fff;
}
@media (min-width: 900px) {
  .sq-bk-pane:has(.sq-cal) {
    display: grid;
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }
  .sq-bk-pane:has(.sq-cal) > .sq-bk-h,
  .sq-bk-pane:has(.sq-cal) > .sq-bk-actions,
  .sq-bk-pane:has(.sq-cal) > .sq-bk-sum,
  .sq-bk-pane:has(.sq-cal) > .sq-bk-bar {
    grid-column: 1 / -1;
  }
  .sq-bk-pane:has(.sq-cal) .sq-bk-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ======================= one heading system for the whole site ======================= */
/* page and section titles: uppercase, heavy, tight. card / item titles: normal case. (Before: half the titles were uppercase, half not,
   and weights ranged from 700 to 900.) */
h1.font-heading,
h2.font-heading,
.sq-bk-h,
.sq-h2 {
  text-transform: uppercase;
}
.font-heading.font-black {
  font-weight: 800;
}
h3.font-heading,
h4.font-heading {
  text-transform: none;
}
.sq-bk-h {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

/* ======================= booking: guidance + always-visible actions ======================= */
.sq-bk-hint {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(241, 241, 241, 0.85);
}
.sq-bk-actions {
  position: sticky;
  bottom: 14px;
  z-index: 6;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 9999px;
  background: rgba(4, 34, 44, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
}
.sq-bk-actions .sq-bk-hint {
  flex: 1 1 100%;
  text-align: center;
  order: -1;
  margin-bottom: 4px;
}
.sq-bk-bar {
  flex-wrap: wrap;
}
.sq-bk-bar .sq-bk-hint {
  flex: 1 1 100%;
}
.sq-bk-actions.is-center {
  position: static;
  background: none;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* same size, weight and rhythm for every page title / section title */
h1.font-heading:not(.sq-hero-title),
h1.font-black:not(.sq-hero-title) {
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
}
h2.font-heading:not(.sq-h2):not(.sq-bk-h),
h2.font-black {
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}
h3.font-black {
  font-weight: 800;
}

/* ======================= booking polish: calm action buttons, clearer progress ======================= */
/* Desktop: Back / Continue are plain buttons in the column under "Time" and "Participants" (no floating dark bar that
   covered the last calendar row). Mobile keeps its fixed bottom bar. */
.sq-bk-actions:not(.is-center) {
  position: static;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  margin-top: 8px;
}
.sq-bk-actions:not(.is-center) .sq-bk-hint {
  order: 0;
  text-align: left;
  margin: 0 0 4px;
  font-size: 0.85rem;
  opacity: 0.8;
}
@media (min-width: 900px) {
  .sq-bk-pane:has(.sq-cal) {
    grid-template-rows: auto auto auto 1fr;
  }
  .sq-bk-pane:has(.sq-cal) > .sq-bk-card:has(.sq-cal) {
    grid-column: 1;
    grid-row: 2 / span 3;
    margin-bottom: 0;
  }
  .sq-bk-pane:has(.sq-cal) > .sq-bk-two {
    grid-column: 2;
    grid-row: 2;
  }
  .sq-bk-pane:has(.sq-cal) > .sq-bk-actions {
    grid-column: 2;
    grid-row: 3;
  }
}
/* progress: finished steps are solid with a check, the current step is a bright ring */
.sq-bk-steps li.is-done i {
  background: var(--sq-aqua);
  border-color: var(--sq-aqua);
  color: #032029;
}
.sq-bk-steps li.is-cur i {
  background: #fff;
  border-color: #fff;
  color: #06303c;
  box-shadow: 0 0 0 5px rgba(63, 181, 207, 0.4);
  transform: scale(1.04);
}
/* a shorter page title so the first choice is visible without scrolling */
.sq-bk-page {
  padding-top: 104px;
}
.sq-bk-top {
  margin-bottom: clamp(14px, 2vw, 24px);
}
.sq-bk-top h1.sq-h2.font-heading {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.04;
}
.sq-bk-steps {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
