/* ==========================================================================
   MATEX Dallas — Components
   Reusable pieces: buttons, cards, badges, stat tiles, leadership, sponsors,
   the "needs content" placeholder callout.
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--sand); }
.btn-primary:hover { background: var(--navy-dark); color: var(--sand); }
.btn-donate { background: var(--red); color: #FFFFFF; }
.btn-donate:hover { background: var(--red-dark); color: #FFFFFF; }
.btn-outline { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #FFFFFF; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--sand); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(27,42,74,0.12); }
.card .card-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card .card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.card h3 { margin-bottom: var(--space-2); font-size: 1.1rem; }
.card p { font-size: 0.92rem; color: var(--muted); margin-bottom: var(--space-3); }
.card .card-link { font-size: 0.88rem; font-weight: 700; text-decoration: none; }

.card-event .card-img { position: relative; }
.date-badge {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  text-align: center;
  font-weight: 700;
  line-height: 1.1;
}
.date-badge .day { display: block; font-size: 1.1rem; }
.date-badge .mon { display: block; font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; }
.event-meta { font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: var(--space-2); }

/* ---------- Stat tiles ---------- */
.stat-tile { text-align: center; transition: transform 0.25s var(--ease); }
.stat-tile:hover { transform: translateY(-3px); }
.stat-tile .num { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2.6rem); color: var(--navy); font-weight: 600; line-height: 1.1; overflow-wrap: break-word; }
.stat-tile .lbl { font-size: 0.85rem; color: var(--muted); margin-top: var(--space-2); }
.stat-tile .flag { display: inline-block; font-size: 0.68rem; color: var(--red); font-style: italic; margin-top: 4px; }

/* ---------- Leadership ---------- */
.leader-card { text-align: center; }
.leader-card .photo {
  width: 128px; height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-3);
  border: 3px solid var(--bg-raised);
  box-shadow: 0 0 0 1px var(--line);
}
.leader-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.leader-card:hover .photo img { transform: scale(1.08); }
.leader-card .name { font-weight: 700; font-size: 0.98rem; margin-bottom: 2px; }
.leader-card .role { font-size: 0.82rem; color: var(--muted); }

/* Additional officers under the Home page's President spotlight, and the
   About page's leadership preview grid — short previews only, never the
   full roster (that lives on leadership.html). */
.leadership-more { margin-top: var(--space-7); }
.leadership-cta { text-align: center; margin-top: var(--space-7); }

/* Portrait variant (Leadership page admin grid) — 4:5 rounded-rectangle
   photos instead of the circular crop above. Scoped to this modifier so
   About's existing circular officer cards are untouched. */
.leader-card--portrait .photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: none;
  margin: 0 0 var(--space-3);
  overflow: hidden;
}
.initials-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  letter-spacing: 0.04em;
}

/* ---------- Sponsors ---------- */
.sponsor-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-6); }
.sponsor-strip img { height: 56px; width: auto; filter: grayscale(35%); opacity: 0.85; }

/* ---------- Gallery preview ---------- */
.gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
.gallery-strip a { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s var(--ease); }
.gallery-strip a:hover img { transform: scale(1.06); }
@media (max-width: 640px) {
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip a:nth-child(n+4) { display: none; }
}

/* ---------- Content placeholder callout ---------- */
.needs-content {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: color-mix(in srgb, var(--gold) 8%, var(--bg-raised));
  color: var(--muted);
  font-size: 0.92rem;
}
.needs-content strong { color: var(--ink); }

/* ---------- Value chips (About — Our Mission) ---------- */
.values-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.value-chip {
  display: inline-block;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
}

/* ---------- Founding badge (About — Our Story) ---------- */
.founded-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: fit-content;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-7);
  margin: 0 auto var(--space-5);
}
.founded-badge .founded-year { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 600; color: #FFFFFF; line-height: 1; }
.founded-badge .founded-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold); }

/* ---------- Embedded video (About — Community Impact, etc.) ---------- */
.impact-video {
  margin-top: var(--space-5);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.impact-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.media-caption { font-size: 0.82rem; color: var(--muted); font-style: italic; text-align: center; margin-top: var(--space-3); }

/* ---------- Tier cards (Membership) ---------- */
.tier-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tier-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(27,42,74,0.1); }
.tier-card.featured { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.tier-card.featured:hover { box-shadow: 0 0 0 2px var(--gold), 0 14px 28px rgba(27,42,74,0.1); }
.tier-card .tier-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.tier-card .tier-price { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.tier-card .tier-price small { font-size: 0.7rem; font-weight: 500; color: var(--muted); }
.tier-card .tier-breakdown { margin: calc(var(--space-3) * -1) 0 0; font-size: 0.85rem; color: var(--muted); }
.tier-card ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.tier-card ul li { padding-left: 22px; position: relative; }
.tier-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
.tier-card .btn { margin-top: auto; align-self: flex-start; }
.tier-card .payment-note { max-width: none; }

/* ---------- Notice callout (Membership — payment dues note) ---------- */
.notice-box {
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-raised);
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: var(--space-6);
}
.pull-statement {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin-top: var(--space-5);
  margin-bottom: 0;
}

/* ---------- Numbered step list (How to Join / How to Donate) ---------- */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.step { display: flex; gap: var(--space-4); align-items: flex-start; }
.step .step-num {
  counter-increment: step;
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.step .step-num::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-4); max-width: 560px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 700; font-size: 0.88rem; }
.form-row .hint { font-size: 0.78rem; color: var(--muted); font-weight: 400; }
.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--ink);
}
.form-row input:focus-visible,
.form-row textarea:focus-visible,
.form-row select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--focus-ring);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.required-mark { color: var(--red); }

/* ---------- Info list (Contact details) ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.info-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.info-list .k { flex: 0 0 110px; font-weight: 700; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.info-list .v { font-size: 0.98rem; }

/* ---------- Gallery lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 17, 12, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--space-5);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(900px, 92vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox .lb-caption { color: var(--sand); text-align: center; margin-top: var(--space-3); font-size: 0.9rem; }
.lightbox .lb-close {
  position: absolute; top: var(--space-5); right: var(--space-5);
  background: none; border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,0.12); }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-nav:hover { background: rgba(255,255,255,0.12); }
.lightbox .lb-prev { left: var(--space-5); }
.lightbox .lb-next { right: var(--space-5); }
.lightbox .lb-counter { color: color-mix(in srgb, var(--sand) 65%, transparent); text-align: center; font-size: 0.78rem; margin: 4px 0 0; }
@media (max-width: 640px) {
  .lightbox .lb-nav { width: 36px; height: 36px; font-size: 1.3rem; }
  .lightbox .lb-prev { left: var(--space-2); }
  .lightbox .lb-next { right: var(--space-2); }
}
.filter-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.filter-gallery button.thumb { border: none; padding: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.filter-gallery button.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s var(--ease); }
.filter-gallery button.thumb:hover img { transform: scale(1.06); }
/* Tuned for this grid specifically (4 → 3 → 2 → 1) rather than the site's usual
   860/560 grid breakpoints, which only ever step down to 2 columns. */
@media (max-width: 1000px) { .filter-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .filter-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .filter-gallery { grid-template-columns: 1fr; } }

/* ---------- Closing CTA band (used near the bottom of interior pages) ---------- */
.cta-band {
  background: var(--navy);
  color: var(--sand);
  text-align: center;
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-5);
}
.cta-band .eyebrow { color: var(--gold); }
.cta-band h2 { color: #FFFFFF; }
.cta-band p { color: #F0EAD9; max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* ---------- Subtle arrow link (e.g. "Learn More" under the mission statement) ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--navy);
}
.link-arrow:hover { color: var(--red); }
.link-arrow .arrow { transition: transform 0.15s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- About preview (two-column photo + copy) ---------- */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.about-preview .photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; }
.about-preview .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-preview .copy p { color: var(--muted); }
@media (max-width: 860px) {
  .about-preview { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-preview .photo { aspect-ratio: 16 / 10; }
}

/* ---------- Icon cards (Featured Activities) ---------- */
.icon-card { text-align: center; padding: var(--space-5) var(--space-4); transition: transform 0.25s var(--ease); }
.icon-card:hover { transform: translateY(-5px); }
.icon-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-4);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.icon-card:hover .icon-wrap { transform: scale(1.1); background: var(--red); }
.icon-card .icon-wrap svg { width: 26px; height: 26px; }
.icon-card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.icon-card p { font-size: 0.9rem; color: var(--muted); margin: 0 auto; max-width: 30ch; }

/* ---------- Gallery masonry (editorial layout, not a uniform grid) ---------- */
.gallery-masonry { column-count: 3; column-gap: var(--space-4); }
.gallery-masonry a {
  display: block;
  break-inside: avoid;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-masonry img { width: 100%; height: auto; display: block; transition: transform 0.25s var(--ease); }
.gallery-masonry a:hover img { transform: scale(1.04); }
.gallery-masonry .ph-tile img { background: var(--bg-raised); }
@media (max-width: 860px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 480px) { .gallery-masonry { column-count: 1; } }

/* ---------- Leadership spotlight (single featured leader + quote) ---------- */
.leader-spotlight { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-8); align-items: center; }
.leader-spotlight .photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1; }
.leader-spotlight .photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-spotlight .name { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: 2px; }
.leader-spotlight .role { font-size: 0.9rem; color: var(--red); font-weight: 700; margin-bottom: var(--space-4); }
.leader-spotlight .org { font-size: 0.85rem; color: var(--muted); margin-bottom: var(--space-4); }
.leader-spotlight blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 var(--space-5);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-4);
}
@media (max-width: 760px) {
  .leader-spotlight { grid-template-columns: 1fr; text-align: center; }
  .leader-spotlight .photo { width: 180px; margin: 0 auto; }
  .leader-spotlight blockquote { border-left: none; border-top: 3px solid var(--gold); padding-left: 0; padding-top: var(--space-4); }
}
/* Portrait variant (Leadership page) — 4:5 crop instead of the square
   used by the homepage's preview spotlight, which keeps its own ratio.
   Widened to 420px so the President's photo reads as clearly larger than
   the ~360px admin-grid card photos it sits above (the base 280px column
   is narrower than a 3-up grid card and would undercut "larger featured"). */
.leader-spotlight--portrait { grid-template-columns: 420px 1fr; }
.leader-spotlight--portrait .photo { aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .leader-spotlight--portrait { grid-template-columns: 1fr; }
  .leader-spotlight--portrait .photo { width: 260px; }
}

/* ---------- Featured event banner (photo + overlay, used on Events) ---------- */
.event-feature {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 6.5;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
}
.event-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.event-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,42,74,0.05) 25%, rgba(27,42,74,0.65) 55%, rgba(27,42,74,0.96) 100%);
}
.event-feature .content { position: relative; z-index: 1; padding: var(--space-6); max-width: 600px; }
.event-feature .badge {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: var(--space-3);
}
.event-feature h3 { color: #FFFFFF; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; text-shadow: 0 1px 4px rgba(0,0,0,0.55); }
.event-feature .meta { color: #F0EAD9; font-size: 0.92rem; margin-bottom: var(--space-4); text-shadow: 0 1px 3px rgba(0,0,0,0.55); }
.event-feature .btn { pointer-events: none; }
@media (max-width: 640px) {
  .event-feature { aspect-ratio: 4 / 3; }
  .event-feature img { object-position: center top; }
  .event-feature .content { padding: var(--space-5); }
}

/* ---------- Payment options (Donate — PayPal / Zelle QR cards) ---------- */
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
@media (max-width: 860px) {
  .payment-grid { grid-template-columns: 1fr; }
}
.payment-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.payment-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(27,42,74,0.1); }
.payment-card h2 { color: var(--navy); font-size: 1.4rem; }
.payment-card > p { color: var(--muted); max-width: 40ch; margin: 0; }
.qr-frame {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.qr-frame img { width: 100%; max-width: 200px; height: auto; display: block; }
.payment-label {
  display: inline-block;
  background: var(--red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
}
.paypal-button-frame { width: 100%; max-width: 260px; }
.payment-recipient { margin: 0; font-size: 0.9rem; color: var(--ink); }
.payment-recipient strong { color: var(--navy); }
.payment-note { margin: 0; font-size: 0.85rem; color: var(--muted); max-width: 38ch; }
.payment-note--verify { color: var(--red); font-weight: 700; }

/* ---------- Back to top ---------- */
/* Injected into the DOM by main.js on every page — CSS-only fallback isn't
   possible here since visibility depends on scroll position. */
.back-to-top {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 60;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sand);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(27,42,74,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.15s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Section footer link row ---------- */
.section-cta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }
.section-cta .section-head { margin-bottom: 0; }
.view-all { font-size: 0.9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
