:root {
  --bg: #FFFFFF;
  --bg-2: #F6F7F5;
  --bg-3: #EDEFEB;
  --ink: #0E1B17;
  --ink-2: #1F2D27;
  --ink-soft: #4A5953;
  --muted: #76847D;
  --rule: #E2E5DF;
  --rule-2: #D2D7CE;
  --accent: #1A2D6E;       /* deep navy from logo */
  --accent-2: #1A8FBE;     /* teal blue from logo */
  --accent-soft: #E6EAF3;
  --gold: #B68A3A;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
  font-size: 16px;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 780px) { .container { padding: 0 22px; } }

/* ===== Type ===== */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.02em; }
h3 { font-size: 22px; font-weight: 500; }
h4 { font-size: 16px; font-weight: 600; }
p { margin: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); border-color: var(--rule-2); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.4); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .arr {
  display: inline-block;
  width: 14px; height: 14px;
  position: relative;
  transition: transform .25s;
}
.btn .arr::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 2px; height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.btn .arr::after {
  content: ''; position: absolute; top: 50%; right: 0;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arr { transform: translateX(3px); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(12px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* ===== Top utility bar ===== */
.util {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  padding: 10px 0;
  letter-spacing: 0.01em;
}
.util-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.util .lhs, .util .rhs { display: inline-flex; align-items: center; gap: 22px; }
.util a { color: inherit; text-decoration: none; }
.util a:hover { color: #fff; }
.util .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.util .dot { width: 6px; height: 6px; border-radius: 50%; background: #5fb98c; box-shadow: 0 0 0 0 rgba(95,185,140,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95,185,140,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(95,185,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,185,140,0); }
}
@media (max-width: 780px) {
  .util .lhs span:not(.pill) { display: none; }
  .util .rhs a:nth-child(2) { display: none; }
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 40px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; min-width: 0; }
.nav-mark {
  width: 42px; height: 36px;
  background: transparent;
  background-image: url('assets/logo-no-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  display: grid; place-items: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.nav-name { display: flex; flex-direction: column; gap: 1px; line-height: 1.05; flex-shrink: 0; white-space: nowrap; }
.nav-name strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.nav-name span { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  padding: 8px 0;
  position: relative;
  font-weight: 500;
  opacity: .82;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--accent); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-burger:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-burger svg { display: block; }
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(14,27,23,0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  background: #fff;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 28px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-close { background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.mobile-links { display: flex; flex-direction: column; gap: 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.mobile-links a { color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; }
.mobile-links a:hover { color: var(--accent); }
.mobile-links a::after { content: '→'; color: var(--muted); font-size: 16px; }
.mobile-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.nav-actions .tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; color: var(--ink);
}
.nav-actions .tel:hover { color: var(--accent); }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions .tel { display: none; }
  .nav-name span { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav-actions .btn-primary { display: none; }
}

/* ===== Section base ===== */
section { position: relative; padding: 96px 0; }
@media (max-width: 780px) { section { padding: 70px 0; } }

.section-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: end; margin-bottom: 56px;
}
.section-head h2 { margin-top: 14px; max-width: 18ch; }
.section-head .actions { display: flex; gap: 12px; justify-content: flex-end; align-self: end; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head .actions { justify-content: flex-start; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 0;
  min-height: 660px;
  display: flex;
  align-items: stretch;
  background: var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: 100%;
  align-items: stretch;
}
.hero-text {
  padding: 100px 64px 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  margin-left: auto;
  padding-left: max(48px, calc((100vw - 1320px) / 2 + 48px));
}
.hero-text .eyebrow { margin-bottom: 24px; }
.hero-text h1 { margin-bottom: 28px; max-width: 14ch; }
.hero-text h1 .accent { color: var(--accent); }
.hero-text .lede { margin-bottom: 38px; max-width: 50ch; font-size: 19px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-meta .m-k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.hero-meta .m-v { font-size: 14px; color: var(--ink); font-weight: 500; }

.hero-image {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: 660px;
}
.hero-image .photo {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,27,23,0.06), rgba(14,27,23,0.22)),
    url('assets/hero-manila.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-image .badge {
  position: absolute;
  left: 36px; bottom: 36px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  color: var(--ink);
  padding: 18px 22px;
  border-radius: 14px;
  max-width: 320px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: 6px;
}
.hero-image .badge .b-k { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.hero-image .badge .b-v { font-size: 14px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.hero-image .seal {
  position: absolute; right: 28px; top: 28px;
  width: 124px; height: 124px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.32);
  display: grid; place-items: center;
  color: #fff;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  line-height: 1.55;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px;
  box-sizing: border-box;
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 70px 22px 50px; max-width: 100%; margin: 0; }
  .hero-image { min-height: 380px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ===== Pillars (3-col strip beneath hero) ===== */
.pillars {
  background: var(--bg-2);
  padding: 60px 0;
  border-bottom: 1px solid var(--rule);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pillar {
  padding: 12px 36px;
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 10px;
}
.pillar:first-child { border-left: none; padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.pillar p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
}
.pillar a {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}
.pillar a:hover { color: var(--accent); }
.pillar a::after {
  content: '→';
  transition: transform .2s;
}
.pillar a:hover::after { transform: translateX(3px); }
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-left: none; border-top: 1px solid var(--rule); padding: 28px 0; }
  .pillar:first-child { border-top: none; padding-top: 0; }
}

/* ===== Feature callouts (3 large cards with photo) ===== */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: transform .35s ease;
}
.feature::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,27,23,0) 35%, rgba(14,27,23,0.85) 100%);
  z-index: -1;
}
.feature:hover { transform: translateY(-4px); }
.feature .f-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.feature .f-tag::before {
  content: ''; width: 18px; height: 1px; background: #fff; opacity: 0.7;
}
.feature h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 22px;
  max-width: 16ch;
  color: #fff;
}
.feature .f-cta {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 8px;
  align-self: flex-start;
  transition: gap .2s, border-color .2s;
  color: #fff;
}
.feature:hover .f-cta { gap: 14px; border-color: #fff; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature { aspect-ratio: 16 / 11; }
}

/* ===== Expertise grid ===== */
.expertise { background: var(--bg-2); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.e-card {
  background: #fff;
  padding: 28px 24px 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .25s;
  min-height: 250px;
  position: relative;
  cursor: pointer;
  perspective: 1200px;
}
.e-card:hover { background: var(--bg-2); }
.e-card .e-num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}
.e-card .e-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  margin-bottom: 6px;
}
.e-card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.22;
}
.e-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1;
}
.e-card .e-arrow {
  align-self: flex-end;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule-2);
  display: grid; place-items: center;
  color: var(--ink);
  transition: all .2s;
}
.e-card:hover .e-arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: translate(3px,-3px); }
@media (max-width: 1100px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .expertise-grid { grid-template-columns: 1fr; } }

/* ===== Numbers ===== */
.numbers { background: var(--ink); color: #fff; }
.numbers .lede { color: rgba(255,255,255,0.74); }
.numbers .section-head h2 { color: #fff; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 48px;
}
.num {
  padding: 8px 36px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.num:first-child { padding-left: 0; }
.num:last-child { border-right: none; padding-right: 0; }
.num .n {
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.num .n .suf { color: var(--accent-2); font-size: 0.55em; font-weight: 500; }
.num .lab {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  margin-top: 14px;
  line-height: 1.5;
  max-width: 24ch;
}
@media (max-width: 900px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .num { border-right: none; padding: 12px 18px; }
  .num:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.14); padding-left: 0; }
  .num:nth-child(even) { padding-right: 0; }
}

/* ===== Approach (process) ===== */
.approach { background: var(--bg); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  padding: 28px 0 0;
  border-top: 2px solid var(--ink);
}
.step .s-n {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .approach-grid { grid-template-columns: 1fr; } }

/* ===== Insights ===== */
.insights { background: var(--bg-2); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ins-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.ins-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(14,27,23,0.25); }
.ins-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
}
.ins-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ins-meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; gap: 14px; }
.ins-meta .cat { color: var(--accent); }
.ins-card h3 { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; }
.ins-card .ins-cta { margin-top: auto; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.ins-card:hover .ins-cta { color: var(--accent); }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }

/* ===== Locations ===== */
.locations { background: var(--bg); border-top: 1px solid var(--rule); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.loc-list { display: flex; flex-direction: column; }
.loc-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.loc-row:first-child { border-top: 1px solid var(--rule); }
.loc-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.loc-addr { font-size: 14px; color: var(--ink-soft); }
.loc-tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.map-wrap {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #f0eee6;
  position: relative;
  border: 1px solid var(--rule);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 12px 30px -14px rgba(14,27,23,0.35);
  max-width: 280px;
  pointer-events: none;
}
.map-card .mc-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.map-card .mc-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 4px; }
.map-card .mc-addr { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; gap: 36px; }
  .loc-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .loc-tag { order: -1; }
}

/* ===== CTA banner ===== */
.cta {
  background: var(--accent);
  color: #fff;
  padding: 90px 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta h2 { font-size: clamp(30px, 3.6vw, 46px); color: #fff; max-width: 18ch; }
.cta p { color: rgba(255,255,255,0.84); font-size: 16px; margin-top: 14px; max-width: 50ch; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

/* ===== Footer ===== */
footer { background: #0A1612; color: rgba(255,255,255,0.74); padding: 70px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 36ch; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.foot-logo .nav-mark { filter: brightness(0) invert(1); }
.foot-logo strong { color: #fff; font-size: 16px; font-weight: 600; }
.foot-tag { font-size: 14px; line-height: 1.55; }
.foot-col h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col a { color: rgba(255,255,255,0.74); text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.52); flex-wrap: wrap; }
.foot-bot .links { display: flex; gap: 24px; }
.foot-bot a { color: inherit; text-decoration: none; }
.foot-bot a:hover { color: #fff; }
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .foot-top { grid-template-columns: 1fr; }
}

/* ====== Features (Who We Serve) — card buttons ====== */
.feature {
  cursor: pointer;
  border: none;
  text-align: left;
  font: inherit;
  transition: transform .35s ease, box-shadow .35s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(14,27,23,0.45);
}

.fp-eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--accent);
}
.fp-title {
  font-size: 28px; font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.2; max-width: 22ch; color: var(--ink);
  margin-top: 8px;
}
.fp-desc {
  font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 50ch;
  margin: 0;
}
.fp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 4px 0 0; padding: 0; }
.fp-list li {
  list-style: none;
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.fp-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--accent);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}
.fp-meta {
  display: flex; gap: 28px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.fp-meta div { display: flex; flex-direction: column; gap: 4px; }
.fp-meta .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fp-meta .v { font-size: 14px; color: var(--ink); font-weight: 500; }

.fp-form {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}
.fp-form-head h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.fp-form-head p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.fp-row { display: flex; flex-direction: column; gap: 6px; }
.fp-row label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.fp-row input, .fp-row select, .fp-row textarea {
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 13.5px;
  background: #fff;
  color: var(--ink);
  transition: all .15s;
  width: 100%;
}
.fp-row textarea { resize: vertical; min-height: 64px; font-family: inherit; }
.fp-row input:focus, .fp-row select:focus, .fp-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.fp-row select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%234A5953' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.fp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fp-submit {
  margin-top: 4px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .2s;
}
.fp-submit:hover { background: var(--ink); transform: translateY(-1px); }
.fp-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  animation: fpRise .5s cubic-bezier(.16,1,.3,1);
}
@keyframes fpRise { from { transform: translateY(8px); opacity: 0; } }

@media (max-width: 900px) {
  .fp-form-grid { grid-template-columns: 1fr; }
  .fp-list { grid-template-columns: 1fr; }
}

/* ====== Expertise — flip card interaction ====== */
.e-card .e-face, .e-card .e-back {
  transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
.e-card .e-face {
  display: flex; flex-direction: column; gap: 14px; flex: 1;
}
.e-card .e-back {
  position: absolute;
  inset: 0;
  background: var(--ink);
  color: #fff;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  overflow: hidden;
}
.e-card.flipped .e-face {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.e-card.flipped .e-back {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.e-back .eb-num {
  font-size: 11px; letter-spacing: 0.18em; font-weight: 600;
  color: var(--accent-2);
}
.e-back h4 {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: #fff; margin: 0;
}
.e-back ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.e-back ul li {
  font-size: 12.5px; color: rgba(255,255,255,0.78);
  padding-left: 14px; position: relative;
  line-height: 1.4;
}
.e-back ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2);
}
.eb-mini-form { display: flex; gap: 6px; margin-top: auto; }
.eb-mini-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  padding: 9px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  transition: all .15s;
  min-width: 0;
}
.eb-mini-form input::placeholder { color: rgba(255,255,255,0.5); }
.eb-mini-form input:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(255,255,255,0.12);
}
.eb-mini-form button {
  background: var(--accent-2);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: background .2s;
}
.eb-mini-form button:hover { background: #fff; color: var(--ink); }
.eb-back-link {
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
  transition: color .2s;
}
.eb-back-link:hover { color: #fff; }
.eb-success {
  font-size: 12.5px;
  color: var(--accent-2);
  padding: 8px 12px;
  background: rgba(26,143,190,0.12);
  border-radius: 8px;
  margin-top: auto;
}

/* hovering hint shimmer on expertise cards */
.e-card .e-arrow svg { transition: transform .3s; }
.e-card:hover:not(.flipped) .e-arrow svg { transform: rotate(45deg); }

/* ====== Inquiry Modal ====== */
.im-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 16, 32, 0.55);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: grid; place-items: center;
  padding: 28px;
  animation: imFade .2s ease-out;
}
@keyframes imFade { from { opacity: 0; } }
.im-modal {
  width: 100%;
  max-width: 1080px;
  height: min(720px, calc(100vh - 56px));
  max-height: calc(100vh - 56px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(8,16,32,0.4);
  animation: imRise .3s cubic-bezier(.16,1,.3,1);
  display: flex;
}
@keyframes imRise { from { transform: translateY(20px); opacity: 0; } }
.im-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--ink);
  transition: all .2s;
}
.im-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.im-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.im-rail {
  background: var(--ink);
  color: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow-y: auto;
  min-height: 0;
}
.im-rail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(26,143,190,0.18), transparent 55%);
  pointer-events: none;
}
.im-rail-top, .im-rail-foot { position: relative; }
.im-rail .eyebrow { color: rgba(255,255,255,0.78) !important; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.im-rail-top h3 { margin: 14px 0 14px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.im-rail-top p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 34ch; }
.im-contact-row {
  display: flex; gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  line-height: 1.4;
}
.im-contact-row:first-child { padding-top: 14px; }
.im-contact-row .im-k {
  color: rgba(255,255,255,0.5);
  width: 56px;
  flex-shrink: 0;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.im-contact-row a { color: #fff; text-decoration: none; transition: opacity .2s; }
.im-contact-row a:hover { opacity: 0.8; }
.im-contact-row .im-hours { color: rgba(255,255,255,0.78); }

.im-form-wrap {
  padding: 56px 48px 40px;
  overflow-y: auto;
  background: #fff;
  min-height: 0;
  height: 100%;
}
.im-form-wrap::-webkit-scrollbar { width: 10px; }
.im-form-wrap::-webkit-scrollbar-track { background: transparent; }
.im-form-wrap::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 999px; border: 2px solid #fff; }
.im-form-wrap::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.im-form { display: flex; flex-direction: column; gap: 18px; }
.api-error {
  background: #fdecec;
  border: 1px solid #f5c2c0;
  color: #8a1a14;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.is-submitting {
  cursor: wait;
  opacity: 0.75;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: btn-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
.im-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.im-field {
  display: flex; flex-direction: column; gap: 8px;
}
.im-field > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.im-field > span em {
  color: var(--accent-2);
  font-style: normal;
  margin-left: 2px;
}
.im-field input, .im-field select, .im-field textarea {
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: all .15s;
  width: 100%;
  line-height: 1.4;
  font-weight: 400;
}
.im-field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.im-field input::placeholder, .im-field textarea::placeholder { color: var(--muted); }
.im-field input:focus, .im-field select:focus, .im-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.im-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%234A5953' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.im-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.im-divider::before, .im-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}

.im-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.im-note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 36ch;
}
.im-submit { white-space: nowrap; }

.im-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 60px 20px;
  max-width: 420px;
  margin: 0 auto;
}
.im-sent-ico {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.im-sent h3 { font-size: 24px; margin: 0; font-weight: 600; letter-spacing: -0.02em; }
.im-sent p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.im-sent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 880px) {
  .im-modal { height: calc(100vh - 56px); display: flex; flex-direction: column; }
  .im-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100%; }
  .im-rail { padding: 24px 22px; overflow: visible; }
  .im-rail-top h3 { font-size: 22px; }
  .im-rail-top p { display: none; }
  .im-rail-foot { display: none; }
  .im-form-wrap { padding: 28px 22px 24px; min-height: 0; }
  .im-row { grid-template-columns: 1fr; gap: 14px; }
  .im-actions { flex-direction: column; align-items: stretch; }
  .im-note { max-width: 100%; }
}

/* ====== Article Modal (Insights) ====== */
.ar-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 16, 32, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: grid; place-items: center;
  padding: 28px;
  animation: imFade .2s ease-out;
}
.ar-modal {
  width: 100%;
  max-width: 880px;
  height: min(820px, calc(100vh - 56px));
  max-height: calc(100vh - 56px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(8,16,32,0.4);
  animation: imRise .3s cubic-bezier(.16,1,.3,1);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ar-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(14,27,23,0.55);
  cursor: pointer;
  display: grid; place-items: center;
  color: #fff;
  transition: all .2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ar-close:hover { background: var(--ink); border-color: var(--ink); }
.ar-hero {
  position: relative;
  flex-shrink: 0;
  height: 240px;
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}
.ar-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,27,23,0.15) 30%, rgba(14,27,23,0.85) 100%);
  z-index: -1;
}
.ar-hero-inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 40px 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.ar-meta {
  display: flex; gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.ar-meta .ar-cat { color: var(--accent-2); }
.ar-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 28ch;
  margin: 0;
  color: #fff;
}
.ar-author {
  font-size: 12.5px;
  color: rgba(255,255,255,0.74);
  margin: 0;
  letter-spacing: 0.02em;
}
.ar-body {
  padding: 36px 40px 36px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.ar-body::-webkit-scrollbar { width: 10px; }
.ar-body::-webkit-scrollbar-track { background: transparent; }
.ar-body::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 999px; border: 2px solid #fff; }
.ar-body::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.ar-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-weight: 500;
  max-width: 60ch;
}
.ar-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 64ch;
}
.ar-body h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 26px 0 12px;
}
.ar-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 64ch;
}
.ar-body ul li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.ar-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--accent);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}
.ar-foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ar-foot-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .ar-overlay { padding: 0; }
  .ar-modal { height: 100vh; max-height: 100vh; border-radius: 0; }
  .ar-hero { height: 200px; }
  .ar-hero-inner { padding: 22px 22px 20px; }
  .ar-body { padding: 26px 22px 28px; }
  .ar-foot { flex-direction: column; align-items: stretch; }
  .ar-foot .btn { justify-content: center; }
}

/* ====== Feature Modal (Who We Serve) — reuses .ar-overlay/.ar-close/.ar-hero ====== */
.fm-modal {
  width: 100%;
  max-width: 1080px;
  height: min(820px, calc(100vh - 56px));
  max-height: calc(100vh - 56px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(8,16,32,0.4);
  animation: imRise .3s cubic-bezier(.16,1,.3,1);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.fm-body {
  padding: 36px 40px 36px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}
.fm-body::-webkit-scrollbar { width: 10px; }
.fm-body::-webkit-scrollbar-track { background: transparent; }
.fm-body::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 999px; border: 2px solid #fff; }
.fm-body::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.fm-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.fm-content .fp-eyebrow { margin-bottom: 2px; }
.fm-content .fp-list { margin: 4px 0 0; }
.fm-content .fp-meta {
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 22px;
}

@media (max-width: 880px) {
  .fm-modal { height: 100vh; max-height: 100vh; border-radius: 0; }
  .fm-body { grid-template-columns: 1fr; padding: 26px 22px 28px; gap: 28px; }
  .fm-content .fp-meta { gap: 16px; }
}

/* ====== Help chat (FAQ widget) ====== */
.hc-launcher {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 150;
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -16px rgba(8,16,32,0.55);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hc-launcher:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -18px rgba(8,16,32,0.6);
}
.hc-launcher svg { transition: opacity .2s ease, transform .2s ease; grid-column: 1; grid-row: 1; }
.hc-launcher .hc-ico-close { opacity: 0; transform: rotate(-90deg); }
.hc-launcher.is-open .hc-ico-chat { opacity: 0; transform: rotate(90deg); }
.hc-launcher.is-open .hc-ico-close { opacity: 1; transform: rotate(0); }

.hc-panel {
  position: fixed;
  right: 24px; bottom: 96px;
  width: min(380px, calc(100vw - 32px));
  height: min(580px, calc(100vh - 140px));
  background: #fff;
  border-radius: 16px;
  z-index: 149;
  box-shadow: 0 30px 60px -24px rgba(8,16,32,0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
  border: 1px solid var(--rule);
}
.hc-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.hc-header {
  background: var(--accent);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  background-image: radial-gradient(circle at 0% 0%, rgba(26,143,190,0.35), transparent 60%);
}
.hc-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.24);
}
.hc-title { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.hc-title strong { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.hc-title span { font-size: 11.5px; color: rgba(255,255,255,0.78); letter-spacing: 0.02em; }
.hc-min {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.hc-min:hover { background: rgba(255,255,255,0.22); }

.hc-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 12px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.hc-body::-webkit-scrollbar { width: 8px; }
.hc-body::-webkit-scrollbar-track { background: transparent; }
.hc-body::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 999px; }
.hc-body::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.hc-msg { display: flex; animation: hcRise .3s cubic-bezier(.16,1,.3,1); }
.hc-msg--support { justify-content: flex-start; }
.hc-msg--user { justify-content: flex-end; }
.hc-bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  word-wrap: break-word;
}
.hc-msg--support .hc-bubble {
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-top-left-radius: 4px;
}
.hc-msg--user .hc-bubble {
  background: var(--accent);
  color: #fff;
  border-top-right-radius: 4px;
}
.hc-bubble p { margin: 0 0 6px; }
.hc-bubble p:last-child { margin: 0; }
.hc-bubble strong { font-weight: 600; }
@keyframes hcRise { from { opacity: 0; transform: translateY(6px); } }

.hc-typing .hc-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
}
.hc-dot {
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: hcBounce 1.2s infinite ease-in-out both;
}
.hc-dot:nth-child(2) { animation-delay: .15s; }
.hc-dot:nth-child(3) { animation-delay: .3s; }
@keyframes hcBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.hc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 4px;
  animation: hcRise .3s cubic-bezier(.16,1,.3,1);
}
.hc-chip {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
  text-align: left;
  line-height: 1.35;
}
.hc-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hc-foot {
  flex-shrink: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--rule);
  background: #fff;
}
.hc-foot-btn {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  font-family: inherit;
  text-align: left;
  transition: all .15s ease;
}
.hc-foot-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hc-foot-btn span { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.hc-foot-btn:hover span { color: rgba(255,255,255,0.78); }
.hc-foot-btn strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hc-foot-btn:hover strong { color: #fff; }
.hc-foot-btn:hover .arr { transform: translateX(2px); }
.hc-foot-btn .arr {
  display: inline-block;
  width: 12px; height: 12px;
  position: relative;
  transition: transform .2s ease;
}
.hc-foot-btn .arr::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 2px; height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.hc-foot-btn .arr::after {
  content: ''; position: absolute; top: 50%; right: 0;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 560px) {
  .hc-launcher { right: 16px; bottom: 16px; }
  .hc-panel {
    right: 16px;
    left: 16px;
    bottom: 84px;
    width: auto;
    height: min(560px, calc(100vh - 120px));
  }
}
