:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #2b3a8c;
  --brand-2: #002d6d;
  --leaf: #41b619;
  --border: #dbe2f0;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 15.5px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease, text-decoration-color 0.22s ease; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 248, 251, 0.72);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  border-bottom: 1px solid rgba(219, 228, 236, 0.78);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand > span:last-child { display: none; }
.header .brand img { height: 58px; width: auto; }
.footer .brand img { height: 112px; width: auto; }
.brand img { height: 52px; width: auto; }
.brand-title { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-weight: 800; color: var(--brand); }
.brand-subtitle { font-size: 11px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: rgba(15,23,42,0.78);
}
.nav a:hover, .nav a.active { background: var(--surface); color: var(--brand); box-shadow: 0 6px 20px rgba(43,58,140,0.12); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font: inherit; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn-primary { color: white; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px rgba(43,58,140,0.22); }
.btn-secondary { color: var(--text); background: rgba(255,255,255,0.86); border: 1px solid rgba(211,220,236,0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 8px 22px rgba(15,23,42,0.04); }
.btn-soft { color: white; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: saturate(135%) blur(10px); -webkit-backdrop-filter: saturate(135%) blur(10px); }
.mobile-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 22px; color: var(--brand); box-shadow: 0 6px 18px rgba(15,23,42,0.06); }
.mobile-menu { display: none; padding-bottom: 0; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-8px); transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, padding 0.22s ease; }
.mobile-menu a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.mobile-menu a.active, .mobile-menu a:hover { background: var(--surface); color: var(--brand); }
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(65,182,25,0.14), transparent 35%),
    radial-gradient(circle at top right, rgba(43,58,140,0.10), transparent 38%),
    linear-gradient(180deg, #f9fbfc 0%, #f3f7fa 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center; padding: 64px 0 72px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: white; border: 1px solid var(--border); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--brand);
}
.badge-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--leaf); }
.h1, h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", Inter, sans-serif; line-height: 1.12; margin: 0; }
.h1, h1 { font-size: clamp(34px, 4.7vw, 60px); font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.h2, h2 { font-size: clamp(28px, 3.7vw, 40px); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.hero p.lead, .lead { font-size: 17px; line-height: 1.72; color: var(--muted); max-width: 740px; text-wrap: pretty; }
.gradient-text { background: linear-gradient(135deg, var(--brand), var(--leaf)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.stat strong { display: block; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 34px; color: var(--brand); }
.stat span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img, .rounded-media { border-radius: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); width: 100%; height: auto; object-fit: cover; }
.hero-card {
  position: absolute;
  left: -18px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  border: 1px solid rgba(219, 228, 236, 0.7);
  border-radius: 24px;
  padding: 14px 18px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
  min-width: 340px;
  max-width: 430px;
}
.hero-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(65, 182, 25, 0.14);
  color: var(--leaf);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.hero-card-icon svg { width: 28px; height: 28px; }
.hero-card-body { min-width: 0; }

.section { padding: 86px 0; }
.section-tight { padding: 58px 0; }
.section-muted { background: rgba(238,243,247,0.62); }
.section-title { max-width: 760px; }
.eyebrow { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); }
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(15,23,42,0.04); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-2px); transition: 0.2s ease; box-shadow: var(--shadow); }
.no-hover-card:hover {
  transform: none !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
  border-color: var(--border) !important;
}
.icon {
  width: 50px; height: 50px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(43,58,140,0.10); color: var(--brand); font-size: 24px;
}
.card h3 { margin-top: 18px; font-size: 20px; }
.card p { color: var(--muted); margin: 10px 0 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; padding: 0; margin: 28px 0 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before { content: none; }
.quote {
  font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(24px, 2.65vw, 34px); line-height: 1.34; font-style: italic; text-align: center; text-wrap: balance; max-width: 1200px; margin: 0 auto;
}
.quote-sub { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; margin-top: 18px; }
.cta {
  position: relative; overflow: hidden; border-radius: 30px; padding: 42px; color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 20px 44px rgba(43,58,140,0.25);
}
.cta::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 240px; height: 240px; border-radius: 999px; background: rgba(65,182,25,0.24); filter: blur(26px); pointer-events: none; z-index: 0;
}
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.footer { margin-top: auto; border-top: 1px solid var(--border); background: rgba(238,243,247,0.5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 30px; padding: 52px 0; }
.footer p, .footer li { color: var(--muted); }
.footer ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.footer strong { display: block; font-family: "Plus Jakarta Sans", Inter, sans-serif; margin-bottom: 6px; }
.footer-bottom { position: relative; margin-top: 2px; padding: 18px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 13px; color: var(--muted); text-wrap: pretty; }
.footer-bottom::before { content: ""; position: absolute; left: 50%; top: 0; width: 100vw; transform: translateX(-50%); border-top: 1px solid var(--border); }
.meta-list { display: grid; gap: 16px; padding: 0; margin: 24px 0 0; list-style: none; }
.meta-list li, .contact-item { display: flex; gap: 14px; align-items: flex-start; }
.meta-list .icon, .contact-item .icon { width: 42px; height: 42px; border-radius: 14px; font-size: 20px; }
.kicker-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: white; border-radius: 22px; padding: 28px; margin-top: 28px;
}
.kicker-card p { margin: 4px 0 0; color: rgba(255,255,255,0.84); }
.person-badge-photo {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  flex: 0 0 auto;
  border: 3px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 30px rgba(8, 18, 54, 0.22);
  background: rgba(255,255,255,0.12);
}
.person-badge-photo--large {
  width: 148px;
  height: 148px;
}
.team-profile-head {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 30px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.team-profile-copy {
  min-width: 0;
}
.person-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
}
.person-card-copy {
  min-width: 0;
}
.person-card .eyebrow,
.team-profile-head .eyebrow {
  white-space: nowrap;
}

.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 14px 16px; font: inherit; color: var(--text);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(43,58,140,0.12); }
.notice { display: none; align-items: center; justify-content: center; text-align: center; min-height: 280px; }
.notice.show { display: flex; }
.form-panel.hide { display: none; }
.team-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.center { text-align: center; }
.refs .card strong { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand); }
.refs .card h3 { margin-top: 14px; }
.two-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.small-muted { font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) {
  .hero-grid, .cta-grid, .footer-grid, .team-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .two-images { grid-template-columns: 1fr; }
  .nav, .header-actions .btn-primary { display: none; }
  .mobile-toggle { display: inline-flex !important; }
  .mobile-menu { display: block; }
  .mobile-menu.open { max-height: 420px; opacity: 1; transform: translateY(0); padding: 8px 0 16px; }
  .hero-card { position: static; margin-top: 16px; min-width: 0; max-width: none; }
  .team-profile-head, .person-card { align-items: flex-start; }
}
@media (max-width: 720px) {
  .feature-list, .form-row, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-tight { padding: 44px 0; }
  .header-inner { min-height: 72px; }
  .cta, .card { padding: 22px; }
  .hero-grid { padding: 28px 0 38px; gap: 22px; }
  .header .brand img { height: 46px; }
  .footer .brand img { height: 96px; }
  .brand-subtitle { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom > div:last-child { align-self: flex-start; }
  .btn, button.btn { padding: 11px 16px; font-size: 14.5px; }
  .hero-copy,
  .hero-copy .lead,
  .hero-copy h1,
  .hero-copy .actions { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; max-width: 34ch; }
  .hero-copy .actions { justify-content: center; }
  .hero-copy .badge { margin-left: auto; margin-right: auto; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 30px; text-align: center; }
  .stat strong { font-size: 30px; line-height: 1; }
  .stat span { font-size: 10px; letter-spacing: 0.1em; }
  .h1, h1 { font-size: clamp(28px, 11vw, 52px); }
  .h2, h2 { font-size: clamp(24px, 8vw, 34px); }
  .lead, .hero p.lead { font-size: 15px; line-height: 1.65; }
  .quote { font-size: clamp(22px, 7vw, 28px); line-height: 1.4; }
  .hero-visual { max-width: 430px; margin: 0 auto; }
  .hero-visual img { min-height: 372px; object-fit: cover; object-position: center; }
  .hero-card {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 12px 14px;
    min-width: 0;
    gap: 12px;
    border-radius: 20px;
  }
  .hero-card-icon { width: 50px; height: 50px; }
  .hero-card-icon svg { width: 24px; height: 24px; }
  .hero-card .small-muted { font-size: 12px; }
  .hero-card strong { white-space: normal; font-size: 15px; line-height: 1.2; }
  .person-badge-photo { width: 84px; height: 84px; }
  .person-badge-photo--large { width: 148px; height: 148px; }
  .team-profile-head, .person-card { gap: 16px; padding: 22px 24px; }
}


.hp-field{position:absolute;left:-9999px;opacity:0;pointer-events:none;height:0;width:0;overflow:hidden;}
.form-error{margin-top:14px;color:#b42318;background:#fef3f2;border:1px solid #fecdca;padding:12px 14px;border-radius:12px;font-size:14px;}
button[disabled]{opacity:.7;cursor:not-allowed;}


.icon svg,
.icon-inline svg,
.mobile-toggle svg,
.notice-icon svg {
  display:block;
  width:22px;
  height:22px;
  stroke:currentColor;
}
.icon-inline {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  flex:0 0 auto;
}
.btn .icon-inline svg { width:16px; height:16px; }
.feature-list .icon-inline { width:20px; height:20px; color: var(--leaf); margin-top: 2px; }
.feature-list li { display:flex; align-items:flex-start; gap:10px; }
.btn .icon-inline:last-child { margin-left: 2px; }
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
}
.mobile-toggle svg { width:22px; height:22px; }
.notice-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  color: var(--leaf);
}
.footer-contact { list-style:none; margin:18px 0 0; padding:0; display:grid; gap:10px; }
.footer-contact li { display:flex; align-items:flex-start; gap:10px; color:var(--muted); }
.footer-contact .icon-inline { width:16px; height:16px; margin-top:2px; color:var(--brand); }

main a,
.footer a,
.mobile-menu a,
.nav a,
.brand,
.footer-contact a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

main p a,
main li a,
.footer a,
.meta-list a,
.contact-item a,
.footer-contact a {
  text-decoration: underline;
  text-decoration-color: transparent;
}

main p a:hover,
main li a:hover,
.footer a:hover,
.meta-list a:hover,
.contact-item a:hover,
.footer-contact a:hover,
.brand:hover {
  color: var(--brand-2);
  text-decoration-color: currentColor;
}

.nav a:hover,
.nav a.active,
.mobile-menu a:hover,
.mobile-menu a.active {
  transform: translateY(-1px);
}

.btn:hover,
button.btn:hover {
  transform: translateY(-1px);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(43,58,140,0.24);
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
}

.btn-secondary:hover {
  color: var(--brand-2);
  border-color: rgba(43,58,140,0.16);
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}

.btn-soft:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.28);
}

.icon,
.meta-list .icon,
.contact-item .icon {
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border: 1px solid rgba(43,58,140,0.04);
}

.icon-inline,
.icon-inline svg,
.mobile-toggle,
.mobile-toggle svg {
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}



.grid-4 > .card:hover .icon,
.grid-3 > .card:hover .icon,
.meta-link:hover .icon,
.team-contact-card:hover .icon,
.mobile-toggle:hover {
  color: var(--brand-2);
  background: linear-gradient(135deg, rgba(43,58,140,0.12), rgba(65,182,25,0.18));
  border-color: rgba(65,182,25,0.18);
  box-shadow: 0 12px 28px rgba(43,58,140,0.14);
  transform: translateY(-2px) scale(1.03);
}

.btn:hover .icon-inline,
a:hover .icon-inline,
.footer-contact li:hover .icon-inline,
.nav a:hover .icon-inline,
.mobile-toggle:hover svg {
  color: var(--leaf);
  transform: translateX(1px);
}

.footer-contact li:hover .icon-inline,
.footer-contact li:hover a {
  color: var(--brand-2);
}

.brand img,
.rounded-media,
.hero-card,
.cta,
.stat,
.kicker-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.rounded-media:hover,
.hero-card:hover,
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(15,23,42,0.12);
}

.quote,
.quote-sub,
.section-title,
.hero-copy,
.cta,
.footer-grid,
.footer-bottom {
  text-wrap: balance;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.68s cubic-bezier(.2,.65,.2,1), transform 0.68s cubic-bezier(.2,.65,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal.fade-scale {
  transform: translateY(20px) scale(0.985);
}

@media (max-width: 1024px) {
  body { font-size: 15px; }
  .quote { max-width: 980px; }
}

@media (max-width: 720px) {
  .h1, h1 { font-size: clamp(30px, 9vw, 44px); }
  .h2, h2 { font-size: clamp(24px, 7vw, 34px); }
  .lead, .hero p.lead { font-size: 16px; }
  .quote { font-size: clamp(22px, 7vw, 28px); line-height: 1.4; }
}

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

@media (max-width: 720px) {
  .form-panel button[type="submit"] {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-card .small-muted {
  font-size: 13px;
  line-height: 1.2;
  color: #6e7d98;
  margin-bottom: 4px;
}
.hero-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.16;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.intro-block { padding-bottom: 18px; }
.compact-follow { padding-top: 6px; }
.meta-link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: inherit;
  width: 100%;
}
.meta-link:hover { color: inherit; text-decoration-color: transparent; }
.meta-link .icon { flex: 0 0 auto; }
.meta-list li.static-item:hover .icon {
  color: var(--brand);
  background: rgba(43,58,140,0.10);
  border-color: rgba(43,58,140,0.04);
  box-shadow: none;
  transform: none;
}
.js-reveal-media { opacity: 0; transform: translateY(22px) scale(0.985); }
.js-reveal-media.in-view { opacity: 1; transform: none; }

/* Team hover refinement */
.team-profile:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}
.team-contact-card {
  position: relative;
  overflow: hidden;
}
.team-contact-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(43,58,140,0.14);
}
.team-contact-card:hover .icon {
  color: var(--brand-2);
  background: linear-gradient(135deg, rgba(43,58,140,0.12), rgba(65,182,25,0.18));
  border-color: rgba(65,182,25,0.18);
  box-shadow: 0 12px 28px rgba(43,58,140,0.14);
  transform: translateY(-1px) scale(1.02);
}

/* Clients logos */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.client-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 106px;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(238,243,247,0.8), rgba(255,255,255,0.95));
  border: 1px solid var(--border);
}
.client-logo-wrap--placeholder {
  color: var(--brand);
  font-size: 42px;
  font-weight: 800;
}
.client-logo {
  max-width: 170px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-card h3 {
  margin-top: 12px;
}
.client-card p {
  margin-top: 8px;
}
.client-card--cta {
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(238,243,247,0.88));
}

/* Legal page */
.legal-grid {
  align-items: start;
}
.legal-card h3 + p,
.legal-card h3 + ul {
  margin-top: 14px;
}
.legal-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.legal-list li {
  color: var(--muted);
}
.legal-list strong {
  color: var(--text);
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}
.consent-row span {
  display: inline;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.form-note {
  margin: -4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .client-logo-wrap {
    min-height: 92px;
  }
}


/* Page-specific spacing refinements */
.page-clients .section:first-of-type,
.page-equipe .section:first-of-type {
  padding-bottom: 28px;
}
.page-clients .refs.section-tight,
.page-equipe .team-intro.section-tight {
  padding-top: 18px;
}
.page-equipe .team-grid {
  align-items: start;
}
.page-equipe .section-title {
  max-width: 900px;
}

/* About image reveal target */
.js-reveal-media {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.72s cubic-bezier(.2,.65,.2,1), transform 0.72s cubic-bezier(.2,.65,.2,1);
  will-change: opacity, transform;
}
.js-reveal-media.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal-media {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Final home + mobile refinements */
.hero .badge {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.14);
  -webkit-backdrop-filter: blur(16px) saturate(1.14);
  border-color: rgba(219, 228, 236, 0.74);
}
.hero p.lead {
  max-width: 640px;
}
.hero-card-body {
  min-width: 0;
}
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0 48px;
  }
  .hero-copy,
  .hero-grid > div:first-child {
    max-width: 100%;
  }
  .hero-visual {
    margin-top: 4px;
  }
  .hero-card {
    left: 18px;
    bottom: 18px;
    min-width: 0;
    max-width: min(430px, calc(100% - 36px));
  }
}
@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
  .hero-grid {
    gap: 20px;
    padding: 20px 0 34px;
  }
  .hero-grid > div:first-child {
    text-align: left;
  }
  .hero .badge {
    font-size: 11px;
    padding: 7px 13px;
  }
  .h1, h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.048em;
  }
  .hero p.lead,
  .lead {
    font-size: 15px;
    line-height: 1.56;
    max-width: none;
  }
  .actions {
    margin-top: 18px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .actions .btn {
    width: 100%;
    max-width: 272px;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
  }
  .stat strong {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat span {
    font-size: 10px;
    letter-spacing: 0.09em;
  }
  .hero-visual {
    margin-top: 2px;
  }
  .hero-visual img {
    width: 100%;
    aspect-ratio: 0.88;
    object-fit: cover;
    border-radius: 30px;
  }
  .hero-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    margin-top: 0;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 22px;
    position: absolute;
  }
  .hero-card-icon {
    width: 50px;
    height: 50px;
  }
  .hero-card-icon svg {
    width: 24px;
    height: 24px;
  }
  .hero-card .small-muted {
    font-size: 12px;
    margin-bottom: 3px;
  }
  .hero-card strong {
    font-size: 14px;
    white-space: normal;
  }
  .hero-card-body {
    overflow: hidden;
  }
  .section {
    padding: 56px 0;
  }
  .section-tight {
    padding: 40px 0;
  }
  .intro-block {
    padding-bottom: 10px;
  }
  .compact-follow {
    padding-top: 0;
  }
}


/* Mobile centering refinements across pages */
@media (max-width: 720px) {
  .section-title,
  .section-title.center,
  .section-title h1,
  .section-title h2,
  .section-title p,
  .section-title .eyebrow,
  .center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .actions,
  .hero-copy .actions,
  .cta .actions {
    justify-content: center;
    align-items: center;
  }

  .btn,
  button.btn {
    margin-left: auto;
    margin-right: auto;
  }

  .card,
  .client-card,
  .refs .card,
  .legal-card,
  .quote,
  .quote-sub {
    text-align: center;
  }

  .card .icon,
  .client-logo-wrap,
  .meta-list .icon,
  .contact-item .icon,
  .person-card .person-badge-photo,
  .team-profile-head .person-badge-photo {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list {
    justify-items: center;
  }

  .feature-list li {
    justify-content: center;
    text-align: center;
  }

  .feature-list .icon-inline {
    margin-top: 0;
  }

  .team-profile-head,
  .person-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .person-card-copy,
  .team-profile-copy {
    text-align: center;
  }

  .meta-list li,
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .meta-list li > div,
  .contact-item > div {
    text-align: center;
  }

  .clients-grid .client-card {
    align-items: center;
  }

  .client-card strong,
  .client-card h3,
  .client-card p {
    text-align: center;
    width: 100%;
  }

  .client-logo-wrap {
    width: 100%;
  }

  .cta-grid,
  .cta-grid > div {
    text-align: center;
    justify-items: center;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer .brand {
    justify-content: center;
  }

  .footer p,
  .footer strong,
  .footer ul,
  .footer-contact {
    text-align: center;
  }

  .footer ul,
  .footer-contact {
    justify-items: center;
  }

  .footer ul li,
  .footer-contact li {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-bottom > div:last-child {
    align-self: center;
  }
}


/* Contact page mobile alignment fix */
@media (max-width: 720px) {
  .page-contact .section-title,
  .page-contact .section-title.center,
  .page-contact .section-title h1,
  .page-contact .section-title h2,
  .page-contact .section-title p,
  .page-contact .section-title .eyebrow {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact .grid.grid-2 {
    gap: 18px;
  }

  .page-contact .card {
    text-align: left;
  }

  .page-contact aside.card h3,
  .page-contact .form-panel,
  .page-contact .form-grid,
  .page-contact label,
  .page-contact label span,
  .page-contact .form-note,
  .page-contact .consent-row,
  .page-contact .notice {
    text-align: left;
  }

  .page-contact .meta-list {
    gap: 14px;
    margin-top: 20px;
  }

  .page-contact .meta-list li,
  .page-contact .meta-link,
  .page-contact .static-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
  }

  .page-contact .meta-link,
  .page-contact .static-item {
    width: 100%;
  }

  .page-contact .meta-link .icon,
  .page-contact .static-item .icon {
    margin-left: 0;
    margin-right: 0;
    flex: 0 0 auto;
  }

  .page-contact .meta-link > div,
  .page-contact .static-item > div {
    text-align: left;
    min-width: 0;
  }

  .page-contact .person-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 18px 20px;
  }

  .page-contact .person-card .person-badge-photo {
    margin-left: 0;
    margin-right: 0;
    width: 74px;
    height: 74px;
  }

  .page-contact .person-card-copy,
  .page-contact .person-card-copy h3,
  .page-contact .person-card-copy p,
  .page-contact .person-card .eyebrow {
    text-align: left;
  }

  .page-contact .person-card-copy h3 {
    font-size: 28px !important;
  }

  .page-contact .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-contact label span {
    margin-bottom: 8px;
  }

  .page-contact input,
  .page-contact textarea {
    text-align: left;
  }

  .page-contact textarea {
    min-height: 160px;
  }

  .page-contact .consent-row {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .page-contact .consent-row span {
    text-align: left;
  }

  .page-contact .btn,
  .page-contact button.btn {
    margin-left: auto;
    margin-right: auto;
  }
}
