/* ==========================================================================
   CarePlus Physiotherapy — Main Stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons
   5.  Header & navigation
   6.  Hero
   7.  Section headings
   8.  Cards (services, values, why-us)
   9.  Recovery journey timeline
   10. Stats & recovery story
   11. Testimonials
   12. FAQ accordion
   13. Forms
   14. CTA bands
   15. Map
   16. Page banners & breadcrumbs
   17. Service detail blocks
   18. Profile (chief physiotherapist)
   19. Legal / prose pages
   20. Footer
   21. Floating actions & modal
   22. Animations & utilities
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand */
  --blue: #5bb7e8;          /* primary — light blue (graphics & accents) */
  --blue-600: #3a9fd6;      /* decorative only — too light for text on white */
  --blue-700: #1f7099;      /* text/UI blue — 5.4:1 on white */
  --blue-900: #0e4c6e;
  --navy: #0b2e45;          /* headings */
  --gold: #d4af37;          /* tertiary accent (surfaces, not text) */
  --gold-600: #bd9a26;      /* gold surfaces */
  --gold-text: #9a7c19;     /* gold that has to be readable */
  --gold-050: #fbf5e3;
  --white: #ffffff;

  /* Neutrals */
  --ink: #3b4956;           /* body text — 9.2:1 on white */
  --ink-soft: #5c6b7e;      /* muted text — 5.4:1 on white */
  --line: #e4eef5;
  --bg-soft: #f3fafd;
  --bg-grey: #f6f8fa;

  /* Effects */
  --grad-blue: linear-gradient(135deg, #2278a4 0%, #12557c 100%);
  --grad-blue-soft: linear-gradient(135deg, #5bb7e8 0%, #2a86b9 100%); /* decorative */
  --grad-deep: linear-gradient(140deg, #0e4c6e 0%, #17739e 55%, #3a9fd6 100%);
  --grad-soft: linear-gradient(180deg, #f3fafd 0%, #ffffff 100%);
  --shadow-sm: 0 2px 8px rgba(11, 46, 69, .06);
  --shadow: 0 10px 30px rgba(11, 46, 69, .08);
  --shadow-lg: 0 22px 50px rgba(11, 46, 69, .12);
  --ring: 0 0 0 3px rgba(91, 183, 232, .45);

  /* Geometry */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Rhythm */
  --gutter: 20px;
  --max: 1200px;
  --section-y: 96px;

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --header-h: 84px;
}

/* 2. Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-900); text-decoration: underline; }

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; border-style: none; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

strong { color: var(--navy); font-weight: 700; }
/* Dark surfaces need light bold text */
.site-footer strong, .cta-band strong, .page-banner strong { color: #fff; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--blue-700);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(91, 183, 232, .28); color: var(--navy); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

/* 3. Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }

.section { padding: var(--section-y) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--grey { background: var(--bg-grey); }
.section--tight { padding: 64px 0; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.media-frame--gold { box-shadow: var(--shadow), 18px 18px 0 -4px rgba(212, 175, 55, .22); }

/* 4. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  padding: 16px 28px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 24px rgba(42, 134, 185, .3); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(42, 134, 185, .38); }

.btn--gold { background: var(--gold); color: #3b2f06; box-shadow: 0 10px 24px rgba(212, 175, 55, .32); }
.btn--gold:hover { background: var(--gold-600); color: #3b2f06; }

.btn--outline { background: #fff; color: var(--blue-900); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-900); border-color: var(--blue-900); color: #fff; }

.btn--ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { background: #fff; color: var(--blue-900); border-color: #fff; }

.btn--whatsapp { background: #157f42; color: #fff; box-shadow: 0 10px 24px rgba(21, 127, 66, .28); }
.btn--whatsapp:hover { background: #12703a; color: #fff; }

.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 12px 20px; font-size: .9rem; }
.btn--lg { padding: 19px 36px; font-size: 1.05rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover { text-decoration: none; color: var(--blue-900); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 5. Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(11, 46, 69, .09); background: rgba(255, 255, 255, .98); }

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  position: relative;
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); color: var(--blue-700); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue-700); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}
.header-phone svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--bg-soft); color: var(--blue-700); }
.header-phone:hover { text-decoration: none; color: var(--blue-700); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px var(--gutter) 26px;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--blue-700); text-decoration: none; }
.mobile-nav .btn-row { margin-top: 20px; }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--grad-soft);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(91, 183, 232, .30), rgba(91, 183, 232, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 120px;
  left: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, .16), rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
}
.hero__content { padding-bottom: 40px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.eyebrow--light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: none; }

.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue-700); }
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  background: rgba(212, 175, 55, .35);
  border-radius: 6px;
  z-index: -1;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.lead--light { color: rgba(255, 255, 255, .88); }

.hero__cta { margin: 30px 0 34px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  margin: 0;
}
.trust-row svg { width: 20px; height: 20px; color: var(--blue-700); flex: none; }
.trust-row { list-style: none; padding-left: 0; margin: 0; }

.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--r-lg);
  width: 100%;
  /* The banner photograph is a wide landscape; crop it to a portrait-ish frame
     that balances the text column, anchored right so the subject stays in shot. */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: right center;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  bottom: 26px;
  left: -18px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 262px;
}
.hero-badge svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--gold-050); color: var(--gold-text); flex: none; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.hero-badge span { font-size: .82rem; color: var(--ink-soft); line-height: 1.4; display: block; }

/* Hero enquiry card */
.enquiry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
}
.enquiry-card h2, .enquiry-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.enquiry-card .form-note { margin-top: 14px; }
.enquiry-strip { position: relative; padding-bottom: 72px; }
.enquiry-strip .enquiry-card { margin-top: -46px; position: relative; z-index: 2; }

/* 7. Section headings ---------------------------------------------------- */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 0; }
.section-head h2 .accent { color: var(--blue-700); }

/* 8. Cards --------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(91, 183, 232, .5); }

.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-blue-soft);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(42, 134, 185, .25);
  flex: none;
}
.card__icon svg { width: 28px; height: 28px; }
.card__icon--gold { background: linear-gradient(135deg, #e3c561, #bd9a26); box-shadow: 0 8px 18px rgba(212, 175, 55, .3); color: #3b2f06; }
.card__icon--navy { background: linear-gradient(135deg, #17739e, #0b2e45); box-shadow: 0 8px 18px rgba(11, 46, 69, .25); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card__list { list-style: none; padding: 0; margin: 4px 0 18px; }
.card__list li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: .4em;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.card__footer { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.value-card { text-align: center; padding: 34px 26px; }
.value-card .card__icon { margin-inline: auto; }

.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item__icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.why-item__icon svg { width: 26px; height: 26px; }
.why-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* Card treatment used by the home page "Why CarePlus" grid. A flex row is
   used rather than a grid so the odd trailing card centres itself. */
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.why-grid .why-item {
  flex: 1 1 300px;
  max-width: 380px;
  gap: 16px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease,
              border-color .25s ease, background-color .25s ease;
}
.why-grid .why-item:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.why-grid .why-item__icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.why-grid .why-item__icon svg { width: 24px; height: 24px; }

/* 9. Recovery journey timeline ------------------------------------------- */
.journey { position: relative; max-width: 940px; margin: 0 auto; }
.journey::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 3px;
  margin-left: -1.5px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-900) 100%);
  border-radius: 3px;
}
.journey__step { position: relative; display: grid; grid-template-columns: 1fr 86px 1fr; align-items: center; margin-bottom: 26px; }
.journey__step:last-child { margin-bottom: 0; }
.journey__num {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-deep);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(11, 46, 69, .18);
  z-index: 2;
}
.journey__card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--r);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.journey__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.journey__card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.journey__card p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.journey__step:nth-child(odd) .journey__card { grid-column: 1; grid-row: 1; text-align: right; }
.journey__step:nth-child(even) .journey__card { grid-column: 3; grid-row: 1; text-align: left; }

/* 10. Stats & recovery story --------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  color: var(--blue-900);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__num .suffix { color: var(--gold-text); }
.stat__label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }

/* Four stages of one pathway: separate numbered cards joined by a chevron,
   rather than a single slab split by hairlines. */
.story {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.story__col {
  position: relative;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.story__col:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe6f3; }
/* Chevron sitting in the gutter between cards. */
.story__col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -14px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #b9d9ec;
  border-right: 2px solid #b9d9ec;
  transform: rotate(45deg);
}
.story__step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue-700);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .84rem;
  margin-bottom: 14px;
}
.story__col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-700); margin-bottom: 10px; }
.story__col p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
/* The pathway ends on the outcome, so give that card the emphasis. */
.story__col--outcome { background: var(--grad-blue-soft); border-color: transparent; }
.story__col--outcome .story__step { background: rgba(255, 255, 255, .24); color: #fff; }
.story__col--outcome h3 { color: #fff; }
.story__col--outcome p { color: rgba(255, 255, 255, .92); }

.note {
  font-size: .86rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 22px;
  text-align: center;
}
.note--boxed {
  background: var(--gold-050);
  border: 1px dashed rgba(212, 175, 55, .55);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-style: normal;
  text-align: left;
  color: #6a5615;
}

/* 11. Testimonials ------------------------------------------------------- */
.slider { position: relative; max-width: 1040px; margin: 0 auto; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.slider__slide { min-width: 100%; padding: 6px; display: flex; }
.slider__slide > * { width: 100%; }

/* <figure> and <blockquote> carry a 40px default margin in every browser —
   reset it here or the card gains a phantom indent on both sides. */
.quote {
  position: relative;
  overflow: hidden;
  margin: 0;
  /* Fill the slide so cards in a row share one height. */
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 38px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe6f3; }
/* Oversized quotation mark, set as a watermark behind the text. */
.quote::before {
  content: "\201C";
  position: absolute;
  top: -26px;
  right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9rem;
  line-height: 1;
  color: #e8f4fb;
  pointer-events: none;
  user-select: none;
}
.quote > * { position: relative; }
.quote blockquote { margin: 0; flex: 1; }
.quote p { font-size: 1.06rem; color: var(--navy); line-height: 1.68; margin: 0; }
.quote__rating { display: flex; gap: 3px; color: var(--gold-text); margin-bottom: 16px; }
.quote__rating svg { width: 18px; height: 18px; }
.quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-blue-soft);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .02em;
  flex: none;
}
.quote__author strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.quote__author span { font-size: .86rem; color: var(--ink-soft); }

.slider__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.slider__btn:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); }
.slider__btn svg { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 46, 69, .18);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, width .2s ease;
}
.slider__dot.is-active { background: var(--blue-700); width: 26px; border-radius: 6px; }

/* 12. FAQ accordion ------------------------------------------------------ */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq__item.is-open { border-color: rgba(91, 183, 232, .6); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}
.faq__q svg { width: 22px; height: 22px; color: var(--blue-700); flex: none; transition: transform .25s ease; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 24px 24px; color: var(--ink-soft); font-size: .99rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* 13. Forms -------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}
.field .req { color: #d64545; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2e45' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}
.field input::placeholder, .field textarea::placeholder { color: #9aabbb; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d64545; }
.field__error { font-size: .84rem; color: #c93a3a; display: none; }
.field.has-error .field__error { display: block; }

.field--check { flex-direction: row; align-items: flex-start; gap: 11px; flex-wrap: wrap; }
.field--check .field__error { width: 100%; padding-left: 31px; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--blue-700); }
/* flex: 1 1 0 + min-width: 0 lets the long consent text wrap inside its own
   column instead of being bumped onto a line below the checkbox. */
.field--check label { flex: 1 1 0; min-width: 0; font-weight: 500; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; font-family: var(--font-body); }
.field--check.has-error label { color: #c93a3a; }

.form-note { font-size: .84rem; color: var(--ink-soft); }
.form-alert {
  display: none;
  border-radius: var(--r-sm);
  padding: 15px 18px;
  font-size: .95rem;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.form-alert--success { background: #eafaf1; border-color: #a9e3c4; color: #1a6b42; }
.form-alert--error { background: #fdeeee; border-color: #f3c0c0; color: #a32b2b; }
.form-alert.is-visible { display: block; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 38px;
}

/* Contact info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.info-list__icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--blue-700);
  display: grid;
  place-items: center;
}
.info-list__icon svg { width: 22px; height: 22px; }
.info-list h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); margin-bottom: 4px; }
.info-list a, .info-list p { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin: 0; font-size: 1rem; }
.info-list a:hover { color: var(--blue-700); }

/* 14. CTA bands ---------------------------------------------------------- */
.cta-band {
  background: var(--grad-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 62px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .25), transparent 68%);
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 68%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 62ch; margin-inline: auto; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

.cta-inline {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--r);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-inline h3 { margin-bottom: 4px; }
.cta-inline p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* 15. Map ---------------------------------------------------------------- */
.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }
/* Applied by main.js when no Google Maps embed URL is configured */
.grid--collapsed { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }

/* 16. Page banners & breadcrumbs ---------------------------------------- */
.page-banner {
  /* Photograph behind a navy wash that thins out toward the bottom-right so
     the image reads through. The wash stays >= .84 through 70% because that is
     as far right as the longest banner heading runs; white text needs about
     .80 to clear 4.5:1 over the bright wall in these photos. */
  background:
    linear-gradient(105deg, rgba(14, 76, 110, .95) 0%, rgba(17, 88, 124, .92) 46%, rgba(20, 98, 136, .84) 70%, rgba(23, 115, 158, .55) 88%, rgba(30, 130, 175, .30) 100%),
    url("../images/physiotherapy-home-care-kochi-banner.jpg") center / cover no-repeat,
    var(--grad-deep);
  color: #fff;
  padding: 64px 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(212, 175, 55, .18), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(255, 255, 255, .10), transparent 48%);
}
.page-banner > .container { position: relative; width: 100%; }
/* Pages that carry their own banner photograph; the wash above is unchanged. */
.page-banner--services { background-image:
  linear-gradient(105deg, rgba(14, 76, 110, .95) 0%, rgba(17, 88, 124, .92) 46%, rgba(20, 98, 136, .84) 70%, rgba(23, 115, 158, .55) 88%, rgba(30, 130, 175, .30) 100%),
  url("../images/physiotherapy-services-banner-kochi.jpg"); }
.page-banner--profile { background-image:
  linear-gradient(105deg, rgba(14, 76, 110, .95) 0%, rgba(17, 88, 124, .92) 46%, rgba(20, 98, 136, .84) 70%, rgba(23, 115, 158, .55) 88%, rgba(30, 130, 175, .30) 100%),
  url("../images/physiotherapy-neck-assessment-kochi.jpg"); }
.page-banner--contact { background-image:
  linear-gradient(105deg, rgba(14, 76, 110, .95) 0%, rgba(17, 88, 124, .92) 46%, rgba(20, 98, 136, .84) 70%, rgba(23, 115, 158, .55) 88%, rgba(30, 130, 175, .30) 100%),
  url("../images/contact-physiotherapy-banner-kochi.jpg"); }
.page-banner--about { background-image:
  linear-gradient(105deg, rgba(14, 76, 110, .95) 0%, rgba(17, 88, 124, .92) 46%, rgba(20, 98, 136, .84) 70%, rgba(23, 115, 158, .55) 88%, rgba(30, 130, 175, .30) 100%),
  url("../images/knee-assessment-physiotherapy-kochi.jpg"); }
/* No ch cap and a slightly smaller size, so even the longest banner title
   ('Book a Consultation or Request a Call Back') holds one line on desktop.
   It still wraps naturally once the viewport is too narrow. */
.page-banner h1 { color: #fff; max-width: none; font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.page-banner p { color: rgba(255, 255, 255, .94); max-width: 62ch; font-size: 1.08rem; margin-bottom: 0; }
.page-banner .btn-row { margin-top: 30px; }

.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.breadcrumbs li { margin: 0; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .45); }
.breadcrumbs a { color: rgba(255, 255, 255, .9); }
.breadcrumbs a:hover { color: #fff; }

/* 17. Service detail blocks --------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 48px;
  align-items: start;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.service-block:last-of-type { border-bottom: 0; }
.service-block--reverse { grid-template-columns: 1.22fr .78fr; }
.service-block--reverse .service-block__media { order: 2; }
.service-block h2 { margin-bottom: 14px; }
.service-block__media { display: flex; position: sticky; top: 100px; }
/* Service photographs sit in the sticky media column, cropped to a steady
   4:3 frame so every service block lines up regardless of source ratio. */
.service-photo {
  flex: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
/* Two sources do not centre well in a 4:3 crop: the geriatric shot has its
   subject hard right, and the ankle-work shot needs the hands kept in frame. */
.service-photo--right { object-position: 82% center; }
.service-photo--low   { object-position: center 68%; }
.service-block__tag svg { width: 20px; height: 20px; flex: none; }
.service-block__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--blue-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 26px 0; }
.detail-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
}
.detail-box h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-700); margin-bottom: 10px; }
.detail-box ul { list-style: none; padding: 0; margin: 0; }
.detail-box li { position: relative; padding-left: 20px; font-size: .93rem; color: var(--ink-soft); }
.detail-box li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
}
.detail-box p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.service-visual {
  border-radius: var(--r-lg);
  background: var(--grad-blue-soft);
  flex: 1;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .28), transparent 45%),
    radial-gradient(circle at 18% 84%, rgba(212, 175, 55, .3), transparent 48%);
}
.service-visual svg { width: 46%; max-width: 190px; height: auto; position: relative; opacity: .95; }
.service-visual--deep { background: var(--grad-deep); }
.service-visual--gold { background: linear-gradient(135deg, #e3c561, #a8871c); color: #402f00; }

.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 12px; }
.jump-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.jump-nav a:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; text-decoration: none; }

/* 18. Profile ------------------------------------------------------------ */
.profile { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.profile__aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.profile__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
/* The portrait is a near-square source; hold a square frame and crop to it
   so the head sits in the upper half rather than dead centre. */
.profile__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; }
.profile__meta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.profile__meta dl { margin: 0; display: grid; gap: 16px; }
.profile__meta dt { font-family: var(--font-head); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.profile__meta dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .98rem; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}

.quote-block {
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 26px 30px;
  font-size: 1.08rem;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.6;
}

/* 19. Legal / prose pages ----------------------------------------------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose li { color: var(--ink); }
.prose .updated {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
}

/* 20. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .74); padding: 72px 0 34px; font-size: .96rem; }
.site-footer h3 {
  color: #fff;
  font-size: .86rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
/* The contact column carries the longest strings (hours, e-mail, number),
   so it gets the widest track. */
.footer-grid { display: grid; grid-template-columns: 1.35fr .9fr 1.1fr 1.65fr; gap: 40px; }
.hours-row { display: block; white-space: nowrap; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .7em; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 4px; }
.footer-cta {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  padding: 22px;
  margin-top: 26px;
}
.footer-cta strong { color: #fff; display: block; font-family: var(--font-head); margin-bottom: 6px; }
.footer-cta p { font-size: .88rem; margin-bottom: 16px; }

.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.social a:hover { background: var(--blue-700); transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .88rem;
}
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 28px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
}

/* 21. Floating actions & modal ------------------------------------------ */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 46, 69, .26);
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.fab:hover { transform: translateY(-3px) scale(1.04); color: #fff; text-decoration: none; }
.fab svg { width: 24px; height: 24px; }
.fab--whatsapp { background: #157f42; }
.fab--call { background: var(--blue-700); }
.fab--top {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  /* Hidden until the visitor has scrolled past the first screen. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { color: var(--blue-700); transform: translateY(-3px) scale(1.04); }
.fab--book { background: var(--gold); color: #3b2f06; width: auto; border-radius: var(--r-pill); padding: 0 22px; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: .94rem; }
.fab--book:hover { color: #3b2f06; }
.fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.fab:hover .fab__tip, .fab:focus-visible .fab__tip { opacity: 1; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(11, 46, 69, .58);
  backdrop-filter: blur(3px);
}
.modal.is-open { display: flex; }
.modal__dialog {
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 700px;
  width: 100%;
  margin: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modal-in .3s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal__head {
  padding: 32px 36px 0;
}
.modal__head h2 { font-size: 1.6rem; margin-bottom: 8px; }
.modal__head p { color: var(--ink-soft); font-size: .98rem; }
.modal__body { padding: 24px 36px 36px; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal__close:hover { background: var(--navy); color: #fff; }
.modal__close svg { width: 20px; height: 20px; }
body.has-modal { overflow: hidden; }

/* 22. Animations & utilities -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .slider__track { transition: none; }
}
