/* Unlock the Mind Counselling Services — Quiet Clarity */

:root {
  --white: #ffffff;
  --aqua-soft: #ecf9f8;
  --aqua-pale: #ddf7f5;
  --aqua: #52c8c6;
  --teal: #126c70;
  --teal-dark: #0b4f53;
  --text: #172e31;
  --text-secondary: #587074;
  --warm: #f7f5f0;
  --warm-highlight: #f4b56a;
  --border: rgba(18, 108, 112, 0.14);
  --border-strong: rgba(18, 108, 112, 0.28);
  --shadow-card: 0 18px 38px -26px rgba(9, 67, 70, 0.42), 0 3px 0 rgba(18, 108, 112, 0.07);
  --shadow-raised: 0 28px 58px -30px rgba(9, 67, 70, 0.46), 0 7px 0 rgba(18, 108, 112, 0.06);
  --shadow-media: 0 32px 70px -36px rgba(9, 67, 70, 0.5), 0 8px 0 rgba(18, 108, 112, 0.08);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  isolation: isolate;
  background: #edf7f6;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-color: #edf7f6;
  background-image:
    linear-gradient(112deg, rgba(244, 252, 251, 0.72) 0%, rgba(238, 250, 249, 0.58) 48%, rgba(236, 249, 248, 0.74) 100%),
    var(--page-photo, none);
  background-position: center;
  background-size: cover;
  content: "";
  pointer-events: none;
}

body.theme-home {
  --page-photo: url("../images/service-trauma.webp");
}

body.theme-services {
  --page-photo: url("../images/service-anxiety.webp");
}

body.theme-about {
  --page-photo: url("../images/service-depression.webp");
}

body.theme-blog {
  --page-photo: url("../images/service-relationships.webp");
}

body.theme-booking::before {
  background-image:
    radial-gradient(circle at 84% 14%, rgba(82, 200, 198, 0.28) 0 13%, transparent 13.5%),
    radial-gradient(circle at 8% 58%, rgba(18, 108, 112, 0.12) 0 9%, transparent 9.5%),
    linear-gradient(135deg, #f7fcfb 0%, #e4f7f5 54%, #f7f5f0 100%);
}

body > main,
body > .site-footer {
  position: relative;
  z-index: 1;
}

body > .site-header {
  z-index: 100;
}

body.nav-open {
  overflow: hidden;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.52em;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 5.4vw, 4.9rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--aqua-pale);
  color: var(--teal-dark);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--warm-highlight);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(130%);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 36px -30px rgba(9, 67, 70, 0.65);
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  max-width: var(--container);
  margin-inline: auto;
  padding: 10px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-frame,
.footer-logo-frame {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 20px -16px rgba(9, 67, 70, 0.7);
}

.brand-logo,
.footer-logo {
  position: absolute;
  inset: -9px auto auto -9px;
  width: 72px;
  max-width: none;
  height: 72px;
}

.brand-text {
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.05;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.nav-links a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.91rem;
  font-weight: 800;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--teal-dark);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(18, 108, 112, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  border-radius: 3px;
  background: var(--teal-dark);
  transition: transform 220ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-primary {
  border-color: var(--teal-dark);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 5px 0 var(--teal-dark), 0 16px 26px -18px rgba(9, 67, 70, 0.7);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #073d40, 0 20px 32px -18px rgba(9, 67, 70, 0.7);
}

.btn-outline {
  border-color: var(--border-strong);
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 4px 0 rgba(18, 108, 112, 0.12);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--aqua);
  background: var(--aqua-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(18, 108, 112, 0.12);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(9, 67, 70, 0.28);
}

.btn-block {
  width: 100%;
}

/* Shared sections */
main {
  overflow: clip;
}

section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-tight {
  padding-block: clamp(56px, 7vw, 88px);
}

.section-aqua {
  background: rgba(226, 248, 246, 0.92);
  backdrop-filter: blur(9px);
}

.section-warm {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(9px);
}

.theme-home main > section:not(.welcome-carousel),
.theme-services main > section,
.theme-about main > section,
.theme-blog main > section,
.theme-booking main > section {
  border-top: 1px solid rgba(255, 255, 255, 0.58);
}

.theme-home main > section:not(.welcome-carousel):not(.section-aqua),
.theme-services main > section:not(.section-aqua),
.theme-about main > section:not(.section-aqua),
.theme-blog main > section:not(.section-aqua),
.theme-booking main > section:not(.section-aqua):not(.section-warm) {
  background: rgba(251, 254, 253, 0.6);
  backdrop-filter: blur(4px);
}

.section-rule {
  width: min(100% - 48px, var(--container));
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--border-strong) 16%, var(--border-strong) 84%, transparent);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  content: "";
}

.eyebrow.centered {
  justify-content: center;
}

.lede {
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.center p {
  margin-inline: auto;
}

.section-header p,
.muted {
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

.text-center .lede,
.text-center p {
  margin-inline: auto;
}

.small-note {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

/* Image-led welcome carousel */
.welcome-carousel {
  position: relative;
  height: clamp(590px, calc(100svh - var(--header-height)), 860px);
  min-height: 590px;
  padding: 0;
  overflow: hidden;
  background: var(--teal-dark);
  color: var(--white);
}

.welcome-carousel:focus-visible {
  outline: 4px solid var(--warm-highlight);
  outline-offset: -4px;
}

.carousel-viewport {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 950ms ease, visibility 0s linear 950ms;
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 950ms ease;
}

.carousel-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.carousel-slide:first-child > img {
  object-position: 55% center;
}

.carousel-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 35, 38, 0.9) 0%, rgba(4, 42, 44, 0.74) 38%, rgba(4, 42, 44, 0.24) 70%, rgba(4, 42, 44, 0.12) 100%),
    linear-gradient(0deg, rgba(3, 31, 33, 0.58) 0%, transparent 48%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding-top: clamp(46px, 8vh, 86px);
  padding-bottom: 112px;
  align-items: center;
}

.carousel-copy {
  max-width: min(760px, 66vw);
}

.carousel-copy h1,
.carousel-copy h2 {
  max-width: 13ch;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.75rem, 5.6vw, 5.3rem);
  letter-spacing: -0.05em;
  text-shadow: 0 3px 24px rgba(0, 24, 26, 0.42);
}

.carousel-copy p {
  max-width: 52ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.65vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 24, 26, 0.5);
}

.eyebrow-light {
  color: #d9fffb;
  text-shadow: 0 2px 10px rgba(0, 24, 26, 0.52);
}

.eyebrow-light::before {
  background: #8fe3df;
}

.carousel-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-glass {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(6, 55, 58, 0.46);
  color: var(--white);
  box-shadow: 0 5px 0 rgba(1, 25, 27, 0.46);
  backdrop-filter: blur(10px);
}

.btn-glass:hover,
.btn-glass:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(1, 25, 27, 0.46);
}

.carousel-controls {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  display: flex;
  min-height: 44px;
  padding: 4px 8px;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(3, 43, 46, 0.8);
  box-shadow: 0 18px 46px -24px rgba(0, 16, 18, 0.88);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.carousel-dot {
  min-height: 44px;
  border: 0;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  align-items: center;
}

.carousel-dot {
  position: relative;
  width: 44px;
  padding: 0;
  background: transparent;
}

.carousel-dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: transparent;
  content: "";
  transform: translate(-50%, -50%);
  transition: width 220ms ease, background-color 220ms ease;
}

.carousel-dot:hover::after,
.carousel-dot:focus-visible::after {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.is-active::after {
  width: 22px;
  background: var(--white);
}

/* Hero */
.hero {
  padding-block: clamp(68px, 8vw, 108px);
  background: linear-gradient(180deg, rgba(225, 248, 246, 0.92) 0%, rgba(247, 252, 251, 0.86) 100%);
}

.hero::before {
  position: absolute;
  top: 15%;
  right: -10%;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(82, 200, 198, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 14px;
}

.pill {
  display: inline-flex;
  padding: 8px 13px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.pill svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--aqua);
}

.page-hero {
  padding-block: clamp(64px, 7.5vw, 96px);
}

.page-hero .container {
  position: relative;
  max-width: 820px;
  margin-left: max(24px, calc((100vw - var(--container)) / 2));
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-raised);
  backdrop-filter: blur(16px);
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
}

/* Cards and tactile surfaces */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card,
.session-card,
.form-card,
.info-card {
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.card {
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.card:hover,
.card:focus-within {
  border-color: var(--border-strong);
  transform: translateY(-7px) rotate(0.18deg);
  box-shadow: var(--shadow-raised);
}

.card:nth-child(even):hover,
.card:nth-child(even):focus-within {
  transform: translateY(-7px) rotate(-0.18deg);
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(82, 200, 198, 0.24);
  border-radius: 15px;
  background: var(--aqua-soft);
  color: var(--teal);
  box-shadow: 0 4px 0 rgba(18, 108, 112, 0.08);
}

.card-icon svg {
  width: 27px;
  height: 27px;
}

.card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.service-card {
  overflow: hidden;
  padding: 0;
}

.service-image {
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: var(--aqua-soft);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.theme-services .service-image {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 248, 246, 0.94));
}

.theme-services .service-image img {
  padding: 12px;
  object-fit: contain;
}

.service-card:hover .service-image img,
.service-card:focus-within .service-image img {
  transform: scale(1.045);
}

.service-content {
  padding: 27px 28px 30px;
}

.service-content h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.service-link {
  display: inline-flex;
  margin-top: 20px;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
}

.service-link span {
  transition: transform 180ms ease;
}

.service-link:hover span,
.service-link:focus-visible span {
  transform: translateX(4px);
}

/* Media and feature rows */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 7px solid var(--white);
  border-radius: var(--radius-xl);
  background: var(--aqua-soft);
  box-shadow: var(--shadow-media);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.feature-media:hover img {
  transform: scale(1.025);
}

.trust-panel {
  display: grid;
  min-height: 330px;
  padding: clamp(32px, 5vw, 56px);
  align-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--aqua-soft);
  box-shadow: var(--shadow-card);
}

.trust-panel-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(82, 200, 198, 0.35);
  border-radius: 18px;
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 5px 0 rgba(18, 108, 112, 0.08);
}

.trust-panel-mark svg {
  width: 30px;
  height: 30px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Video */
.home-video-section {
  background: rgba(248, 253, 252, 0.94) !important;
}

.video-feature {
  max-width: 1040px;
}

.media-intro {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 42px);
  text-align: center;
}

.media-intro p {
  margin: 0;
  color: var(--text-secondary);
}

.video-shell {
  position: relative;
  overflow: hidden;
  padding: 7px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-media);
}

.video-feature .video-shell {
  width: 100%;
  margin-inline: auto;
}

.video-shell::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--radius-xl) - 7px);
  content: "";
  pointer-events: none;
}

.welcome-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-xl) - 7px);
  background: var(--teal-dark);
  object-fit: cover;
}

/* Booking */
.booking-hero {
  overflow: hidden;
}

.booking-hero::before {
  top: -24%;
  right: -5%;
  width: min(44vw, 560px);
  height: min(44vw, 560px);
  border: 1px solid rgba(82, 200, 198, 0.32);
  background: radial-gradient(circle, rgba(82, 200, 198, 0.18), rgba(82, 200, 198, 0) 68%);
}

.booking-hero::after {
  position: absolute;
  bottom: -170px;
  left: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(18, 108, 112, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.booking-hero .container {
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  overflow: hidden;
}

.booking-hero h1 {
  max-width: 12ch;
}

.booking-summary-list {
  display: grid;
  margin-top: clamp(30px, 5vw, 48px);
  padding-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
}

.booking-summary-list li {
  padding: 4px clamp(18px, 3vw, 30px);
}

.booking-summary-list li:first-child {
  padding-left: 0;
}

.booking-summary-list li + li {
  border-left: 1px solid var(--border);
}

.booking-summary-list strong,
.booking-summary-list span {
  display: block;
}

.booking-summary-list strong {
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.booking-summary-list span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

.session-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.session-card {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.session-card:hover,
.session-card:focus-within {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
}

.session-info h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.session-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.session-card .btn {
  min-height: 42px;
  padding: 9px 14px;
  flex: 0 0 auto;
  font-size: 0.8rem;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.steps::before {
  position: absolute;
  top: 43px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(82, 200, 198, 0.2), var(--aqua), rgba(82, 200, 198, 0.2));
  content: "";
}

.step {
  position: relative;
  padding: 24px 22px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--teal-dark);
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 4px 0 var(--teal-dark);
}

.step p {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.78fr);
  align-items: start;
  gap: 38px;
}

.booking-layout > * {
  min-width: 0;
}

.form-card,
.info-card {
  border-radius: var(--radius-lg);
}

.form-card {
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-raised);
}

.info-card {
  padding: 28px;
}

.info-card + .info-card {
  margin-top: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  margin-bottom: 18px;
  flex-direction: column;
  gap: 7px;
}

.field label {
  color: var(--teal-dark);
  font-size: 0.83rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fbfefd;
  color: var(--text);
  caret-color: var(--teal);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field textarea {
  min-height: 122px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(82, 200, 198, 0.18);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #a54135;
}

.privacy-note {
  display: flex;
  margin: -2px 0 20px;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

.privacy-note svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: var(--teal);
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--aqua-soft);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-success.show {
  display: block;
}

.info-row {
  display: flex;
  margin-bottom: 18px;
  align-items: flex-start;
  gap: 13px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row svg {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--teal);
}

.info-row strong,
.info-row span {
  display: block;
  overflow-wrap: anywhere;
}

.info-row strong {
  color: var(--teal-dark);
  font-size: 0.9rem;
}

.info-row span,
.info-row a {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.map-card {
  overflow: hidden;
  padding: 0;
}

.map-card iframe {
  width: 100%;
  height: 240px;
  border: 0;
}

/* About */
.about-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}

.about-hero h1 {
  font-size: clamp(2.45rem, 4.5vw, 4rem);
}

.about-photo-wrap {
  position: relative;
  padding: 0 28px 28px 0;
}

.about-photo-frame {
  position: relative;
  overflow: hidden;
  border: 7px solid var(--white);
  border-radius: 46% 46% 22px 22px;
  background: var(--aqua-soft);
  box-shadow: var(--shadow-media);
}

.about-photo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center top;
}


.accred-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: center;
  gap: 56px;
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.accred-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-secondary);
  font-size: 0.91rem;
  font-weight: 800;
}

.accred-item svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  flex: 0 0 auto;
  color: var(--aqua);
}

.accred-seal {
  position: relative;
  display: grid;
  width: 210px;
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 8px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-raised);
}

.accred-seal img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.therapy-item {
  display: flex;
  padding: 18px 20px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 0.91rem;
  font-weight: 800;
  box-shadow: 0 4px 0 rgba(18, 108, 112, 0.06);
}

.therapy-item svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--aqua);
}

.callout {
  max-width: 38ch;
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid var(--aqua);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-style: italic;
  line-height: 1.45;
}

/* Blog resources */
.resource-hero h1 {
  max-width: 15ch;
}

.resource-grid {
  display: grid;
  gap: clamp(24px, 4vw, 38px);
}

.resource-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.34fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-raised);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.resource-card:hover,
.resource-card:focus-within {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-media);
}

.resource-media {
  display: grid;
  min-height: 360px;
  padding: clamp(18px, 3vw, 30px);
  place-items: center;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.98) 0 42%, rgba(229, 249, 247, 0.98) 72%),
    var(--aqua-soft);
}

.resource-media img {
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: contain;
}

.resource-content {
  display: flex;
  padding: clamp(30px, 5vw, 54px);
  flex-direction: column;
  justify-content: center;
}

.resource-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.resource-content p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.resource-link {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  margin-top: 10px;
  padding: 10px 0;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 800;
}

.resource-link span {
  transition: transform 180ms ease;
}

.resource-link:hover span,
.resource-link:focus-visible span {
  transform: translate(3px, -3px);
}

/* Footer */
.site-footer {
  padding: 66px 0 24px;
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr) minmax(260px, 1fr);
  gap: clamp(32px, 6vw, 72px);
}

.footer-logo-frame {
  width: 62px;
  height: 62px;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-logo {
  inset: -10px auto auto -10px;
  width: 82px;
  height: 82px;
}

.footer-brand-text {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
}

.footer-brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--aqua);
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 48ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.footer-col h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact-row {
  display: flex;
  margin-bottom: 13px;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.footer-contact-row svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--aqua);
}

.footer-contact-row a {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.footer-accred {
  display: flex;
  margin-top: 42px;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-badge {
  display: inline-flex;
  padding: 7px 11px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.73rem;
  font-weight: 800;
}

.footer-badge svg {
  width: 15px;
  height: 15px;
  color: var(--aqua);
}

.footer-bottom {
  display: flex;
  margin-top: 24px;
  padding-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}

/* Motion: content remains visible unless JavaScript explicitly enables it. */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .stagger > .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.js-enabled .stagger > .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.js-enabled .stagger > .reveal:nth-child(4) {
  transition-delay: 70ms;
}

.js-enabled .stagger > .reveal:nth-child(5) {
  transition-delay: 150ms;
}

.js-enabled .stagger > .reveal:nth-child(6) {
  transition-delay: 230ms;
}

.js-enabled .media-reveal img {
  transform: scale(1.035);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-enabled .media-reveal.is-visible img {
  transform: scale(1);
}

.js-enabled .media-reveal.is-visible:hover img {
  transform: scale(1.025);
}

@media (max-width: 1020px) {
  .nav-links {
    gap: 18px;
  }

  .nav-cta > .btn {
    display: none;
  }

  .session-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-copy {
    max-width: 76vw;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .nav {
    min-height: var(--header-height);
  }

  .brand-logo-frame {
    width: 49px;
    height: 49px;
  }

  .brand-logo {
    inset: -8px auto auto -8px;
    width: 65px;
    height: 65px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: grid;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    align-items: stretch;
    gap: 0;
    border: 0 solid var(--border);
    border-radius: 0 0 16px 16px;
    background: var(--white);
    box-shadow: 0 24px 44px -32px rgba(9, 67, 70, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: max-height 300ms ease, padding 300ms ease, opacity 200ms ease, transform 220ms ease, visibility 0s linear 300ms;
  }

  .nav-links.open {
    max-height: 430px;
    padding-block: 10px 14px;
    border-width: 0 1px 1px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-links li + li {
    border-top: 1px solid var(--border);
  }

  .nav-links a {
    padding: 13px 10px;
  }

  .nav-links a::after {
    right: auto;
    bottom: 9px;
    left: 10px;
    width: 28px;
  }

  .feature-row,
  .about-hero,
  .accred-layout,
  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-card {
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .card-grid,
  .therapy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-layout {
    gap: 28px;
  }

  .accred-seal {
    margin-top: 12px;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body::before {
    position: absolute;
    min-height: 100%;
    background-position: center top;
  }

  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .nav {
    padding-inline: 17px;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.55rem;
  }

  .welcome-carousel {
    height: calc(100svh - var(--header-height));
    min-height: 620px;
    max-height: 790px;
  }

  .carousel-shade {
    background:
      linear-gradient(90deg, rgba(3, 35, 38, 0.88) 0%, rgba(4, 42, 44, 0.62) 72%, rgba(4, 42, 44, 0.3) 100%),
      linear-gradient(0deg, rgba(3, 31, 33, 0.72) 0%, rgba(3, 31, 33, 0.08) 58%);
  }

  .carousel-content {
    padding-top: 42px;
    padding-bottom: 142px;
    align-items: center;
  }

  .carousel-copy {
    max-width: 100%;
  }

  .carousel-copy h1,
  .carousel-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10vw, 3.55rem);
  }

  .carousel-copy p {
    max-width: 38ch;
    font-size: 1rem;
  }

  .carousel-slide:first-child > img {
    object-position: 62% center;
  }

  .carousel-controls {
    bottom: 12px;
    width: auto;
    min-height: 0;
    padding: 4px 8px;
  }

  .card-grid,
  .therapy-grid,
  .session-list,
  .steps,
  .accred-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }

  .resource-media {
    min-height: 290px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .resource-content {
    padding: 28px 24px 32px;
  }

  .booking-summary-list {
    grid-template-columns: 1fr;
  }

  .booking-summary-list li,
  .booking-summary-list li:first-child {
    padding: 14px 0;
  }

  .booking-summary-list li + li {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .steps {
    gap: 18px;
  }

  .steps::before {
    top: 42px;
    bottom: 42px;
    left: 42px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(82, 200, 198, 0.2), var(--aqua), rgba(82, 200, 198, 0.2));
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand-text {
    max-width: 140px;
  }

  .nav {
    gap: 10px;
  }

  .welcome-carousel {
    min-height: 650px;
  }

  .carousel-content {
    padding-bottom: 170px;
  }

  .carousel-copy h1,
  .carousel-copy h2 {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

  .carousel-actions {
    margin-top: 24px;
  }

  .carousel-actions .btn {
    width: 100%;
  }

  .carousel-controls {
    bottom: 10px;
    width: calc(100% - 16px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .session-card .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js-enabled .reveal,
  .js-enabled .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .js-enabled .media-reveal img,
  .js-enabled .media-reveal.is-visible img {
    transform: none;
  }
}
