/* ==========================================================================
   Carespot theme — design system from Figma "Web design Carespot" (1440 grid)
   ========================================================================== */

:root {
  --c-navy: #1b2b51;
  --c-ink: #1d2939;
  --c-deep: #001f45;
  --c-orange: #f97b15;
  --c-orange-dark: #de6a0c;
  --c-teal: #04b8c7;
  --c-teal-dark: #03a2af;
  --c-bg: #f3faff;
  --c-bg-2: #f9fafb;
  --c-border: #cbd5e1;
  --c-border-2: #d0d5dd;
  --c-muted: #64748b;
  --c-muted-2: #475467;
  --c-placeholder: #b8bfca;
  --c-white: #ffffff;

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 8.333vw, 120px);
  --section-y: clamp(48px, 5vw, 72px);
  --header-h: 100px;

  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-img: 28px;
  --radius-input: 8px;
  --radius-sm: 12px;

  --shadow-card: 0 4px 24px rgba(27, 43, 81, 0.06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding keeps focused fields and #anchors (e.g. the checkout's first invalid field) clear of the sticky header. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 30px;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
strong, b { font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 3px; }

/* ---------- Layout ---------- */
.cs-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.cs-section { padding: var(--section-y) 0; }
.cs-section--tint { background: var(--c-bg); }
.cs-section--tint-2 { background: var(--c-bg-2); }
.cs-section--white { background: var(--c-white); }
.cs-section--bordered { border-top: 1px solid var(--c-border-2); border-bottom: 1px solid var(--c-border-2); }
.cs-center { text-align: center; }
.cs-narrow { max-width: 832px; margin-left: auto; margin-right: auto; }
.cs-stack > * + * { margin-top: 12px; }
.cs-grid { display: grid; gap: 24px; }
.cs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cs-grid--2, .cs-grid--3, .cs-grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Typography ---------- */
.cs-h1, .cs-h2, .cs-h3, .cs-h4 { font-family: var(--font-head); color: var(--c-navy); font-weight: 700; }
.cs-h1 { font-size: clamp(40px, 4.45vw, 64px); line-height: 1.125; letter-spacing: -1px; }
.cs-h1--semibold { font-weight: 600; }
.cs-h2 { font-size: clamp(32px, 3.34vw, 48px); line-height: 1.17; letter-spacing: -1px; }
.cs-h2--x { font-weight: 800; }
.cs-h2--deep { color: var(--c-deep); }
.cs-h3 { font-size: 24px; line-height: 36px; font-weight: 600; }
.cs-h3--bold { font-weight: 700; line-height: 32px; }
.cs-h4 { font-size: 20px; line-height: 28px; font-weight: 600; }
.cs-lead { font-size: 18px; line-height: 30px; }
.cs-body { font-size: 18px; line-height: 30px; color: var(--c-ink); }
.cs-small { font-size: 14px; line-height: 20px; }
.cs-muted { color: var(--c-muted); }
.cs-eyebrow { font-family: var(--font-head); font-weight: 500; font-size: 18px; line-height: 30px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--c-orange); }
@media (min-width: 1025px) { .cs-hero__eyebrow { white-space: nowrap; } }
.accent { color: var(--c-orange); }
.accent-2 { color: var(--c-teal); }
.cs-hero__title .is-regular { font-weight: 400; }
/* Line break the design puts in running copy; phones reflow freely. */
@media (max-width: 640px) { .cs-br-desktop { display: none; } }
.cs-h1 .accent-2, .cs-h2 .accent-2 { color: var(--c-teal); }
.cs-prose p + p { margin-top: 12px; }
.cs-prose strong { color: var(--c-ink); }
.cs-prose ul { list-style: disc; padding-left: 1.25em; }
.cs-prose ul li + li { margin-top: 6px; }

/* ---------- Buttons ---------- */
.cs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 24px;
  color: var(--c-white); background: var(--c-orange);
  border: 2px solid transparent;
  text-align: center; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
/* Translated labels run longer than the English design: let them wrap instead of overflowing on phones. */
@media (max-width: 640px) { .cs-btn { max-width: 100%; white-space: normal; } }
.cs-btn:hover { background: var(--c-orange-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249, 123, 21, .25); }
.cs-btn:active { transform: translateY(0); box-shadow: none; }
.cs-btn--secondary { background: var(--c-teal); }
.cs-btn--secondary:hover { background: var(--c-teal-dark); box-shadow: 0 8px 20px rgba(4, 184, 199, .25); }
.cs-btn--outline { background: var(--c-white); color: var(--c-navy); border-color: var(--c-border); }
.cs-btn--outline:hover { background: var(--c-bg); box-shadow: none; }
.cs-btn--ghost { background: transparent; color: var(--c-teal); padding-left: 0; padding-right: 0; }
.cs-btn--ghost:hover { background: transparent; color: var(--c-teal-dark); box-shadow: none; }
.cs-btn--dark { background: var(--c-navy); }
.cs-btn--dark:hover { background: var(--c-deep); box-shadow: 0 8px 20px rgba(27, 43, 81, .25); }
.cs-btn--block { width: 100%; }
.cs-btn--medium { font-weight: 500; }
.cs-btn .cs-icon { width: 20px; height: 20px; }
.cs-btn[disabled], .cs-btn.is-loading { opacity: .6; pointer-events: none; }
.cs-btn-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* ---------- Icons ---------- */
.cs-icon { width: 24px; height: 24px; flex: none; }
.cs-icon-box { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--c-teal); color: var(--c-white); flex: none; }
.cs-icon-box .cs-icon { width: 18px; height: 18px; }
.cs-icon-box--lg { width: 48px; height: 48px; border-radius: 12px; }
.cs-icon-box--lg .cs-icon { width: 24px; height: 24px; }
.cs-icon-box--outline { background: var(--c-white); color: var(--c-teal); border: 2px solid var(--c-teal); }

/* ---------- Header / nav ---------- */
.cs-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
}
.admin-bar .cs-header { top: 32px; }
.cs-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cs-logo { display: inline-flex; align-items: center; flex: none; }
.cs-logo img, .cs-logo svg { height: 53px; width: auto; }
.cs-nav__list { display: flex; align-items: center; gap: 18px; }
.cs-nav__list a {
  display: inline-block; padding: 0 10px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 36px;
  color: var(--c-teal); transition: color .2s var(--ease);
}
.cs-nav__list a:hover, .cs-nav__list .current-menu-item > a, .cs-nav__list .current-menu-ancestor > a, .cs-nav__list .current_page_parent > a { color: var(--c-orange); }
.cs-nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; color: var(--c-navy); }
.cs-nav__toggle .cs-icon { width: 28px; height: 28px; }
.cs-header__actions { display: flex; align-items: center; gap: 16px; }
.cs-cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--c-navy); }
.cs-cart-link:hover { background: var(--c-bg); }
.cs-lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); }
.cs-lang a, .cs-lang span { display: block; min-width: 38px; padding: 5px 9px; border-radius: var(--radius-pill); font: 600 13px/18px var(--font-ui); letter-spacing: .02em; text-align: center; color: var(--c-muted); transition: color .2s var(--ease), background-color .2s var(--ease); }
.cs-lang a:hover { color: var(--c-navy); }
.cs-lang .is-current span { background: var(--c-navy); color: var(--c-white); }
@media (min-width: 1025px) and (max-width: 1280px) {
  .cs-header__inner { gap: 16px; }
  .cs-header__actions { gap: 8px; }
  .cs-nav__list { gap: 0; }
  .cs-nav__list a { padding: 0 7px; font-size: 15px; }
  .cs-lang a, .cs-lang span { min-width: 32px; padding: 5px 6px; font-size: 12px; }
}
.cs-cart-link__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-orange); color: #fff; font: 700 11px/18px var(--font-ui); text-align: center; }

@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .cs-logo img, .cs-logo svg { height: 44px; }
  .cs-nav__toggle { display: inline-flex; }
  .cs-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-white); padding: 24px var(--gutter); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; overflow-y: auto; }
  .cs-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .cs-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .cs-nav__list a { display: block; padding: 12px 16px; font-size: 20px; line-height: 28px; border-radius: 12px; }
  .cs-nav__list a:hover { background: var(--c-bg); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Back link: floats over the top-left corner of every inner page, above the hero copy ---------- */
.cs-main { position: relative; }
.cs-back { position: absolute; top: 24px; left: 0; right: 0; z-index: 3; pointer-events: none; }
.cs-back__link { pointer-events: auto; display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 24px; color: var(--c-teal); transition: color 0.2s; }
.cs-back__link:hover, .cs-back__link:focus-visible { color: var(--c-orange); }
.cs-back__link .cs-icon { width: 20px; height: 20px; }
.cs-back.is-floating { height: 24px; }
.cs-back.is-floating .cs-back__link { position: fixed; left: 16px; top: calc(var(--header-h) + 16px); z-index: 40; width: 48px; height: 48px; justify-content: center; border-radius: 50%; background: var(--c-white); box-shadow: 0 4px 24px rgba(27, 43, 81, 0.16); }
.admin-bar .cs-back.is-floating .cs-back__link { top: calc(var(--header-h) + 48px); }
.cs-back.is-floating .cs-back__link .cs-icon { width: 24px; height: 24px; }
.cs-back.is-floating .cs-back__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1024px) { .cs-back { top: 16px; } .cs-back.is-floating .cs-back__link { left: 12px; width: 44px; height: 44px; } }

/* ---------- Hero ---------- */
.cs-hero { position: relative; background: var(--c-bg); overflow: hidden; }
.cs-hero__inner { position: relative; z-index: 2; min-height: 720px; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 72px; }
.cs-hero__content { max-width: 600px; }
.cs-hero__eyebrow { margin-bottom: 8px; }
.cs-hero__title { margin-bottom: 0; }
.cs-hero__title + .cs-hero__title { margin-top: 8px; }
.cs-hero__text { margin-top: 24px; max-width: 700px; }
.cs-hero__text--muted { color: var(--c-muted); }
.cs-hero__actions { margin-top: 56px; }
.cs-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 40.35%; z-index: 1; }
.cs-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cs-hero__media::before { content: ""; position: absolute; top: 0; bottom: 0; left: -3.1%; width: 34%; background: linear-gradient(90deg, var(--c-bg) 0%, var(--c-bg) 12%, rgba(243, 250, 255, 0) 100%); z-index: 2; }
.cs-hero--white { background: var(--c-white); }
.cs-hero--white .cs-hero__media::before { width: 45%; background: linear-gradient(90deg, #fff 0%, #fff 26%, rgba(255, 255, 255, 0) 100%); }
.cs-hero--compact .cs-hero__inner { min-height: 620px; }
/* Wide-title hero (Figma "About us Page": 762px title box, image from x=501 with a 428px fade). */
.cs-hero--wide .cs-hero__content { max-width: 782px; }
.cs-hero--wide .cs-hero__media { left: 34.8%; }
/* The About photo has its subjects left of centre, so its title wraps earlier to stay clear of their faces. */
.cs-hero--wide:has(img[src*="practice-control"]) .cs-hero__content { max-width: min(44vw, 560px); }
.cs-hero--wide .cs-hero__media::before { width: 46%; background: linear-gradient(90deg, var(--c-bg) 0%, var(--c-bg) 22%, rgba(243, 250, 255, 0) 100%); }
@media (max-width: 1024px) {
  .cs-hero__inner { min-height: 0; padding-top: 56px; padding-bottom: 0; }
  .cs-hero__content { max-width: 640px; }
  .cs-hero__media { position: relative; left: 0; height: 420px; margin-top: 40px; }
  .cs-hero__media::before { display: none; }
  .cs-hero--wide .cs-hero__media { left: 0; }
  .cs-hero__media img { object-position: center 20%; }
  .cs-hero__actions { margin-top: 32px; }
}

/* ---------- Intro (centered rich text) ---------- */
.cs-intro { text-align: center; }
.cs-intro__title { max-width: 900px; margin: 0 auto 32px; }
.cs-intro__text { max-width: 754px; margin: 0 auto; }
.cs-intro__text p + p { margin-top: 12px; }
.cs-intro__actions { margin-top: 24px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ---------- Feature block (image + text, alternating) ---------- */
.cs-feature { padding: clamp(56px, 9.4vw, 136px) 0; }
.cs-feature__grid { display: grid; grid-template-columns: 486px minmax(0, 1fr); gap: 72px; align-items: start; }
.cs-feature--reverse .cs-feature__grid { grid-template-columns: minmax(0, 1fr) 486px; }
.cs-feature--reverse .cs-feature__media { order: 2; }
.cs-feature__media { position: relative; height: 548px; border-radius: var(--radius-img); background: var(--c-border); overflow: hidden; }
.cs-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.cs-feature__media--tall { height: 730px; }
.cs-feature__media--short { height: 420px; }
.cs-feature__title { color: var(--c-deep); margin-bottom: 24px; }
.cs-feature__text p + p { margin-top: 12px; }
.cs-feature__actions { margin-top: 32px; }
.cs-feature__list { margin-top: 20px; display: grid; gap: 12px; }
.cs-feature__list li { display: flex; gap: 12px; align-items: flex-start; }
.cs-feature__list .cs-icon-box { margin-top: 4px; }
@media (max-width: 1024px) {
  .cs-feature__grid, .cs-feature--reverse .cs-feature__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cs-feature--reverse .cs-feature__media { order: 0; }
  .cs-feature__media, .cs-feature__media--tall { height: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Cards ---------- */
.cs-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-card); padding: 24px; }
.cs-card--soft { border-color: var(--c-border-2); }
.cs-card__title { color: var(--c-navy); font-weight: 700; font-size: 20px; line-height: 28px; }
.cs-card__media { border-radius: 16px; overflow: hidden; background: var(--c-border); aspect-ratio: 4 / 3; margin-bottom: 20px; }
.cs-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cs-card__text { margin-top: 8px; font-size: 16px; line-height: 26px; }
.cs-card__actions { margin-top: 20px; }

/* Icon tile (offer overview / courses grid) */
.cs-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 16px; border-radius: 16px; background: var(--c-white); border: 1px solid var(--c-border-2); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cs-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.cs-tile__icon { width: 100px; height: 100px; object-fit: contain; }
.cs-tile__label { font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-navy); }

/* ---------- FAQ ---------- */
.cs-faq__head { max-width: 832px; margin: 0 auto; text-align: center; }
.cs-faq__title { color: var(--c-deep); margin-bottom: 32px; }
.cs-faq__intro { max-width: 785px; margin: 0 auto; color: var(--c-navy); }
.cs-faq__list { max-width: 820px; margin: 72px auto 0; display: grid; gap: 12px; }
.cs-faq__item { background: var(--c-white); border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); overflow: hidden; }
.cs-faq__item summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; font-family: var(--font-ui); font-size: 18px; font-weight: 600; line-height: 28px; color: var(--c-deep); }
.cs-faq__item summary::-webkit-details-marker { display: none; }
.cs-faq__item summary .cs-icon { color: var(--c-orange); transition: transform .2s var(--ease); }
.cs-faq__item[open] summary .cs-icon { transform: rotate(90deg); }
.cs-faq__answer { padding: 0 16px 16px 50px; font-size: 16px; font-weight: 400; line-height: 26px; color: var(--c-ink); }

/* ---------- CTA (Ready to grow) ---------- */
.cs-cta { text-align: center; }
.cs-cta__title { color: var(--c-orange); margin-bottom: 32px; }
.cs-cta__text { max-width: 808px; margin: 0 auto; }
.cs-cta__actions { margin-top: 48px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ---------- Features bar (webshop USPs) ---------- */
.cs-usp { background: var(--c-bg); padding: 32px 0; }
.cs-usp__list { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cs-usp__item { display: flex; align-items: center; gap: 16px; }
.cs-usp__item .cs-icon { width: 32px; height: 32px; color: var(--c-teal); }
.cs-usp__title { font-family: var(--font-ui); font-weight: 700; font-size: 16px; line-height: 20px; color: var(--c-navy); }
.cs-usp__sub { font-family: var(--font-ui); font-size: 12px; line-height: 12px; color: var(--c-muted); margin-top: 2px; }
@media (max-width: 1024px) { .cs-usp__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cs-usp__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms ---------- */
.cs-form { display: grid; gap: 24px; }
.cs-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 640px) { .cs-form__row { grid-template-columns: minmax(0, 1fr); } }
.cs-field { display: grid; gap: 8px; }
.cs-field__label { font-family: var(--font-ui); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--c-navy); }
.cs-input, .cs-textarea, .cs-select {
  width: 100%; min-height: 72px; padding: 14px 16px;
  background: var(--c-white); border: 2px solid var(--c-border-2); border-radius: var(--radius-input);
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 20px; color: var(--c-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cs-input::placeholder, .cs-textarea::placeholder { color: var(--c-placeholder); }
.cs-select {
  appearance: none; -webkit-appearance: none; padding-right: 56px; cursor: pointer; color: var(--c-navy);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231b2b51' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 24px center;
}
.cs-select:invalid { color: var(--c-placeholder); }
.cs-select option { color: var(--c-ink); }
.cs-dropdown { position: relative; }
.cs-dropdown__native { position: absolute; bottom: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cs-dropdown__button { display: block; text-align: left; color: var(--c-navy); }
.cs-dropdown__list {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: 336px; overflow-y: auto;
  margin: 0; padding: 0; list-style: none; background: var(--c-white); border: 1px solid var(--c-border-2); border-radius: var(--radius-input);
  box-shadow: 0 12px 24px rgba(27, 43, 81, .08);
}
.cs-dropdown__list li { padding: 14px 16px; border-top: 1px solid var(--c-border-2); font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 20px; color: var(--c-navy); cursor: pointer; }
.cs-dropdown__list li:first-child { border-top: 0; }
.cs-dropdown__list li:hover, .cs-dropdown__list li:focus, .cs-dropdown__list:not(:hover):not(:focus-within) li[aria-selected="true"] { outline: none; background: var(--c-teal); color: var(--c-white); }
.cs-input:focus, .cs-textarea:focus, .cs-select:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 4px rgba(4, 184, 199, .15); }
.cs-textarea { min-height: 160px; resize: vertical; }
.cs-input--sm { min-height: 52px; padding: 10px 16px; }
.cs-form__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cs-form__status { font-family: var(--font-ui); font-size: 14px; line-height: 20px; }
.cs-form__status.is-error { color: #c62828; }
.cs-form__status.is-success { color: var(--c-teal-dark); }
.cs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cs-checkbox { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-ui); font-size: 14px; line-height: 20px; }
.cs-checkbox input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--c-teal); }

/* Split form section (text left, form card right) */
.cs-split { display: grid; grid-template-columns: minmax(0, 1fr) 530px; gap: 70px; align-items: start; }
.cs-split__title { color: var(--c-navy); margin-bottom: 12px; }
.cs-split__title--ui { font-family: var(--font-ui); font-weight: 700; font-size: 48px; line-height: 56px; letter-spacing: 0; }
.cs-split__form-title { color: var(--c-ink); margin-bottom: 8px; }
.cs-split__form-text { color: var(--c-navy); margin-bottom: 32px; }
@media (max-width: 1024px) { .cs-split { grid-template-columns: minmax(0, 1fr); gap: 40px; } .cs-split__title--ui { font-size: 36px; line-height: 44px; } }

/* ---------- Booking widget (home) ---------- */
.cs-booking { margin-top: 32px; }
.cs-booking__banner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 24px; border-radius: 16px; background: var(--c-teal); color: var(--c-white); }
.cs-booking__banner-title { font-weight: 700; font-size: 24px; line-height: 32px; }
.cs-booking__banner-text { text-align: right; max-width: 563px; color: var(--c-white); }
.cs-booking__step { margin-top: 40px; }
.cs-booking__calendly .calendly-inline-widget { min-height: 700px; }
.cs-booking__calendly { position: relative; }
.cs-booking__restart { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-white); color: var(--c-navy); border: 1px solid var(--c-border); box-shadow: 0 4px 12px rgba(27, 43, 81, .12); transition: color .2s var(--ease), border-color .2s var(--ease); }
.cs-booking__restart[hidden] { display: none; }
.cs-booking__restart:hover, .cs-booking__restart:focus-visible { color: var(--c-orange); border-color: var(--c-orange); }
.cs-booking__restart .cs-icon { width: 22px; height: 22px; }
.cs-booking__step-title { color: var(--c-navy); font-weight: 700; font-size: 24px; line-height: 36px; margin-bottom: 16px; }
.cs-booking__modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.cs-mode { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 28px; min-height: 68px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.cs-mode:hover { border-color: var(--c-teal); }
.cs-mode input { position: absolute; opacity: 0; pointer-events: none; }
.cs-mode__icon { width: 36px; height: 36px; border-radius: 6px; background: var(--c-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cs-mode__title, .cs-mode__sub { display: block; }
.cs-mode__title { font-family: var(--font-ui); font-weight: 700; font-size: 18px; line-height: 24px; color: var(--c-navy); }
.cs-mode__sub { font-family: var(--font-ui); font-size: 12px; line-height: 16px; color: var(--c-muted); }
.cs-mode__check { margin-left: auto; width: 20px; height: 20px; border: 2px solid var(--c-border); border-radius: 6px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.cs-mode__check .cs-icon { width: 14px; height: 14px; }
.cs-mode:has(input:checked) { border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(4, 184, 199, .15); }
.cs-mode:has(input:checked) .cs-mode__check { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }
.cs-booking__grid { display: grid; grid-template-columns: 473px minmax(0, 1fr); gap: 55px; align-items: stretch; }
/* The confirm button sits at the bottom so it lines up with the end of the details card. */
.cs-booking__pick { display: flex; flex-direction: column; }
.cs-booking__pick .cs-calendar { margin-bottom: 24px; }
.cs-booking__pick .cs-form__status:empty { display: none; }
.cs-calendar { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; padding: 24px; }
.cs-calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cs-calendar__title { font-family: var(--font-ui); font-weight: 700; font-size: 20px; line-height: 28px; color: var(--c-navy); }
.cs-calendar__nav { width: 40px; height: 40px; border: 1px solid var(--c-teal); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--c-navy); }
.cs-calendar__nav:hover { background: var(--c-bg); }
.cs-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px 4px; text-align: center; font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 20px; }
.cs-calendar__dow { color: var(--c-navy); padding: 8px 0; }
.cs-day { width: 40px; height: 40px; margin: 0 auto; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--c-navy); border: 1px solid transparent; }
.cs-day.is-muted { color: var(--c-placeholder); }
.cs-day.is-unavailable { color: var(--c-placeholder); cursor: not-allowed; }
.cs-day.is-weekend { color: var(--c-orange); }
.cs-day.is-today { border-color: var(--c-teal); }
.cs-day.is-available:hover { background: var(--c-teal); color: #fff; }
.cs-day.is-selected { background: var(--c-navy); color: #fff; }
.cs-calendar__legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; font-family: var(--font-ui); font-weight: 600; font-size: 15px; line-height: 20px; color: var(--c-navy); }
.cs-calendar__legend span { display: inline-flex; align-items: center; gap: 8px; }
.cs-calendar__legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.cs-calendar__legend i.selected { background: var(--c-navy); }
.cs-calendar__legend i.available { background: var(--c-teal); }
.cs-calendar__legend i.unavailable { background: var(--c-placeholder); }
.cs-calendar__legend i.today { border: 2px solid var(--c-teal); border-radius: 3px; }
.cs-booking__submit { margin-top: auto; }
.cs-times { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; padding: 24px; }
.cs-float { position: relative; display: block; }
.cs-float__label {
  position: absolute; left: 18px; top: 26px; pointer-events: none;
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 20px; color: var(--c-placeholder);
  transition: top .15s var(--ease), font-size .15s var(--ease), color .15s var(--ease);
}
.cs-float .cs-input:focus, .cs-float .cs-input:not(:placeholder-shown) { padding-top: 30px; padding-bottom: 10px; border-color: var(--c-teal); }
.cs-float .cs-input:focus + .cs-float__label, .cs-float .cs-input:not(:placeholder-shown) + .cs-float__label { top: 12px; font-size: 12px; line-height: 16px; color: var(--c-teal); }
.cs-float .cs-textarea + .cs-float__label { top: 16px; }
.cs-float .cs-textarea:focus, .cs-float .cs-textarea:not(:placeholder-shown) { padding-top: 30px; border-color: var(--c-teal); }
.cs-float .cs-textarea:focus + .cs-float__label, .cs-float .cs-textarea:not(:placeholder-shown) + .cs-float__label { top: 10px; font-size: 12px; line-height: 16px; color: var(--c-teal); }
.cs-times__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.cs-times__title { font-family: var(--font-ui); font-weight: 700; font-size: 20px; line-height: 28px; color: var(--c-navy); }
.cs-times__date { font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-teal); }
.cs-times__group { margin-top: 16px; }
.cs-times__label { font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-navy); margin-bottom: 12px; }
.cs-times__slots { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-slot { min-width: 76px; height: 36px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: 8px; background: var(--c-white); font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-navy); display: inline-flex; align-items: center; justify-content: center; }
.cs-slot:hover { border-color: var(--c-teal); }
.cs-slot.is-selected { border-color: var(--c-teal); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-teal); }
.cs-slot[disabled] { color: var(--c-placeholder); cursor: not-allowed; }
.cs-times__form { margin-top: 24px; display: grid; gap: 16px; }
.cs-times__form .cs-form__row { gap: 16px; }
.cs-booking__divider { margin: 32px 0 0; border: 0; border-top: 2px solid var(--c-teal); }
.cs-booking__note { margin-top: 32px; display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 24px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px; }
.cs-booking__note-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--c-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cs-booking__note-title { font-family: var(--font-ui); font-weight: 700; font-size: 16px; line-height: 20px; color: var(--c-navy); }
.cs-booking__note-text { font-family: var(--font-ui); font-size: 12px; line-height: 16px; color: var(--c-muted); }
.cs-booking__note-text a { color: var(--c-teal); font-weight: 600; }
.cs-booking__note .cs-btn { margin-left: auto; }
@media (max-width: 1024px) {
  .cs-booking__banner { flex-direction: column; align-items: flex-start; }
  .cs-booking__banner-text { text-align: left; }
  .cs-booking__modes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cs-booking__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cs-booking__note { flex-wrap: wrap; }
  .cs-booking__note .cs-btn { margin-left: 0; width: 100%; }
}

/* ---------- Pricing (formulas) ---------- */
.cs-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.cs-plan { position: relative; display: flex; flex-direction: column; padding: 32px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 32px; overflow: hidden; }
.cs-plan__icon { height: 240px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.cs-plan__icon img { max-height: 240px; width: auto; }
.cs-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cs-plan__title { color: var(--c-navy); font-weight: 700; font-size: 32px; line-height: 40px; }
.cs-plan__badge { width: 72px; height: 72px; border-radius: 50%; background: var(--c-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-ui); font-weight: 700; font-size: 24px; flex: none; }
.cs-plan__sub { margin-top: 12px; font-family: var(--font-ui); font-size: 16px; line-height: 24px; color: var(--c-muted); }
.cs-plan__list { margin-top: 32px; display: grid; gap: 16px; }
.cs-plan__list li { display: flex; gap: 16px; align-items: flex-start; font-family: var(--font-ui); font-weight: 700; font-size: 18px; line-height: 24px; color: var(--c-navy); }
.cs-plan__list .cs-icon-box { width: 28px; height: 28px; border-radius: 8px; }
.cs-plan__list .cs-icon-box .cs-icon { width: 16px; height: 16px; }
.cs-plan__actions { margin-top: auto; padding-top: 40px; display: flex; justify-content: flex-end; }
@media (max-width: 900px) { .cs-pricing { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.cs-contact { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 48px; align-items: start; }
.cs-contact__form { padding: 24px; }
.cs-contact__details { padding: 24px; }
.cs-contact__details-title { color: var(--c-navy); font-weight: 700; font-size: 24px; line-height: 32px; margin-bottom: 24px; }
.cs-contact__row { display: flex; gap: 16px; align-items: flex-start; }
.cs-contact__row + .cs-contact__row { margin-top: 24px; }
.cs-contact__row .cs-icon-box { width: 40px; height: 40px; border-radius: 10px; }
.cs-contact__label { font-family: var(--font-ui); font-weight: 700; font-size: 16px; line-height: 20px; color: var(--c-ink); }
.cs-contact__value { font-family: var(--font-ui); font-weight: 700; font-size: 16px; line-height: 24px; color: var(--c-orange); }
.cs-contact__meta { font-family: var(--font-ui); font-size: 16px; line-height: 20px; color: var(--c-muted); margin-top: 4px; }
@media (max-width: 1024px) { .cs-contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Carousel (offer / courses / vacancies) ---------- */
.cs-carousel { position: relative; }
.cs-carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cs-carousel__track::-webkit-scrollbar { display: none; }
.cs-carousel__track > * { flex: 0 0 auto; scroll-snap-align: start; }
.cs-carousel__nav { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }
.cs-carousel__btn { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--c-teal); color: var(--c-teal); display: inline-flex; align-items: center; justify-content: center; transition: background .2s var(--ease), color .2s var(--ease); }
.cs-carousel__btn:hover { background: var(--c-teal); color: #fff; }
.cs-carousel__btn .cs-icon { width: 28px; height: 28px; }
.cs-carousel__dots { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.cs-carousel__dots button { width: 20px; height: 20px; border-radius: 50%; background: var(--c-border); }
.cs-carousel__dots button.is-active { background: var(--c-teal); }
/* A card grows on hover or press and is clickable as a whole: the button's ::after covers it. The button must
   keep its own transform off on hover and press, or it would become the containing block of that overlay,
   which would shrink to the button, end the hover and start it again, flickering the cursor. */
.cs-carousel__card { position: relative; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cs-carousel__card:hover, .cs-carousel__card:focus-within, .cs-carousel__card:active { transform: scale(1.05); box-shadow: var(--shadow-card); }
.cs-carousel__card .cs-btn::after { content: ""; position: absolute; inset: 0; }
.cs-carousel__card .cs-btn:hover, .cs-carousel__card .cs-btn:active { transform: none; }

/* ---------- Section header (title + text, centered) ---------- */
.cs-section-head { text-align: center; max-width: 900px; margin: 0 auto 48px; }
.cs-section-head__title { margin-bottom: 24px; }
.cs-section-head--left { text-align: left; margin-left: 0; }

/* ---------- Footer ---------- */
.cs-footer { background: var(--c-navy); color: var(--c-white); padding: 41px 0 24px; }
.cs-footer__grid { display: grid; grid-template-columns: 379px 513px minmax(0, 1fr); gap: 24px; }
.cs-footer__logo img { height: 63px; width: auto; }
.cs-footer__title { font-weight: 600; font-size: 24px; line-height: 36px; color: var(--c-white); margin-bottom: 12px; }
.cs-footer__menu { display: grid; gap: 8px; }
.cs-footer__menu--2col { grid-template-columns: repeat(2, 237px); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 0; }
.cs-footer__menu a { font-size: 14px; line-height: 20px; color: var(--c-white); opacity: .95; transition: color .2s var(--ease); }
.cs-footer__menu a:hover { color: var(--c-teal); }
.cs-footer__social { display: flex; gap: 24px; justify-content: flex-end; margin-top: 24px; }
.cs-footer__social a { display: inline-flex; width: 24px; height: 24px; color: var(--c-white); opacity: .9; }
.cs-footer__social a:hover { opacity: 1; color: var(--c-teal); }
.cs-footer__social svg { width: 24px; height: 24px; fill: currentColor; }
.cs-footer__bottom { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--c-teal); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .8); }
.cs-footer__bottom a:hover { color: var(--c-teal); }
.cs-footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1100px) { .cs-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); } .cs-footer__menu--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; } }
@media (max-width: 768px) { .cs-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .cs-footer__social { justify-content: flex-start; } }

/* ---------- Generic page / posts ---------- */
.cs-page { padding: var(--section-y) 0; }
.cs-page__title { margin-bottom: 24px; }
.cs-page .entry-content > * + * { margin-top: 16px; }
.cs-page .entry-content h2, .cs-page .entry-content h3 { color: var(--c-navy); font-weight: 700; margin-top: 32px; }
.cs-page .entry-content h2 { font-size: 32px; line-height: 40px; }
.cs-page .entry-content h3 { font-size: 24px; line-height: 32px; }
.cs-page .entry-content ul { list-style: disc; padding-left: 1.25em; }
.cs-page .entry-content a { color: var(--c-teal); text-decoration: underline; }
.cs-page .entry-content img { border-radius: 16px; }
.cs-page .wp-block-button__link { border-radius: var(--radius-pill); background: var(--c-orange); }
.cs-404 { text-align: center; padding: 120px 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-72 { margin-top: 72px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
