/* =====================================================================
   Satyam Shivam Sundaram Group — shared stylesheet
   Placeholder build (colours / fonts / imagery to be finalised with client)
   ===================================================================== */

:root {
  --maroon: #7a1f2b;
  --maroon-dark: #5c1620;
  --gold: #c9a227;
  --gold-soft: #e6cf86;
  --saffron: #e08a1e;
  --ivory: #fdfaf3;
  --cream: #f5eddc;
  --ink: #2b2521;
  --muted: #6b625a;
  --line: #e4dac4;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(60, 30, 20, .08);
  --shadow-md: 0 12px 30px rgba(60, 30, 20, .12);
  --radius: 14px;
  --maxw: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #cfe6f7 url("../../images/skybg.jpg") center top / cover no-repeat fixed;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--maroon-dark);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { color: var(--muted); }

a { color: var(--maroon); text-decoration: none; transition: color .2s; }
a:hover { color: var(--saffron); }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 76px 0; }

.section-tag {
  display: inline-block;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-head p { margin-top: 14px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  font-family: "Segoe UI", Arial, sans-serif;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: #3a2c00; }
.btn-gold:hover { background: var(--gold-soft); color: #3a2c00; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--maroon); }
.btn-ghost { border-color: var(--maroon); color: var(--maroon); }
.btn-ghost:hover { background: var(--maroon); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 243, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--maroon) 75%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: Georgia, serif; font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .b1 { font-family: Georgia, serif; font-weight: 700; color: var(--maroon-dark); font-size: 1.05rem; letter-spacing: .01em; }
.brand-text .b2 { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.brand-logo { height: 52px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 44px; } }
.site-footer .brand-logo { height: 60px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
}
.nav-links a:hover { background: var(--cream); color: var(--maroon); }
.nav-links a.active { color: var(--maroon); font-weight: 700; }
.nav-links .nav-cta { margin-left: 8px; }
.nav-links .nav-cta a {
  background: var(--maroon); color: #fff; padding: 10px 20px; border-radius: 999px;
}
.nav-links .nav-cta a:hover { background: var(--maroon-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--maroon-dark);
  margin: 5px auto; transition: .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
    transform: translateY(-130%);
    transition: transform .35s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 10px; border-radius: 8px; }
  .nav-links .nav-cta { margin: 8px 0 0; }
  .nav-links .nav-cta a { text-align: center; }
}

/* ---------- Hero image (full uncropped banner) ---------- */
.hero-image {
  padding: 0;
  margin: 0;
  background: transparent;
  line-height: 0;
  font-size: 0;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-band { padding: 34px 0 12px; text-align: center; }
.hero-band-actions {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 34px;
}

/* ---------- Hero (legacy text hero — kept for reference) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(rgba(60, 16, 22, .78), rgba(40, 12, 16, .82)),
    url("https://picsum.photos/seed/sss-hero/1600/900") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(201,162,39,.25), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 60px 0; }
.hero .eyebrow {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 700; margin-bottom: 18px; display: block;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-soft); }
.hero p { color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-strip {
  position: relative; z-index: 2;
  margin-top: 50px;
  display: flex; flex-wrap: wrap; gap: 28px;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 26px;
}
.hero-strip div { min-width: 120px; }
.hero-strip .num { font-family: Georgia, serif; font-size: 2rem; color: var(--gold-soft); font-weight: 700; }
.hero-strip .lbl { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- Page banner (inner pages) — transparent, sky shows through ---------- */
.page-banner {
  position: relative;
  color: var(--ink);
  padding: 60px 0 30px;
  text-align: center;
  background: transparent;
}
.page-banner h1 { color: var(--maroon-dark); margin-bottom: 10px; }
.page-banner p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.breadcrumb { margin-top: 16px; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--maroon); }

/* ---------- Generic image placeholder ---------- */
.ph {
  background: repeating-linear-gradient(45deg, #efe4c8, #efe4c8 12px, #e7d9b6 12px, #e7d9b6 24px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #9a8a5f; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; padding: 14px;
  border-radius: var(--radius);
}

/* ---------- Intro / two-column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split.reverse > div:first-child { order: 2; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split ul { list-style: none; margin-top: 18px; }
.split ul li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--muted); }
.split ul li::before {
  content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .9rem; top: 2px;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > div:first-child { order: 0; }
}

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .card-media { aspect-ratio: 16/10; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-media.ph { border-radius: 0; }
.card .card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card .card-body h3 { margin-bottom: 8px; }
.card .card-body p { font-size: .95rem; margin-bottom: 14px; }
.card .card-body .more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--maroon); }
.card .pill {
  display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 8px;
}

/* vertical card icon block */
.v-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--cream); color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px; border: 1px solid var(--line);
}

/* ---------- Bands (transparent — site sky background shows through everywhere) ---------- */
.band-cream { background: transparent; }
.band-maroon { background: transparent; }
.band-maroon h2, .band-maroon h3 { color: var(--maroon-dark); }
.band-maroon p { color: var(--muted); }
.band-maroon .section-tag { color: var(--gold); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-family: Georgia, serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.band-maroon .stats .num { color: var(--gold); }
.stats .lbl { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.band-maroon .stats .lbl { color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* ---------- Values / icon list ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value-item { text-align: center; padding: 30px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.value-item .v-icon { margin: 0 auto 16px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  color: #fff; text-align: center; border-radius: 18px; padding: 54px 30px;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,162,39,.3), transparent 65%);
}
.cta-strip h2 { color: #fff; position: relative; }
.cta-strip p { color: rgba(255,255,255,.85); max-width: 560px; margin: 12px auto 24px; position: relative; }
.cta-strip .btn { position: relative; }

/* ---------- Timeline (social activities / about) ---------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gold-soft); }
.timeline .t-item { position: relative; padding-bottom: 34px; }
.timeline .t-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--maroon); border: 3px solid var(--gold-soft); }
.timeline .t-item:last-child { padding-bottom: 0; }
.timeline .t-year { font-family: Georgia, serif; font-weight: 700; color: var(--gold); font-size: 1.05rem; }
.timeline .t-item h3 { margin: 2px 0 6px; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filters button {
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 600;
  transition: all .2s; font-family: "Segoe UI", Arial, sans-serif;
}
.filters button:hover { border-color: var(--gold); color: var(--maroon); }
.filters button.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid .g-item {
  border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid .g-item:hover img { transform: scale(1.08); }
.gallery-grid .g-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(40,12,16,.85));
  color: #fff; font-size: .88rem; font-weight: 600;
  opacity: 0; transform: translateY(10px); transition: all .3s;
}
.gallery-grid .g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
.g-item.hide { display: none; }

/* even gallery grid (uniform portrait cells) */
.gallery-even { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery-even { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-even { grid-template-columns: 1fr; } }
.gallery-even .g-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 3/4;
}
.gallery-even .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-even .g-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(40,12,16,.85)); color: #fff;
  font-size: .88rem; font-weight: 600; opacity: 0; transform: translateY(10px); transition: all .3s;
}
.gallery-even .g-item:hover .g-cap { opacity: 1; transform: none; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.quote-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.quote-card blockquote { font-style: italic; color: var(--ink); margin-bottom: 16px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); flex-shrink: 0; display:flex; align-items:center; justify-content:center; color: var(--maroon); font-weight: 700; }
.quote-card .who .meta strong { color: var(--ink); display: block; font-size: .95rem; }
.quote-card .who .meta span { font-size: .82rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.info-list { list-style: none; margin-top: 24px; }
.info-list li { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.info-list .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--maroon);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; border: 1px solid var(--line);
}
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.info-list span { color: var(--muted); font-size: .92rem; }

form.std { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
form.std .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { form.std .row { grid-template-columns: 1fr; } }
form.std label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
form.std input, form.std select, form.std textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem; background: var(--ivory); color: var(--ink);
}
form.std input:focus, form.std select:focus, form.std textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
form.std textarea { resize: vertical; min-height: 120px; }
form.std button { margin-top: 20px; width: 100%; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-success {
  display: none; background: #eef7ea; border: 1px solid #bcdcae; color: #2f6b21;
  padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .92rem;
}
.form-success.show { display: block; }

.map-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  margin-top: 50px; width: 100%; max-width: 100%;
  height: clamp(260px, 42vw, 400px);
}
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: Georgia, serif; font-weight: 700; color: var(--maroon-dark); font-size: 1.08rem;
  padding: 16px 36px 16px 0; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); transition: transform .25s; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #2a161a;
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
  font-size: .94rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-text .b1 { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .about-blurb { margin-top: 16px; color: rgba(255,255,255,.65); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: .85rem; font-weight: 700;
}
.socials a:hover { background: var(--gold); color: #3a2c00; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button { padding: 10px 16px; border-radius: 8px; border: none; background: var(--gold); color: #3a2c00; font-weight: 700; cursor: pointer; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  padding: 22px 0; font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.lead { font-size: 1.12rem; color: var(--muted); }
.divider-flourish { text-align: center; color: var(--gold); letter-spacing: 1em; margin: 8px 0 0; font-size: .9rem; }
.note-banner {
  background: #fff7e6; border: 1px dashed var(--gold); color: #8a6d12;
  padding: 10px 16px; border-radius: 10px; font-size: .85rem; text-align: center;
}

/* ---------- Appointment modal ---------- */
.modal-overlay { display: none; }                 /* hidden by default — JS adds .open */
.modal-overlay.open {
  display: flex; align-items: flex-start; justify-content: center;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(40, 12, 16, .62);
  backdrop-filter: blur(3px);
  padding: 6vh 16px 28px;
  overflow-y: auto;
}
.modal {
  background: var(--ivory);
  border-radius: 16px;
  width: 100%; max-width: 480px;
  padding: 30px 30px 26px;
  position: relative;
  box-shadow: 0 24px 60px rgba(40, 12, 16, .35);
  border: 1px solid var(--line);
  animation: modalPop .22s ease;
}
@keyframes modalPop { from { transform: translateY(-16px); opacity: .4; } to { transform: none; opacity: 1; } }
.modal h3 { color: var(--maroon-dark); margin-bottom: 6px; padding-right: 28px; }
.modal-sub { font-size: .92rem; margin-bottom: 4px; }
.modal-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; line-height: 1;
  font-size: 1.9rem; color: var(--muted); cursor: pointer; padding: 4px 9px; border-radius: 8px;
}
.modal-close:hover { color: var(--maroon); background: var(--cream); }
.modal form.std { background: transparent; border: none; box-shadow: none; padding: 0; }
.modal form.std .form-success { margin-bottom: 8px; }
body.modal-open { overflow: hidden; }

/* =====================================================================
   MOTION CARE — theme overrides (teal + red, clinical/wellness look)
   ===================================================================== */
:root {
  --maroon:      #0e7c8b;   /* primary teal */
  --maroon-dark: #0a5a66;   /* deep teal    */
  --gold:        #e0322b;   /* red accent   */
  --gold-soft:   #f2887f;   /* soft red     */
  --saffron:     #c62828;   /* red hover    */
  --ivory:       #ffffff;
  --cream:       #eaf6f7;   /* light teal tint */
  --ink:         #1d2b2e;
  --muted:       #566569;
  --line:        #d8e7e9;
  --shadow-sm: 0 2px 10px rgba(14, 60, 70, .08);
  --shadow-md: 0 14px 34px rgba(14, 60, 70, .14);
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #f3fafb 0%, #ffffff 320px) fixed;
}
h1, h2, h3, h4 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.01em;
}

/* bands */
.band-cream { background: var(--cream) !important; }
.band-maroon {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon)) !important;
  border-radius: 0;
}
.band-maroon h2, .band-maroon h3, .band-maroon .section-tag { color: #fff !important; }
.band-maroon p { color: rgba(255,255,255,.92) !important; }

/* coloured glows that were gold -> soft red */
.cta-strip::before { background: radial-gradient(circle, rgba(224,50,43,.30), transparent 65%) !important; }

/* footer -> deep teal */
.site-footer { background: #0a3942; }
.socials a:hover { background: var(--gold); color: #fff; }
.newsletter button { background: var(--gold); color: #fff; }

/* page banner sits on a soft teal wash */
.page-banner { background: linear-gradient(180deg, #e7f4f6, transparent); }

/* Appointment button (header CTA) -> red */
.nav-links .nav-cta a { background: var(--gold); }
.nav-links .nav-cta a:hover { background: var(--saffron); color: #fff; }

/* red (gold) buttons get white text — e.g. hero "Book an Appointment" */
.btn-gold, .btn-gold:hover { color: #fff; }

/* "Book an Appointment" button on the teal CTA band -> white bg, teal text */
.cta-strip .btn { background: #fff; color: var(--maroon-dark); border-color: #fff; }
.cta-strip .btn:hover { background: #eaf6f7; color: var(--maroon-dark); }
/* …but a CTA button marked .btn-cta-red stays red with white text */
.cta-strip .btn.btn-cta-red { background: var(--gold); color: #fff; border-color: var(--gold); }
.cta-strip .btn.btn-cta-red:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* round service/camp icons get a tinted disc */
.v-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,124,139,.12), rgba(224,50,43,.10));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; line-height: 1;
}

/* ---------- Hero (Motion Care) ---------- */
.mc-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(130deg, #0a5a66 0%, #0e7c8b 55%, #138ea0 100%);
  color: #fff; padding: 64px 0 58px;
}
.mc-hero::after {
  content: ""; position: absolute; top: -120px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,50,43,.38), transparent 68%);
  pointer-events: none;
}
.mc-hero-grid {
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.mc-hero .eyebrow {
  display: inline-block; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: #fff; background: rgba(255,255,255,.16);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.mc-hero h1 { color: #fff; margin-bottom: 16px; }
.mc-hero p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 560px; margin-bottom: 28px; }
.mc-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mc-hero-actions .btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.mc-hero-actions .btn-ghost:hover { background: #fff; color: var(--maroon-dark); }
.mc-hero-logo {
  justify-self: center; width: 300px; max-width: 80vw; aspect-ratio: 1/1;
  background: #fff; border-radius: 50%; padding: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.mc-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
/* hero image card (right side) */
.mc-hero-media {
  justify-self: center; width: 100%; max-width: 540px; position: relative;
  border-radius: 18px; overflow: hidden; border: 6px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.32);
}
.mc-hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); border-radius: inherit;
}
.mc-hero-media img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .mc-hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .mc-hero p { margin-left: auto; margin-right: auto; }
  .mc-hero-actions { justify-content: center; }
  .mc-hero-logo { width: 220px; order: -1; }
  .mc-hero-media { order: -1; max-width: 440px; }
}
.mc-hero .stats { margin-top: 44px; }
.mc-hero .stats .num { color: #fff; }
.mc-hero .stats .lbl { color: rgba(255,255,255,.8); }

/* full-width uploaded hero photo (admin > Settings > Hero banner image) */
.mc-hero.has-bg {
  background:
    linear-gradient(105deg, rgba(10,57,66,.90) 0%, rgba(14,124,139,.66) 50%, rgba(10,57,66,.40) 100%),
    var(--hero-img) center / cover no-repeat;
  padding: 92px 0 80px;
}
.mc-hero.has-bg::after { display: none; }
@media (max-width: 860px) {
  .mc-hero.has-bg { padding: 64px 0 56px; }
  .mc-hero.has-bg .mc-hero-grid { text-align: center; }
}

/* ---------- Nav dropdown (Services +) ---------- */
.nav-links .has-dd { position: relative; }
.nav-links .has-dd > a::after { content: " +"; font-weight: 700; color: var(--gold); }
.nav-dd {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; margin-top: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 120;
}
.nav-links .has-dd:hover .nav-dd,
.nav-links .has-dd:focus-within .nav-dd { opacity: 1; visibility: visible; transform: none; }
.nav-dd li { margin: 0; }
.nav-dd a { padding: 10px 12px; border-radius: 8px; font-size: .9rem; white-space: nowrap; }
.nav-dd a:hover { background: var(--cream); color: var(--maroon); }
@media (max-width: 940px) {
  .nav-dd {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 12px;
    padding: 0 0 0 8px; min-width: 0;
  }
  .nav-links .has-dd > a::after { content: ""; }
}

/* ---------- Service quick-nav + condition chips ---------- */
.svc-quicknav { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.svc-quicknav a {
  display:flex; align-items:center; gap:10px; padding:12px 18px; border-radius:999px;
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); font-weight:600;
  color:var(--maroon-dark);
}
.svc-quicknav a:hover { border-color:var(--maroon); color:var(--maroon); transform:translateY(-2px); }
.svc-quicknav a.active { background:var(--maroon); color:#fff; border-color:var(--maroon); }
.svc-quicknav .ic { font-size:1.2rem; }

.chips { list-style:none; display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.chips li {
  padding:9px 15px; background:var(--cream); border:1px solid var(--line);
  border-radius:999px; color:var(--maroon-dark); font-size:.9rem; font-weight:500;
}
.chips li::before { content:"✓"; color:var(--gold); font-weight:800; margin-right:8px; }

/* ---------- Nav dropdown: category groups ---------- */
.nav-dd .nav-dd-head > a {
  font-weight: 700; color: var(--maroon-dark); font-size: .92rem;
  padding: 10px 12px 6px; border-radius: 8px;
}
.nav-dd .nav-dd-head:not(:first-child) > a { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.nav-dd .nav-dd-sub { padding-left: 22px !important; font-size: .87rem; color: var(--muted); }
.nav-dd .nav-dd-sub:hover { color: var(--maroon); }
@media (max-width: 940px) {
  .nav-dd .nav-dd-head:not(:first-child) > a { border-top: none; }
}

/* ---------- Inner page banner uses the hero image ---------- */
body.has-hero .page-banner {
  background:
    linear-gradient(100deg, rgba(10,57,66,.90) 0%, rgba(14,124,139,.70) 55%, rgba(10,57,66,.45) 100%),
    var(--hero-img) center / cover no-repeat;
  padding: 70px 0 44px;
}
body.has-hero .page-banner h1 { color: #fff; }
body.has-hero .page-banner p { color: rgba(255,255,255,.92); }
body.has-hero .page-banner .breadcrumb,
body.has-hero .page-banner .breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Uniform service cards (image + title + short desc, clickable) ---------- */
.svc-grid .svc-card {
  display: flex; flex-direction: column; height: 100%;
  color: var(--ink); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-grid .svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--maroon); }
.svc-grid .svc-card .card-body { display: flex; flex-direction: column; flex: 1; }
.svc-grid .svc-card .v-icon { width: 48px; height: 48px; font-size: 1.4rem; margin-bottom: 12px; }
.svc-grid .svc-card h3 { color: var(--maroon-dark); }
.svc-grid .svc-card:hover h3 { color: var(--maroon); }
.svc-grid .svc-card .more { margin-top: auto; padding-top: 12px; color: var(--gold); font-weight: 700; }
.svc-grid .svc-card .card-media img { transition: transform .4s ease; }
.svc-grid .svc-card:hover .card-media img { transform: scale(1.05); }

/* =====================================================================
   HOME REDESIGN — new components (hero trust, quick contact, mission,
   conditions, open hours, vertical service cards, achievements,
   testimonials slider, team grid, inline appointment form)
   ===================================================================== */

/* ---------- Hero trust row ---------- */
.mc-hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px;
}
.mc-hero-trust .trust-badge {
  display: flex; flex-direction: column; padding: 12px 22px; border-radius: 14px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
}
.mc-hero-trust .trust-badge .t-num { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1; }
.mc-hero-trust .trust-badge .t-lbl { font-size: .8rem; color: rgba(255,255,255,.85); margin-top: 4px; }
.mc-hero-trust .trust-people { display: flex; align-items: center; gap: 12px; }
.mc-hero-trust .avatars { display: flex; }
.mc-hero-trust .avatars span {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--maroon-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  margin-left: -12px; border: 2px solid var(--maroon); box-shadow: var(--shadow-sm);
}
.mc-hero-trust .avatars span:first-child { margin-left: 0; }
.mc-hero-trust .trust-people-meta { display: flex; flex-direction: column; line-height: 1.1; }
.mc-hero-trust .trust-people-meta strong { color: #fff; font-size: 1.2rem; }
.mc-hero-trust .trust-people-meta span { color: rgba(255,255,255,.85); font-size: .82rem; }
@media (max-width: 860px) { .mc-hero-trust { justify-content: center; } }

/* ---------- Quick contact strip (overlaps hero bottom) ---------- */
.quick-contact-wrap { padding: 0; position: relative; z-index: 5; margin-top: -42px; }
.quick-contact {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-md);
}
.qc-item {
  display: flex; align-items: center; gap: 16px; padding: 24px 26px; color: var(--ink);
  border-right: 1px solid var(--line); transition: background .2s;
}
.qc-item:last-child { border-right: none; }
.qc-item:hover { background: var(--cream); color: var(--ink); }
.qc-ic {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(14,124,139,.14), rgba(224,50,43,.12)); color: var(--maroon);
}
.qc-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.qc-text strong { color: var(--maroon-dark); font-size: .95rem; }
.qc-text span { color: var(--muted); font-size: .88rem; word-break: break-word; }
@media (max-width: 760px) {
  .quick-contact { grid-template-columns: 1fr; }
  .qc-item { border-right: none; border-bottom: 1px solid var(--line); }
  .qc-item:last-child { border-bottom: none; }
}

/* ---------- Mission feature checks + media badge ---------- */
.feature-checks { list-style: none; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.feature-checks li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.feature-checks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--maroon); color: #fff; font-size: .72rem; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 520px) { .feature-checks { grid-template-columns: 1fr; } }
.mission-media { position: relative; }
.mission-media > img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md);
  object-fit: contain; max-height: 460px;
  background: var(--cream); padding: 28px;
}
/* floating opening-hours card on the mission image */
.mission-hours {
  position: absolute; left: 18px; bottom: 18px; width: min(260px, 78%);
  background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-md);
}
.mission-hours .mh-head {
  display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--maroon-dark);
  font-size: 1rem; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mission-hours .mh-ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(14,124,139,.14), rgba(224,50,43,.12));
}
.mission-hours ul { list-style: none; }
.mission-hours li {
  display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: .85rem;
}
.mission-hours .mh-day { color: var(--muted); }
.mission-hours .mh-time { color: var(--maroon-dark); font-weight: 700; text-align: right; }
@media (max-width: 520px) { .mission-hours { position: static; width: auto; margin-top: 16px; } }

/* Google reviews badge (under "More About Us") */
.google-reviews-wrap { margin-top: 22px; }
.google-reviews {
  display: inline-flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 20px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
a.google-reviews:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.google-reviews .gr-logo { font-family: Arial, "Segoe UI", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -1px; }
.google-reviews .gr-mid {
  display: flex; flex-direction: column; line-height: 1.25;
  border-left: 1px solid var(--line); padding-left: 16px;
}
.google-reviews .gr-stars { color: #fbbc05; letter-spacing: 2px; font-size: 1.05rem; }
.google-reviews .gr-meta { font-size: .82rem; color: var(--muted); }
.google-reviews .gr-meta strong { color: var(--ink); }
@media (max-width: 420px) { .google-reviews { gap: 12px; padding: 10px 14px; } .google-reviews .gr-logo { font-size: 1.25rem; } }

/* ---------- Conditions we treat ---------- */
.condition-grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.condition-grid li {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; font-weight: 600; color: var(--maroon-dark); font-size: .95rem;
  box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s; overflow: hidden;
}
.condition-grid li:hover { transform: translateY(-3px); border-color: var(--maroon); }
.condition-grid li > a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; color: inherit; }
.condition-grid li:hover > a { color: var(--maroon); }
.condition-grid li:not(:has(a)) { padding: 14px 16px; }
.condition-grid .cg-ic {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--gold);
}
@media (max-width: 900px) { .condition-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .condition-grid { grid-template-columns: 1fr; } }

/* ---------- Open hours ---------- */
.open-hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .open-hours-grid { grid-template-columns: 1fr; gap: 30px; } }
.hours-card {
  background: linear-gradient(160deg, var(--maroon-dark), var(--maroon)); color: #fff;
  border-radius: 18px; padding: 30px 32px; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.hours-card::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,50,43,.4), transparent 65%);
}
.hours-card-top { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; position: relative; }
.hours-card-top .hc-ic { font-size: 1.5rem; }
.hours-card ul { list-style: none; position: relative; }
.hours-card li {
  display: flex; justify-content: space-between; gap: 14px; padding: 11px 0;
  border-bottom: 1px dashed rgba(255,255,255,.18); font-size: .98rem;
}
.hours-card li:last-child { border-bottom: none; }
.hours-card .hc-day { color: rgba(255,255,255,.9); }
.hours-card .hc-time { font-weight: 700; color: #fff; }
.hours-card-note {
  margin-top: 18px; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.12);
  font-size: .88rem; position: relative;
}

/* ---------- Vertical service cards (painaway style) ---------- */
.svc-card-v-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .svc-card-v-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-card-v-grid { grid-template-columns: 1fr; } }
.svc-card-v {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card-v:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-card-v-media { position: relative; overflow: hidden; }
.svc-card-v-media img { width: 100%; height: auto; display: block; transition: transform .45s ease; }
.svc-card-v:hover .svc-card-v-media img { transform: scale(1.06); }
.svc-card-v-icon {
  position: absolute; left: 18px; bottom: -26px; width: 56px; height: 56px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; border: 1px solid var(--line);
}
.svc-card-v-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card-v-body h3 { color: var(--maroon-dark); margin-bottom: 10px; }
.svc-card-v-body p { font-size: .95rem; margin-bottom: 20px; flex: 1; }
.svc-card-v-body .svc-points { list-style: none; margin: 2px 0 20px; flex: 1; }
.svc-card-v-body .svc-points li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--muted); font-size: .93rem; line-height: 1.4; }
.svc-card-v-body .svc-points li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.svc-card-v-btn {
  align-self: flex-start; background: var(--maroon); color: #fff; font-weight: 600; font-size: .9rem;
  padding: 11px 24px; border-radius: 999px; transition: all .25s ease;
}
.svc-card-v-btn:hover { background: var(--gold); color: #fff; transform: translateX(2px); }

/* ---------- Achievements band ---------- */
.achievements { padding: 64px 0; }
.band-cream.achievements { background: #0d7685 !important; }
.achievements .section-head { margin-bottom: 38px; }
.achievements .section-head h2 { color: #fff; }
.achievements .section-head p { color: rgba(255,255,255,.9); }
.achievements .section-tag { color: var(--gold-soft); }
.achievements .stats .num { color: #fff !important; font-size: 2.8rem; }
.achievements .stats .lbl { color: rgba(255,255,255,.85) !important; }

/* ---------- Testimonials slider ---------- */
.tst-slider { position: relative; }
.tst-track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 22px; scroll-behavior: smooth; scrollbar-width: none;
}
.tst-track::-webkit-scrollbar { display: none; }
.tst-card {
  flex: 0 0 calc(33.333% - 18px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
@media (max-width: 900px) { .tst-card { flex-basis: calc(50% - 13px); } }
@media (max-width: 600px) { .tst-card { flex-basis: 88%; } }
.tst-stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.tst-stars .dim { color: var(--line); }
.tst-card blockquote { font-style: italic; color: var(--ink); margin-bottom: 22px; flex: 1; line-height: 1.7; }
.tst-card blockquote::before { content: "“"; font-family: Georgia, serif; font-size: 2.4rem; color: var(--gold-soft); line-height: 0; vertical-align: -.35em; margin-right: 4px; }
.tst-who { display: flex; align-items: center; gap: 14px; }
.tst-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); color: #fff;
}
.tst-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tst-meta strong { display: block; color: var(--maroon-dark); font-size: .98rem; }
.tst-meta span { font-size: .84rem; color: var(--muted); }
.tst-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.tst-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--maroon); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.tst-nav button:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 130px; height: 130px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--cream); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initial { color: #fff; font-size: 3rem; font-weight: 800; }
.team-card h3 { color: var(--maroon-dark); font-size: 1.1rem; margin-bottom: 4px; }
.team-card p { font-size: .86rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Appointment split (image + form on a tinted band) ---------- */
.appt-split-band {
  background:
    linear-gradient(rgba(244, 250, 251, .86), rgba(244, 250, 251, .88)),
    url('../../uploads/site/bg.jpg') center / cover no-repeat;
}
.appt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 860px) { .appt-split { grid-template-columns: 1fr; gap: 30px; } }
.appt-split-media img {
  width: 100%; height: 100%; max-height: 540px; object-fit: cover;
  border-radius: var(--radius); display: block;
}
.appt-split-form h2 { color: var(--maroon-dark); }
.appt-split-form .appointment-form { margin-top: 20px; }
@media (max-width: 860px) { .appt-split-media { order: -1; } }

/* ---------- Inline appointment form band ---------- */
.appointment-band { padding: 66px 0; }
.appointment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 860px) { .appointment-grid { grid-template-columns: 1fr; gap: 32px; } }
.appointment-band .appt-perks { list-style: none; margin: 22px 0 0; }
.appointment-band .appt-perks li { color: rgba(255,255,255,.92); padding: 7px 0; font-size: .98rem; }
.appointment-band .appt-call { margin-top: 18px; color: rgba(255,255,255,.92); }
.appointment-band .appt-call a { color: #fff; font-weight: 700; text-decoration: underline; }
.appointment-form { box-shadow: var(--shadow-md); }
.appointment-form button { width: 100%; margin-top: 20px; }

/* ---------- Exercise video library (slider + lightbox) ---------- */
.vid-slider { position: relative; display: flex; align-items: center; gap: 8px; }
.vid-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 20px; scroll-behavior: smooth; scrollbar-width: none; flex: 1;
}
.vid-track::-webkit-scrollbar { display: none; }
.vid-card {
  flex: 0 0 calc(33.333% - 16px); scroll-snap-align: start; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer; padding: 0; font-family: inherit;
  transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.vid-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
@media (max-width: 900px) { .vid-card { flex-basis: calc(50% - 12px); } }
@media (max-width: 600px) { .vid-card { flex-basis: 86%; } }
.vid-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vid-card:hover .vid-thumb img { transform: scale(1.06); }
.vid-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(10,57,66,.18); transition: background .25s; }
.vid-card:hover .vid-thumb::after { background: rgba(10,57,66,.30); }
.vid-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; padding-left: 4px;
  box-shadow: 0 8px 22px rgba(224,50,43,.45); transition: transform .25s, background .25s;
}
.vid-card:hover .vid-play { transform: translate(-50%,-50%) scale(1.1); background: var(--saffron); }
.vid-info { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.vid-cat {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--maroon); align-self: flex-start;
}
.vid-info strong { color: var(--maroon-dark); font-size: 1.02rem; line-height: 1.35; }
.vid-arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--maroon); font-size: 1.5rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.vid-arrow:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
@media (max-width: 600px) { .vid-arrow { display: none; } }

/* video lightbox overlay */
.video-lightbox { display: none; }
.video-lightbox.open {
  display: flex; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 400;
  background: rgba(8, 30, 35, .82); backdrop-filter: blur(4px); padding: 5vh 16px;
}
.video-lightbox-inner { position: relative; width: 100%; max-width: 920px; animation: modalPop .22s ease; }
.video-lightbox-close {
  position: absolute; top: -46px; right: 0; background: none; border: none; color: #fff;
  font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 0 6px;
}
.video-lightbox-close:hover { color: var(--gold-soft); }
.video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Gratitude / mentor card ---------- */
.gratitude-card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); max-width: 400px; margin: 0 auto; }
.gratitude-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.gratitude-card .grat-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.gratitude-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 22px 20px;
  background: linear-gradient(transparent, rgba(10,57,66,.92)); color: #fff;
}
.gratitude-card figcaption strong { display: block; font-size: 1.06rem; color: #fff; line-height: 1.4; }
.gratitude-card figcaption span { display: block; font-size: .85rem; color: rgba(255,255,255,.82); margin-top: 2px; }
.gratitude-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.gratitude-grid .gratitude-card { max-width: none; margin: 0; }
@media (max-width: 820px) { .gratitude-grid { grid-template-columns: 1fr; max-width: 400px; margin: 10px auto 0; } }

/* ---------- Treatment journey (map-style roadmap) ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 14px; }
.journey::before {
  content: ""; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 0; z-index: 0;
  border-top: 3px dashed var(--gold-soft);
}
.journey-step { position: relative; z-index: 1; text-align: center; }
.journey-pin {
  width: 64px; height: 64px; margin: 0 auto 28px; position: relative;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff; transition: background .25s ease;
}
.journey-pin span { transform: rotate(45deg); color: #fff; font-weight: 800; font-size: 1.35rem; }
.journey-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.journey-step:hover .journey-card { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.journey-step:hover .journey-pin { background: linear-gradient(135deg, var(--gold), var(--saffron)); }
.journey-card h3 { font-size: 1.08rem; color: var(--maroon-dark); margin-bottom: 8px; }
.journey-card p { font-size: .92rem; }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .journey::before { top: 0; bottom: 0; left: 31px; right: auto; height: auto; width: 0; border-top: none; border-left: 3px dashed var(--gold-soft); }
  .journey-step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; text-align: left; padding-bottom: 28px; }
  .journey-step:last-child { padding-bottom: 0; }
  .journey-pin { margin: 0; }
}

/* ---------- Camp cards ---------- */
.camp-card { display:flex; flex-direction:column; height:100%; }
.camp-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.camp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .camp-media img { transform: scale(1.05); }
.badge-soon-over {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.camp-meta { list-style:none; margin:12px 0 0; }
.camp-meta li { padding-left:24px; position:relative; margin-bottom:6px; color:var(--muted); font-size:.92rem; }
.camp-meta li .k { position:absolute; left:0; top:1px; }
.badge-soon-inline {
  display:inline-block; background:var(--gold); color:#fff; font-size:.68rem; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; padding:4px 10px; border-radius:999px; margin-bottom:10px;
}
