/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  /* Colour */
  --ink: #13211f;
  --ink-soft: #4a5a57;
  --ink-muted: #6b7a77;
  --bg: #f8f6f1;
  --surface: #ffffff;
  --line: #e6e1d7;
  --teal: #123c3a;
  --teal-2: #1d5552;
  --teal-tint: #e8f0ee;
  --gold: #a87a35;
  --gold-soft: #e2b46c;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1rem;      /* 16 */
  --fs-md: 1.0625rem;   /* 17 */
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-h3: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.625rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);

  /* Spacing (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --head-gap: clamp(32px, 4vw, 56px);
  --grid-gap: clamp(16px, 2vw, 24px);

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(19, 33, 31, 0.06), 0 1px 1px rgba(19, 33, 31, 0.04);
  --shadow: 0 18px 40px -20px rgba(18, 60, 58, 0.28);

  --nav-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.005em; }

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

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

section { padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.light { color: var(--gold-soft); }

.section-head { max-width: 680px; margin-bottom: var(--head-gap); }
.section-head p { color: var(--ink-soft); font-size: var(--fs-lead); margin-top: var(--s-4); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-5);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-2); }
.btn-ghost { border-color: rgba(18, 60, 58, 0.35); color: var(--teal); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); background: var(--teal-tint); }
.btn-gold { background: var(--gold-soft); color: var(--teal); }
.btn-gold:hover { background: #ebc285; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-whatsapp { background: #1f9d55; color: #fff; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: #188a49; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0, 0, 0, 0.35); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; min-width: 0; }
.brand-mark {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-text small {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
}

.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 var(--s-4);
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: #fff;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--teal-2); color: #fff; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hamburger span { display: block; width: 22px; height: 2px; margin: 2.5px 0; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 em { font-style: normal; color: var(--teal-2); }
.hero-sub { font-size: var(--fs-lead); color: var(--ink-soft); margin-top: var(--s-5); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-creds {
  list-style: none;
  padding: var(--s-5) 0 0;
  margin: var(--s-6) 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-2);
}
.hero-creds li {
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--teal-tint);
  color: var(--teal);
}

.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--s-3);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: calc(var(--radius-lg) - 8px); }
.hero-card-foot { padding: var(--s-4) var(--s-2) var(--s-2); display: flex; flex-direction: column; gap: 2px; }
.hero-card-foot strong { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.hero-card-foot small { font-size: var(--fs-sm); color: var(--ink-muted); }

.hero-info .info-card:only-child { grid-column: 1 / -1; }
.hero-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: clamp(40px, 5vw, 64px);
}
.info-card {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.info-icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--teal-tint);
  color: var(--teal);
}
.info-icon svg { width: 22px; height: 22px; }
.info-title { font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0; margin-bottom: var(--s-1); }
.info-card p { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-soft); }
.info-card p a { text-decoration: none; font-weight: 500; color: var(--ink); }
.info-card p a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.info-role {
  display: block;
  margin-bottom: var(--s-1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.info-hours { margin-top: var(--s-2); font-weight: 500; color: var(--ink) !important; }
.info-actions { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-3); }
.info-actions a { font-size: var(--fs-sm); font-weight: 600; color: var(--teal); text-underline-offset: 3px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding-block: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-inner {
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px); border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat:first-child { border-left: 0; }
.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}
.stat p { margin-top: var(--s-3); font-size: var(--fs-sm); line-height: 1.45; color: rgba(255, 255, 255, 0.78); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about-grid .section-head { margin-bottom: var(--s-6); }
.about-body { max-width: 640px; }
.about-body p { color: var(--ink-soft); font-size: var(--fs-md); line-height: 1.75; }
.about-body p + p { margin-top: var(--s-5); }

/* ==========================================================================
   Qualifications
   ========================================================================== */
.qualifications { background: var(--surface); border-block: 1px solid var(--line); }
.quali-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.quali-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--bg);
}
.quali-year { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.quali-card h3 { margin-top: var(--s-3); }
.quali-card p { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.55; margin-top: var(--s-2); }

/* ==========================================================================
   Journey
   ========================================================================== */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; max-width: 860px; }
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: var(--s-7);
  padding-bottom: var(--s-6);
}
.timeline-item:last-child { padding-bottom: 0; }
/* vertical rule sits in the gutter between the date and the content */
.timeline-item::after {
  content: "";
  position: absolute;
  left: calc(180px + var(--s-7) / 2 - 1px);
  top: 10px;
  bottom: -10px;
  width: 2px;
  background: rgba(29, 85, 82, 0.2);
}
.timeline-item:last-child::after { display: none; }
.timeline-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: calc(180px + var(--s-7) / 2 - 8px);
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--teal-2);
}
.timeline-item.is-current::before { background: var(--gold-soft); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(226, 180, 108, 0.28); }
.timeline-when {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 1px;
  text-align: right;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-item h3 { grid-column: 2; }
.timeline-item p { grid-column: 2; color: var(--ink-soft); margin-top: var(--s-1); }

/* ==========================================================================
   Care
   ========================================================================== */
.care { background: var(--surface); border-block: 1px solid var(--line); }
.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.care-card {
  padding: clamp(24px, 2.5vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.care-card:hover { border-color: rgba(18, 60, 58, 0.25); box-shadow: var(--shadow); }
.care-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  margin-bottom: var(--s-5);
  border-radius: var(--radius-sm);
  background: var(--teal-tint);
  color: var(--teal);
}
.care-icon svg { width: 24px; height: 24px; }
.care-card p { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; margin-top: var(--s-2); }

/* Intro video (About section) */
.video-card { margin: 0; width: 100%; max-width: 340px; justify-self: center; }
.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0c2a29;
  box-shadow: var(--shadow);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { position: absolute; inset: 0; display: block; }
.video-fallback img { width: 100%; height: 100%; object-fit: cover; }
.video-fallback span {
  position: absolute; left: 50%; bottom: var(--s-5); transform: translateX(-50%);
  padding: 10px 18px; border-radius: 999px; background: rgba(0, 0, 0, 0.7); color: #fff;
  font-size: var(--fs-sm); font-weight: 600; white-space: nowrap;
}
.video-card figcaption { margin-top: var(--s-3); text-align: center; font-size: var(--fs-sm); color: var(--ink-soft); }
.video-card figcaption a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.gallery-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery-open img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; transition: transform 0.4s ease; }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: var(--s-3) var(--s-4) var(--s-4); font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-soft); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: rgba(10, 22, 21, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); }
.lightbox img { max-height: 80vh; max-height: 80dvh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: var(--s-3); font-size: var(--fs-sm); }
.lightbox-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--teal); color: #fff; }
.contact h2 { color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact-locations { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.contact-loc {
  padding: var(--s-5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-loc h3 { color: #fff; font-size: 1.125rem; }
.contact-address { margin-top: var(--s-2); color: rgba(255, 255, 255, 0.78); font-size: var(--fs-sm); line-height: 1.6; }
.contact-time { margin-top: var(--s-3); color: rgba(255, 255, 255, 0.9); font-size: var(--fs-sm); line-height: 1.6; }
.contact-time strong { color: var(--gold-soft); font-weight: 600; }
.contact-time a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.contact-dir { display: inline-block; margin-top: var(--s-3); font-size: var(--fs-sm); font-weight: 600; color: #fff; text-underline-offset: 3px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.contact-list li > span:not(.contact-label) { color: #fff; font-weight: 500; }
.contact-list li > span.contact-sub { color: rgba(255, 255, 255, 0.7); font-weight: 400; font-size: var(--fs-sm); }
.contact-list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0c2a29;
  color: rgba(255, 255, 255, 0.72);
  /* extra bottom room so the floating WhatsApp button never covers footer text */
  padding: var(--s-7) 0 calc(96px + env(safe-area-inset-bottom));
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, 0.6); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.footer-links a { text-decoration: none; font-size: var(--fs-sm); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
}
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  z-index: 60;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 56px;
  padding: 0 var(--s-5) 0 var(--s-4);
  border-radius: 999px;
  background: #1f9d55;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(16, 80, 44, 0.55);
  transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
}
.whatsapp-fab:hover { background: #188a49; transform: translateY(-2px); }
.whatsapp-fab svg { width: 26px; height: 26px; flex: none; }
.whatsapp-fab.is-hidden { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-open img, .nav-links a::after { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet landscape and below: collapse nav */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    padding: var(--s-2) var(--gutter) var(--s-5);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(0, 0, 0, 0.4);
    display: none;
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: var(--s-4) 0; font-size: var(--fs-base); border-bottom: 1px solid var(--line); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links .nav-cta { justify-content: center; min-height: 48px; margin-top: var(--s-4); border-bottom: 0; }

  .care-grid, .quali-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablet portrait */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: var(--s-6);
    align-items: start;
  }
  .hero-card { max-width: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .video-card { max-width: 320px; }
  .about-body { max-width: none; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }


  .timeline-item { grid-template-columns: 168px 1fr; column-gap: var(--s-6); }
  .timeline-item::before { left: calc(168px + var(--s-6) / 2 - 8px); }
  .timeline-item::after { left: calc(168px + var(--s-6) / 2 - 1px); }
  .timeline-when { font-size: var(--fs-xs); padding-top: 3px; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .brand-mark { width: 36px; height: 36px; font-size: 0.875rem; }
  .brand-text { font-size: 1.0625rem; }
  .brand-text small { font-size: 0.6875rem; }
  .eyebrow { letter-spacing: 0.1em; }
  .hero .eyebrow::before { display: none; }

  /* Hero: same framed portrait as desktop (full 4:5 photo, name below), centred */
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-card { order: -1; justify-self: center; width: 100%; max-width: 360px; }

  .whatsapp-fab { width: 56px; padding: 0; justify-content: center; }
  .whatsapp-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-actions { flex-direction: column; }
  .hero-info { grid-template-columns: 1fr; margin-top: var(--s-6); }
  .info-card { padding: var(--s-4); }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .contact-actions { flex-direction: column; }

  .stats-inner { border-radius: var(--radius); }
  .stat { padding: var(--s-5) var(--s-4); }

  .quali-grid, .care-grid { grid-template-columns: 1fr; }
  .quali-card, .care-card { padding: var(--s-5); }
  .care-card { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s-4); }
  .care-icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .care-card p { margin-top: var(--s-1); }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  .gallery-item { border-radius: var(--radius-sm); }
  .gallery-item figcaption { padding: var(--s-2) var(--s-3) var(--s-3); font-size: var(--fs-xs); }

  /* Timeline: single column with rail on the left */
  .timeline-item { display: block; padding-left: var(--s-6); }
  .timeline-item::before { left: 0; top: 3px; }
  .timeline-item::after { left: 7px; top: 12px; bottom: -6px; }
  .timeline-when { display: block; text-align: left; font-size: var(--fs-xs); white-space: normal; padding-top: 0; }
  .timeline-item h3 { margin-top: 2px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

/* Very small phones */
@media (max-width: 400px) {
  .brand-text small { white-space: normal; line-height: 1.3; }
}

@media (max-width: 360px) {
  .brand-text { font-size: 1rem; }
  .brand-text small { font-size: 0.625rem; letter-spacing: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
}
