/* =====================================================================
   Markwell Physio — global stylesheet
   =====================================================================
   One stylesheet for the whole site. Contents:

     1.  Design tokens (colors, shadows, radii)
     2.  Base & reset
     3.  Utilities (.container, .btn, .icon, .section, .eyebrow)
     4.  Header & mobile menu
     5.  Hero
     6.  Trust strip
     7.  Conditions
     8.  Services
     9.  Approach
     10. Why choose
     11. Reviews
     12. About preview
     13. Location
     14. Contact strip, form, thank-you & booking popup
     15. Final CTA
     16. Footer
     17. Animations (entrance + scroll reveal)
     18. Responsive tweaks
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  --color-primary-blue: #0878c9;
  --color-primary-blue-dark: #0566ac; /* hover shade */
  --color-teal-accent: #08afa5;
  --color-lime-accent: #8bcb20;
  --color-deep-navy: #173448;
  --color-body-grey: #5d6e78;
  --color-light-bg: #f4fafc;
  --color-whatsapp: #25d366;
  --color-border: #eceff1;   /* gray-100 */
  --color-border-light: #f7f9fa; /* gray-50 */

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(23, 52, 72, 0.06);
  --shadow-md: 0 4px 12px rgba(23, 52, 72, 0.08);
  --shadow-lg: 0 12px 32px rgba(23, 52, 72, 0.12);
  --shadow-xl: 0 20px 48px rgba(23, 52, 72, 0.16);

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 2.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body-grey);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--color-deep-navy);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

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

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

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

button {
  font: inherit;
  cursor: pointer;
}

/* Keep anchor targets clear of the sticky header. */
section[id] {
  scroll-margin-top: 6rem;
}

/* Screen-reader-only skip link, visible on keyboard focus. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--color-primary-blue);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0.75rem;
}

/* ---------------------------------------------------------------------
   3. Utilities
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 80rem; /* 1280px, like the reference's max-w-7xl */
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding-block: 6rem;
}
.section--light {
  background: var(--color-light-bg);
}
.section--bordered {
  border-bottom: 1px solid var(--color-border-light);
}

.section-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.section-head h1,
.section-head h2 {
  font-size: 1.875rem;
}
.section-head p {
  font-size: 1.125rem;
  margin-top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--color-light-bg);
  border: 1px solid rgba(8, 120, 201, 0.1);
  color: var(--color-primary-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.75rem 1.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease, gap 0.2s ease;
}
.btn--primary {
  background: var(--color-primary-blue);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn--primary:hover {
  background: var(--color-primary-blue-dark);
}
.btn--outline {
  background: #fff;
  border: 2px solid var(--color-border);
  color: var(--color-deep-navy);
}
.btn--outline:hover {
  background: var(--color-light-bg);
}
.btn--white {
  background: #fff;
  color: var(--color-primary-blue);
  box-shadow: var(--shadow-xl);
}
.btn--white:hover {
  background: var(--color-light-bg);
}
.btn--ghost-white {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}
.btn--lg {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
}
.btn--xl {
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
}
.btn--block {
  width: 100%;
}

/* Text-style "button" (View All …, Learn More …) */
.btn--link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary-blue);
  font-weight: 800;
}
.btn--link:hover {
  gap: 0.5rem;
}
.btn--link:hover .btn--link__text {
  text-decoration: underline;
}

/* ---------------------------------------------------------------------
   4. Header & mobile menu
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1.5rem;
}

.brand {
  flex-shrink: 0;
}
.brand__logo {
  height: 44px;
  width: auto;
}

/* Static brand shown for a moment before main.js replaces
   data-component="header" with the real header markup. */
.brand--fallback {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 5rem;
  padding: 0 1.5rem;
}
.brand--fallback img {
  height: 40px;
  width: auto;
}
.brand--fallback .brand__name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-deep-navy);
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.navbar__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-deep-navy);
  transition: color 0.2s ease;
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--color-primary-blue);
}

.navbar__cta {
  display: none;
}

.navbar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: 0;
  color: var(--color-deep-navy);
}
.navbar__icon-close {
  display: none;
}
.site-header.menu-open .navbar__icon-open {
  display: none;
}
.site-header.menu-open .navbar__icon-close {
  display: block;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 1rem 1.5rem;
}
.site-header.menu-open .mobile-menu {
  display: block;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  display: block;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-deep-navy);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--color-light-bg);
  color: var(--color-primary-blue);
}
.mobile-menu__cta {
  margin-top: 1rem;
}

/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 5rem;
  background: #fff;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__copy {
  text-align: center;
  max-width: 42rem;
}
.hero__copy h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
}
.hero__lead {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  margin-top: 2rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-body-grey);
}
.hero__points span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}
.hero__points span::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--color-teal-accent);
}

.hero__media {
  position: relative;
  margin-top: 4rem;
}
/* Decorative tilted frames behind the photo */
.hero__media::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: var(--color-light-bg);
  border-radius: var(--radius-2xl);
  transform: rotate(2deg);
  z-index: -1;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: -0.5rem;
  border: 2px solid rgba(8, 175, 165, 0.1);
  border-radius: var(--radius-2xl);
  z-index: -1;
}
.hero__img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: auto;
  /* Preserve the full photo at its natural aspect ratio. */
  max-height: none;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 20rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}
.hero__badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-teal-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__badge-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-deep-navy);
}
.hero__badge-text {
  font-size: 0.75rem;
  color: var(--color-body-grey);
}

/* ---------------------------------------------------------------------
   6. Trust strip
   --------------------------------------------------------------------- */
.trust-strip {
  padding-block: 3rem;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.trust-strip__icon {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-light-bg);
  color: var(--color-teal-accent);
}
.trust-strip__item h3 {
  font-size: 0.875rem;
}
.trust-strip__item p {
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------------
   7. Conditions
   --------------------------------------------------------------------- */
.conditions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.condition-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: box-shadow 0.25s ease;
}
.condition-card:hover {
  box-shadow: var(--shadow-md);
}

.condition-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--color-light-bg);
  color: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.condition-card:hover .condition-card__icon {
  background: var(--color-primary-blue);
  color: #fff;
}

.condition-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
.condition-card p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.condition-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary-blue);
  font-size: 0.875rem;
  font-weight: 700;
}
.condition-card__more:hover {
  text-decoration: underline;
}

.section-more {
  text-align: center;
  margin-top: 3rem;
}

/* ---------------------------------------------------------------------
   8. Services
   --------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service {
  display: flex;
  gap: 1.5rem;
}
.service__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-light-bg);
  color: var(--color-teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service p {
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------------
   9. Approach
   --------------------------------------------------------------------- */
.approach__grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.approach__heading {
  font-size: 2.25rem;
  line-height: 1.1;
}
.approach__heading em {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-primary-blue);
  font-size: 1.875rem;
  font-style: normal;
}

.approach__lead {
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

.approach__steps {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.approach-step {
  display: flex;
  gap: 1.5rem;
}
.approach-step__number {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(8, 175, 165, 0.25);
  user-select: none;
}
.approach-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.approach__media {
  position: relative;
}
/* Soft teal glow behind the photo */
.approach__media::before {
  content: "";
  position: absolute;
  inset: -2.5rem;
  border-radius: 50%;
  background: rgba(8, 175, 165, 0.05);
  filter: blur(64px);
  z-index: -1;
}
.approach__img {
  object-position: left center;
  width: 100%;
  height: auto; /* Show the full photo on phones and tablets. */
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.approach__overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(to top, rgba(23, 52, 72, 0.4), transparent);
}

/* ---------------------------------------------------------------------
   10. Why choose
   --------------------------------------------------------------------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-light-bg);
  color: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.why-card p {
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------------
   11. Reviews
   --------------------------------------------------------------------- */
.reviews__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.reviews__stars {
  display: flex;
  gap: 0.125rem;
  color: #fbbf24; /* yellow-400 */
}
.reviews__rating-score {
  font-weight: 700;
  color: var(--color-deep-navy);
}
.reviews__source {
  font-size: 0.875rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.review-card {
  position: relative;
  background: var(--color-light-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.review-card__stars {
  display: flex;
  gap: 0.125rem;
  color: #fbbf24;
  margin-bottom: 1rem;
}
.review-card__text {
  color: var(--color-deep-navy);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.review-card__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-card__avatar {
  flex-shrink: 0;
  object-fit: cover;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(8, 120, 201, 0.1);
  color: var(--color-primary-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-deep-navy);
}
.review-card__label {
  font-size: 0.75rem;
}

/* ---------------------------------------------------------------------
   12. About preview
   --------------------------------------------------------------------- */
.about__grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.about__copy {
  order: 1;
}
.about__copy h2 {
  font-size: 1.875rem;
  margin: 1.5rem 0;
}
.about__copy p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.about__media {
  order: 2;
  position: relative;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: -1rem;
  border-radius: var(--radius-xl);
  background: rgba(8, 120, 201, 0.05);
  transform: rotate(-1deg);
  z-index: -1;
}
.about__img {
  width: 100%;
  height: auto; /* Show the full photo on phones and tablets. */
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------------------------------------------------------------------
   13. Location
   --------------------------------------------------------------------- */
.location-card {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.location-card__info {
  padding: 1.5rem; /* tighter on phones; 4rem at desktop */
}

.location-row {
  display: flex;
  gap: 1.25rem;
}
/* Let the text column shrink instead of clipping on narrow screens. */
.location-row > div:last-child {
  min-width: 0;
}
.location-row + .location-row {
  margin-top: 2.5rem;
}

.location-row__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: rgba(8, 120, 201, 0.1);
  color: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-row h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.location-row__hours {
  width: 100%;
  max-width: 16rem;
}
.location-row__hours li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.25rem;
}
.location-row__hours span {
  white-space: nowrap;
}
.location-row__hours .hours--accent {
  color: var(--color-primary-blue);
  font-weight: 600;
}

.location-card__cta {
  margin-top: 3rem;
}

/* Map side: real Google Maps embed */
.map-card {
  position: relative;
  min-height: 300px; /* smaller on phones */
  background-color: #eef2f4; /* fallback while the map loads */
}
.map-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------------------------------------------------------------
   14. Contact form
   --------------------------------------------------------------------- */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-form-card__inner {
  padding: 2rem;
  display: grid;
  gap: 2rem;
}

.contact-form-card__intro h2,
.contact-form-card__intro h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.contact-form-card__intro p {
  margin: 0 0 1rem;
}
.contact-form-card__call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-deep-navy);
}
.contact-form-card__call .icon {
  color: var(--color-primary-blue);
}

/* Honeypot field: parked off-screen, invisible to humans. */
.contact-form__honeypot {
  position: absolute;
  left: -5000px;
  height: 0;
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form__row {
  display: grid;
  gap: 1rem;
}
.contact-form__field {
  display: grid;
  gap: 0.4rem;
}
.contact-form__field label {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-deep-navy);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--color-deep-navy);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9db0b8;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(8, 120, 201, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__submit {
  width: 100%;
}

.contact-form__status {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.contact-form__status--ok {
  background: #e8f8ef;
  color: #1c7c43;
}
.contact-form__status--error {
  background: #fdecea;
  color: #b3261e;
}

/* Slim contact teaser on the homepage; full details live on /contact/ */
.contact-strip {
  display: grid;
  gap: 2.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}
/* Inside the strip, the grid gap does the spacing — drop the stacked
   margin that location-row adds for the location card. */
.contact-strip .location-row + .location-row {
  margin-top: 0;
}
.contact-strip__map {
  position: relative;
  min-height: 220px; /* taller on desktop, see breakpoint below */
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #eef2f4; /* fallback while the map loads */
}
.contact-strip__map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Thank-you page (form success destination) */
.thank-you__card {
  max-width: 34rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2rem;
  text-align: center;
}
.thank-you__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(8, 120, 201, 0.1);
  color: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you__card h1 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}
.thank-you__card > p {
  margin: 0 0 1rem;
}
.thank-you__note {
  font-weight: 700;
  color: var(--color-deep-navy);
}
.thank-you__card > .thank-you__phone {
  margin-bottom: 2rem;
}
.thank-you__phone a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-blue);
  text-decoration: none;
}
.thank-you__phone a:hover {
  text-decoration: underline;
}
.thank-you__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Booking popup — opened by every Book Appointment button */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
/* The generic [hidden] rule loses to display:flex, so say it again. */
.booking-modal[hidden] {
  display: none;
}
.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 52, 72, 0.55);
}
.booking-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 34rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  animation: booking-pop 0.18s ease-out;
}
.booking-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--color-light-bg);
  color: var(--color-deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.booking-modal__close:hover {
  background: var(--color-border);
}
.booking-modal__dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  padding-right: 2.5rem; /* keep clear of the close button */
}
.booking-modal__sub {
  margin: 0 0 1.5rem;
}
.booking-modal__wa-fallback {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-light-bg);
  font-size: 0.9rem;
}
.booking-modal__wa-fallback a {
  color: var(--color-primary-blue);
  font-weight: 700;
}

@keyframes booking-pop {
  from { opacity: 0; transform: translateY(0.5rem) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .booking-modal__dialog { animation: none; }
}

/* Lock page scroll while the popup is open (class set by main.js). */
body.modal-open {
  overflow: hidden;
}

/* "(optional)" label inside the booking form */
.contact-form__optional {
  font-weight: 400;
  color: var(--color-body-grey);
}

/* ---------------------------------------------------------------------
   15. Final CTA
   --------------------------------------------------------------------- */
.cta-wrap {
  max-width: 64rem;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--color-primary-blue);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  text-align: center;
}
/* Decorative colour blobs */
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  margin: -8rem -8rem 0 0;
  border-radius: 50%;
  background: var(--color-teal-accent);
  opacity: 0.2;
  filter: blur(100px);
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  margin: 0 0 -8rem -8rem;
  border-radius: 50%;
  background: var(--color-lime-accent);
  opacity: 0.1;
  filter: blur(100px);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  color: #fff;
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 42rem;
  margin: 0 auto 3rem;
}
.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

/* ---------------------------------------------------------------------
   14b. Floating WhatsApp button (bottom-right, every page)
   --------------------------------------------------------------------- */
.fab {
  position: fixed;
  bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.75rem + env(safe-area-inset-right, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-whatsapp);
  color: #fff;
  padding: 0.875rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}

/* Pulsing ring around the button */
.fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: var(--color-whatsapp);
  opacity: 0.35;
  animation: fab-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes fab-pulse {
  0%   { transform: scale(0.9); opacity: 0.45; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.fab:hover,
.fab:active {
  transform: scale(0.95);
}

.fab__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   16. Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding-block: 5rem 2.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
/* Layout hook only: the grid above does the positioning, no styles needed. */
.site-footer__brand {}

.site-footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: 1.5rem;
}
.site-footer__blurb {
  margin-bottom: 1.5rem;
  max-width: 26rem;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}
.site-footer__social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-light-bg);
  color: var(--color-deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-footer__social a:hover {
  background: var(--color-primary-blue);
  color: #fff;
}

.site-footer__col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.site-footer__col ul li + li {
  margin-top: 1rem;
}
.site-footer__col ul a:hover {
  color: var(--color-primary-blue);
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.site-footer__contact li + li {
  margin-top: 1.25rem;
}
.site-footer__contact .icon {
  color: var(--color-primary-blue);
  margin-top: 0.2rem;
}

.site-footer__cta-card {
  background: var(--color-light-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.site-footer__cta-card p {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-deep-navy);
  margin-bottom: 1rem;
}
.site-footer__cta-card .btn {
  padding: 0.75rem;
  border-radius: var(--radius-md);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.site-footer__bottom p {
  font-size: 0.875rem;
}
.site-footer__legal {
  display: flex;
  gap: 2rem;
}
.site-footer__legal a {
  font-size: 0.75rem;
}
.site-footer__legal a:hover {
  color: var(--color-deep-navy);
}

.site-footer__credit {
  color: var(--color-deep-navy);
  font-weight: 600;
}
.site-footer__credit:hover {
  color: var(--color-primary-blue);
}

/* ---------------------------------------------------------------------
   17. Animations
   --------------------------------------------------------------------- */
/* Hero entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.hero__copy > * {
  animation: rise 0.6s ease both;
}
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.45s; }
.hero__media {
  animation: pop 0.8s ease 0.2s both;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Gentle stagger for cards inside a revealed grid */
.conditions__grid > [data-reveal]:nth-child(2),
.services__grid > [data-reveal]:nth-child(2),
.why__grid > [data-reveal]:nth-child(2),
.reviews__grid > [data-reveal]:nth-child(2),
.trust-strip__grid > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.conditions__grid > [data-reveal]:nth-child(3),
.services__grid > [data-reveal]:nth-child(3),
.why__grid > [data-reveal]:nth-child(3),
.reviews__grid > [data-reveal]:nth-child(3),
.trust-strip__grid > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.conditions__grid > [data-reveal]:nth-child(4),
.services__grid > [data-reveal]:nth-child(4),
.why__grid > [data-reveal]:nth-child(4),
.reviews__grid > [data-reveal]:nth-child(4),
.trust-strip__grid > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.conditions__grid > [data-reveal]:nth-child(n+5),
.services__grid > [data-reveal]:nth-child(n+5),
.why__grid > [data-reveal]:nth-child(n+5),
.reviews__grid > [data-reveal]:nth-child(n+5),
.trust-strip__grid > [data-reveal]:nth-child(n+5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy > *,
  .hero__media,
  .fab::before {
    animation: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------------
   18. Responsive tweaks
   --------------------------------------------------------------------- */
/* sm — 640px */
@media (min-width: 40rem) {
  .container { padding-inline: 1.5rem; }
  .hero__copy h1 { font-size: 3rem; }
  .hero__actions { flex-direction: row; justify-content: center; }
  .hero__points { justify-content: center; }
  .hero__media { margin-top: 6rem; }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .conditions__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 3rem; }
}

/* md — 768px */
@media (min-width: 48rem) {
  .navbar__links { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero__copy h1 { font-size: 3.75rem; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }

  .contact-form__row { grid-template-columns: 1fr 1fr; }
}

/* lg — 1024px */
@media (min-width: 64rem) {
  .container { padding-inline: 2rem; }

  .hero { padding-block: 6rem 8rem; }
  .hero__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
    align-items: center;
  }
  .hero__copy {
    grid-column: span 6;
    text-align: left;
    margin: 0;
  }
  .hero__actions { justify-content: flex-start; }
  .hero__points { justify-content: flex-start; }
  .hero__media { grid-column: span 6; margin-top: 0; }
  .hero__img { max-height: none; }

  .trust-strip__grid { grid-template-columns: repeat(4, 1fr); }
  .conditions__grid { grid-template-columns: repeat(4, 1fr); }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }

  .approach__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
  }
  .approach__media { margin-top: 0; }

  .about__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
  }
  .about__media { order: 1; }
  .about__copy { order: 2; }
  .approach__img { height: 37.5rem; } /* 600px, as in the reference */
  .about__img { height: 31.25rem; }   /* 500px, as in the reference */

  .location-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .location-card__info { padding: 4rem; }
  .map-card { min-height: 100%; }

  .contact-form-card__inner {
    grid-template-columns: 1fr 1.2fr;
    padding: 3rem;
  }
  .contact-form__submit { width: auto; justify-self: start; }

  .contact-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 2.5rem;
  }
  .contact-strip__map { min-height: 320px; }
  .thank-you__card { padding: 4rem 3rem; }

  .cta-banner { padding: 5rem; }
  .cta-banner h2 { font-size: 3rem; }
  .cta-banner__actions { flex-direction: row; justify-content: center; }

  .site-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile reading order: heading, full photo, supporting copy. */
.approach__grid,
.about__grid { gap: 1.5rem; }
.about__heading h2 { font-size: 1.875rem; margin: 1.5rem 0 0; }
.about__media,
.about__copy { order: initial; }
.approach__lead { margin-top: 0; }

@media (min-width: 64rem) {
  .approach__grid {
    grid-template-areas: "heading photo" "body photo";
    grid-template-rows: auto 1fr;
    gap: 1.5rem 4rem;
    align-items: start;
  }
  .approach__heading { grid-area: heading; }
  .approach__body { grid-area: body; }
  .approach__media { grid-area: photo; align-self: center; }
  .about__grid {
    grid-template-areas: "photo heading" "photo body";
    grid-template-rows: auto 1fr;
    gap: 1.5rem 4rem;
    align-items: start;
  }
  .about__heading { grid-area: heading; }
  .about__copy { grid-area: body; }
  .about__media { grid-area: photo; align-self: center; }
}

/* Compact phone layouts. Desktop dimensions remain in the rules above. */
.reviews__toggle-wrap { text-align: center; }
.reviews__toggle[hidden] { display: none; }
@media (max-width: 47.999rem) {
  .container { padding-inline: 1.25rem; }
  .section { padding-block: 2.75rem; }
  .section-head { margin-bottom: 1.5rem; text-align: center; }
  .section-head h1, .section-head h2 { font-size: 1.75rem; line-height: 1.2; }
  .section-head p { font-size: 1rem; margin-top: .75rem; }
  .navbar { height: 4.25rem; gap: .75rem; }
  .brand__logo { height: auto; width: min(13rem, 60vw); }
  .navbar__toggle { min-width: 44px; min-height: 44px; }
  .mobile-menu a { min-height: 44px; }
  .hero { padding-block: 2rem 2.75rem; }
  .hero__copy { text-align: center; width: 100%; }
  .hero__copy h1 { font-size: clamp(1.875rem, 7.5vw, 2.25rem); margin-top: 1rem; line-height: 1.15; }
  .hero__lead { font-size: 1rem; margin-top: 1rem; }
  .hero__actions { margin-top: 1.5rem; gap: .75rem; flex-direction: column; }
  .hero__media { margin-top: 1.75rem; width: 100%; }
  .hero__badge { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; margin-top: 0; max-width: 20rem; padding: .875rem; gap: .75rem; }
  .hero__media::before, .hero__media::after { display: none; }
  .hero__img, .approach__img, .about__img { width: 100%; height: auto; max-height: none; }
  .trust-strip { padding-block: 1.75rem; }
  .trust-strip__grid { gap: 1.25rem; }
  .trust-strip__item { display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem .75rem; }
  .trust-strip__icon { grid-row: 1 / 3; align-self: start; }
  .trust-strip__item p { grid-column: 2; }
  .conditions__grid, .services__grid, .why__grid, .reviews__grid { gap: 1rem; }
  .condition-card { padding: 1.25rem; }
  .service { gap: .875rem; }
  .service__icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
  .service h3 { font-size: 1.125rem; }
  .why-card { padding: 1.25rem; text-align: center; display: block; }
  .why-card__icon { width: 2.75rem; height: 2.75rem; margin: 0 auto .75rem; }
  .why-card__icon .icon { width: 1.5rem; height: 1.5rem; }
  .why-card h3 { margin: 0 0 .375rem; }
  .why-card p { margin: 0; }
  .approach__heading { font-size: 1.875rem; }
  .approach__heading em { font-size: 1.625rem; }
  .approach__lead, .about__copy p { font-size: 1rem; }
  .approach__steps { margin-top: 1.5rem; gap: 1.5rem; }
  .approach-step { gap: 1rem; }
  .review-card { padding: 1.25rem; }
  .reviews--collapsed .review-card:nth-child(n+4) { display: none; }
  .reviews__toggle:not([hidden]) { margin-top: 1.25rem; }
  .section-more { margin-top: 1.5rem; }
  .reviews__rating { justify-content: center; }
  .cta-banner { padding: 1.5rem; border-radius: 1.25rem; }
  .cta-banner h2 { font-size: 1.75rem; margin-bottom: 1rem; }
  .cta-banner p { font-size: 1rem; margin-bottom: 1.5rem; }
  .btn { min-height: 44px; }
  .fab { width: 3rem; height: 3rem; padding: 0; justify-content: center; right: calc(1.5rem + env(safe-area-inset-right, 0px)); bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  .fab span, .fab::before { display: none; }
  .fab__icon { width: 1.5rem; height: 1.5rem; }
  .site-footer { padding-block: 2.5rem 5rem; }
  .site-footer__grid { gap: 1.75rem; padding-bottom: 1.75rem; }
  .site-footer__logo { height: auto; width: min(15rem, 100%); }
  .site-footer__col h4 { margin-bottom: .75rem; }
  .site-footer__grid nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
  .site-footer__grid nav ul li + li { margin-top: 0; }
  .site-footer__grid nav a { display: flex; align-items: center; min-height: 44px; }
  .site-footer__bottom { padding-top: 1.5rem; gap: .75rem; }
  .booking-modal__dialog { padding: 1.25rem; max-height: calc(100dvh - 2rem); }
  .booking-modal__close { width: 44px; height: 44px; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; }
}
