/* =====================================================================
   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. Final CTA
     15. Footer
     16. Animations (entrance + scroll reveal)
     17. 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 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;
}

.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;
  /* Mobile: keep the portrait photo compact, crop instead of stretch. */
  max-height: 18rem;
  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 {
  width: 100%;
  height: 20rem; /* compact on mobile */
  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 {
  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: 20rem; /* compact on mobile */
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------------------------------------------------------------------
   13. Location
   --------------------------------------------------------------------- */
.location-card {
  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 */
.map-card {
  position: relative;
  min-height: 300px; /* smaller on phones */
  background-color: #eef2f4;
  /* Subtle dot grid, like the reference's pattern */
  background-image: radial-gradient(rgba(23, 52, 72, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.map-card__pin {
  color: var(--color-primary-blue);
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}
.map-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-deep-navy);
}
.map-card__text {
  font-size: 0.875rem;
  max-width: 20rem;
  margin-top: 0.5rem;
}
.map-card__chip {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  color: var(--color-primary-blue);
  font-size: 0.875rem;
  font-weight: 700;
}
.map-card__chip:hover {
  background: var(--color-light-bg);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------------------------------------------------------------------
   14. 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: 1.25rem;
  right: 1.25rem;
  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;
}

/* ---------------------------------------------------------------------
   15. 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);
}

/* ---------------------------------------------------------------------
   16. 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,
  .map-card__pin,
  .fab::before {
    animation: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------------
   17. 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; }
  .hero__img { max-height: 24rem; }
  .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; }
  .approach__img { height: 28rem; }
  .about__img { height: 28rem; }
}

/* 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%; }

  .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); }
}
