/* ==========================================================================
   ZIPS — Zhou Integrated Professionals Limited Services
   Palette derived from the supplied logo: navy #112740, amber, cream #f0eee3
   ========================================================================== */

:root {
  --navy: #112740;
  --navy-deep: #0a1a2d;
  --navy-soft: #1c3656;
  --gold: #e3a21a;
  --gold-deep: #b97f0e;
  --cream: #f0eee3;
  --paper: #f8f7f2;
  --white: #ffffff;
  --ink: #142032;
  --muted: #566274;
  --line: rgba(17, 39, 64, 0.12);
  --line-light: rgba(240, 238, 227, 0.16);

  --font-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 45, 0.06), 0 2px 8px rgba(10, 26, 45, 0.05);
  --shadow: 0 10px 30px -12px rgba(10, 26, 45, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(10, 26, 45, 0.35);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: var(--navy); }
p { margin: 0; }
ul[role='list'] { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--navy-deep); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: var(--cream); padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--top { align-items: start; }
.split--form { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.span-2 { grid-column: span 2; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.h-display { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h-section { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 750; letter-spacing: -0.03em; }
.h-sub { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.lead { font-family: var(--font-serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--muted); }
.section--navy .lead { color: rgba(240, 238, 227, 0.78); }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1.1rem; }
.prose p { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 700px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  font-weight: 650; font-size: 1rem; letter-spacing: 0.005em; text-decoration: none; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: 999px;
  cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover > .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--gold); --btn-fg: var(--navy-deep); --btn-bd: var(--gold); }
.btn--primary:hover { --btn-bg: #f0b233; --btn-bd: #f0b233; }
.btn--navy:hover { --btn-bg: var(--navy-soft); --btn-bd: var(--navy-soft); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(17, 39, 64, 0.3); }
.btn--outline:hover { --btn-bd: var(--navy); --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(240, 238, 227, 0.4); }
.btn--ghost-light:hover { --btn-bg: var(--cream); --btn-fg: var(--navy); --btn-bd: var(--cream); }
.btn--wa { --btn-bg: #1f9d55; --btn-fg: #fff; --btn-bd: #1f9d55; }
.btn--wa:hover { --btn-bg: #188447; --btn-bd: #188447; }
.btn--sm { min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 650; color: var(--navy); text-decoration: none;
  border-bottom: 1.5px solid var(--gold); padding-bottom: 2px;
  transition: gap 0.25s var(--ease), color 0.2s;
}
.text-link:hover { gap: 0.7rem; color: var(--gold-deep); }
.section--navy .text-link { color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 238, 227, 0.94);
  backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 26, 45, 0.45); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; flex: none; }
.brand__logo { width: 50px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.08em; color: var(--navy); }
.brand__text span { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 0.2rem; }
.nav__list a {
  position: relative; display: block; padding: 0.55rem 0.7rem;
  font-size: 0.93rem; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap;
  border-radius: 6px; transition: color 0.2s;
}
.nav__list a::after {
  content: ''; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.25rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current='page']::after { transform: scaleX(1); }
.header-cta { flex: none; }
.menu-toggle {
  display: none; width: 46px; height: 46px; margin-left: auto; align-items: center; justify-content: center;
  background: var(--navy); color: var(--cream); border: 0; border-radius: 12px; cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column;
  background: var(--cream); padding: 0 var(--gutter) 2rem; overflow-y: auto;
  animation: menuIn 0.3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 1px solid var(--line); }
.mobile-menu__top .menu-toggle { display: inline-flex; margin: 0; }
.mobile-menu__list { padding-block: 1rem; }
.mobile-menu__list a {
  display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 0;
  font-size: 1.35rem; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu__list a[aria-current='page'] { color: var(--gold-deep); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 0.9rem; padding-top: 1.5rem; }
.mobile-menu__contact { display: flex; align-items: center; gap: 0.6rem; color: var(--navy); font-weight: 600; text-decoration: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Corner-bracket frame (from the logo) ---------- */
.frame { position: relative; }
.frame::after {
  --c: var(--gold); --s: 34px; --t: 3px;
  content: ''; position: absolute; inset: -12px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--s) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--s) no-repeat;
}
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1 / 1; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: var(--cream); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 45, 0.97) 0%, rgba(10, 26, 45, 0.9) 38%, rgba(10, 26, 45, 0.45) 72%, rgba(10, 26, 45, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 26, 45, 0.85) 0%, rgba(10, 26, 45, 0) 35%);
}
.hero__inner { min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 4.5rem); }
.hero__content { max-width: 740px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__support { margin-top: 1.4rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: rgba(240, 238, 227, 0.9); }
.hero__services { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 2rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); }
.hero__services span { display: inline-flex; align-items: center; }
.hero__services span::before { content: ''; flex: none; width: 6px; height: 6px; margin-right: 0.7rem; background: var(--gold); transform: rotate(45deg); }
.hero .btn-row { margin-top: 2.5rem; }
.hero__pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line-light);
}
.hero__pillar { padding: 1.5rem 1.5rem 0 0; display: flex; gap: 1rem; align-items: flex-start; }
.hero__pillar + .hero__pillar { padding-left: 1.5rem; border-left: 1px solid var(--line-light); }
.hero__pillar-num { font-size: 0.8rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; padding-top: 0.2rem; }
.hero__pillar h2 { font-size: 1.08rem; color: var(--white); letter-spacing: -0.01em; }
.hero__pillar p { font-size: 0.92rem; color: rgba(240, 238, 227, 0.7); margin-top: 0.35rem; line-height: 1.5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
}
.page-hero__inner { padding-block: clamp(4rem, 9vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lead { color: rgba(240, 238, 227, 0.8); margin-top: 1.25rem; max-width: 640px; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.85rem; color: rgba(240, 238, 227, 0.65); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--cream); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero__aside { border-left: 2px solid var(--gold); padding-left: 1.5rem; font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; color: rgba(240, 238, 227, 0.85); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(17, 39, 64, 0.2); }
.card h3 { font-size: 1.28rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card__num { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-deep); margin-bottom: 1.6rem; }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1.5rem;
  border-radius: 12px; background: var(--navy); color: var(--gold);
}
.card__icon svg { width: 26px; height: 26px; }
.card--navy { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.card--navy h3 { color: var(--white); }
.card--navy p { color: rgba(240, 238, 227, 0.75); }
.card--line { background: transparent; }
.card--link { display: flex; flex-direction: column; text-decoration: none; }
.card--link .text-link { margin-top: auto; padding-top: 1.5rem; align-self: flex-start; border: 0; }

.list-check { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.list-check li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink); font-size: 0.98rem; line-height: 1.5; }
.list-check li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 0.18rem; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23112740' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--navy .list-check li, .card--navy .list-check li { color: var(--cream); }

.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(227, 162, 26, 0.16); color: var(--gold-deep); }
.section--navy .tag, .card--navy .tag { color: var(--gold); background: rgba(227, 162, 26, 0.14); }

/* ---------- Home: intro ---------- */
.intro__quote {
  margin-top: 2rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; color: var(--navy); line-height: 1.5;
}
.intro__media { position: relative; }
.intro__badge {
  position: absolute; left: -1.5rem; bottom: -1.5rem; max-width: 280px;
  background: var(--navy); color: var(--cream); padding: 1.4rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: 0.95rem; line-height: 1.45;
}
.intro__badge strong { display: block; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.4rem; }

/* ---------- Service pillars (home) ---------- */
.pillar { display: flex; flex-direction: column; min-height: 100%; }
.pillar ul { margin-bottom: 1.5rem; }

/* ---------- Why ZIPS ---------- */
.why { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.why .card { grid-column: span 2; background: rgba(255, 255, 255, 0.04); border-color: var(--line-light); }
.why .card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(227, 162, 26, 0.5); box-shadow: none; }
.why .card:nth-child(4) { grid-column: 2 / span 2; }
.why .card h3 { color: var(--white); }
.why .card p { color: rgba(240, 238, 227, 0.72); }

/* ---------- Industries ---------- */
.industry { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.industry__num { font-size: 0.85rem; font-weight: 700; color: var(--gold-deep); letter-spacing: 0.1em; min-width: 2.2rem; padding-top: 0.3rem; }
.industry h3 { font-size: 1.3rem; }
.industry p { color: var(--muted); margin-top: 0.4rem; font-size: 1rem; }
.industries-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); }
.industry-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.industry-tile {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--line); font-weight: 650; color: var(--navy);
}
.industry-tile::before { content: ''; flex: none; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Services page ---------- */
.service-block + .service-block { margin-top: clamp(4rem, 8vw, 6rem); }
.service-block__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem 2rem; align-items: start; margin-bottom: 2.5rem; }
.service-block__num { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); letter-spacing: -0.04em; }
.subhead { display: flex; align-items: center; gap: 1rem; margin: 2.75rem 0 1.25rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.subhead::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.offer .card__icon { background: var(--cream); color: var(--navy); }

/* ---------- Training ---------- */
.programme { display: flex; flex-direction: column; }
.programme .tag { align-self: flex-start; margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.chip:is(a) { text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip:is(a):hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.chip { font-size: 0.85rem; font-weight: 650; padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: var(--paper); }
.card--navy .chip { border-color: var(--line-light); color: var(--cream); background: transparent; }

.children { background: var(--white); border-radius: calc(var(--radius) + 6px); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: var(--shadow); border: 1px solid var(--line); }
.children__media { min-height: 100%; position: relative; }
.children__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.children__body { padding: clamp(2rem, 5vw, 3.5rem); }
.children__body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 1.75rem 0 2rem; }
.focus-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--cream); font-weight: 650; color: var(--navy); font-size: 0.97rem; }
.focus-item .icon { color: var(--gold-deep); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ''; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; z-index: -1;
  border: 2px solid rgba(227, 162, 26, 0.25); transform: translateY(-50%) rotate(45deg);
}
.cta-band::after {
  content: ''; position: absolute; right: 30px; top: 50%; width: 120px; height: 120px; z-index: -1;
  border: 2px solid rgba(227, 162, 26, 0.5); transform: translateY(-50%) rotate(45deg);
}
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2.5rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 5rem); }
.cta-band__title { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 720px; }
.cta-band__text { margin-top: 0.9rem; color: rgba(240, 238, 227, 0.75); max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.cta-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  padding: clamp(2rem, 4vw, 3rem); border-radius: calc(var(--radius) + 4px); background: var(--cream); border: 1px solid var(--line);
}
.cta-panel h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-panel p { margin-top: 0.6rem; color: var(--muted); }

/* ---------- About ---------- */
.statement {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.35; color: var(--white); font-weight: 400; letter-spacing: -0.01em;
  max-width: 980px;
}
.statement::before { content: '“'; display: block; font-size: 5rem; line-height: 0.6; color: var(--gold); margin-bottom: 1rem; font-family: var(--font-serif); }
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.vm .card { padding: clamp(2rem, 4vw, 3rem); }
.vm .card p { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.vm .card--navy p { color: var(--cream); }
.approach { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.approach__step { padding: 2rem 2rem 0 0; }
.approach__step + .approach__step { padding-left: 2rem; border-left: 1px solid var(--line); }
.approach__step h3 { font-size: 1.3rem; margin: 0.9rem 0 0.6rem; }
.approach__step p { color: var(--muted); }
.approach__step .card__icon { margin-bottom: 0; }

/* ---------- Consultant ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.profile__card { position: sticky; top: calc(var(--header-h) + 2rem); background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 2.25rem; }
.profile__mono {
  width: 110px; height: 110px; display: grid; place-items: center; border-radius: 22px;
  background: var(--cream); color: var(--navy); font-size: 2.3rem; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 1.75rem;
}
.profile__card h2 { color: var(--white); font-size: 1.7rem; }
.profile__role { display: inline-block; margin-top: 0.7rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.profile__facts { margin-top: 1.75rem; display: grid; gap: 1rem; border-top: 1px solid var(--line-light); padding-top: 1.5rem; }
.profile__facts dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(240, 238, 227, 0.6); font-weight: 700; }
.profile__facts dd { margin: 0.2rem 0 0; font-size: 1.05rem; color: var(--white); font-weight: 600; }
.profile__block + .profile__block { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.profile__block h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.bio { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--navy); }
.edu { display: grid; gap: 0.9rem; }
.edu li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.edu strong { color: var(--navy); font-weight: 750; }
.edu span { color: var(--muted); }
.cert-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cert { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.65rem 1rem; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 650; font-size: 0.95rem; }
.cert .icon { color: var(--gold); width: 1rem; height: 1rem; }
.highlight {
  display: flex; align-items: center; gap: 1.5rem; padding: 1.75rem; border-radius: var(--radius);
  background: var(--cream); border-left: 4px solid var(--gold);
}
.highlight__figure { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.highlight p { color: var(--ink); }

/* ---------- Forms ---------- */
.form-shell { background: var(--white); border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 3rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 650; color: var(--navy); }
.field .req { color: #b4380f; margin-left: 0.15rem; }
.field .opt { color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem; font-size: 1rem; /* 16px prevents iOS zoom */
  background: var(--paper); border: 1.5px solid rgba(17, 39, 64, 0.16); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23112740' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(17, 39, 64, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background-color: var(--white); box-shadow: 0 0 0 4px rgba(227, 162, 26, 0.28); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4380f; background-color: #fff8f5; }
.field__error { font-size: 0.85rem; color: #b4380f; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.form-alert { display: none; margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #fff1eb; color: #8f2c0b; border: 1px solid #f1c3ad; }
.form-alert--success { background: #edf8f1; color: #145c34; border: 1px solid #b8e2c7; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form-note { font-size: 0.88rem; color: var(--muted); max-width: 420px; }
.link-button { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 650; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; cursor: pointer; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 0.9rem; }
.contact-item {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.25rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
a.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: rgba(17, 39, 64, 0.22); }
.contact-item__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: var(--gold); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item--wa .contact-item__icon { background: #1f9d55; color: #fff; }
.contact-item__label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-item__value { display: block; font-weight: 650; color: var(--navy); overflow-wrap: anywhere; line-height: 1.4; }
.contact-item[data-soon] .contact-item__value { color: var(--muted); font-weight: 500; }

/* ---------- Social ---------- */
.social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--navy); background: var(--white); border: 1px solid var(--line); text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.social__link:hover { transform: translateY(-3px); background: var(--navy); color: var(--gold); border-color: var(--navy); }
.social__link .icon { width: 20px; height: 20px; }
.social__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.site-footer__col .social--footer { display: flex; margin-top: 1.5rem; }
.social--footer .social__link { background: rgba(240, 238, 227, 0.06); color: var(--cream); border-color: var(--line-light); }
.social--footer .social__link:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.social--large .social__link { width: auto; height: auto; padding: 0.7rem 1.1rem; gap: 0.6rem; font-weight: 650; font-size: 0.95rem; }
.social--large .social__label { position: static; width: auto; height: auto; clip: auto; overflow: visible; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--navy-deep); color: var(--cream); padding: 0.85rem 1.2rem; border-radius: 10px; font-size: 0.93rem; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: opacity 0.3s, transform 0.3s var(--ease); max-width: calc(100vw - 2rem); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(240, 238, 227, 0.75); padding-top: clamp(4rem, 8vw, 5.5rem); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem); }
.site-footer__logo { display: inline-block; }
.site-footer__logo .logo { width: 76px; border-radius: 14px; }
.site-footer__name { margin-top: 1.25rem; color: var(--cream); line-height: 1.45; font-size: 0.98rem; }
.site-footer__name strong { font-size: 1.35rem; letter-spacing: 0.08em; color: var(--white); }
.site-footer__tagline { margin-top: 1rem; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: rgba(240, 238, 227, 0.72); max-width: 360px; }
.site-footer__title { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 700; }
.site-footer__col ul { display: grid; gap: 0.65rem; }
.site-footer__col a { color: rgba(240, 238, 227, 0.8); text-decoration: none; font-size: 0.97rem; transition: color 0.2s; }
.site-footer__col a:hover { color: var(--gold); }
.site-footer__contact a { display: flex; gap: 0.65rem; align-items: flex-start; overflow-wrap: anywhere; }
.site-footer__contact .icon { margin-top: 0.2rem; color: var(--gold); }
.site-footer__bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.75rem 2rem; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.87rem; color: rgba(240, 238, 227, 0.55);
  padding-right: 11rem; /* keeps text clear of the floating WhatsApp button */
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 250;
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.25rem 0.8rem 0.95rem;
  background: #1f9d55; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.98rem;
  border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(18, 90, 49, 0.55), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s var(--ease), background-color 0.25s, box-shadow 0.3s;
}
.wa-float:hover { background: #188447; transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(18, 90, 49, 0.6); }
.wa-float__icon { width: 28px; height: 28px; }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.45); animation: waPulse 2.8s ease-out 1.5s 3;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 157, 85, 0); } }
.mobile-menu:not([hidden]) ~ .wa-float { display: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .rise { animation: rise 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why .card, .why .card:nth-child(4) { grid-column: auto; }
  .why .card:nth-child(5) { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile__card { position: static; }
  .industry-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .split, .split--wide-left, .split--form { grid-template-columns: minmax(0, 1fr); }
  .page-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero__pillars { grid-template-columns: minmax(0, 1fr); }
  .hero__pillar, .hero__pillar + .hero__pillar { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .hero::before { background: linear-gradient(180deg, rgba(10, 26, 45, 0.82) 0%, rgba(10, 26, 45, 0.9) 55%, rgba(10, 26, 45, 0.97) 100%); }
  .children { grid-template-columns: minmax(0, 1fr); }
  .children__media { aspect-ratio: 16 / 10; }
  .approach { grid-template-columns: minmax(0, 1fr); }
  .approach__step, .approach__step + .approach__step { padding: 1.75rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .vm, .grid--2, .industries-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band__inner, .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .intro__badge { position: relative; left: auto; bottom: auto; margin: -2.5rem 1rem 0; max-width: none; }
  .service-block__head { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__logo { width: 42px; }
  .brand__text span { display: none; }
  .grid--3, .why, .industry-tiles, .form-grid, .focus-grid { grid-template-columns: minmax(0, 1fr); }
  .why .card:nth-child(5), .span-2 { grid-column: auto; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__services { flex-direction: column; gap: 0.5rem; }
  .btn-row .btn, .cta-band__actions .btn, .form-actions .btn { width: 100%; }
  .edu li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .highlight { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .frame::after { --s: 24px; inset: -8px; }
  /* Compact circular WhatsApp button */
  .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; right: 14px; bottom: 14px; }
  .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .wa-float__icon { width: 30px; height: 30px; }
  .site-footer__bottom { padding-right: 0; padding-bottom: 5.5rem; }
}
