/* ==========================================================
   Sound Family Foundation — main stylesheet
   Brand colours are taken from the logo.
   ========================================================== */

:root {
  --orange: #f7801e;
  --orange-dark: #d9660a;
  --orange-soft: #fff1e4;
  --green: #5dbb2e;
  --green-dark: #3f8f17;
  --green-soft: #ecf8e4;
  --blue: #0a78d1;
  --blue-dark: #0b4f8c;
  --blue-soft: #e5f1fb;

  --ink: #1d2733;
  --ink-soft: #4a5868;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 79, 140, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 79, 140, 0.14);

  --font-head: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--blue-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(247, 128, 30, .35); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
}
.brand { flex-shrink: 0; }
.brand-logo { height: 66px; width: auto; }
@media (max-width: 960px) { .brand-logo { height: 60px; } }
@media (max-width: 600px) { .brand-logo { height: 52px; } }
.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  font-size: 1.2rem;
  color: var(--blue);
}
.brand-text small {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: .02em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav .btn { margin-left: 10px; padding: 10px 22px; color: #fff; }
.main-nav .btn:hover,
.main-nav .btn[aria-current="page"] { background: var(--orange-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(circle at 12% 20%, rgba(93, 187, 46, .16), transparent 40%),
    radial-gradient(circle at 88% 15%, rgba(247, 128, 30, .18), transparent 42%),
    radial-gradient(circle at 70% 95%, rgba(10, 120, 209, .16), transparent 45%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.hero h1 span { color: var(--orange); }
.hero .lead { font-size: 1.2rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}
.hero-visual .blob {
  position: absolute;
  inset: 0;
  border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%;
  background: linear-gradient(135deg, var(--orange-soft), var(--blue-soft) 60%, var(--green-soft));
  animation: morph 12s ease-in-out infinite;
}
.hero-visual > img {
  position: absolute;
  inset: 16%;
  width: 68%;
  height: 68%;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(11, 79, 140, .18));
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue-dark);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-card i {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}
.float-card.one { top: 8%; left: -4%; }
.float-card.one i { background: var(--green); }
.float-card.two { bottom: 12%; right: -4%; }
.float-card.two i { background: var(--orange); }

@keyframes morph {
  0%, 100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; }
  50%      { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; }
}

@media (max-width: 860px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0 auto; max-width: 340px; }
  .float-card.one { left: 0; }
  .float-card.two { right: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 70px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(93, 187, 46, .15), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(247, 128, 30, .15), transparent 40%),
    linear-gradient(180deg, var(--blue-soft), #fff);
}
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.15rem; }
.breadcrumb { font-size: .9rem; margin-bottom: 12px; color: var(--ink-soft); }
.breadcrumb a { font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head p { font-size: 1.1rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card p:last-child { margin-bottom: 0; }

.icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.icon svg { width: 30px; height: 30px; }
.icon.orange { background: var(--orange-soft); color: var(--orange); }
.icon.green  { background: var(--green-soft);  color: var(--green-dark); }
.icon.blue   { background: var(--blue-soft);   color: var(--blue); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  margin-top: 8px;
}

/* Accent top border cards */
.accent-orange { border-top: 5px solid var(--orange); }
.accent-green  { border-top: 5px solid var(--green); }
.accent-blue   { border-top: 5px solid var(--blue); }

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 70px 0;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
  color: #fff;
}
.stat-number::after { content: attr(data-suffix); }
.stat-label { color: rgba(255, 255, 255, .85); margin-top: 10px; font-weight: 600; }

/* ---------- Image placeholders ---------- */
/* Swap these for real photos: <img src="images/your-photo.jpg" alt="..."> */
.photo {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.ph-orange { background: linear-gradient(135deg, #ffb46b, var(--orange)); }
.photo.ph-green  { background: linear-gradient(135deg, #9be06f, var(--green)); }
.photo.ph-blue   { background: linear-gradient(135deg, #5fb2f2, var(--blue)); }
.photo .ph-art { width: 50%; height: auto; opacity: .95; filter: brightness(0) invert(1); }

.photo-inline { margin-top: 28px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item.wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  padding: 4px 12px;
  border-radius: 999px;
}
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px; }
  .gallery-item figcaption { font-size: .75rem; left: 8px; bottom: 8px; }
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f8f17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
  height: 100%;
}
.quote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--orange);
  opacity: .35;
  position: absolute;
  top: 10px; left: 22px;
}
.quote p { position: relative; font-style: italic; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: #fff;
}
.avatar.orange { background: var(--orange); }
.avatar.green  { background: var(--green); }
.avatar.blue   { background: var(--blue); }
.quote-author strong { display: block; color: var(--blue-dark); font-family: var(--font-head); }
.quote-author span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .18), transparent 40%),
    linear-gradient(120deg, var(--orange), #f99b3f);
  border-radius: 28px;
  padding: 60px 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .92); margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-band { padding: 40px 26px; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 36px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--orange), var(--green), var(--blue));
  border-radius: 3px;
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 6px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--orange);
}
.timeline-item:nth-child(3n+2)::before { border-color: var(--green); }
.timeline-item:nth-child(3n+3)::before { border-color: var(--blue); }
.timeline-item .year {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--orange);
  font-size: 1.1rem;
}

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar { width: 96px; height: 96px; font-size: 1.8rem; margin: 0 auto 16px; }
.team-card h3 { margin-bottom: .2em; }
.team-card .role { color: var(--orange); font-weight: 700; font-size: .95rem; margin-bottom: .8em; }

/* ---------- Programme detail ---------- */
.program { padding: 70px 0; border-bottom: 1px solid var(--line); }
.program:last-child { border-bottom: 0; }
.program:nth-child(even) .grid-2 > :first-child { order: 2; }
@media (max-width: 960px) { .program:nth-child(even) .grid-2 > :first-child { order: 0; } }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--font-head);
  margin: 0 6px 8px 0;
}
.tag.orange { background: var(--orange-soft); color: var(--orange-dark); }
.tag.green  { background: var(--green-soft);  color: var(--green-dark); }
.tag.blue   { background: var(--blue-soft);   color: var(--blue-dark); }

/* ---------- Donate ---------- */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.amount {
  padding: 16px 10px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-dark);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.amount:hover { border-color: var(--orange); }
.amount[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); }
.freq { display: flex; background: var(--bg-alt); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.freq button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink-soft);
  cursor: pointer;
}
.freq button[aria-pressed="true"] { background: #fff; color: var(--blue-dark); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.impact-note {
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  margin: 18px 0;
  font-size: .95rem;
}
.bank-box {
  background: var(--bg-alt);
  border: 1px dashed var(--blue);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.bank-box dt { font-weight: 700; color: var(--blue-dark); }
.bank-box dd { margin: 0; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--blue-dark); }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
textarea { min-height: 150px; resize: vertical; }
.field-error { color: #c62828; font-size: .85rem; margin-top: 4px; display: none; }
.invalid input, .invalid textarea, .invalid select { border-color: #c62828; }
.invalid .field-error { display: block; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.form-status.success { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-status.error { display: block; background: #fdecea; color: #c62828; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .icon { margin: 0; flex-shrink: 0; width: 52px; height: 52px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: .2em; }
.contact-item p { margin: 0; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
  background: var(--blue-soft);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue-dark);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- Newsletter ---------- */
.newsletter {
  display: flex;
  gap: 10px;
  max-width: 460px;
}
.newsletter input { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .6); }
.newsletter .btn { padding: 12px 20px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a2f52;
  color: rgba(255, 255, 255, .78);
  padding: 80px 0 0;
  font-size: .97rem;
}
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1em; }
.site-footer p { color: rgba(255, 255, 255, .72); }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-mark { height: 58px; width: auto; }
.footer-logo-text { height: 50px; width: auto; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid; place-items: center;
  transition: background .2s;
}
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 60px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .88rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s;
  display: grid;
  place-items: center;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.newsletter .field { flex: 1; }
.align-start { align-items: start; }
.gap-sm { gap: 18px; }
.btn-block { width: 100%; justify-content: center; }
.mb-0 { margin-bottom: 0; }
a.card { display: block; color: inherit; }
.icon strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; }
.pt-0 { padding-top: 0; }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--orange); }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--ink-soft); font-size: .9rem; }
