/* =============================================================
   TITA Universal Services – Main Stylesheet
   Stack: Laravel Blade + Vanilla CSS (no framework dependency)
   ============================================================= */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --clr-primary:       #1e3a8a;
  --clr-primary-mid:   #1d4ed8;
  --clr-accent-green:  #22c55e;
  --clr-accent-teal:   #0d9488;
  --clr-text:          #111827;
  --clr-text-muted:    #6b7280;
  --clr-text-light:    #9ca3af;
  --clr-surface:       #ffffff;
  --clr-bg:            #f9fafb;
  --clr-bg-tint:       #eef2ff;
  --clr-strip-bg:      #1d4ed8;
  --clr-footer-bg:     #111827;
  --clr-footer-text:   #d1d5db;
  --clr-border:        #e5e7eb;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);

  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  --max-w: 1200px;
  --nav-h: 80px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilities ─────────────────────────────────────────────── */
.section-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  color: var(--clr-primary-mid);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-body {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--clr-primary-mid), var(--clr-accent-teal));
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,78,216,.3);
}
.btn--outline-navy {
  background: transparent;
  color: var(--clr-primary-mid);
  border: 2px solid var(--clr-primary-mid);
}
.btn--green {
  background: var(--clr-accent-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,.35);
}
.btn--green-outline {
  background: transparent;
  color: var(--clr-accent-green);
  border: 2px solid var(--clr-accent-green);
}


/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}
.navbar__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.navbar__logo-icon { flex-shrink: 0; }
.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar__logo-tita {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--clr-primary);
  font-weight: 700;
}
.navbar__logo-sub {
  font-size: .65rem;
  color: var(--clr-text-muted);
  letter-spacing: .02em;
}

.navbar__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.navbar__nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: #f3f4f6;
  border-radius: var(--radius-pill);
  padding: .35rem .6rem;
}
.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: background .15s, color .15s;
}
.navbar__link:hover { background: #e5e7eb; }
.navbar__link--active {
  background: var(--clr-surface);
  color: var(--clr-primary-mid);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.navbar__chevron { transition: transform .2s; }

.navbar__dropdown { position: relative; }
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: .5rem;
  z-index: 10;
}
.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown:focus-within .navbar__dropdown-menu { display: block; }
.navbar__dropdown:hover .navbar__chevron { transform: rotate(180deg); }
.navbar__dropdown-item {
  display: block;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--clr-text);
  transition: background .12s;
}
.navbar__dropdown-item:hover { background: var(--clr-bg); }

.navbar__cta { flex-shrink: 0; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  margin-left: auto;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.navbar__mobile {
  display: none;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 1rem 2rem 1.5rem;
}
.navbar__mobile.is-open { display: block; }
.navbar__mobile-list { display: flex; flex-direction: column; gap: .5rem; }
.navbar__mobile-link {
  display: block;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
  color: var(--clr-text);
}
.navbar__mobile-link:hover { background: var(--clr-bg); }


/* ════════════════════════════════════════════
   PRODUCT PAGE: TITA APP HERO
   ════════════════════════════════════════════ */
.hero {
  padding: 5rem 2rem 3rem;
  background: var(--clr-surface);
  overflow: hidden;
}
.hero__container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero__eyebrow {
  font-size: .85rem;
  font-weight: 700;
  color: var(--clr-primary-mid);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.hero__heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__body {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero__store-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #111;
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid #333;
  transition: transform .18s, box-shadow .18s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn__icon { flex-shrink: 0; }
.store-btn__label { display: block; font-size: .65rem; opacity: .8; }
.store-btn__name { display: block; font-size: .95rem; font-weight: 700; }

.store-btn--spotify {
  background: #000;
  border-radius: var(--radius-pill);
  color: #1DB954;
  padding: .85rem 1.75rem;
}
.store-btn--spotify .store-btn__icon { color: #1DB954; }
.store-btn--outline {
  background: transparent;
  border: 2px solid var(--clr-primary-mid);
  border-radius: var(--radius-pill);
  padding: .85rem 1.75rem;
}
.store-btn--outline:hover { background: #eff6ff; }

.hero__visual { display: flex; justify-content: center; align-items: center; }

.hero__phone-placeholder {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__phone-circle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #1d4ed8);
  opacity: .25;
  z-index: 0;
}
.hero__phone-placeholder img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
}


.hero__phone-mock {
  position: absolute; width: 170px; border-radius: 28px;
  box-shadow: var(--shadow-lg); overflow: hidden; border: 3px solid #222;
}
.hero__phone-mock--back {
  bottom: 20px; right: 10px; height: 290px; background: #f3f4f6;
  transform: rotate(8deg); z-index: 1;
}
.hero__phone-mock--front {
  top: 20px; left: 10px; height: 320px; background: #111; z-index: 2;
}
.hero__phone-screen {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 1rem;
  background: #f9fafb; color: var(--clr-text-muted); text-align: center;
}
.hero__phone-screen--green { background: #16a34a; color: white; gap: .5rem; }
.hero__phone-screen-inner { padding: 1rem; }
.hero__phone-logo-text { font-family: 'Caveat', cursive; font-size: 2rem; color: white; }


/* ════════════════════════════════════════════
   PRODUCT PAGE: FEATURE STRIP
   ════════════════════════════════════════════ */
.feature-strip {
  background: var(--clr-strip-bg);
  width: 100%;
  overflow: hidden;
  padding: 1.1rem 0;
}
.feature-strip__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: feature-strip-scroll 22s linear infinite;
}
.feature-strip:hover .feature-strip__track { animation-play-state: paused; }
.feature-strip__item {
  display: flex; align-items: center; gap: .5rem;
  color: white; font-size: .9rem; font-weight: 500;
  white-space: nowrap;
  padding: 0 1.75rem;
}
.feature-strip__icon { flex-shrink: 0; }

@keyframes feature-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ════════════════════════════════════════════
   PRODUCT PAGE: WHY TITA
   ════════════════════════════════════════════ */
.why-tita { padding: 5rem 2rem; background: var(--clr-surface); }
.why-tita__container {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.why-tita__image-placeholder {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-light); font-size: .9rem; border: 2px dashed var(--clr-border);
}
.why-tita__features { display: flex; flex-direction: column; gap: 1.5rem; }
.why-tita__feature-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.why-tita__feature-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius-md);
  background: #eff6ff; display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary-mid); border: 1px solid #dbeafe;
}
.why-tita__feature-title { font-size: 1rem; font-weight: 700; color: var(--clr-text); margin-bottom: .3rem; }
.why-tita__feature-desc { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.6; }


/* ════════════════════════════════════════════
   PRODUCT PAGE: FAQ
   ════════════════════════════════════════════ */
.faq { padding: 5rem 2rem; background: var(--clr-bg); }
.faq__container { max-width: 800px; margin: 0 auto; text-align: center; }
.faq__heading { text-align: center; margin-bottom: 2.5rem; }
.faq__list { text-align: left; }
.faq__item {
  background: var(--clr-surface); border-radius: var(--radius-md);
  margin-bottom: .75rem; border: 1px solid var(--clr-border);
  overflow: hidden; transition: box-shadow .2s;
}
.faq__item:hover { box-shadow: var(--shadow-sm); }
.faq__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.4rem; font-size: .98rem; font-weight: 600;
  color: var(--clr-text); text-align: left; gap: 1rem;
}
.faq__chevron { flex-shrink: 0; transition: transform .25s ease; }
.faq__item--open .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 1.4rem 1.2rem; font-size: .92rem; color: var(--clr-text-muted); line-height: 1.7; }
.faq__answer[hidden] { display: none; }


/* ════════════════════════════════════════════
   PRODUCTS OVERVIEW PAGE
   ════════════════════════════════════════════ */
.products-overview { padding: 5rem 2rem; background: var(--clr-bg); }
.products-overview__container { max-width: var(--max-w); margin: 0 auto; }
.products-overview__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.products-overview__card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: .75rem;
}
.products-overview__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.products-overview__card h3 { font-size: 1.2rem; color: var(--clr-primary); font-weight: 700; }
.products-overview__card p { font-size: .92rem; color: var(--clr-text-muted); line-height: 1.6; flex: 1; }
.products-overview__link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--clr-primary-mid); font-weight: 600; font-size: .9rem;
}


/* ════════════════════════════════════════════
   HOMEPAGE: HERO
   ════════════════════════════════════════════ */
.home-hero {
  background: linear-gradient(180deg, var(--clr-bg-tint) 0%, #f5f7ff 60%, var(--clr-surface) 100%);
  padding: 5rem 0 0;
  text-align: center;
}
.home-hero__container { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
.home-hero__heading {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.18;
  margin-bottom: 1.5rem;
}
.home-hero__body {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 60ch;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.home-hero__buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
}

.avatar-strip {
  overflow: hidden;
  padding-bottom: 4rem;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.avatar-strip.is-dragging { cursor: grabbing; }
.avatar-strip__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0 1.25rem;
  animation: avatar-strip-scroll 30s linear infinite;
}
.avatar-strip.is-dragging .avatar-strip__track,
.avatar-strip:hover .avatar-strip__track {
  animation-play-state: paused;
}
.avatar-strip__item {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  border: 3px solid var(--clr-surface);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, z-index 0s;
  position: relative;
  z-index: 1;
}
.avatar-strip__item img { width: 100%; height: 100%; object-fit: cover; }
.avatar-strip__item:hover,
.avatar-strip__item:focus-visible,
.avatar-strip__item.is-touched {
  transform: scale(1.45);
  box-shadow: var(--shadow-lg);
  z-index: 5;
  outline: none;
}
.avatar-strip__placeholder-text {
  font-size: .7rem; color: #6366f1; font-weight: 600;
}

@keyframes avatar-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ════════════════════════════════════════════
   HOMEPAGE: ABOUT / FUTURE SECTION
   ════════════════════════════════════════════ */
.about-intro { padding: 5rem 2rem; background: var(--clr-surface); }
.about-intro__container {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center;
}
.about-intro__image-placeholder {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex; align-items: center; justify-content: center;
  color: #92400e; font-size: .9rem; border: 2px dashed #fbbf24;
}


/* ════════════════════════════════════════════
   HOMEPAGE: WHY INSTITUTIONS TRUST TUS
   ════════════════════════════════════════════ */
.trust { padding: 5rem 2rem; background: var(--clr-bg); }
.trust__container {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem;
  align-items: stretch;
}
.trust__content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.trust__content-col .section-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: .85rem;
}
.trust__list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: .25rem; }
.trust__list-item {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .95rem; color: var(--clr-text);
}
.trust__check { flex-shrink: 0; color: var(--clr-primary-mid); margin-top: 1px; }
.trust__content-col .btn {
  align-self: flex-start;
  width: auto;
}

.trust__card-col { display: flex; }
.trust__card {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  color: white;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  gap: 2rem;
}
.trust__card-header {
  display: flex; align-items: center; justify-content: center;
  gap: .6rem;
}
.trust__card-header h3 { font-size: 1.85rem; font-weight: 700; }
.trust__card-text {
  font-size: 1.1rem; line-height: 1.7; color: #e0e7ff;
  max-width: 36ch;
}
.trust__card-stats { display: flex; gap: 3.5rem; justify-content: center; }
.trust__stat { display: flex; flex-direction: column; align-items: center; }
.trust__stat-value {
  font-size: 2.75rem; font-weight: 800; color: var(--clr-accent-green); line-height: 1;
}
.trust__stat-label { font-size: .9rem; color: #c7d2fe; margin-top: .5rem; text-align: center; }


/* ════════════════════════════════════════════
   HOMEPAGE: OUR DIGITAL SOLUTIONS
   ════════════════════════════════════════════ */
.solutions { padding: 5rem 2rem; background: var(--clr-surface); }
.solutions__container { max-width: var(--max-w); margin: 0 auto; }
.solutions__header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.solutions__header .section-heading { margin: 0 auto 1rem; }

.solutions__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem;
}
.solutions__grid--second-row { margin-top: 2.5rem; }

.solution-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform .2s, box-shadow .2s;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.solution-card__image-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
  display: flex; align-items: center; justify-content: center;
  color: #3730a3; font-size: .85rem;
  overflow: hidden;
}
.solution-card__image-placeholder img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.solution-card__body { padding: 1.75rem; }
.solution-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: #eff6ff; display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary-mid); margin-bottom: 1rem;
}
.solution-card__title { font-size: 1.1rem; font-weight: 700; color: var(--clr-text); margin-bottom: .6rem; }
.solution-card__desc { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.solution-card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--clr-primary-mid); font-weight: 600; font-size: .9rem;
  transition: gap .15s;
}
.solution-card__link:hover { gap: .65rem; }


/* ════════════════════════════════════════════
   HOMEPAGE: TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonials { padding: 5rem 2rem; background: var(--clr-bg); }
.testimonials__container { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.testimonials__heading { text-align: center; margin: 0 auto .75rem; }
.testimonials__sub { text-align: center; margin: 0 auto 3rem; }

.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  text-align: left;
}

.testimonials__grid--scroll {
  display: flex;
  overflow-x: auto;
  gap: 1.25rem;
  padding-bottom: .75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.testimonials__grid--scroll::-webkit-scrollbar { display: none; }
.testimonials__grid--scroll.is-dragging { cursor: grabbing; }
.testimonials__grid--scroll .testimonial-card {
  flex: 0 0 min(80vw, 340px);
  scroll-snap-align: start;
}
.testimonial-card {
  background: linear-gradient(160deg, #1d4ed8, #1e3a8a);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: white;
  display: flex; flex-direction: column;
}
.testimonial-card__quote { margin-bottom: 1.5rem; }
.testimonial-card__text {
  font-size: 1.05rem; line-height: 1.6; color: #e0e7ff;
  margin-bottom: 2rem; flex: 1;
}
.testimonial-card__stars { display: flex; gap: .25rem; margin-bottom: 1.5rem; }
.testimonial-card__divider { height: 1px; background: rgba(255,255,255,.25); }


/* ════════════════════════════════════════════
   HOMEPAGE: INSTITUTION LOGOS + JOIN CTA
   ════════════════════════════════════════════ */
.join-cta { background: var(--clr-footer-bg); width: 100%; }

.logo-strip { padding: 3rem 0; overflow: hidden; }
.logo-strip__track {
  display: flex; justify-content: center; align-items: center;
  gap: 2.5rem; flex-wrap: wrap; max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
}
.logo-strip__item {
  color: #e5e7eb; font-size: .82rem; font-weight: 600;
  opacity: .85; white-space: nowrap;
  padding: .5rem 1rem; border: 1px solid #374151; border-radius: var(--radius-sm);
}

.join-cta__band {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  width: 100%;
  border-radius: 0;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.join-cta__text { max-width: var(--max-w); }
.join-cta__eyebrow {
  font-size: .82rem; font-weight: 700; color: #93c5fd;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem;
}
.join-cta__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: white;
  line-height: 1.25; margin-bottom: .75rem; max-width: 600px;
}
.join-cta__highlight { color: var(--clr-accent-green); }
.join-cta__sub { color: #c7d2fe; font-size: .95rem; max-width: 50ch; }
.join-cta__button { flex-shrink: 0; }

@media (min-width: 1232px) {
  .join-cta__band {
    padding-left: calc((100% - var(--max-w)) / 2 + 2rem);
    padding-right: calc((100% - var(--max-w)) / 2 + 2rem);
  }
}


/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer { background: var(--clr-footer-bg); color: var(--clr-footer-text); padding: 4rem 2rem 2rem; }

.footer__cta-section { text-align: center; margin-bottom: 3rem; }
.footer__cta-eyebrow {
  font-size: .8rem; font-weight: 700; color: var(--clr-accent-green);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem;
}
.footer__cta-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: .75rem;
}
.footer__cta-sub { font-size: .95rem; color: #9ca3af; margin-bottom: 2rem; line-height: 1.6; }
.footer__cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.footer__divider { height: 1px; background: #374151; margin-bottom: 2rem; }

.footer__nav-section { margin-bottom: 2rem; }
.footer__nav-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem;
}
.footer__nav-label { font-size: 1rem; font-weight: 700; color: #e5e7eb; }
.footer__nav-toggle { color: #9ca3af; transition: transform .2s; }
.footer__nav-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 500px; }
.footer__nav-col-title {
  font-size: .85rem; font-weight: 700; color: #e5e7eb; margin-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.footer__nav-link { display: block; color: #9ca3af; font-size: .9rem; padding: .3rem 0; transition: color .15s; }
.footer__nav-link:hover { color: #e5e7eb; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #374151; margin-bottom: 1.25rem;
}
.footer__bottom-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal-link { font-size: .8rem; color: #6b7280; transition: color .15s; }
.footer__legal-link:hover { color: #9ca3af; }
.footer__copyright { font-size: .8rem; color: #6b7280; }

.footer__social { display: flex; gap: .75rem; }
.footer__social-link {
  width: 36px; height: 36px; border-radius: 50%; background: #1f2937;
  display: flex; align-items: center; justify-content: center; color: #9ca3af;
  transition: background .15s, color .15s;
}
.footer__social-link:hover { background: var(--clr-primary-mid); color: #fff; }


/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__container,
  .why-tita__container,
  .about-intro__container,
  .trust__container { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__phone-placeholder { max-width: 420px; min-height: 380px; }
  .hero__phone-circle { width: 340px; height: 340px; }
  .trust__card-col { margin-top: 2rem; }
  .solutions__grid { grid-template-columns: 1fr; }
  .products-overview__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .why-tita__image-placeholder,
  .about-intro__image-placeholder { aspect-ratio: 3/2; }

  .avatar-strip__item { width: 80px; height: 80px; }
  .avatar-strip__item:hover,
  .avatar-strip__item:focus-visible,
  .avatar-strip__item.is-touched { transform: scale(1.3); }

  .join-cta__band { flex-direction: column; text-align: center; padding: 2rem 1.25rem; }
  .join-cta__heading { max-width: none; }
  .join-cta__text { text-align: center; }

  .footer__nav-columns { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.25rem 2rem; }
  .home-hero { padding: 3rem 0 0; }
  .why-tita, .faq, .about-intro, .trust, .solutions, .testimonials { padding: 3rem 1.25rem; }
  .footer { padding: 3rem 1.25rem 1.5rem; }
  .hero__store-buttons { flex-direction: column; }
  .home-hero__buttons { flex-direction: column; align-items: center; }
}


/* ════════════════════════════════════════════
   ABOUT PAGE: HERO
   ════════════════════════════════════════════ */
.about-hero {
  background: var(--clr-bg-tint);
  padding: 5rem 2rem 3rem;
  text-align: center;
}
.about-hero__container { max-width: 900px; margin: 0 auto; }
.about-hero__heading {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.18;
  margin-bottom: 1.5rem;
}
.about-hero__body {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 65ch;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.about-hero__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* ════════════════════════════════════════════
   ABOUT PAGE: TRUST STRIP
   ════════════════════════════════════════════ */
.about-trust-strip {
  background: var(--clr-strip-bg);
  width: 100%;
  overflow: hidden;
  padding: 1.1rem 0;
}
.about-trust-strip__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: feature-strip-scroll 26s linear infinite;
}
.about-trust-strip:hover .about-trust-strip__track { animation-play-state: paused; }
.about-trust-strip__item {
  display: flex; align-items: center; gap: .6rem;
  color: white; font-size: .95rem; font-weight: 500;
  white-space: nowrap; padding: 0 1.75rem;
}


/* ════════════════════════════════════════════
   ABOUT PAGE: TEAM IMAGE + VISION/MISSION
   ════════════════════════════════════════════ */
.vision-mission { background: var(--clr-surface); }

.vision-mission__image-wrapper {
  padding: 2.5rem 2rem 0;
}

.vision-mission__image-placeholder {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  aspect-ratio: 21/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.vision-mission__image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.vision-mission__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vision-mission__container {
  max-width: var(--max-w); margin: -3.5rem auto 0; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  padding: 0 2rem 4rem;
}
.vision-mission__card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}
.vision-mission__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--clr-primary-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.vision-mission__title { font-size: 1.3rem; font-weight: 700; color: var(--clr-text); margin-bottom: .75rem; }
.vision-mission__desc { font-size: .95rem; color: var(--clr-text-muted); line-height: 1.7; }



/* ════════════════════════════════════════════
   ABOUT PAGE: WHO WE ARE
   ════════════════════════════════════════════ */
.who-we-are { padding: 5rem 2rem; background: var(--clr-bg); }
.who-we-are__container {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center;
}
.who-we-are__image-placeholder {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  display: flex; align-items: center; justify-content: center;
  color: #78350f; font-size: .9rem;
}
.who-we-are__content .section-body:last-child { margin-bottom: 0; }


/* ════════════════════════════════════════════
   ABOUT PAGE: CORE LEADERSHIP / TEAM SECTIONS
   ════════════════════════════════════════════ */
.leadership { padding: 5rem 2rem; background: var(--clr-bg); }
.leadership__container { max-width: var(--max-w); margin: 0 auto; }
.leadership__heading {
  text-align: center; max-width: 850px; margin: 0 auto 1.25rem;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}
.leadership__sub {
  text-align: center; max-width: 70ch; margin: 0 auto 3.5rem;
}
.leadership__group-title {
  font-size: 1.6rem; font-weight: 800; color: var(--clr-primary);
  margin: 3rem 0 2rem;
}
.leadership__group-title:first-of-type { margin-top: 0; }

.leadership__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem;
}
.leadership__grid--three { grid-template-columns: repeat(3, 1fr); }
.leadership__grid--single { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

.person-card { position: relative; }
.person-card__blob { display: none; }
.person-card__blob--blue       { background: #2563eb; }
.person-card__blob--green      { background: #22c55e; }
.person-card__blob--lightblue  { background: #93c5fd; }
.person-card__blob--lightgreen { background: #86efac; }
.person-card__inner {
  position: relative; z-index: 1;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: var(--shadow-md);
}
.person-card__badge {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; color: white;
  margin-bottom: 1.25rem;
}
.person-card__badge--blue       { background: #2563eb; }
.person-card__badge--green      { background: #22c55e; }
.person-card__badge--lightblue  { background: #93c5fd; color: #1e3a8a; }
.person-card__badge--lightgreen { background: #86efac; color: #14532d; }
.person-card__name { font-size: 1.1rem; font-weight: 700; color: var(--clr-text); margin-bottom: .4rem; }
.person-card__role { font-size: .88rem; color: var(--clr-text); font-weight: 500; margin-bottom: .5rem; }
.person-card__tags { font-size: .8rem; color: var(--clr-text-muted); line-height: 1.5; }

.squad-card { position: relative; }
.squad-card--center { text-align: center; }
.squad-card__blob { display: none; }
.squad-card__blob--purple { background: #ede9fe; }
.squad-card__inner {
  position: relative; z-index: 1;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.squad-card--center .squad-card__inner { display: flex; flex-direction: column; align-items: center; }
.squad-card__icon { margin-bottom: 1rem; }
.squad-card__title { font-size: 1.25rem; font-weight: 700; color: var(--clr-text); margin-bottom: .75rem; }
.squad-card__desc { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.squad-card__list { list-style: none; padding: 0; }
.squad-card--center .squad-card__list { text-align: left; align-self: stretch; }
.squad-card__list li {
  font-size: .88rem; color: var(--clr-text-muted);
  padding-left: 1rem; position: relative; margin-bottom: .5rem; line-height: 1.4;
}
.squad-card__list li::before {
  content: "•"; position: absolute; left: 0; color: var(--clr-text-muted);
}

.leadership__footnote { text-align: center; margin: 3rem auto 0; max-width: 65ch; }


/* ════════════════════════════════════════════
   ABOUT PAGE: STRATEGIC PARTNERSHIPS
   ════════════════════════════════════════════ */
.partnerships { padding: 5rem 2rem; background: var(--clr-surface); }
.partnerships__container {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.partnerships__content .btn { margin-top: .5rem; }
.partnerships__image-placeholder {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #5eead4, #0ea5e9);
  display: flex; align-items: center; justify-content: center;
  color: #0c4a6e; font-size: .9rem;
}


/* ════════════════════════════════════════════
   ABOUT PAGE: JOIN / TRANSFORM CTA BAND
   ════════════════════════════════════════════ */
.about-join-cta { width: 100%; }
.about-join-cta__band {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  width: 100%;
  padding: 3rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.about-join-cta__text { max-width: var(--max-w); }
.about-join-cta__eyebrow {
  font-size: .82rem; font-weight: 700; color: #93c5fd;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem;
}
.about-join-cta__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: white;
  line-height: 1.25; margin-bottom: .75rem; max-width: 600px;
}
.about-join-cta__highlight { color: var(--clr-accent-green); }
.about-join-cta__sub { color: #c7d2fe; font-size: .95rem; max-width: 50ch; }
.about-join-cta__button { flex-shrink: 0; }

@media (min-width: 1232px) {
  .about-join-cta__band {
    padding-left: calc((100% - var(--max-w)) / 2 + 2rem);
    padding-right: calc((100% - var(--max-w)) / 2 + 2rem);
  }
}


/* ════════════════════════════════════════════
   ABOUT PAGE: RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vision-mission__container { grid-template-columns: 1fr; margin-top: -2rem; }
  .who-we-are__container,
  .partnerships__container { grid-template-columns: 1fr; }
  .leadership__grid { grid-template-columns: repeat(2, 1fr); }
  .leadership__grid--three { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .leadership__grid { grid-template-columns: 1fr; }
  .about-join-cta__band { flex-direction: column; text-align: center; padding: 2rem 1.25rem; }
  .about-join-cta__text { text-align: center; }
}


/* ════════════════════════════════════════════
   TSES PAGE: JOIN THE TSES COMMUNITY
   ════════════════════════════════════════════ */
.tses-community {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  padding: 5rem 2rem;
}
.tses-community__container {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.tses-community__heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800; color: white; line-height: 1.2; margin-bottom: 1.25rem;
}
.tses-community__sub {
  font-size: 1.05rem; color: #c7d2fe; line-height: 1.7; max-width: 42ch;
}

.tses-community__form-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}
.tses-community__form-title {
  font-size: 1.5rem; font-weight: 700; color: var(--clr-text); margin-bottom: 1.75rem;
}
.tses-community__submit { width: 100%; margin-top: .5rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: .88rem; font-weight: 600; color: var(--clr-text);
  margin-bottom: .5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  font-family: inherit;
  font-size: .95rem;
  color: var(--clr-text);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary-mid);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--clr-text-light); }


/* ════════════════════════════════════════════
   TSES PAGE: RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tses-community__container { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════
   MEDIA PAGE: HERO
   ════════════════════════════════════════════ */
.media-hero {
  background: var(--clr-bg-tint);
  padding: 5rem 2rem;
  text-align: center;
}
.media-hero__container { max-width: 800px; margin: 0 auto; }
.media-hero__heading {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
}
.media-hero__body {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 65ch;
  margin: 0 auto;
}


/* ════════════════════════════════════════════
   MEDIA PAGE: LATEST NEWS & EVENTS
   ════════════════════════════════════════════ */
.news { padding: 5rem 2rem; background: var(--clr-surface); }
.news__container { max-width: var(--max-w); margin: 0 auto; }
.news__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.news__header .section-heading { margin-bottom: .75rem; }
.news__header > div { max-width: 700px; }
.news__view-all { flex-shrink: 0; }

.news__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.news-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card__image-placeholder {
  width: 100%; aspect-ratio: 16/11;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  display: flex; align-items: center; justify-content: center;
  color: #1e293b; font-size: .85rem;
}
.news-card__body { padding: 1.75rem; }
.news-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .85rem;
}
.news-card__category {
  font-size: .8rem; font-weight: 600; color: var(--clr-text-muted);
}
.news-card__date { font-size: .8rem; color: var(--clr-text-light); }
.news-card__title { font-size: 1.15rem; font-weight: 700; color: var(--clr-text); margin-bottom: .75rem; line-height: 1.3; }
.news-card__excerpt { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.news-card__link {
  font-size: .9rem; font-weight: 700; color: var(--clr-text);
  text-decoration: underline; text-underline-offset: 3px;
}
.news-card__link:hover { color: var(--clr-primary-mid); }


/* ════════════════════════════════════════════
   ACROSS AFRICA PAGE: STATS TICKER BAND
   Background is noticeably different from the hero's --clr-bg-tint (#eef2ff).
   Uses a scrolling marquee instead of a static grid.
   ════════════════════════════════════════════ */
.africa-impact__stats-band {
  width: 100%;
  background: #b8ccee;
  overflow: hidden;
  padding: 1.1rem 0;
  margin-bottom: 4.5rem;
}
.africa-impact__stats-ticker {
  overflow: hidden;
  width: 100%;
}
.africa-impact__stats-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: statsTicker 20s linear infinite;
}
.africa-impact__stats-track:hover { animation-play-state: paused; }

@keyframes statsTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.africa-impact__stat {
  display: flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 1rem;
}
.africa-impact__stat-icon { flex-shrink: 0; color: var(--clr-primary-mid); }
.africa-impact__stat-text { font-size: 1rem; font-weight: 700; color: var(--clr-primary); }

.africa-impact__body { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem 5rem; }

/* Per-country block */
.country-block { margin-bottom: 4.5rem; }
.country-block:last-of-type { margin-bottom: 3rem; }
.country-block__heading {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--clr-primary);
  margin-bottom: 1.75rem;
}
.country-block__list { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.country-block__list-item { display: flex; align-items: flex-start; gap: .75rem; }
.country-block__check { flex-shrink: 0; margin-top: .15rem; color: var(--clr-primary-mid); }
.country-block__list-item span { font-size: 1rem; color: var(--clr-text); line-height: 1.6; }

/* Horizontally-scrolling photo strip */
.country-gallery { overflow: hidden; }
.country-gallery__track {
  display: flex; gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: .5rem; cursor: grab;
  -webkit-user-select: none; user-select: none;
  scrollbar-width: none;
}
.country-gallery__track::-webkit-scrollbar { display: none; }
.country-gallery__track.is-dragging { cursor: grabbing; }

.country-gallery__item {
  position: relative; flex: 0 0 auto;
  width: 260px; aspect-ratio: 4/3;
  border-radius: var(--radius-md); overflow: hidden;
  scroll-snap-align: start;
}
.country-gallery__image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #44403c, #292524);
  display: flex; align-items: center; justify-content: center;
  color: #d6d3d1; font-size: .85rem;
  transition: filter .3s ease;
}

.country-gallery__item:hover .country-gallery__image-placeholder,
.country-gallery__item:focus-visible .country-gallery__image-placeholder,
.country-gallery__item.is-touched .country-gallery__image-placeholder {
  filter: blur(3px) brightness(.65);
}
.country-gallery__caption {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 1.1rem; text-align: center;
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.country-gallery__item:hover .country-gallery__caption,
.country-gallery__item:focus-visible .country-gallery__caption,
.country-gallery__item.is-touched .country-gallery__caption {
  opacity: 1;
}
.country-gallery__caption p { color: white; font-size: .95rem; font-weight: 700; line-height: 1.45; }

.country-gallery__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.25rem; }
.country-gallery__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clr-border); transition: background .2s, transform .2s; }
.country-gallery__dot.is-active { background: var(--clr-primary-mid); transform: scale(1.25); }

.africa-impact__map { padding-top: 1rem; text-align: center; }
.africa-impact__map-placeholder {
  max-width: 640px; margin: 0 auto; aspect-ratio: 1/1;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: #065f46; font-size: .9rem; padding: 2rem; text-align: center;
}


/* ════════════════════════════════════════════
   MEDIA PAGE: RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .news__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .news__header { flex-direction: column; align-items: flex-start; }
  .country-gallery__item { width: 200px; }
}


/* ════════════════════════════════════════════
   CONTACT PAGE: HERO
   ════════════════════════════════════════════ */
.contact-hero {
  background: var(--clr-bg-tint);
  padding: 5rem 2rem;
  text-align: center;
}
.contact-hero__container { max-width: 800px; margin: 0 auto; }
.contact-hero__heading {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.contact-hero__body {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto;
}

.btn--primary-solid {
  background: var(--clr-primary-mid);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,78,216,.3);
}


/* ════════════════════════════════════════════
   CONTACT PAGE: SEND US A MESSAGE + NEWSLETTER
   ════════════════════════════════════════════ */
.contact-form-section { padding: 5rem 2rem; background: var(--clr-surface); }
.contact-form-section__container {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-form-card {
  background: var(--clr-surface);
  padding: 3rem;
}
.contact-form-card__heading {
  font-size: 1.75rem; font-weight: 800; color: var(--clr-primary); margin-bottom: 2rem;
}
.contact-form-card__submit { width: 100%; margin-top: .5rem; }
.contact-form-card__note {
  text-align: center; font-size: .85rem; color: var(--clr-text-muted); margin-top: 1rem;
}

.newsletter-card {
  background: linear-gradient(160deg, #1d4ed8, #1e3a8a);
  padding: 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter-card__heading {
  font-size: 1.6rem; font-weight: 700; line-height: 1.35; margin-bottom: 1.5rem;
}
.newsletter-card__sub {
  font-size: 1rem; color: #c7d2fe; line-height: 1.7; margin-bottom: 2rem;
}
.newsletter-card__input {
  background: white;
  color: var(--clr-text);
  border: none;
}
.newsletter-card__submit {
  width: 100%; margin-top: .5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
.newsletter-card__footnote {
  text-align: center; font-size: .85rem; color: #c7d2fe; margin-top: 1.25rem;
}

.form-alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: .88rem;
  margin-bottom: 1.5rem;
}
.form-alert--success {
  background: #dcfce7; color: #166534; border: 1px solid #86efac;
}


/* ════════════════════════════════════════════
   CONTACT PAGE: REACH US DIRECTLY
   ════════════════════════════════════════════ */
.reach-us { padding: 5rem 2rem; background: var(--clr-bg); }
.reach-us__container { max-width: var(--max-w); margin: 0 auto; }

.reach-us__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-bottom: 3rem;
}
.reach-us__item { display: flex; gap: .9rem; align-items: flex-start; }
.reach-us__icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary-mid);
}
.reach-us__title { font-size: 1rem; font-weight: 700; color: var(--clr-text); margin-bottom: .4rem; }
.reach-us__line { font-size: .88rem; color: var(--clr-text-muted); line-height: 1.5; }

.reach-us__map {
  width: 100%; aspect-ratio: 21/9; border-radius: var(--radius-lg);
  overflow: hidden; min-height: 380px;
}
.reach-us__map iframe { width: 100%; height: 100%; border: 0; display: block; }


/* ════════════════════════════════════════════
   CONTACT PAGE: RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .contact-form-section__container { grid-template-columns: 1fr; }
  .reach-us__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .contact-form-card, .newsletter-card { padding: 2rem 1.5rem; }
  .reach-us__grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════
   PARTNERSHIP PAGE: HERO
   ════════════════════════════════════════════ */
.partnership-hero { background: var(--clr-surface); overflow: hidden; }
.partnership-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 620px;
}
.partnership-hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 2rem 4rem clamp(2rem, 6vw, 4.5rem);
}
.partnership-hero__eyebrow {
  font-size: .85rem; font-weight: 700; color: var(--clr-primary-mid);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: .85rem;
}
.partnership-hero__heading {
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: var(--clr-primary);
  line-height: 1.15; margin-bottom: 1.5rem; max-width: 540px;
}
.partnership-hero__body {
  font-size: 1.05rem; color: var(--clr-text-muted); line-height: 1.75; max-width: 46ch;
}
.partnership-hero__image-placeholder {
  width: 100%; height: 100%; min-height: 360px;
  background: linear-gradient(135deg, #dbeafe, #a7f3d0);
  display: flex; align-items: center; justify-content: center;
  color: #0c4a6e; font-size: .9rem;
}
.partnership-hero__image-placeholder img { width: 100%; height: 100%; object-fit: cover; }


/* ════════════════════════════════════════════
   PARTNERSHIP PAGE: STRATEGIC BENEFITS GRID
   ════════════════════════════════════════════ */
.partnership-benefits { padding: 5rem 2rem; background: var(--clr-surface); }
.partnership-benefits__container { max-width: var(--max-w); margin: 0 auto; }
.partnership-benefits__header { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.partnership-benefits__header .section-heading { margin-bottom: .75rem; }
.partnership-benefits__header .section-body { margin: 0 auto; max-width: 60ch; }

.partnership-benefits__grid {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; row-gap: 2.5rem;
}
.benefit-item__header { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.benefit-item__check { flex-shrink: 0; color: var(--clr-primary-mid); }
.benefit-item__title { font-size: 1.1rem; font-weight: 700; color: var(--clr-text); }
.benefit-item__desc { font-size: .95rem; color: var(--clr-text-muted); line-height: 1.7; }


/* ════════════════════════════════════════════
   PARTNERSHIP PAGE: CTA + SEND US A MESSAGE FORM
   ════════════════════════════════════════════ */
.partnership-cta-form { width: 100%; }
.partnership-cta-form__grid { display: grid; grid-template-columns: 1fr 1fr; }

.partnership-cta-form__text {
  color: white;
  padding: 4.5rem clamp(2rem, 5vw, 4.5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.partnership-cta-form__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem;
}
.partnership-cta-form__body {
  color: #c7d2fe; font-size: 1.02rem; line-height: 1.75; max-width: 44ch; margin-bottom: 2.25rem;
}

.partnership-cta-form__form-col {
  background: var(--clr-surface);
  padding: 4.5rem clamp(2rem, 5vw, 4.5rem);
}
.partnership-cta-form__form-heading {
  font-size: 1.6rem; font-weight: 800; color: var(--clr-primary); margin-bottom: 2rem;
}
.partnership-cta-form__submit { width: 100%; margin-top: .5rem; }

.form-group select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background-color: var(--clr-bg);
  font-family: inherit;
  font-size: .95rem;
  color: var(--clr-text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-group select:focus {
  outline: none; border-color: var(--clr-primary-mid); box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.form-group select:invalid { color: var(--clr-text-light); }


/* ════════════════════════════════════════════
   PARTNERSHIP PAGE: RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .partnership-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .partnership-hero__image-placeholder { min-height: 320px; }
  .partnership-benefits__grid { grid-template-columns: 1fr; row-gap: 2rem; }
  .partnership-cta-form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .partnership-hero__content,
  .partnership-cta-form__text,
  .partnership-cta-form__form-col { padding: 2.5rem 1.5rem; }
}


/* ════════════════════════════════════════════
   OUR GROWING PRESENCE PAGE: PHOTO GRID
   ════════════════════════════════════════════ */
.presence-gallery { padding: 1rem 2rem 5rem; background: var(--clr-bg); }
.presence-gallery__container { max-width: var(--max-w); margin: 0 auto; }
.presence-gallery__header { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.presence-gallery__header .section-heading { margin: 0 auto .9rem; }
.presence-gallery__header .section-body { margin: 0 auto; max-width: 65ch; }

.presence-gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem;
}
.presence-card { display: flex; flex-direction: column; }
.presence-card__image-placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  display: flex; align-items: center; justify-content: center;
  color: #1e293b; font-size: .85rem; margin-bottom: 1rem;
}
.presence-card__caption {
  font-size: .95rem; color: var(--clr-text-muted); line-height: 1.6;
}

@media (max-width: 1024px) {
  .presence-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .presence-gallery__grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════
   ACROSS AFRICA PAGE: HERO
   ════════════════════════════════════════════ */
.africa-page-hero {
  background: var(--clr-bg-tint);
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.africa-page-hero__container { max-width: 900px; margin: 0 auto; }
.africa-page-hero__heading {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.africa-page-hero__sub {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
}
.africa-page-hero + .africa-impact__stats-band { margin-top: 0; }
.africa-page-hero--wide .africa-page-hero__container { max-width: 1000px; }


/* ════════════════════════════════════════════
   MEDIA PAGE: MOMENTS THAT DEFINE OUR IMPACT
   ════════════════════════════════════════════ */
.media-moments { padding: 5rem 2rem; background: var(--clr-surface); }
.media-moments__container { max-width: var(--max-w); margin: 0 auto; }
.media-moments__header { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.media-moments__heading { margin-bottom: .75rem; }
.media-moments__sub { margin: 0 auto; max-width: 65ch; }

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

.moment-card {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.moment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.moment-card__image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: .9rem;
  transition: filter .3s ease;
}
.moment-card__image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.moment-card:hover .moment-card__image-placeholder { filter: brightness(.85); }

.moment-card__label {
  position: absolute; bottom: 2.25rem; left: 1.75rem;
  background: var(--clr-primary-mid);
  color: white;
  padding: .9rem 1.25rem;
  border-radius: var(--radius-sm);
  max-width: 75%;
}
.moment-card__label span {
  font-size: 1.05rem; font-weight: 700; line-height: 1.35;
}

@media (max-width: 768px) {
  .media-moments__grid { grid-template-columns: 1fr; }
  .moment-card { aspect-ratio: 16/9; }
}



/* ════════════════════════════════════════════
   ABOUT PAGE: LEADERSHIP CARDS — ROUNDED-SQUARE BLOB (FINAL)
   A single rounded-square blob sits behind each card, rotated and
   offset so it peeks out the corners — exactly like the Figma.
   ════════════════════════════════════════════ */

.leadership__grid         { gap: 2.75rem; }
.leadership__grid--three  { gap: 2.75rem; }
.leadership__group-title  { font-size: 1.3rem; font-weight: 700; color: var(--clr-primary); margin: 3.5rem 0 2rem; }
.leadership__group-title:first-of-type { margin-top: 0; }

/* ── PERSON CARDS ── */
.person-card {
  position: relative;
  z-index: 0;
}

/* the blob: a rounded square, rotated, sitting behind & slightly bigger than the card */
.person-card::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -20px;
  right: -8px;
  bottom: -20px;
  border-radius: 32px;
  transform: rotate(-5deg);
  z-index: -1;
  background: var(--blob, #2563eb);
}


.person-card:has(.person-card__blob--blue)       { --blob: #2563eb; }
.person-card:has(.person-card__blob--green)      { --blob: #22c55e; }
.person-card:has(.person-card__blob--lightblue)  { --blob: #93c5fd; }
.person-card:has(.person-card__blob--lightgreen) { --blob: #86efac; }

.person-card__blob { display: none; }

.person-card__inner {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 22px;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 10px 30px rgba(30,58,138,.12);   /* deeper, sturdier shadow */
  border: none;
}

.person-card__badge {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; color: white;
  margin-bottom: 1.25rem;
}
.person-card__badge--blue       { background: #2563eb; }
.person-card__badge--green      { background: #22c55e; }
.person-card__badge--lightblue  { background: #93c5fd; color: #1e3a8a; }
.person-card__badge--lightgreen { background: #86efac; color: #14532d; }

.person-card__name { font-size: 1.05rem; font-weight: 700; color: #111827; margin-bottom: .35rem; line-height: 1.3; }
.person-card__role { font-size: .85rem;  color: #374151;  font-weight: 500; margin-bottom: .65rem; }
.person-card__tags { font-size: .76rem;  color: #6b7280;  line-height: 1.55; }

/* ── SQUAD CARDS ── */
.squad-card {
  position: relative;
  z-index: 0;
}


.squad-card::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -18px;
  right: -8px;
  bottom: -20px;
  border-radius: 32px;
  transform: rotate(-4deg);
  z-index: -1;
  background: #fef3c7;
}


.squad-card:has(.squad-card__blob--purple)::before { background: #ede9fe; }

.squad-card__blob { display: none; }

.squad-card__inner {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(30,58,138,.10);
  border: none;
}
.squad-card--center .squad-card__inner { display: flex; flex-direction: column; align-items: center; }
.squad-card__icon  { margin-bottom: .85rem; }
.squad-card__title { font-size: 1.1rem;  font-weight: 700; color: #111827; margin-bottom: .55rem; }
.squad-card__desc  { font-size: .85rem;  color: #6b7280;  line-height: 1.65; margin-bottom: .95rem; }
.squad-card__list  { list-style: none; padding: 0; }
.squad-card__list li {
  font-size: .82rem; color: #4b5563;
  padding-left: .9rem; position: relative;
  margin-bottom: .4rem; line-height: 1.45;
}
.squad-card__list li::before { content: "•"; position: absolute; left: 0; color: #9ca3af; }


.partnership-cta-form__form-col {
    background: var(--clr-surface);
    padding: 4.5rem clamp(2rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partnership-cta-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;      /* vertically center both columns */
    padding: 4rem clamp(2rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    gap: 4rem;
}

.partnership-cta-form__form-col {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
}




/* ════════════════════════════════════════════
   PAGE LOADER
   ════════════════════════════════════════════ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
}

#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  animation: loader-pulse 1.2s ease-in-out infinite;
}

.loader__brand {
  font-size: .85rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.loader__bar-wrap {
  width: 160px;
  height: 4px;
  background: var(--clr-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.loader__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-primary-mid), var(--clr-accent-green));
  border-radius: var(--radius-pill);
  animation: loader-fill 1.6s ease forwards;
}

@keyframes loader-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.08); opacity: .8; }
}

@keyframes loader-fill {
  0%   { width: 0%; }
  100% { width: 100%; }
}




/* ════════════════════════════════════════════
   PARTNERSHIP PAGE: MOBILE FIX
   Paste at the VERY BOTTOM of app.css.
   The gradient-band restyle of .partnership-cta-form__grid
   (1fr 1fr) sits after the old responsive rules and was
   overriding them. This block re-applies the stacking.
   ════════════════════════════════════════════ */
 
@media (max-width: 1024px) {
  .partnership-cta-form__grid {
    grid-template-columns: 1fr;      /* stack CTA text above the form */
    gap: 2.5rem;
    padding: 3.5rem clamp(1.25rem, 5vw, 3rem);
  }
 
  .partnership-cta-form__text {
    padding: 0;                      /* band padding now handles spacing */
    text-align: center;
    align-items: center;
  }
 
  .partnership-cta-form__text .btn {
    align-self: center;
  }
 
  .partnership-cta-form__form-col {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
  }
}
 
@media (max-width: 768px) {
  .partnership-cta-form__grid {
    padding: 3rem 1.25rem;
    gap: 2rem;
  }
 
  .partnership-cta-form__heading {
    font-size: clamp(1.6rem, 6.5vw, 2rem);
  }
 
  .partnership-cta-form__body {
    margin-left: auto;
    margin-right: auto;
  }
 
  .partnership-cta-form__form-col {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-md);
  }
 
  /* stop iOS zooming in when a field is tapped */
  .partnership-cta-form__form-col .form-group input,
  .partnership-cta-form__form-col .form-group select,
  .partnership-cta-form__form-col .form-group textarea {
    font-size: 16px;
  }
}
 
@media (max-width: 480px) {
  /* footer CTA buttons go full width on small phones */
  .footer__cta-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 .5rem;
  }
  .footer__cta-buttons .btn {
    width: 100%;
  }
}


/* ════════════════════════════════════════════
   GO TO TOP BUTTON
   ════════════════════════════════════════════ */
.go-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;                       /* below the navbar's 100, above content */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary-mid), var(--clr-accent-teal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(29,78,216,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.go-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.go-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(29,78,216,.45);
}
.go-top:focus-visible {
  outline: 3px solid var(--clr-accent-green);
  outline-offset: 2px;
}
 
@media (max-width: 480px) {
  .go-top {
    width: 44px;
    height: 44px;
    bottom: 1.1rem;
    right: 1.1rem;
  }
}



 
.tses-news {
    padding: 5rem 0;
    background: #f6f8fb;
}
 
.tses-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
 
.tses-news__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.25rem;
}
 
.tses-news__sub {
    max-width: 60ch;
    margin-bottom: 0;
}
 
/* ----- arrow controls ----- */
.tses-news__nav-group {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
 
.tses-news__nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #d7dfeb;
    background: #ffffff;
    color: #0b1b3f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
 
.tses-news__nav:hover:not(:disabled) {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}
 
.tses-news__nav:disabled {
    opacity: .35;
    cursor: default;
}
 
.tses-news__nav:focus-visible {
    outline: 3px solid #22c55e;
    outline-offset: 2px;
}
 
/* ----- the scrolling rail ----- */
.tses-news__rail {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0.25rem 1.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #22c55e #e2e8f0;
}
 
.tses-news__rail::-webkit-scrollbar {
    height: 8px;
}
 
.tses-news__rail::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 99px;
}
 
.tses-news__rail::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 99px;
}
 
.tses-news__rail:focus-visible {
    outline: 3px solid #22c55e;
    outline-offset: 4px;
    border-radius: 8px;
}
 
.tses-news__item {
    flex: 0 0 250px;
    scroll-snap-align: start;
}
 
/* ----- the card ----- */
.tses-news__card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .35s ease;
}
 
.tses-news__cover {
    position: relative;
    display: block;
    aspect-ratio: 5 / 7;
    overflow: hidden;
    border-radius: 12px;
    background: #dde4ee;
    box-shadow: 0 10px 24px rgba(11, 27, 63, .12);
    transition: box-shadow .35s ease;
}
 
.tses-news__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
 
.tses-news__veil {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(11, 27, 63, .85) 0%, rgba(11, 27, 63, .25) 55%, rgba(11, 27, 63, 0) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}
 
.tses-news__pill {
    background: #22c55e;
    color: #ffffff;
    font-size: .82rem;
    font-weight: 600;
    padding: .55rem 1.1rem;
    border-radius: 99px;
    transform: translateY(8px);
    transition: transform .3s ease;
}
 
.tses-news__card:hover .tses-news__cover,
.tses-news__card:focus-visible .tses-news__cover {
    box-shadow: 0 18px 38px rgba(11, 27, 63, .22);
}
 
.tses-news__card:hover,
.tses-news__card:focus-visible {
    transform: translateY(-8px);
}
 
.tses-news__card:hover img,
.tses-news__card:focus-visible img {
    transform: scale(1.06);
}
 
.tses-news__card:hover .tses-news__veil,
.tses-news__card:focus-visible .tses-news__veil {
    opacity: 1;
}
 
.tses-news__card:hover .tses-news__pill,
.tses-news__card:focus-visible .tses-news__pill {
    transform: translateY(0);
}
 
.tses-news__card:focus-visible {
    outline: 3px solid #0b1b3f;
    outline-offset: 6px;
    border-radius: 14px;
}
 
/* ----- caption under each cover ----- */
.tses-news__meta {
    display: block;
    padding-top: 1rem;
}
 
.tses-news__edition {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #22c55e;
    margin-bottom: .3rem;
}
 
.tses-news__title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0b1b3f;
}
 
/* ----- responsive ----- */
@media (max-width: 900px) {
    .tses-news__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}
 
@media (max-width: 600px) {
    .tses-news {
        padding: 3.5rem 0;
    }
 
    .tses-news__item {
        flex: 0 0 200px;
    }
 
    .tses-news__nav-group {
        display: none;
    }
}
 
/* ----- respect reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
    .tses-news__card,
    .tses-news__cover img,
    .tses-news__veil,
    .tses-news__pill {
        transition: none;
    }
 
    .tses-news__card:hover,
    .tses-news__card:focus-visible {
        transform: none;
    }
 
    .tses-news__card:hover img,
    .tses-news__card:focus-visible img {
        transform: none;
    }
 
    .tses-news__rail {
        scroll-behavior: auto;
    }
}
 .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-alert--error {
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #a4231b;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
}

.contact-form-card input[type="date"],
.contact-form-card input[type="time"] {
    appearance: none;
    width: 100%;
}
/* ════════════════════════════════════════════
   CONTACT FORM: DATE + TIME WINDOW FIELDS
   Replaces the .form-row block currently sitting at the
   very bottom of app.css.
   ════════════════════════════════════════════ */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Grouping the scheduling fields so they read as one question */
.form-fieldset {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem .35rem;
  margin-bottom: 1.5rem;
}

.form-fieldset__legend {
  padding: 0 .45rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--clr-text);
}

.form-fieldset .form-group:last-of-type {
  margin-bottom: 1rem;
}

.form-row--times .form-group {
  margin-bottom: 1rem;
}

.form-hint {
  font-size: .8rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.1rem;
}

/* Native date and time controls render short and mis-aligned in
   Safari and iOS unless width and appearance are forced. */
.contact-form-card input[type="date"],
.contact-form-card input[type="time"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
}

/* iOS zooms the page when a field smaller than 16px is tapped */
@media (max-width: 768px) {
  .contact-form-card .form-group input,
  .contact-form-card .form-group textarea {
    font-size: 16px;
  }
}

/* ── Validation summary ───────────────────────────────────── */
.form-alert--error {
  background: #fdecea;
  border: 1px solid #f5c2bd;
  color: #a4231b;
}

.form-alert__list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.form-alert__list li + li {
  margin-top: .3rem;
}

/* ── Newsletter label (moved out of the inline style) ─────── */
.newsletter-card__label {
  color: #ffffff;
}

/* ── Map container ────────────────────────────────────────── */
/* The Blade markup previously used .reach-us__map-placeholder,
   which has no rule in this stylesheet, so the iframe sat
   unstyled. The view now uses .reach-us__map to match. */
.reach-us__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}