/* ============================================================
   Hallinger Properties
   Estate-agency design system: white / estate green / gold
   ============================================================ */

:root {
  --green-950: #142b1a;
  --green-900: #17361f;   /* testimonial band */
  --green-800: #1f4527;   /* dark buttons */
  --green-600: #4a7c3f;   /* logo + accents */
  --green-500: #4c8b3f;   /* mid buttons */
  --green-400: #63a53f;   /* bright (chat button) */
  --gold: #f2c14e;
  --footer: #263427;
  --footer-dark: #1d2920;
  --ink: #3c4043;         /* headings */
  --gray: #5f6368;        /* body text */
  --line: #e4e4e4;
  --bg-soft: #f5f5f4;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  background: #fff;
}

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

h1, h2, h3, h4 { margin: 0 0 0.6em; color: var(--ink); line-height: 1.2; }

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1240px, calc(100% - 3rem)); margin: 0 auto; }

.center { text-align: center; }

.section { padding: 4.5rem 0; }

.section-lede {
  max-width: 62rem;
  margin: 0 auto 1rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 2;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
  text-align: center;
}

.btn-dark { background: var(--green-800); }
.btn-dark:hover { background: var(--green-950); }

.btn-mid { background: var(--green-500); }
.btn-mid:hover { background: var(--green-600); }

.btn-outline { background: transparent; border-color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none !important; }

.brand-mark {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green-600);
  border: 2px solid var(--green-600);
  border-radius: 50%;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green-600);
  line-height: 1;
}

.brand-name small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-800);
}

.header-actions { display: flex; align-items: center; gap: 1.6rem; }

.header-link {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}
.header-link:hover { color: var(--green-600); text-decoration: none; }

.icon-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--green-800);
  display: grid;
  place-items: center;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { color: var(--green-500); }

/* ---------- Drawer menu ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: min(360px, 88vw);
  height: 100%;
  background: var(--green-900);
  z-index: 80;
  transition: right 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open { right: 0; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-head span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
}

.drawer nav { padding: 1rem 0 2rem; }

.drawer a {
  display: block;
  padding: 0.85rem 1.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.drawer a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }

.drawer .drawer-label {
  display: block;
  padding: 1.4rem 1.6rem 0.4rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  transform: scale(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 12, 0.28);
}

.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1000px; }

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: #fff;
  margin: 0 0 0.35em;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 2.6rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

/* ---------- Intro ---------- */

.intro h2 { color: var(--green-600); }

/* ---------- Photo bands (valuation etc.) ---------- */

.photo-band {
  position: relative;
  padding: 6rem 1.5rem;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}
.photo-band.dark::before { background: rgba(12, 24, 14, 0.5); }

.photo-band > * { position: relative; z-index: 2; }

.photo-band h2 { font-size: 2rem; }
.photo-band.dark h2, .photo-band.dark .band-sub { color: #fff; }

.band-sub {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 1.2rem 0 2.2rem;
}

.photo-band .btn-outline { border-color: var(--ink); color: var(--ink); }
.photo-band .btn-outline:hover { background: rgba(0, 0, 0, 0.06); }
.photo-band.dark .btn-outline { border-color: #fff; color: #fff; }
.photo-band.dark .btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Service tiles ---------- */

.tile-grid { display: grid; gap: 6px; margin-top: 3rem; }
.tile-row-2 { grid-template-columns: 1fr 1fr; }
.tile-row-3 { grid-template-columns: 1fr 1fr 1fr; margin-top: 6px; }

.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  background-size: cover;
  background-position: center;
  text-decoration: none !important;
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  transition: background 0.25s ease;
}
.tile:hover::before { background: rgba(15, 40, 18, 0.55); }

.tile span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 400;
  text-align: center;
  padding: 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* ---------- Blog ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.35); }

.blog-card .blog-img { height: 190px; background-size: cover; background-position: center; }

.blog-body { padding: 1.2rem 1.3rem 1.5rem; }

.blog-meta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa0a6;
  margin-bottom: 0.7rem;
}
.blog-meta b { color: var(--green-600); font-weight: 500; }

.blog-card h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.45; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.88rem; margin: 0; }

/* ---------- Accreditations ---------- */

.accreditations { border-top: 1px solid var(--line); padding: 3rem 0; }

.accreditation-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 3.5rem;
  align-items: center;
}

.accreditation {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa0a6;
  border: 1px solid var(--line);
  padding: 0.8rem 1.4rem;
  text-align: center;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  padding: 6.5rem 1.5rem;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(12, 24, 14, 0.5); }
.page-hero h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #fff;
  margin: 0;
}

/* ---------- Cards / forms (interior pages) ---------- */

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: start; }

.panel { background: #fff; border: 1px solid var(--line); padding: 2.2rem; }

.panel h3 { font-size: 1.25rem; font-weight: 700; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(76, 139, 63, 0.4);
  border-color: var(--green-500);
}

.info-rows { margin-top: 0.5rem; }
.info-rows .row { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.info-rows .row:last-child { border-bottom: none; }
.info-rows .row b {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.15rem;
}

/* ---------- Prose pages ---------- */

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.55rem; margin: 2.6rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; font-weight: 700; margin: 1.8rem 0 0.5rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45rem; }
.prose .updated {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa0a6;
  margin-bottom: 2rem;
}

section[id] { scroll-margin-top: 100px; }

.breadcrumbs {
  font-size: 0.78rem;
  color: #9aa0a6;
  margin-bottom: 1.6rem;
}
.breadcrumbs a { color: var(--green-600); }

.article-img { margin: 2.4rem 0; }
.article-img img { display: block; width: 100%; height: auto; }

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.6rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.author-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
}
.author-avatar svg,
.author-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.article-byline .who b { display: block; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.article-byline .who span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa0a6;
}
.article-byline .who span i { font-style: normal; color: var(--green-600); }

.fee-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.fee-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.fee-list li b { font-weight: 500; color: var(--ink); }
.fee-list li span { text-align: right; white-space: nowrap; }

/* ---------- Login ---------- */

.login-panel {
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2.5rem;
}

.login-panel h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.login-panel > p { font-size: 0.92rem; margin-bottom: 1.5rem; }
.login-panel .field { margin-bottom: 1.15rem; }

.login-error {
  background: #fdecea;
  border: 1px solid #f0c2bb;
  color: #a1382b;
  font-size: 0.85rem;
  line-height: 1.55;
  padding: 0.75rem 0.95rem;
  margin: 0 0 1.15rem;
}

.login-note { font-size: 0.82rem; color: var(--gray); margin: 1.1rem 0 0; }

/* ---------- Portal cards ---------- */

.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }

.portal-card { border: 1px solid var(--line); padding: 2.5rem; text-align: center; }

.portal-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--green-600);
  display: grid;
  place-items: center;
}
.portal-card .icon svg { width: 34px; height: 34px; }

.portal-card ul {
  list-style: none;
  margin: 1.2rem 0 1.8rem;
  padding: 0;
  font-size: 0.92rem;
}
.portal-card li { padding: 0.4rem 0; border-bottom: 1px solid var(--bg-soft); }
.portal-card li:last-child { border-bottom: none; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green-800);
  color: #fff;
  padding: 0.9rem 1.6rem;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Floating message button ---------- */

.chat-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 65;
  background: var(--green-400);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-decoration: none !important;
}
.chat-fab:hover { background: var(--green-500); }

/* ---------- Chat window ---------- */

.chat-window {
  position: fixed;
  right: 1.4rem;
  bottom: 5rem;
  z-index: 90;
  width: min(350px, calc(100vw - 2rem));
  height: min(480px, calc(100vh - 8rem));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-window.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: var(--green-800);
  color: #fff;
  padding: 1rem 1.2rem;
}
.chat-head b { display: block; font-weight: 500; font-size: 1rem; }
.chat-head small { display: block; font-size: 0.74rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.2rem; }

.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
}
.chat-msg.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--green-500);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border-radius: 50%;
  background: #b5b5b5;
  animation: chat-bounce 1s infinite;
}
.chat-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.3s; margin-right: 0; }

@keyframes chat-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.chat-input-row {
  display: flex;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chat-input-row input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  color: var(--ink);
}
.chat-input-row button {
  border: none;
  background: var(--green-500);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0 1.3rem;
  cursor: pointer;
}
.chat-input-row button:hover { background: var(--green-600); }

/* ---------- Footer ---------- */

.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.75); }

.footer-top { padding: 2.5rem 0 0.5rem; }

.footer-accordion { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

.footer-accordion > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.3rem 0;
  cursor: pointer;
  text-align: left;
}

.footer-accordion > button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}
.footer-accordion.open > button::after { transform: rotate(225deg); margin-top: 4px; }

.footer-accordion .acc-panel { display: none; padding: 0 0 1.5rem; }
.footer-accordion.open .acc-panel { display: block; }

.acc-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 4;
  column-gap: 2rem;
}
.acc-panel li { margin-bottom: 0.55rem; font-size: 0.88rem; }
.acc-panel a { color: rgba(255, 255, 255, 0.65); }
.acc-panel a:hover { color: #fff; }

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0 3rem;
}

.footer-main h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }

.footer-links a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  padding: 0.42rem 0;
}
.footer-links a::before {
  content: "\203A";
  color: var(--green-400);
  font-weight: 700;
}
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-office p { font-size: 0.92rem; margin-bottom: 1.1rem; }
.footer-office b { display: block; color: #fff; font-weight: 500; margin-bottom: 0.1rem; }
.footer-office a { color: rgba(255, 255, 255, 0.75); }

.footer-bottom {
  background: var(--footer-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); margin-left: 1.4rem; }
.footer-bottom a:hover { color: #fff; }

.footer-legal {
  display: block;
  flex: 1 1 100%;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.38);
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .acc-panel ul { columns: 2; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-link { display: none; }
  .hero { min-height: 76vh; }
  .tile-row-2, .tile-row-3 { grid-template-columns: 1fr; }
  .tile { min-height: 240px; }
  .blog-grid, .portal-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .acc-panel ul { columns: 1; }
  .section { padding: 3.2rem 0; }
}
