/* ============================================================
   Robinhood Overseas — light theme
   Palette taken straight from the logo: sun gold, wave blue, white
   Type: Fraunces (display) + Outfit (body)
   ============================================================ */

:root {
  /* logo colors */
  --sun: #ffd92a;
  --sun-deep: #f0b90b;
  --sun-wash: #fffae6;
  --wave-light: #44c7f1;
  --wave: #1d96b3;
  --wave-deep: #12708a;
  --wave-wash: #f0fafe;

  /* ink + surfaces */
  --ink: #0b3b4a;
  --ink-soft: #4a6874;
  --paper: #ffffff;
  --tint: #f4fbfe;
  --line: #dcedf4;

  --radius: 20px;
  --shadow-sm: 0 4px 14px rgba(11, 59, 74, 0.07);
  --shadow: 0 12px 34px rgba(11, 59, 74, 0.10);
  --shadow-lg: 0 22px 56px rgba(11, 59, 74, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is required — width/height attrs would otherwise squash images */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wave-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wave-deep);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 28px; height: 3px;
  border-radius: 2px;
  background: var(--sun);
}

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
section { padding: 78px 0; }

/* soft alternating section washes — keeps everything light */
.bg-tint { background: var(--tint); }
.bg-sun { background: var(--sun-wash); }
.bg-wave { background: var(--wave-wash); }

/* ============ header ============ */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 59, 74, 0.09); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
/* bigger, clearly visible logo */
.brand img { height: 62px; width: auto; transition: transform 0.25s ease; }
.brand:hover img { transform: scale(1.04); }
.site-header.scrolled .brand img { height: 52px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links > li > a {
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 6px 0;
}
/* animated underline */
.nav-links > li > a::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  border-radius: 2px;
  background: var(--sun);
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links > li > a:hover { text-decoration: none; color: var(--wave-deep); }
.nav-links > li > a:hover::before,
.nav-links > li > a[aria-current="page"]::before { width: 100%; }

.nav-links .dropdown { position: relative; }
.nav-links .dropdown > a::after { content: " ▾"; font-size: 0.7em; }
.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  padding: 10px 0;
  min-width: 258px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .dropdown-menu a { display: block; padding: 10px 20px; color: var(--ink); }
.nav-links .dropdown-menu a:hover { background: var(--wave-wash); color: var(--wave-deep); text-decoration: none; }

.nav-side { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--wave-deep); text-decoration: none; }
.nav-phone .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wave-wash);
  color: var(--wave-deep);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.nav-phone .ico svg { width: 17px; height: 17px; fill: currentColor; }
.nav-phone:hover .ico { background: var(--sun); transform: rotate(-12deg) scale(1.08); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none !important;
}
/* light sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transition: left 0.55s ease;
}
.btn:hover::after { left: 130%; }

.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 22px rgba(240, 185, 11, 0.32); }
.btn-sun:hover { background: #ffe259; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(240, 185, 11, 0.42); }
.btn-wave { background: var(--wave); color: #fff; box-shadow: 0 8px 22px rgba(29, 150, 179, 0.28); }
.btn-wave:hover { background: var(--wave-deep); transform: translateY(-3px); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: #10505f; transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--sun); background: var(--sun-wash); }

/* ============ hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(760px 460px at 88% -8%, rgba(68, 199, 241, 0.20), transparent 62%),
    radial-gradient(620px 420px at 4% 104%, rgba(255, 217, 42, 0.22), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, var(--tint) 100%);
  padding: 76px 0 0;
  overflow: hidden;
}
/* drifting sun blob */
.hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 42, 0.30), transparent 68%);
  top: -140px; right: -90px;
  animation: drift 16s ease-in-out infinite;
  pointer-events: none;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-38px, 34px) scale(1.09); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
  padding-bottom: 92px;
}
.hero h1 em { font-style: italic; color: var(--sun-deep); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: 0.92rem; color: var(--ink-soft); }

.hero-photo { position: relative; }
.hero-photo img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
/* z-index 0 (not -1) — a negative value would sit behind the section background */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 3px solid var(--sun);
  border-radius: var(--radius);
  z-index: 0;
}
/* z-index 3: the photo is z-index 1 (and its float animation creates a
   stacking context), so without this the badge is painted underneath it.
   top:calc(100% - 18px) hangs the badge below the photo so it overlaps only
   the bottom edge instead of covering the group. */
.hero-badge {
  position: absolute;
  left: -24px;
  top: calc(100% - 18px);
  z-index: 3;
  max-width: 200px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 20px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both;
}
.hero-badge strong { font-size: 1.45rem; display: block; font-family: var(--font-display); color: var(--wave-deep); }
@keyframes pop {
  from { opacity: 0; transform: scale(0.8) translateY(14px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* staggered hero entrance */
.hero-grid > div > * { animation: riseIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-grid > div > *:nth-child(1) { animation-delay: 0.05s; }
.hero-grid > div > *:nth-child(2) { animation-delay: 0.15s; }
.hero-grid > div > *:nth-child(3) { animation-delay: 0.25s; }
.hero-grid > div > *:nth-child(4) { animation-delay: 0.35s; }
.hero-grid > div > *:nth-child(5) { animation-delay: 0.45s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ============ stats ============ */
.stats {
  background: linear-gradient(100deg, var(--wave) 0%, var(--wave-deep) 100%);
  color: #fff;
  padding: 34px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--sun);
  line-height: 1.1;
}
.stat span { color: rgba(255,255,255,0.88); font-size: 0.95rem; }

/* ============ partners ============ */
.partners { background: var(--paper); padding: 52px 0; border-bottom: 1px solid var(--line); }
.partners-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 30px;
}
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 44px; }
.partner-logos img {
  height: 58px; width: auto;
  filter: grayscale(45%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.partner-logos img:hover { filter: none; opacity: 1; transform: translateY(-5px) scale(1.06); }

/* ============ cards / grids ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); border-color: rgba(255, 217, 42, 0.7); }
.card img.card-img { height: 216px; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.card:hover img.card-img { transform: scale(1.06); }
.card .img-wrap { overflow: hidden; }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { display: flex; align-items: center; gap: 11px; }
.card-body h3 img { height: 24px; width: 34px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 5px rgba(11,59,74,0.22); }
.card-body p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.card-facts { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.card-facts li::before { content: "✓"; color: var(--wave); font-weight: 700; margin-right: 9px; }
.card-link { font-weight: 600; color: var(--ink); }
.card-link::after { content: " →"; color: var(--sun-deep); transition: margin-left 0.25s ease; display: inline-block; }
.card-link:hover { text-decoration: none; color: var(--wave-deep); }
.card-link:hover::after { margin-left: 6px; }

/* ============ tiles ============ */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.tile:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(68, 199, 241, 0.6); }
.tile .tile-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--wave-wash), var(--sun-wash));
  border: 1px solid var(--line);
  margin-bottom: 16px;
  transition: transform 0.35s ease;
}
.tile:hover .tile-icon { transform: rotate(-8deg) scale(1.1); }
.tile h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tile p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============ steps ============ */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--wave-light);
  display: block;
  margin-bottom: 8px;
  transition: color 0.28s ease;
}
.step:hover::before { color: var(--sun-deep); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* ============ testimonials (light) ============ */
.quotes { background: var(--sun-wash); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.quote:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.quote p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.quote p::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--sun);
  display: block;
  line-height: 0.55;
  margin-bottom: 14px;
}
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--sun-deep));
  color: var(--ink);
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.quote cite { font-style: normal; font-weight: 600; display: block; color: var(--ink); }
.quote small { color: var(--ink-soft); }

/* ============ gallery ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-grid img:hover { transform: scale(1.05) rotate(-1deg); box-shadow: var(--shadow); z-index: 2; position: relative; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 42px auto 0; display: flex; flex-direction: column; gap: 14px; }
details.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
details.faq:hover { border-color: var(--wave-light); box-shadow: var(--shadow-sm); }
details.faq[open] { box-shadow: var(--shadow-sm); border-color: var(--sun); }
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sun-deep);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
details.faq[open] summary::after { content: "–"; transform: rotate(180deg); }
details.faq .faq-a { margin-top: 14px; color: var(--ink-soft); animation: fadeDown 0.35s ease both; }
details.faq .faq-a p + p { margin-top: 10px; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ============ CTA band ============ */
.cta-band {
  background:
    radial-gradient(520px 280px at 92% 8%, rgba(255,255,255,0.5), transparent 62%),
    linear-gradient(120deg, var(--sun) 0%, #ffe873 100%);
  border-radius: 26px;
  padding: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 18px 44px rgba(240, 185, 11, 0.26);
}
.cta-band h2 { color: var(--ink); max-width: 24ch; }
.cta-band p { color: #6b5410; font-weight: 500; margin-top: 8px; }

/* ============ page hero ============ */
.page-hero {
  position: relative;
  background:
    radial-gradient(680px 340px at 88% -20%, rgba(68, 199, 241, 0.22), transparent 62%),
    radial-gradient(520px 320px at 2% 118%, rgba(255, 217, 42, 0.20), transparent 58%),
    linear-gradient(180deg, #ffffff, var(--tint));
  padding: 66px 0 62px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero > .container > * { animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.page-hero > .container > *:nth-child(2) { animation-delay: 0.1s; }
.page-hero > .container > *:nth-child(3) { animation-delay: 0.2s; }
.page-hero > .container > *:nth-child(4) { animation-delay: 0.3s; }
.breadcrumbs { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--wave-deep); }

/* ============ splits ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split .photo-frame { position: relative; }
.split .photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split .photo-frame::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 3px solid var(--sun);
  border-radius: var(--radius);
  z-index: 0;
}
.checklist { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: 22px; }
.checklist li { padding-left: 36px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 0.82rem;
}

/* ============ fact table ============ */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fact-table th, .fact-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table th { width: 34%; background: var(--wave-wash); font-weight: 600; color: var(--ink); }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }
.fact-table tr { transition: background 0.2s ease; }
.fact-table tbody tr:hover td { background: var(--sun-wash); }

/* ============ chips ============ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 17px;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.chips span:hover { background: var(--sun-wash); border-color: var(--sun); transform: translateY(-3px); }

/* ============ forms ============ */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 6px; color: var(--ink); }
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--tint);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--wave);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(68, 199, 241, 0.18);
}
.form-status { margin-top: 14px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #16794a; }
.form-status.err { display: block; color: #b3261e; }

/* ============ footer (light) ============ */
.site-footer {
  background: var(--tint);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 66px 0 0;
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 46px; }
.site-footer h4 { color: var(--ink); font-size: 1rem; margin-bottom: 16px; font-family: var(--font-display); }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--wave-deep); }
.site-footer .brand img { height: 56px; margin-bottom: 18px; }
.footer-about { font-size: 0.95rem; max-width: 34ch; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.footer-contact-link:hover { color: var(--wave-deep); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ============ WhatsApp + call floating buttons ============ */
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
}
.float-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 26px rgba(11, 59, 74, 0.28);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); text-decoration: none; box-shadow: 0 14px 34px rgba(11, 59, 74, 0.34); }
.float-btn svg { width: 32px; height: 32px; fill: currentColor; }
.float-wa { background: #25d366; }

/* pulse halo on the WhatsApp bubble */
.float-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: halo 2.4s ease-out infinite;
}
@keyframes halo {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.85); opacity: 0; }
}

/* hover label */
.float-btn .float-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.float-btn:hover .float-label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ============ scroll reveal ============ */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
/* stagger children of a revealed grid */
html.js .stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .stagger.in > * { opacity: 1; transform: none; }
html.js .stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
html.js .stagger.in > *:nth-child(2) { transition-delay: 0.13s; }
html.js .stagger.in > *:nth-child(3) { transition-delay: 0.21s; }
html.js .stagger.in > *:nth-child(4) { transition-delay: 0.29s; }
html.js .stagger.in > *:nth-child(5) { transition-delay: 0.37s; }
html.js .stagger.in > *:nth-child(6) { transition-delay: 0.45s; }
html.js .stagger.in > *:nth-child(7) { transition-delay: 0.53s; }
html.js .stagger.in > *:nth-child(8) { transition-delay: 0.61s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .stagger > * { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero::before, .hero-photo img, .float-wa::before, .hero-grid > div > *, .page-hero > .container > * { animation: none; }
}

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .nav-phone span.num { display: none; }
}

@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .split.split-rev .photo-frame { order: -1; }
  .grid-3, .tiles, .quote-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo img { animation: none; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; order: 3; }
  .nav-wrap { flex-wrap: wrap; padding: 12px 18px; }
  .brand img { height: 50px; }
  .site-header.scrolled .brand img { height: 46px; }
  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 4px 10px;
    gap: 4px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
  }
  .nav-links.open { display: flex; animation: fadeDown 0.3s ease both; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: block; padding: 11px 0; }
  .nav-links .dropdown-menu {
    opacity: 1; visibility: visible; transform: none;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 2px 0 6px 18px;
    min-width: 0;
    background: transparent;
  }
  .nav-links .dropdown-menu a { padding: 8px 0; font-size: 0.96rem; }
  .nav-side .btn { display: none; }
  section { padding: 56px 0; }
  .grid-3, .grid-2, .tiles, .quote-grid, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-grid { padding-bottom: 104px; } /* clears the badge, which wraps to 2 lines here */
  .hero-badge { left: 8px; top: calc(100% - 14px); padding: 11px 16px; }
  .form-card { padding: 26px 22px; }
  .floating-contact { right: 16px; bottom: 16px; }
  .float-btn { width: 54px; height: 54px; }
}

/* ============ named organisation / accreditation cards ============ */
.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.org-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.org-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(255, 217, 42, 0.75); }
.org-logo {
  height: 76px;
  display: grid;
  place-items: center;
}
.org-logo img {
  max-height: 76px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.org-card:hover .org-logo img { transform: scale(1.07); }
.org-card strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); line-height: 1.25; }
.org-card span { font-size: 0.88rem; color: var(--ink-soft); }
.org-card .org-role {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--wave-deep);
}

/* inline logo badge — sits beside the org's mention in body copy */
.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 22px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.logo-badge img { height: 56px; width: auto; max-width: 120px; object-fit: contain; flex-shrink: 0; }
.logo-badge div { display: flex; flex-direction: column; }
.logo-badge strong { font-size: 1rem; color: var(--ink); }
.logo-badge span { font-size: 0.88rem; color: var(--ink-soft); }

@media (max-width: 980px) { .org-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .org-grid { grid-template-columns: 1fr; }
  .logo-badge { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============ articles ============ */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 0.9rem; color: var(--ink-soft); margin-top: 18px;
}
.article-meta .pill {
  background: var(--sun-wash); border: 1px solid var(--sun);
  color: #6b5410; border-radius: 999px; padding: 4px 13px;
  font-weight: 600; font-size: 0.82rem;
}

.prose { font-size: 1.075rem; color: #29434e; max-width: 74ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  margin-top: 2.1em; padding-top: 0.15em;
  scroll-margin-top: 110px;
}
.prose h3 { font-size: 1.2rem; margin-top: 1.7em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--wave); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--wave-light); text-underline-offset: 3px; }
.prose img { border-radius: 16px; box-shadow: var(--shadow-sm); margin-top: 1.6em; }
.prose figure figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.6em; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; margin-top: 1.5em; }
.prose th, .prose td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--wave-wash); color: var(--ink); font-weight: 600; }
.prose blockquote {
  border-left: 4px solid var(--sun);
  background: var(--sun-wash);
  border-radius: 0 14px 14px 0;
  padding: 18px 24px;
  font-style: italic;
  color: #5c4a10;
}

/* callout for key facts */
.callout {
  background: var(--wave-wash);
  border: 1px solid var(--line);
  border-left: 4px solid var(--wave);
  border-radius: 0 16px 16px 0;
  padding: 22px 26px;
}
.callout h3 { margin-top: 0 !important; font-size: 1.05rem; }
.callout ul { margin-top: 0.7em; }

/* sticky sidebar */
.article-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.side-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm);
}
.side-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 14px; color: var(--ink); }
.toc { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 0.95rem; }
.toc a { color: var(--ink-soft); text-decoration: none; display: block; padding-left: 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--wave-deep); border-left-color: var(--sun); }
.side-cta { background: linear-gradient(140deg, var(--sun) 0%, #ffe873 100%); border: 0; }
.side-cta h4, .side-cta p { color: var(--ink); }
.side-cta p { font-size: 0.93rem; margin-bottom: 16px; }

/* article listing cards */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 11px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(255,217,42,0.75); }
.article-card .tag {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--wave-deep);
}
.article-card h3 { font-size: 1.13rem; line-height: 1.3; }
.article-card p { color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.article-card a { font-weight: 600; color: var(--ink); }
.article-card a::after { content: " →"; color: var(--sun-deep); display: inline-block; transition: margin-left 0.25s ease; }
.article-card a:hover { text-decoration: none; color: var(--wave-deep); }
.article-card a:hover::after { margin-left: 6px; }

/* next/prev + related */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }

@media (max-width: 1080px) {
  .article-wrap { grid-template-columns: 1fr; gap: 40px; }
  .article-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-side .side-card { flex: 1 1 260px; }
}
@media (max-width: 900px) { .article-grid, .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .article-grid, .related-grid { grid-template-columns: 1fr; } }

/* ============ round 5: monogram badges + NEW pill ============ */
/* text monogram for partners whose logo file we don't have yet —
   swap for an <img> in .org-logo when the official file arrives */
.org-mono {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wave-wash), var(--sun-wash));
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wave-deep);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.org-card a { color: inherit; }
.org-card a:hover { color: var(--wave-deep); text-decoration: none; }

.pill-new {
  display: inline-block;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 4px;
  width: fit-content;
}
