:root {
  --navy: #293b51;
  --red: #cd4026;
  --red-dark: #b03520;
  --bg: #f9f7ee;
  --bg-soft: #f3ece5;
  --text: #25303c;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--red); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h2 { font-size: 2rem; margin: 0 0 1.5rem; }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); margin-top: .5rem; border-radius: 2px; }
h3 { margin: 1.5rem 0 .5rem; }

.container { width: min(1100px, 92%); margin-inline: auto; }
.narrow { max-width: 780px; }
section { padding: 4rem 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--red);
  color: #f9f7ee;
  text-decoration: none;
  font-weight: 600;
  padding: .65rem 1.2rem;
  border-radius: var(--radius);
  transition: background .2s;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--red-dark); }
.btn-large { font-size: 1.15rem; padding: .9rem 2rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .75rem 0; flex-wrap: wrap; }
.logo { line-height: 0; margin-right: auto; gap: 1.5rem;}
.site-header nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-header nav a { color: #f9f7ee; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; }

/* Hero */
.hero { background: var(--navy); color: #f9f7ee; text-align: center; padding: 5rem 0; }
.hero h1 { color: #f9f7ee; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 1rem; }
.hero p { font-size: 1.2rem; margin: 0 auto 2rem; max-width: 600px; opacity: .9; }

/* Layout helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.card { background: var(--bg-soft); border-left: 5px solid var(--red); padding: 1.5rem; border-radius: var(--radius); }
.card h3 { margin-top: 0; }
address { font-style: normal; margin-bottom: 1rem; }
.band { background: var(--bg-soft); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Carousel: focused image centered, neighbours faded */
.carousel { position: relative; }
.slides {
  position: relative;                 /* needed so JS can measure image positions */
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides img {
  display: block;
  flex: none;
  height: 320px;
  width: auto;
  border-radius: var(--radius);
  scroll-snap-align: center;          /* was "start" */
  opacity: .3;                        /* JS overrides this while scrolling */
  cursor: pointer;
}
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(41,59,81,.75); color: #f9f7ee; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
.car-btn:hover { background: var(--red); }
.prev { left: 12px; } .next { right: 12px; }

@media (max-width: 800px) {
  .slides img { height: 220px; }
}

/* Practitioner */
.practitioner { grid-template-columns: 300px 1fr; align-items: start; }
.portrait { aspect-ratio: 1; background: linear-gradient(135deg, var(--navy), #3d5675); color: #f9f7ee; display: grid; place-items: center; border-radius: var(--radius); }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.practitioner h3:first-child { margin-top: 0; }

/* FAQ */
details { border: 1px solid #d5dbe3; border-radius: var(--radius); margin-bottom: .8rem; background: #f9f7ee; }
summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details[open] { border-color: var(--red); }
details p { margin: 0; padding: 0 1.2rem 1.2rem; }

/* CTA + footer */
.cta { background: var(--navy); color: #f9f7ee; text-align: center; }
.cta h2 { color: #f9f7ee; }
.cta h2::after { margin-inline: auto; }
.site-footer { background: #1d2a3a; color: #c7d0db; text-align: center; padding: 1.2rem 0; font-size: .9rem; }

/* Focus */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Mobile */
@media (max-width: 800px) {
  .grid-2, .practitioner { grid-template-columns: 1fr; }
  .portrait { max-width: 260px; }
  .header-inner { justify-content: center; text-align: center; }
  .logo { margin-right: 0; width: 100%; }
  section { padding: 3rem 0; }
}

details.courses {
  border: 0;
  background: none;
  border-radius: 0;
  margin: 0;
}
details.courses summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .6rem;
  padding: 0;
  margin: 1.5rem 0 .5rem;      /* same as h3 */
  font-size: 1.17rem;           /* same as h3 */
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  cursor: pointer;
}
details.courses summary:hover { color: var(--red); }

/* chevron */
details.courses summary::before { content: none; }
details.courses summary::after,
details.courses[open] summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-2px) rotate(45deg);   /* points down */
  transition: transform .2s;
  font-size: 0;
}
details.courses[open] summary::after {
  transform: translateY(2px) rotate(-135deg);  /* points up */
}

/* Opened content */
.course-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.5rem;
  margin-top: .8rem;
}
.course-groups h4 {
  margin: 0 0 .5rem;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li {
  font-size: .85rem;
  line-height: 1.35;
  background: #f9f7ee;
  border: 1px solid #d5dbe3;
  border-radius: 999px;
  padding: .3rem .75rem;
}
.chips b { color: var(--red); margin-right: .25rem; }
.chips small { color: #5b6775; }
.chips small::before { content: "· "; }

@media (max-width: 800px) {
  .course-groups { grid-template-columns: 1fr; }
}


/* Therapy cards: 4 in a row on desktop, 2x2 on mobile */
@media (max-width: 800px) {
  .therapies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.therapies {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1rem 0 1rem;
}
.therapy-card {
  background: #f9f7ee;
  border: 1px solid #d5dbe3;
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.2rem;
  box-shadow: 0 2px 8px rgba(41, 59, 81, .08);
  transition: transform .2s, box-shadow .2s;
}
.therapy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(41, 59, 81, .15);
}

/* small image, transparent background, no separation from the text */
.therapy-card img {
  display: block;
  height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto .8rem;
}

.therapy-body h4 {
  margin: 0 0 .6rem;
  font-size: 1.1rem;
  text-align: center;
  color: var(--navy);
}
.therapy-body p { margin: 0 0 .6rem; font-size: .92rem; line-height: 1.5; }
.therapy-body .support { color: #5b6775; margin-bottom: 0; }
.therapy-body .support strong { color: var(--navy); }

/* Contact card: info left, map right (stacked on mobile) */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: stretch;
}
.contact-info h3 { margin-top: 0; }
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
}

@media (max-width: 800px) {
  .contact-card { grid-template-columns: 1fr; gap: 1.2rem; }
  .contact-map { min-height: 240px; }
}

@media (max-width: 800px) {
  .therapies { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .therapy-card { padding: 1rem .8rem; }
  .therapy-card img { height: 56px; }
  .therapy-body h4 { font-size: 1rem; }
  .therapy-body p { font-size: .85rem; }
}

.important-text {
    color: var(--red);
}