/* ============================================================
   Roy's Heart Foundation — Shared Stylesheet
   ============================================================ */

:root {
  --brand: #0a5c66;
  --brand-dark: #073f47;
  --brand-deep: #052f35;
  --brand-soft: #e8f5f5;
  --accent: #d94d5c;
  --accent-dark: #b73544;
  --gold: #f2b84b;
  --ink: #17343a;
  --muted: #61757a;
  --line: #dce7e8;
  --surface: #ffffff;
  --surface-alt: #f5f9f9;
  --shadow: 0 20px 60px rgba(8, 65, 73, 0.12);
  --shadow-sm: 0 10px 30px rgba(8, 65, 73, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

/* ---- Reset & Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---- Font variables ---- */
:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Type hierarchy ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  margin: 0;
  color: var(--brand-deep);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* H1 — hero / page title */
h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.0;
}

/* H2 — section headings */
h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

/* H3 — card/sub headings */
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* H4 */
h4 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Body paragraph */
p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Lead text */
.hero-lead,
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  font-weight: 400;
}

/* Eyebrow */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Nav */
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* Buttons */
.btn {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Card titles */
.service-card h3,
.svc-card h3,
.activity-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Stats */
.stat-item strong {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.stat-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #b8d8db;
  letter-spacing: 0.02em;
}

/* Footer column labels */
.footer-col strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col a { font-size: 0.88rem; font-weight: 400; }

/* Form labels */
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Trustee role tag */
.trustee-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Brand name */
.brand-copy strong {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-copy span {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---- Layout ---- */
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

/* ---- Skip link ---- */
.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-deep);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---- Topbar ---- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.92);
  font-size: 0.88rem;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar strong { color: #fff; }
.topbar-note { color: #cfe7e9; }
.topbar-note-mobile { display: none; color: #cfe7e9; }

/* ---- Header & Nav — always docked pill ---- */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), 1100px);
  z-index: 900;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  border: none;
  box-shadow:
    0 8px 32px rgba(8,65,73,0.12),
    0 2px 8px rgba(8,65,73,0.06),
    0 0 0 1px rgba(220,231,232,0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow:
    0 12px 40px rgba(8,65,73,0.16),
    0 2px 8px rgba(8,65,73,0.08),
    0 0 0 1px rgba(220,231,232,0.8);
}

body { padding-top: 90px; }

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 6px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ef7c68);
  box-shadow: 0 8px 18px rgba(217,77,92,0.22);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: var(--brand-dark); }
.brand-copy span { margin-top: 4px; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 11px;
  color: #31545a;
  font-size: 0.92rem;
  font-weight: 650;
  border-radius: 10px;
  transition: 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--brand-dark); background: var(--brand-soft); outline: none; }
.nav-links a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }
.nav-links .nav-cta {
  margin-left: 6px;
  padding-inline: 16px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(10,92,102,0.18);
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible { color: #fff; background: var(--brand-dark); }

.menu-toggle {
  width: 46px; height: 46px;
  display: none; place-items: center;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 0; border-radius: 12px; cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 12px 26px rgba(10,92,102,0.19); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { color: var(--brand-dark); background: #fff; border-color: var(--line); box-shadow: 0 8px 22px rgba(22,70,76,0.07); }
.btn-secondary:hover { border-color: #b9d2d5; background: var(--brand-soft); }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 27px; height: 3px; border-radius: 999px; background: var(--accent); }

/* ---- Section ---- */
.section { padding: 92px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin: 0; color: var(--brand-deep); font-size: clamp(2rem,4vw,3.15rem); line-height: 1.08; letter-spacing: -0.04em; }
.section-head p { margin: 17px 0 0; color: var(--muted); font-size: 1.04rem; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  right: -200px; bottom: -250px;
  border: 70px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .eyebrow { color: #a8d9dd; }
.page-hero .eyebrow::before { background: #fff; }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem,5vw,4rem); letter-spacing: -0.045em; line-height: 1.05; }
.page-hero p { margin: 16px auto 0; max-width: 600px; color: #c6dfe1; font-size: 1.05rem; }

/* ---- Hero (home) ---- */
.hero {
  position: relative;
  margin-top: -78px;
  padding: calc(40px + 78px) 0 100px;
  background: var(--surface-alt);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  text-align: left;
}

.hero-eyebrow {
  color: var(--brand);
  justify-content: flex-start;
}
.hero-eyebrow::before { background: var(--accent); }

.hero h1 {
  max-width: 100%;
  margin: 10px 0 0;
  color: var(--brand-deep);
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-size: 1em;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  justify-content: flex-start;
}

.hero-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  justify-content: flex-start;
}
.hero-trustline .check { color: var(--brand); font-weight: 800; }

/* Hero content animations */
.hero-content .eyebrow { animation: fadeUp 0.6s 0.1s cubic-bezier(0.22,1,0.36,1) both; }
.hero h1              { animation: fadeUp 0.7s 0.22s cubic-bezier(0.22,1,0.36,1) both; }
.hero-lead            { animation: fadeUp 0.7s 0.36s cubic-bezier(0.22,1,0.36,1) both; }
.hero-actions         { animation: fadeUp 0.6s 0.48s cubic-bezier(0.22,1,0.36,1) both; }
.hero-trustline       { animation: fadeUp 0.6s 0.58s cubic-bezier(0.22,1,0.36,1) both; }

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.5;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.hero-image-wrapper:hover .hero-main-img {
  transform: scale(1.06);
}

.hero-badge {
  position: absolute;
  bottom: -30px;
  left: -40px;
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(8,65,73,0.15);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: floatY 6s ease-in-out infinite;
  z-index: 2;
  border: 1px solid var(--line);
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.hero-badge-icon svg { width: 24px; height: 24px; }
.hero-badge strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-deep);
  line-height: 1.2;
}
.hero-badge span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Stats strip ---- */
.stats-strip { background: var(--brand-deep); color: #fff; padding: 28px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-item strong { display: block; font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 900; letter-spacing: -0.03em; color: var(--gold); }
.stat-item span { display: block; margin-top: 4px; font-size: 0.85rem; color: #b8d8db; font-weight: 500; }

/* ---- Identity cards ---- */
.identity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.identity-card { position: relative; overflow: hidden; min-height: 390px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.identity-card.foundation { color: #fff; background: linear-gradient(145deg,var(--brand-dark),var(--brand)); border: none; }
.identity-card.hospital { background: #fff; }
.identity-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -86px; bottom: -92px; border: 38px solid currentColor; border-radius: 50%; opacity: 0.055; }
.identity-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 58px; border-radius: 16px; }
.foundation .identity-icon { color: #fff; background: rgba(255,255,255,0.12); }
.hospital .identity-icon { color: var(--accent); background: #fdecef; }
.identity-icon svg { width: 27px; height: 27px; }
.identity-card h3 { margin: 0; font-size: clamp(1.55rem,2.4vw,2rem); letter-spacing: -0.03em; }
.identity-card p { max-width: 510px; margin: 14px 0 24px; }
.foundation p { color: #d9eeee; }
.hospital p { color: var(--muted); }
.text-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.foundation .text-link { color: #fff; }
.hospital .text-link { color: var(--brand); }

/* ---- Services / focus cards ---- */
.services-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.service-card { padding: 27px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #bfd7d9; box-shadow: var(--shadow-sm); }
.service-number { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 33px; color: var(--brand); background: var(--brand-soft); border-radius: 13px; font-size: 0.84rem; font-weight: 900; }
.service-card h3 { margin: 0 0 10px; color: var(--brand-deep); font-size: 1.08rem; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---- Story / split section ---- */
.story-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 58px; }
.story-media { position: relative; }
.story-media > img { width: 100%; aspect-ratio: 1.03/1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-float { position: absolute; right: -22px; bottom: 28px; width: min(230px,48%); overflow: hidden; background: #fff; border: 6px solid #fff; border-radius: 19px; box-shadow: var(--shadow-sm); }
.story-float img { width: 100%; aspect-ratio: 1.15/1; object-fit: cover; }
.story-copy h2 { margin: 0; color: var(--brand-deep); font-size: clamp(2rem,4vw,3.05rem); line-height: 1.08; letter-spacing: -0.04em; }
.story-copy > p { margin: 18px 0 0; color: var(--muted); }
.feature-list { display: grid; gap: 14px; margin: 25px 0 30px; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.feature-list .dot { width: 28px; height: 28px; display: grid; place-items: center; margin-top: 1px; color: var(--brand); background: var(--brand-soft); border-radius: 9px; font-size: 0.8rem; font-weight: 900; }
.feature-list strong { display: block; margin-bottom: 2px; color: var(--brand-dark); }
.feature-list span { color: var(--muted); font-size: 0.92rem; }

/* ---- Gallery ---- */
.gallery-shell { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; background: #e4eeee; border: 0; border-radius: 13px; cursor: pointer; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.35s ease, filter 0.35s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); filter: brightness(0.9); }
.gallery-item:focus-visible { outline: 3px solid rgba(10,92,102,0.25); outline-offset: 3px; }
.gallery-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.gallery-note { margin: 0; color: var(--muted); font-size: 0.88rem; }
.gallery-more { color: var(--brand); background: var(--brand-soft); border: 0; cursor: pointer; }
.gallery-more:hover { background: #d9eeee; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(2,24,28,0.88); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px,92vw); max-height: 86vh; object-fit: contain; border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,0.35); }
.lightbox-close { position: absolute; top: 18px; right: 20px; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; font-size: 1.4rem; }

/* ---- Video / message ---- */
.message-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.video-frame { overflow: hidden; padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.video-frame video { width: 100%; max-height: 520px; background: #061d20; border-radius: 17px; }
.message-copy h2 { margin: 0; color: var(--brand-deep); font-size: clamp(2rem,4vw,3rem); line-height: 1.08; letter-spacing: -0.04em; }
.message-copy p { color: var(--muted); }
.reference-list { display: grid; gap: 10px; margin: 24px 0 0; }
.reference-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s ease, transform 0.2s ease; }
.reference-link:hover { transform: translateX(3px); border-color: #bad1d4; }
.reference-link strong { color: var(--brand-dark); font-size: 0.92rem; }
.reference-link span { flex-shrink: 0; color: var(--brand); font-size: 0.84rem; font-weight: 800; }

/* ---- Contact panel ---- */
.contact-panel { overflow: hidden; display: grid; grid-template-columns: 0.88fr 1.12fr; min-height: 390px; color: #fff; background: var(--brand-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-copy { padding: 46px; }
.contact-copy .eyebrow { color: #a8d9dd; }
.contact-copy h2 { margin: 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.06; letter-spacing: -0.04em; }
.contact-copy p { max-width: 500px; margin: 17px 0 28px; color: #c6dfe1; }
.contact-copy .btn-secondary { color: var(--brand-dark); border-color: #fff; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 390px; border: 0; }

/* ---- Support CTA ---- */
.support-cta { background: var(--brand-soft); padding: 80px 0; }
.support-cta-inner { max-width: 720px; margin-inline: auto; text-align: center; }
.support-cta h2 { margin: 0 0 16px; color: var(--brand-deep); font-size: clamp(1.8rem,3.5vw,2.8rem); letter-spacing: -0.04em; line-height: 1.1; }
.support-cta p { margin: 0 0 28px; color: var(--muted); font-size: 1.05rem; }

/* ---- Services page grid ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.svc-card { padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.svc-card:hover { transform: translateY(-5px); border-color: #bfd7d9; box-shadow: var(--shadow-sm); }
.svc-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; color: var(--brand); background: var(--brand-soft); }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { margin: 0 0 10px; color: var(--brand-deep); font-size: 1.08rem; line-height: 1.35; }
.svc-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---- CTA banner ---- */
.cta-banner { background: var(--brand-soft); padding: 80px 0; text-align: center; }
.cta-banner h2 { margin: 0 0 14px; color: var(--brand-deep); font-size: clamp(1.8rem,3.5vw,2.6rem); letter-spacing: -0.04em; }
.cta-banner p { margin: 0 0 28px; color: var(--muted); font-size: 1.05rem; max-width: 560px; margin-inline: auto; }
.cta-banner .btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Activities page ---- */
.activity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.activity-card { padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.activity-card:hover { transform: translateY(-4px); border-color: #bfd7d9; box-shadow: var(--shadow-sm); }
.activity-num { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 20px; color: var(--brand); background: var(--brand-soft); border-radius: 13px; font-size: 0.84rem; font-weight: 900; }
.activity-card h3 { margin: 0 0 10px; color: var(--brand-deep); font-size: 1.08rem; line-height: 1.35; }
.activity-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---- Trustees page ---- */
.trustee-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.trustee-card { padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; }
.trustee-avatar { width: 140px; height: 140px; display: block; margin: 0 auto 20px; border-radius: 8px; background: var(--brand-soft); object-fit: cover; }
.trustee-card h3 { margin: 0 0 6px; color: var(--brand-deep); font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.02em; }
.trustee-title { display: block; margin-bottom: 14px; color: var(--accent); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.trustee-card p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.governance-note { background: var(--brand-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px 36px; margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.governance-note-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--brand); background: #fff; border: 1px solid var(--line); flex-shrink: 0; }
.governance-note h3 { margin: 0 0 8px; color: var(--brand-deep); font-size: 1rem; }
.governance-note p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---- Contact page ---- */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-card h2 { margin: 0 0 6px; color: var(--brand-deep); font-size: 1.5rem; letter-spacing: -0.03em; }
.form-card > p { margin: 0 0 28px; color: var(--muted); font-size: 0.95rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--brand-dark); font-size: 0.9rem; font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,92,102,0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 0.83rem; text-align: center; }
.info-panel { background: var(--brand-deep); color: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.info-panel .eyebrow { color: #a8d9dd; }
.info-panel h2 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -0.03em; }
.info-panel > p { margin: 0 0 28px; color: #c6dfe1; font-size: 0.95rem; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-item-icon { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,0.1); color: #fff; }
.info-item-icon svg { width: 18px; height: 18px; }
.info-item strong { display: block; margin-bottom: 3px; font-size: 0.9rem; color: #fff; }
.info-item span { color: #b8d8db; font-size: 0.88rem; }
.info-panel .map-wrap { margin-top: 24px; border-radius: 14px; overflow: hidden; }
.info-panel .map-wrap iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ---- Footer ---- */
.site-footer { padding: 48px 0 25px; color: #b8d1d4; background: #032b30; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,0.7fr); gap: 36px; padding-bottom: 36px; }
.footer-brand { max-width: 380px; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy span, .footer-brand p { color: #a9c6c9; }
.footer-brand p { margin: 17px 0 0; font-size: 0.92rem; }
.footer-col strong { display: block; margin-bottom: 13px; color: #fff; }
.footer-col a { display: block; width: fit-content; margin: 8px 0; color: #b8d1d4; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,0.10); color: #8fb0b3; font-size: 0.84rem; }

/* ---- Back to top ---- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: #fff; background: var(--accent);
  border: 0; border-radius: 14px;
  box-shadow: 0 10px 26px rgba(217,77,92,0.25);
  cursor: pointer; opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.25s ease;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .nav-links {
    position: fixed; top: 84px; left: 24px; right: 24px;
    display: none; align-items: stretch; flex-direction: column;
    padding: 18px; background: #fff; border: 1px solid var(--line);
    border-radius: 18px; box-shadow: var(--shadow);
  }
  /* When docked, mobile menu drops below the pill */
  .site-header.docked ~ * .nav-links,
  .site-header.docked .nav-links {
    top: 90px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links .nav-cta { margin: 5px 0 0; text-align: center; }
  .menu-toggle { display: grid; }
  .hero-grid, .story-grid, .message-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero-visual { min-height: auto; margin-top: 20px; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-eyebrow, .hero-actions, .hero-trustline { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .story-media { max-width: 760px; }
  .contact-copy { padding: 40px; }
  .map-wrap iframe { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .activity-grid, .trustee-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px),var(--max)); }
  .topbar-inner { min-height: 42px; justify-content: center; text-align: center; }
  .topbar-reg { display: none; }
  .topbar-note { display: none; }
  .topbar-note-mobile { display: inline; }
  .nav-wrap { min-height: 72px; }
  .nav-links { top: 122px; left: 14px; right: 14px; }
  .brand-copy span { display: none; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .brand-mark svg { width: 16px; height: 16px; }
  .hero { margin-top: -78px; padding: calc(30px + 78px) 0 60px; }
  .hero h1 { font-size: clamp(2.65rem,14vw,4rem); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: auto; }
  .hero-badge { position: relative; bottom: 0; left: 0; margin-top: 20px; width: 100%; justify-content: center; padding: 16px; border-radius: 14px; animation: none; }
  .hero-badge-icon { width: 40px; height: 40px; }
  .hero-badge strong { font-size: 1.1rem; }
  .section { padding: 70px 0; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .identity-grid, .services-grid { grid-template-columns: 1fr; }
  .identity-card { min-height: 330px; padding: 28px; }
  .identity-icon { margin-bottom: 44px; }
  .story-grid { gap: 42px; }
  .story-float { right: -8px; }
  .gallery-shell { padding: 12px; border-radius: 20px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .gallery-actions { align-items: stretch; flex-direction: column; }
  .gallery-more { width: 100%; }
  .contact-copy { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .svc-grid, .activity-grid, .trustee-grid { grid-template-columns: 1fr; }
  .governance-note { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .info-panel { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================
   ANIMATIONS & ENHANCED UI
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%  { transform: scale(1.12); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.08); }
  70%  { transform: scale(1); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes counterUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 27px; }
}
@keyframes badgePop {
  0%   { opacity: 0; transform: scale(0.7) translateY(-10px); }
  70%  { transform: scale(1.05) translateY(2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Page enter ---- */
main {
  animation: pageEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---- Scroll reveal base ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.from-left  { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.scale-up   { transform: scale(0.94); }
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero animations ---- */
.hero-grid > div:first-child .eyebrow {
  animation: fadeUp 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero h1 {
  animation: fadeUp 0.7s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-lead {
  animation: fadeUp 0.7s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-actions {
  animation: fadeUp 0.6s 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-trustline {
  animation: fadeUp 0.6s 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-visual {
  animation: slideInRight 0.85s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-badge {
  animation: badgePop 0.7s 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-small-photo {
  animation: scaleIn 0.7s 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---- Brand mark heartbeat ---- */
.brand-mark {
  animation: heartbeat 2.8s 1.5s ease-in-out infinite;
}
.brand-mark:hover {
  animation: heartbeat 0.7s ease-in-out infinite;
}

/* ---- Nav animation on mobile open ---- */
.nav-links.open {
  animation: navSlideDown 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---- Enhanced nav link hover ---- */
.nav-links a {
  position: relative;
  overflow: hidden;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.2s ease, left 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: calc(100% - 22px);
  left: 11px;
}
.nav-links .nav-cta::after { display: none; }

/* ---- Eyebrow line animation ---- */
.eyebrow::before {
  animation: lineGrow 0.5s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---- Stats strip — animated numbers ---- */
.stats-strip {
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--brand-deep) 0%,
    #0d6b77 40%,
    #0a5c66 60%,
    var(--brand-deep) 100%);
  background-size: 200% 100%;
  animation: gradientShift 6s ease infinite;
}
.stats-inner { position: relative; z-index: 1; }
.stat-item strong {
  display: block;
  font-size: clamp(1.5rem,3vw,2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.stat-item:hover strong { transform: scale(1.08); }

/* ---- Card hover upgrades ---- */
.service-card,
.svc-card,
.activity-card,
.identity-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}
.service-card:hover,
.svc-card:hover,
.activity-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 48px rgba(8,65,73,0.14);
  border-color: var(--brand-soft);
}

/* Glowing border on card hover */
.identity-card.hospital:hover {
  box-shadow: 0 24px 60px rgba(10,92,102,0.16), 0 0 0 1px rgba(10,92,102,0.12);
}

/* ---- Service number pulse on hover ---- */
.service-card:hover .service-number,
.svc-card:hover .svc-icon,
.activity-card:hover .activity-num {
  background: var(--brand);
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease;
}

/* ---- Button shine effect ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark), var(--brand));
  background-size: 200% 100%;
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 16px 36px rgba(10,92,102,0.28);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 150%; }

/* ---- Hero image zoom (handled in hero CSS above) ---- */

/* ---- Gallery item overlay ---- */
.gallery-item {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(5,47,53,0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 13px;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.85); }

/* ---- Lightbox entrance ---- */
.lightbox.open img {
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.lightbox {
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.3s ease;
}
.lightbox.open {
  backdrop-filter: blur(4px);
}

/* ---- Page hero particle orbs ---- */
.page-hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  left: -100px; top: -80px;
  border: 60px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  animation: floatY 7s ease-in-out infinite;
}

/* ---- Section head reveal line ---- */
.section-head h2 {
  position: relative;
}

/* ---- Reference link ripple ---- */
.reference-link {
  position: relative;
  overflow: hidden;
}
.reference-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
  border-radius: 0 2px 2px 0;
}
.reference-link:hover::before { transform: scaleY(1); }

/* ---- Stats pulse ring ---- */
.stat-item {
  position: relative;
  cursor: default;
}

/* ---- Footer link hover slide ---- */
.footer-col a {
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* ---- Back to top bounce ---- */
.back-to-top:hover {
  animation: floatY 0.6s ease-in-out infinite;
}

/* ---- Trustee avatar spin on hover removed ---- */

/* ---- Form input focus glow ---- */
.form-group input,
.form-group textarea,
.form-group select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(10,92,102,0.1), 0 0 0 3px rgba(10,92,102,0.12);
}

/* ---- Info item icon hover ---- */
.info-item-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}
.info-item:hover .info-item-icon {
  transform: scale(1.15) rotate(-5deg);
  background: rgba(255,255,255,0.18);
}

/* ---- Support CTA gradient background ---- */
.support-cta {
  background: linear-gradient(135deg, #dff4f4 0%, #e8f5f5 50%, #f0fafa 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* ---- Header scroll state (handled by .docked class now) ---- */

/* ---- Story float image ---- */
.story-float {
  animation: floatY 6s 1s ease-in-out infinite;
}

/* ---- Contact panel map overlay fade ---- */
.map-wrap {
  position: relative;
  transition: filter 0.3s ease;
}
.contact-panel:hover .map-wrap { filter: brightness(1.04); }

/* ---- Smooth scroll progress bar ---- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ---- Number counter animation ---- */
.count-up {
  animation: counterUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---- Reduced motion overrides ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-main-photo,
  .story-float,
  .brand-mark,
  .support-cta,
  .stats-strip::before,
  .page-hero::before { animation: none !important; }
  .reveal, .stagger > * { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- Lightbox nav prev/next ---- */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
  display: inline-block;
  margin-right: 8px;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 680px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.4rem; }
}

/* ---- Body padding to compensate for fixed header ---- */
body { padding-top: 78px; }
/* Inner pages — page-hero already fills top, no extra gap needed */
.page-hero { margin-top: -78px; padding-top: calc(80px + 78px); }

/* ---- Hero responsive ---- */
@media (max-width: 1020px) {
  .services-grid, .svc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-content { padding: 100px 0 80px; }
}
@media (max-width: 680px) {
  .hero { min-height: 88vh; }
  .hero-content { padding: 80px 0 60px; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-actions .btn { width: 100%; }
}

/* ---- Missing base rules ---- */
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

/* ---- Hero outline button ---- */
.btn-outline {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* ---- Hero trustline items ---- */
.hero-trustline li { display: flex; align-items: center; gap: 8px; }
.check {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  flex: 0 0 20px;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}
