/* =========================================================
   REMA (Rotherham Ethnic Minority Alliance) - Design System v2
   Proposed purple led brand refresh. Colours below are a
   professional proposed palette. They have not been confirmed
   against REMA's official brand guidelines because no brand
   files were supplied. REMA management should approve this
   palette and the refreshed logo before publication.
   ========================================================= */

:root {
  /* Brand purple, the anchor colour */
  --purple-900: #173A5E;
  --purple-800: #173A5E;
  --purple-700: #245C8A;
  --purple-600: #347EAD;
  --purple-100: #EAF6FB;

  /* Supporting accent family */
  --teal-700: #168C86;
  --teal-100: #E4F4F1;
  --coral-600: #D6533C;
  --coral-700: #C94A34;
  --coral-100: #FBE9E4;
  --orange-500: #E3A62F;
  --orange-100: #FBF1D8;
  --gold-500: #E3A62F;
  --gold-100: #FBF1D8;

  /* Neutrals */
  --cream-50: #FAF7F1;
  --cream-100: #FBF1D8;
  --white: #FFFFFF;
  --ink-900: #17324A;
  --ink-600: #17324A;
  --border: #D9E9F1;

  /* Feedback */
  --success-bg: #E4F5EA;
  --success-text: #1B5E33;
  --error-bg: #FBEAEA;
  --error-text: #9B2C2C;
  --placeholder-bg: #FBF1D8;
  --placeholder-border: #E3A62F;

  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(23, 58, 94, 0.08);
  --shadow-md: 0 10px 30px rgba(23, 58, 94, 0.14);

  --space-1: 8px;
  --space-2: 14px;
  --space-3: 20px;
  --space-4: 28px;
  --space-5: 40px;
  --space-6: 60px;
  --space-7: 88px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--purple-800);
}

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

a { color: var(--purple-700); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--coral-600); }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--purple-800);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; top: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #245C8A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== Decorative layered background shapes ===== */
.bg-shapes { position: relative; overflow: hidden; }
.bg-shapes::before,
.bg-shapes::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 0;
  opacity: 0.5;
}
.bg-shapes.shapes-hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(98,182,216,0.28), transparent 70%);
  top: -160px; right: -120px;
}
.bg-shapes.shapes-hero::after {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(52,126,173,0.30), transparent 70%);
  bottom: -180px; left: -100px;
}
.bg-shapes.shapes-soft::before {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(36,92,138,0.06), transparent 70%);
  top: -100px; left: -80px;
}
.bg-shapes.shapes-soft::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(23,58,94,0.07), transparent 70%);
  bottom: -100px; right: -60px;
}
.bg-shapes > .container { position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
  background: #F9F2EB;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.logo-link { display: block; text-decoration: none; flex-shrink: 0; }
.logo-link img {
  width: 230px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 999px;
}
.main-nav a:hover { background: var(--purple-100); color: var(--purple-800); }
.main-nav a[aria-current="page"] { background: var(--purple-700); color: #fff; }

.nav-toggle {
  display: none;
  background: var(--purple-700);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  flex-shrink: 0;
}
.header-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-700);
  flex-shrink: 0;
  line-height: 0;
}
.header-social-icon svg { width: 20px; height: 20px; display: block; }
.header-social-icon:hover { background: var(--purple-700); color: #fff; }

@media (max-width: 1024px) {
  .logo-link img { width: 180px; }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 10px;
    max-height: 80vh;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; border-radius: 10px; }
  .nav-toggle { display: inline-block; }
  .logo-link img { width: 155px; }
  .header-social { gap: 6px; margin-left: 6px; }
  .header-social-icon { width: 36px; height: 36px; }
  .header-social-icon svg { width: 17px; height: 17px; }
}

@media (max-width: 480px) {
  .logo-link img { width: 140px; }
  .header-social-icon { width: 34px; height: 34px; }
  .header-social-icon svg { width: 16px; height: 16px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 16px;
  font-family: var(--font-body);
  text-align: center;
}
.btn-primary { background: var(--purple-700); color: #fff; }
.btn-primary:hover { background: var(--purple-800); color: #fff; }
.btn-gold { background: var(--gold-500); color: #17324A; }
.btn-gold:hover { background: #C68A1E; color: #17324A; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-outline { background: transparent; color: var(--purple-700); border-color: var(--purple-700); }
.btn-outline:hover { background: var(--purple-700); color: #fff; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(150deg, var(--purple-900) 0%, var(--purple-700) 62%, var(--purple-600) 100%);
  color: #fff;
  padding: 76px 0 68px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 10px; }
.hero .strapline {
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 700;
  color: #62B6D8;
  margin: 0 0 18px;
  font-family: var(--font-heading);
}
.hero p.lead { max-width: 720px; font-size: 18px; color: #EAF6FB; }

.page-hero {
  background: linear-gradient(150deg, var(--purple-800) 0%, var(--purple-700) 100%);
  color: #fff;
  padding: 54px 0;
}
.page-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); }
.page-hero p { margin: 0; color: #EAF6FB; font-size: 17px; max-width: 780px; }
.page-hero .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: var(--gold-500);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ===== Sections ===== */
section { padding: var(--space-6) 0; }
section.alt { background: var(--purple-100); }
section.tint { background: var(--teal-100); }
.section-title {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  color: var(--purple-800);
}
.section-eyebrow {
  display: inline-block;
  color: var(--coral-700);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-intro { max-width: 760px; color: var(--ink-600); margin-bottom: 34px; font-size: 17px; }

/* ===== Icon badges ===== */
.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 28px; height: 28px; stroke: currentColor; }
.icon-purple { background: var(--purple-100); color: var(--purple-700); }
.icon-teal { background: var(--teal-100); color: var(--teal-700); }
.icon-coral { background: var(--coral-100); color: var(--coral-600); }
.icon-orange { background: var(--orange-100); color: var(--orange-500); }
.icon-gold { background: var(--gold-100); color: #B9791A; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-decoration: none;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  border-top: 5px solid var(--purple-700);
}
.service-card.accent-teal { border-top-color: var(--teal-700); }
.service-card.accent-coral { border-top-color: var(--coral-600); }
.service-card.accent-orange { border-top-color: var(--orange-500); }
.service-card.accent-gold { border-top-color: var(--gold-500); }
.service-card.accent-purple { border-top-color: var(--purple-700); }
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card h3 { margin: 0; font-size: 20px; }
.service-card p { margin: 0; color: var(--ink-600); font-size: 15px; }
.service-card .card-link { margin-top: auto; font-weight: 700; text-decoration: underline; color: var(--purple-700); }

/* ===== Impact stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card.is-placeholder { border: 2px dashed var(--placeholder-border); box-shadow: none; }
.stat-card .number { font-size: 42px; font-weight: 800; color: var(--purple-700); display: block; font-family: var(--font-heading); }
.stat-card .label { color: var(--ink-600); font-size: 15px; margin-top: 6px; }

.placeholder-flag {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7A5310;
  background: var(--placeholder-bg);
  border: 1px solid var(--placeholder-border);
  padding: 3px 10px;
  border-radius: 999px;
}

.placeholder-box {
  background: var(--placeholder-bg);
  border: 1.5px dashed var(--placeholder-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 15px;
  color: #7A5310;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.placeholder-box svg { flex-shrink: 0; width: 22px; height: 22px; stroke: #B9791A; margin-top: 2px; }
.placeholder-box strong { color: #7A5310; }

/* ===== Photo panel (used where real photography is not yet available) ===== */
.photo-panel {
  border-radius: var(--radius-lg);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--teal-700), var(--purple-700) 60%, var(--coral-600));
}
.photo-panel-image { background: none; padding: 0; }
.photo-panel-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.photo-caption {
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 8px;
}
.photo-panel .photo-panel-label {
  background: rgba(23,58,94,0.55);
  border: 1px dashed rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  max-width: 420px;
}

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.news-grid-compact { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--gold-500);
}
.news-grid-compact .news-card { padding: 18px; }
.news-grid-compact .news-card h3 { font-size: 17px; }
.news-grid-compact .news-card p { font-size: 14px; margin: 0; }
.news-card time { font-size: 13px; color: var(--ink-600); text-transform: uppercase; letter-spacing: 0.05em; }
.news-card h3 { margin: 8px 0; color: var(--purple-800); font-size: 19px; }

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

/* ===== Forms ===== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  max-width: 660px;
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; color: var(--purple-800); }
.form-field .hint { font-size: 13px; color: var(--ink-600); margin-top: 4px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: var(--cream-50);
  color: var(--ink-900);
}
.form-field input:focus, .form-field textarea:focus { background: #fff; }
.required-mark { color: var(--error-text); }
.form-error { color: var(--error-text); font-size: 13px; margin-top: 5px; display: none; }
.form-error.visible { display: block; }
fieldset { border: 1.5px solid var(--border); border-radius: 12px; padding: 16px 18px; margin: 0 0 20px; }
fieldset legend { font-weight: 700; padding: 0 6px; color: var(--purple-800); }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: auto; margin-top: 4px; }
.privacy-note {
  font-size: 13px;
  color: var(--ink-600);
  background: var(--purple-100);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.form-success, .form-fail { display: none; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; font-weight: 600; }
.form-success { background: var(--success-bg); color: var(--success-text); }
.form-fail { background: var(--error-bg); color: var(--error-text); }
.form-success.visible, .form-fail.visible { display: block; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

/* ===== Contact details ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details dt { font-weight: 700; color: var(--purple-800); margin-top: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-details dd { margin: 3px 0 0; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== Team / trustees ===== */
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; align-items: stretch; }

/* Trustees grid only: four columns on desktop, with the fifth and sixth
   cards centred on their own row beneath the first four. */
#trustees-heading ~ .people-grid {
  grid-template-columns: repeat(4, 1fr);
}
#trustees-heading ~ .people-grid .person-card:nth-child(5) { grid-column: 2; }
#trustees-heading ~ .people-grid .person-card:nth-child(6) { grid-column: 3; }

@media (max-width: 900px) {
  #trustees-heading ~ .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #trustees-heading ~ .people-grid .person-card:nth-child(5),
  #trustees-heading ~ .people-grid .person-card:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  #trustees-heading ~ .people-grid {
    grid-template-columns: 1fr;
  }
}
.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(36,25,51,0.06));
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.person-card .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; line-height: 1;
  flex-shrink: 0;
}
.avatar-purple { background: #245C8A; color: #FFFFFF; }
.avatar-teal   { background: #168C86; color: #FFFFFF; }
.avatar-coral  { background: #D6533C; color: #FFFFFF; }
.avatar-orange { background: #FBF1D8; color: #17324A; }
.avatar-gold   { background: #E3A62F; color: #17324A; }
.avatar-green  { background: #2F8057; color: #FFFFFF; }
.person-card h3 { margin: 4px 0; font-size: 16px; }
.person-card p { margin: 0; font-size: 14px; color: var(--ink-600); }

/* ===== Service detail pages ===== */
.service-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.service-meta div dt { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-600); }
.service-meta div dd { margin: 4px 0 0; }

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.jump-links a {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.jump-links a:hover { background: rgba(255,255,255,0.24); }

.related-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-700, var(--ink-600));
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--purple-700);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 7px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ===== Testimonial ===== */
.testimonial {
  background: var(--white);
  border-left: 6px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  font-size: 19px;
  font-style: italic;
  color: var(--ink-900);
}
.testimonial cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--purple-800); }

/* ===== Facebook / X social embeds ===== */
.social-feeds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 20px; }
.social-feed-panel { min-width: 0; }
.social-feed-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; margin: 0 0 10px; color: var(--purple-800);
}
.social-embed-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 220px;
  max-width: 100%;
  overflow: hidden;
}
.social-embed-wrap iframe { max-width: 100%; }
.social-consent-notice { text-align: center; padding: 32px 16px; }
.social-consent-notice button { margin-top: 14px; }

@media (max-width: 800px) {
  .social-feeds-grid { grid-template-columns: 1fr; }
}

/* ===== Cookie banner ===== */
#cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--purple-900); color: #fff; padding: 20px; z-index: 900; display: none; }
#cookie-banner.visible { display: block; }
.cookie-banner-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.cookie-banner-inner p { margin: 0; font-size: 14px; max-width: 640px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner-actions button { border: none; border-radius: 999px; padding: 11px 18px; font-weight: 700; cursor: pointer; font-size: 14px; }
#cookie-accept { background: #245C8A; color: #FFFFFF; }
#cookie-reject { background: transparent; color: #fff; border: 1.5px solid #fff; }

/* ===== Footer ===== */
.site-footer { background: var(--purple-900); color: #EAF6FB; padding: 54px 0 26px; margin-top: 40px; }

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 32px;
}
.footer-logo-img { width: 180px; height: auto; max-width: 100%; display: block; margin-bottom: 12px; }
.footer-strapline { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: #fff; margin: 0 0 8px; }
.footer-reg { font-size: 12.5px; color: #EAF6FB; margin: 0 0 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social .footer-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.10); color: #62B6D8;
  flex-shrink: 0;
  line-height: 0;
  padding: 0;
}
.footer-social .footer-social-icon svg { width: 20px; height: 20px; display: block; margin: 0; }
.footer-social .footer-social-icon:hover { background: var(--gold-500); color: var(--ink-900); }

@media (max-width: 600px) {
  .footer-logo-img { width: 150px; }
}

.footer-grid-4 h2 { font-family: var(--font-heading); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-500); margin: 0 0 14px; }
.footer-grid-4 a { color: #62B6D8; text-decoration: none; display: block; padding: 5px 0; font-size: 14px; }
.footer-grid-4 a:hover { text-decoration: underline; color: #fff; }
.footer-grid-4 address a { padding: 0; display: inline; }

.footer-legal-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  padding-top: 18px; margin-bottom: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.footer-legal-row a, .footer-legal-row button {
  font-size: 13px; color: #EAF6FB; text-decoration: none;
  background: none; border: none; cursor: pointer; padding: 0;
}
.footer-legal-row a:hover, .footer-legal-row button:hover { text-decoration: underline; color: #FFFFFF; }

@media (max-width: 900px) {
  .footer-grid-4 { grid-template-columns: 1fr; gap: 26px; }
  .footer-col-brand { order: 1; }
  .footer-col-contact { order: 2; }
  .footer-col-links { order: 3; }
  .footer-col-services { order: 4; }
}

.footer-bottom {
  margin-top: 0;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: #EAF6FB;
}
.footer-bottom button { background: none; border: none; color: #EAF6FB; text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }

/* ===== Utility ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
ul.plain { list-style: none; padding: 0; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.tag { display: inline-block; background: var(--cream-100); border: 1px solid var(--border); border-radius: 999px; padding: 4px 13px; font-size: 13px; font-weight: 600; color: var(--purple-800); margin: 2px 4px 2px 0; }
.tag.tag-accent { background: var(--gold-100); color: #7A5310; border-color: var(--gold-500); }

.divider-wave { height: 46px; background: var(--cream-50); }

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  section { padding: var(--space-5) 0; }
  .form-card, .service-meta { padding: 20px; }
}
