/* =========================================================================
   PCFL — Pacific Corporate Financial Ltd.
   Design tokens
   ========================================================================= */
:root {
  --navy: #173F5F;           /* deep heading navy */
  --navy-deep: #0F2E4A;
  --charcoal: #333A40;        /* body text */
  --brand-blue: #2F6690;      /* primary brand blue — buttons, primary accent */
  --teal: #4F8A8B;             /* muted teal accent */
  --gold: #C5A66A;             /* warm gold accent, used sparingly */
  --grey-light: #FAF8F4;      /* warm off-white — alternating section background */
  --grey-mid: #E5E1D8;         /* warm-neutral border tone */
  --grey-line: #DAD4C6;
  --blue-muted: #5C7C99;
  --blue-muted-deep: #3F5A73;
  --white: #FFFFFF;

  /* Section background tones. Hero uses a soft-blue-to-warm-off-white
     gradient; Industry Experience is the medium brand-blue anchor section;
     the CTA band stays a deeper (but lighter-than-original) navy. */
  --hero-bg-start: #EAF3F7;
  --hero-bg-end: #FAF8F4;
  --industry-bg: #2F6690;
  --cta-bg: #173F5F;
  --text-muted: #565D63;

  --font-display: "Source Serif 4", "Noto Serif SC", "Songti SC", serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --max-width: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --radius: 8px;
  --shadow-soft: 0 12px 32px rgba(15, 36, 64, 0.08);
  --transition: 220ms ease;
}

/* =========================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
}
p { margin: 0 0 1.1em; }
a { color: var(--blue-muted-deep); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-muted);
  outline-offset: 3px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-muted-deep);
  font-weight: 600;
  margin-bottom: 0.9em;
}
/* Small recurring accent shape beneath every eyebrow label — a restrained,
   consistent divider motif used for rhythm rather than decoration alone. */
.eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-blue);
  margin-top: 9px;
}
.section-head.centered .eyebrow::after { margin-left: auto; margin-right: auto; }
.section--navy .eyebrow::after { background: var(--gold); }
.hero .eyebrow::after { background: var(--gold); }

.section {
  padding: clamp(56px, 8vw, 108px) 0;
}
.section--grey { background: var(--grey-light); }
/* Industry Experience — the page's main colour anchor: a medium, warm-toned
   brand blue (not the near-black navy of earlier drafts), white headings,
   and light cards for contrast. */
.section--navy { background: var(--industry-bg); color: rgba(255,255,255,0.92); }
.section--navy h2, .section--navy h3, .section--navy .eyebrow { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.82); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* Ledger-rule signature device: thin repeating horizontal rules used as a
   quiet motif evoking a financial statement / ledger, never literal icons. */
.ledger-rule {
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--grey-line) 0,
    var(--grey-line) 10px,
    transparent 10px,
    transparent 16px
  );
  margin: 2.4em 0;
}
.section--navy .ledger-rule {
  background: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.3) 0,
    rgba(255,255,255,0.3) 10px,
    transparent 10px,
    transparent 16px
  );
}

/* =========================================================================
   Language toggle logic
   ========================================================================= */
html[data-lang="en"] .lang-zh { display: none !important; }
html[data-lang="zh"] .lang-en { display: none !important; }
html[data-lang="zh"] body { font-family: var(--font-body); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--grey-mid);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-muted-deep);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.main-nav a {
  color: var(--charcoal);
  font-size: 0.96rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue-muted);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch button {
  background: var(--white);
  border: none;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-muted-deep);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-switch button.is-active {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 8px 12px;
  height: 40px;
  white-space: nowrap;
}
.nav-toggle-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.nav-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle-icon span,
.nav-toggle-icon span::before,
.nav-toggle-icon span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform var(--transition);
}
.nav-toggle-icon span::before { position: absolute; top: -6px; }
.nav-toggle-icon span::after { position: absolute; top: 6px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 68%);
  color: var(--charcoal);
  overflow: hidden;
  padding: clamp(72px, 12vw, 132px) 0 clamp(64px, 10vw, 108px);
}
.hero::before {
  /* Abstract ledger-grid motif: fine lines suggesting balance & precision,
     never a literal handshake / calculator / coin / stock-chart image. */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23,63,95,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,63,95,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9) 30%, transparent 85%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-inner { max-width: 620px; }
.hero h1 {
  color: var(--navy);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 0.5em;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 1.8em;
}
.hero-sub-secondary {
  font-size: 0.98rem;
  color: var(--text-muted);
  opacity: 0.9;
  margin-top: -1em;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Restrained decorative accent — an abstract finance/growth illustration
   (layered document, growth chart, blueprint grid), never a literal
   handshake / calculator / coin / stock-photo image. */
.hero-decor {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  width: 44%;
  max-width: 520px;
  min-width: 300px;
  pointer-events: none;
  z-index: 0;
}
.hero-decor svg { width: 100%; height: auto; display: block; }
@media (max-width: 1000px) {
  .hero-decor { display: none; }
}

/* =========================================================================
   Why Clients Trust PCFL — compact six-point trust grid
   ========================================================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-section-divider { border-top: 1px solid var(--grey-mid); }
.trust-item {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.trust-item:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.trust-item .icon {
  width: 30px;
  height: 30px;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.trust-item:nth-child(3n+2) .icon { color: var(--teal); }
.trust-item:nth-child(3n+3) .icon { color: var(--gold); }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 0.45em; }
.trust-item p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Credibility strip — compact four-point ribbon between hero and approach
   ========================================================================= */
.credibility-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  padding: 26px 0;
}
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.credibility-item {
  padding: 4px 22px;
  border-left: 1px solid var(--grey-mid);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.credibility-item:first-child { border-left: none; }
.credibility-top {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy);
}
.credibility-bottom {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .credibility-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .credibility-item:nth-child(3) { border-left: none; }
}
@media (max-width: 520px) {
  .credibility-grid { grid-template-columns: 1fr; row-gap: 16px; }
  .credibility-item { border-left: none; border-top: 1px solid var(--grey-mid); padding: 14px 4px 0; }
  .credibility-item:first-child { border-top: none; padding-top: 4px; }
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--primary {
  background: var(--brand-blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--navy); }
/* On the deeper-toned CTA band, flip to a light button for contrast. */
.cta-band .btn--primary {
  background: var(--white);
  color: var(--navy);
}
.cta-band .btn--primary:hover { background: var(--grey-light); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--grey-line);
}
.btn--ghost:hover { border-color: var(--brand-blue); background: rgba(47,102,144,0.06); color: var(--brand-blue); }
.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover { background: var(--brand-blue); }

.hero-credentials {
  margin-top: clamp(36px, 6vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 24px);
  max-width: 620px;
}
.hero-credential {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 240px;
  flex: 1 1 220px;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(15, 36, 64, 0.05);
}
.hero-credential--blue { border-top-color: var(--brand-blue); }
.hero-credential--teal { border-top-color: var(--teal); }
.hero-credential--gold { border-top-color: var(--gold); }
.hero-credential strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

/* =========================================================================
   Three pillar cards
   ========================================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 4px solid var(--brand-blue);
  padding: 34px 30px;
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.pillar-card:nth-child(2) { border-top-color: var(--teal); }
.pillar-card:nth-child(3) { border-top-color: var(--gold); }
.pillar-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.pillar-number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--blue-muted-deep);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.pillar-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.pillar-card p { font-size: 0.94rem; color: #4B5157; margin-bottom: 0; }
.pillar-card .icon {
  width: 28px;
  height: 28px;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.pillar-card:nth-child(2) .icon { color: var(--teal); }
.pillar-card:nth-child(3) .icon { color: var(--gold); }

/* =========================================================================
   Services detail grid
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-block {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 5px solid var(--brand-blue);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.services-grid .service-block:nth-child(3n+2) { border-top-color: var(--teal); }
.services-grid .service-block:nth-child(3n+3) { border-top-color: var(--gold); }
.service-block:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.service-block .icon {
  width: 30px;
  height: 30px;
  color: var(--brand-blue);
  margin-bottom: 16px;
  transition: transform var(--transition);
}
.services-grid .service-block:nth-child(3n+2) .icon { color: var(--teal); }
.services-grid .service-block:nth-child(3n+3) .icon { color: var(--gold); }
.service-block:hover .icon { transform: translateY(-2px) scale(1.05); }
.service-block h3 {
  font-size: 1.08rem;
  margin-bottom: 0.7em;
}
.service-block ul { list-style: none; }
.service-block li {
  font-size: 0.92rem;
  color: #444a51;
  padding: 7px 0;
  border-top: 1px solid var(--grey-mid);
}
.service-block li:first-child { border-top: none; }
.service-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.1em;
}

/* Featured / wider service cards (Government-Tax-Regulatory, Controller) —
   span the full row for a slightly varied rhythm and to hold longer lists. */
.service-block--featured { grid-column: 1 / -1; }
.service-list-columns {
  column-count: 2;
  column-gap: 32px;
}
.service-list-columns li { break-inside: avoid; }
@media (max-width: 760px) {
  .service-list-columns { column-count: 1; }
}

/* =========================================================================
   Industry experience
   ========================================================================= */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry-card {
  padding: 30px 26px;
  background: rgba(255, 252, 246, 0.96);
  border: 1px solid rgba(255,255,255,0.16);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
}
.industry-card:hover { box-shadow: 0 12px 28px rgba(10, 26, 41, 0.22); transform: translateY(-2px); }
.industry-card h3 { font-size: 1.05rem; margin-bottom: 0.5em; color: var(--navy); }
.industry-card p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-muted); }
.industry-card.is-wide { grid-column: span 1; }
.industry-card:nth-child(3n+2) { border-left-color: var(--brand-blue); }
.industry-card:nth-child(3n+3) { border-left-color: var(--teal); }

/* =========================================================================
   Why work with me / two-column
   ========================================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.check-list { list-style: none; margin-top: 8px; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 0.96rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue-muted-deep);
  border-radius: 50%;
  background: transparent;
}

/* =========================================================================
   Bio card
   ========================================================================= */
.bio-panel {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
}
.bio-byline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: -0.2em;
  margin-bottom: 1.6em;
  padding-bottom: 1.3em;
  border-bottom: 1px solid var(--grey-mid);
}
.bio-byline strong {
  display: inline;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
}
.bio-byline strong::after {
  content: "·";
  color: var(--grey-line);
  margin: 0 0.5em;
}

/* =========================================================================
   Process steps (How We Work) — genuine sequence, numbering justified
   ========================================================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: 46px;
  border-top: 1px solid var(--grey-mid);
  transition: transform var(--transition);
}
.process-step:hover { transform: translateY(-2px); }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.15em;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--blue-muted-deep);
  letter-spacing: 0.06em;
}
.process-step .icon {
  position: absolute;
  top: -6px;
  right: 0;
  width: 22px;
  height: 22px;
  color: var(--grey-line);
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.4em; }
.process-step p { font-size: 0.9rem; color: #4B5157; margin-bottom: 0; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  background: var(--cta-bg);
  color: var(--white);
  padding: clamp(48px, 8vw, 84px) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* =========================================================================
   Contact page specifics
   ========================================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-info-card {
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
}
.contact-info-card h3 { font-size: 1.05rem; }
.contact-line {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-top: 1px solid var(--grey-mid);
}
.contact-line:first-of-type { border-top: none; }
.contact-line .label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-muted-deep);
  font-weight: 600;
  margin-bottom: 3px;
}
.contact-line .value { font-size: 1rem; color: var(--charcoal); }

.disclosure-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-line);
  font-size: 0.8rem;
  color: #5A6169;
}

form.contact-form {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-muted);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: #6A7178; margin-top: 4px; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-success { display: block; background: #E8F1EB; color: #285C3D; border: 1px solid #BFD9C7; }
.form-status.is-error { display: block; background: #FBEAEA; color: #7A2626; border: 1px solid #F1C6C6; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--grey-light);
  color: var(--text-muted);
  padding: 44px 0 30px;
  font-size: 0.86rem;
  border-top: 1px solid var(--grey-mid);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--grey-mid);
  margin-bottom: 20px;
}
.footer-top .brand-mark { color: var(--navy); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); }
.footer-nav a:hover { color: var(--navy); }
.footer-contact { display: block; margin-top: 12px; font-size: 0.86rem; }
.footer-contact a { display: block; color: var(--text-muted); line-height: 1.7; }
.footer-contact a:hover { color: var(--navy); }
.footer-legal { max-width: 760px; font-size: 0.78rem; color: #6A7178; line-height: 1.7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: #6A7178;
}

/* =========================================================================
   Skip link (accessibility)
   ========================================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .pillars,
  .services-grid,
  .industry-grid,
  .process-steps { grid-template-columns: 1fr 1fr; }
  .two-col,
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gutter) 28px;
    border-bottom: 1px solid var(--grey-mid);
    gap: 4px;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.is-open a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .pillars,
  .services-grid,
  .industry-grid,
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-credentials { flex-direction: column; gap: 18px; }
}

@media (max-width: 480px) {
  .site-header .container { height: 72px; }
  .brand-mark { font-size: 1.25rem; }
  .header-actions { gap: 10px; }
  .nav-toggle { padding: 7px 9px; gap: 5px; }
  .nav-toggle-label { font-size: 0.72rem; }
  .lang-switch button { padding: 6px 10px; font-size: 0.76rem; }
}
