/* ==========================================================================
   Apex Consulting Projects — main stylesheet
   Brand: dark navy/black, electric blue, gold + silver highlights, white content
   ========================================================================== */

:root {
  /* Brand */
  --ink: #05080f;
  --navy-900: #08111f;
  --navy-800: #0c1a2e;
  --navy-700: #132643;
  --navy-600: #1c3459;
  --blue: #1f7ae0;
  --blue-bright: #3d9bff;
  --blue-soft: #e8f1fd;
  --gold: #d4a23a;
  --gold-bright: #f0c35c;
  --gold-soft: #fbf3e1;
  --silver: #c9d0da;
  --silver-dark: #8b95a5;

  /* Surfaces & text */
  --white: #ffffff;
  --bg-soft: #eef3f9;
  --line: #dce3ec;
  --text: #0d1726;
  --muted: #536074;
  --on-dark: #e9eef5;
  --on-dark-muted: #a9b4c4;

  /* Type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);

  /* Space, radius, shadow, motion */
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(8, 17, 31, 0.06), 0 2px 8px rgba(8, 17, 31, 0.05);
  --shadow-md: 0 8px 30px rgba(8, 17, 31, 0.1);
  --shadow-lg: 0 24px 60px rgba(8, 17, 31, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 320ms;

  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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: 16px; top: -60px; z-index: 1000; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--ink { background: var(--ink); color: var(--on-dark); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy-700);
}
.eyebrow .icon { color: var(--gold); width: 16px; height: 16px; }
.section--dark .eyebrow, .section--ink .eyebrow, .on-dark .eyebrow { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: var(--on-dark); }
.section-title { font-size: var(--fs-2xl); margin-top: 16px; }
.section-lead { color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; }
.section--dark .section-lead, .section--ink .section-lead { color: var(--on-dark-muted); }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.grad-text { background: linear-gradient(100deg, #fff 0%, var(--silver) 55%, var(--gold-bright) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .section-lead { margin-inline: auto; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 6px 6px 6px 22px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: var(--fs-sm); white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__arrow {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  transition: transform var(--t-med) var(--ease);
}
.btn__arrow .icon { width: 18px; height: 18px; }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: #1a6bc6; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; padding-right: 22px; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--plain { padding: 0 22px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow .icon { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), height var(--t-med) var(--ease);
}
.site-header.is-scrolled { background: rgba(5, 8, 15, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { height: 40px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.04em; background: linear-gradient(180deg, #fff 30%, var(--silver) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { white-space: nowrap; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; color: var(--blue-bright); margin-top: 4px; }

.nav__links { display: none; }
.nav__links a {
  position: relative; padding: 8px 2px; font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,0.82); white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.nav__phone .icon { color: var(--gold); }
.nav__cta { display: none; }
.nav__toggle {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); cursor: pointer; color: var(--white);
}
.nav__toggle .icon-close { display: none; }
.nav-open .nav__toggle .icon-open { display: none; }
.nav-open .nav__toggle .icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink); color: var(--white);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility var(--t-med);
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.nav-open .site-header { background: var(--ink); }
.mobile-nav a.mobile-nav__link { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 1.25rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav a.mobile-nav__link[aria-current="page"] { color: var(--gold-bright); }
.mobile-nav__foot { margin-top: 24px; display: grid; gap: 12px; }
.mobile-nav__foot .btn { justify-content: space-between; }

@media (min-width: 1080px) {
  .nav__links { display: flex; gap: 24px; }
  .nav__toggle, .mobile-nav { display: none; }
  .nav__cta { display: inline-flex; }
}
@media (min-width: 1380px) { .nav__phone { display: inline-flex; } .nav__links { gap: 30px; } }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: var(--white); background: var(--ink); isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scaleX(-1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,8,15,0.92) 0%, rgba(5,8,15,0.72) 42%, rgba(5,8,15,0.15) 75%),
    linear-gradient(0deg, rgba(5,8,15,0.95) 0%, rgba(5,8,15,0) 40%),
    linear-gradient(180deg, rgba(5,8,15,0.6) 0%, rgba(5,8,15,0) 22%);
}
.hero__inner { flex: 1; display: grid; align-items: end; gap: 32px; padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
.hero__content { max-width: 680px; }
.hero__slogan { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-bright); }
.hero__slogan .icon { width: 22px; height: 22px; }
.hero h1 { font-size: var(--fs-3xl); margin-top: 18px; font-weight: 700; }
.hero__lead { margin-top: 20px; font-size: var(--fs-lg); color: rgba(255,255,255,0.82); max-width: 54ch; }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: var(--fs-xs); font-weight: 600; color: var(--white);
}
.chip .icon { width: 16px; height: 16px; color: var(--gold-bright); }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr auto; }
  .hero__chips { flex-direction: column; align-items: flex-end; }
}

/* Ticker */
.ticker { position: relative; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(5,8,15,0.6); overflow: hidden; padding-block: 18px; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); font-weight: 600; white-space: nowrap; color: rgba(255,255,255,0.9); }
.ticker__item .icon { color: var(--gold); width: 22px; height: 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: var(--white); background: var(--ink); isolation: isolate; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,15,0.94) 0%, rgba(5,8,15,0.75) 55%, rgba(5,8,15,0.45) 100%); }
.page-hero__inner { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 112px)); padding-bottom: clamp(56px, 8vw, 96px); max-width: 820px; }
.page-hero h1 { font-size: var(--fs-3xl); margin-top: 16px; }
.page-hero p { margin-top: 18px; font-size: var(--fs-lg); color: rgba(255,255,255,0.8); max-width: 60ch; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: var(--fs-xs); font-weight: 600; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--white); }
.crumbs .icon { width: 14px; height: 14px; }
.page-hero__bar { height: 4px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 50%, var(--gold) 100%); }

/* ---------- Division cards (home) ---------- */
.div-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .div-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .div-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.div-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; padding: 24px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  color: var(--white); background: var(--navy-800);
}
.div-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.div-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,8,15,0.05) 20%, rgba(5,8,15,0.9) 85%); transition: background var(--t-med) var(--ease); }
.div-card:hover img { transform: scale(1.06); }
.div-card:hover::before { background: linear-gradient(180deg, rgba(8,17,31,0.25) 0%, rgba(8,17,31,0.95) 75%); }
.div-card__icon { position: absolute; top: 20px; left: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--gold-bright); }
.div-card__icon .icon { width: 26px; height: 26px; }
.div-card__num { position: absolute; top: 24px; right: 24px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
.div-card h3 { font-size: var(--fs-xl); }
.div-card p { margin-top: 10px; font-size: var(--fs-sm); color: rgba(255,255,255,0.8); }
.div-card__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-sm); color: var(--gold-bright); }
.div-card__more .icon { transition: transform var(--t-fast) var(--ease); }
.div-card:hover .div-card__more .icon { transform: translateX(4px); }

/* ---------- Trust section ---------- */
.trust { display: grid; gap: 20px; }
@media (min-width: 960px) { .trust { grid-template-columns: 1fr 1fr; } }
.trust__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; background: var(--navy-800); }
.trust__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trust__badge {
  position: absolute; left: 20px; bottom: 20px; padding: 16px 20px; border-radius: var(--r-md);
  background: rgba(5,8,15,0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--white); border: 1px solid rgba(255,255,255,0.14);
}
.trust__badge strong { display: block; font-size: 1.75rem; line-height: 1; color: var(--gold-bright); }
.trust__badge span { font-size: var(--fs-xs); color: var(--on-dark-muted); font-weight: 600; }
.trust__list { background: var(--white); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px; border-radius: var(--r-md); transition: background var(--t-fast) var(--ease); }
.trust__item:hover, .trust__item.is-featured { background: var(--blue-soft); }
.trust__item .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: #9a6f12; }
.trust__item h3 { font-size: var(--fs-base); }
.trust__item p { font-size: var(--fs-sm); color: var(--muted); margin-top: 4px; }

.urgent {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; border-radius: var(--r-lg); background: var(--navy-900); color: var(--white);
  background-image: radial-gradient(600px 200px at 100% 0%, rgba(31,122,224,0.35), transparent 70%);
}
.urgent h3 { font-size: var(--fs-xl); display: flex; align-items: center; gap: 10px; }
.urgent h3 .icon { color: var(--gold-bright); }
.urgent p { color: var(--on-dark-muted); margin-top: 6px; font-size: var(--fs-sm); }

/* ---------- Steps (how we work) ---------- */
.steps__tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--r-md); padding: 6px; gap: 6px; margin-bottom: 20px; }
.steps__tab {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 12px;
  border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  color: var(--muted); font-weight: 700; font-size: var(--fs-sm); text-align: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.steps__tab span { color: var(--gold); font-weight: 800; }
.steps__tab[aria-selected="true"] { background: var(--navy-900); color: var(--white); }
.steps__tab:not([aria-selected="true"]):hover { background: var(--bg-soft); color: var(--text); }
.steps__panel { display: grid; gap: 20px; }
.steps__panel[hidden] { display: none; }
@media (min-width: 860px) { .steps__panel { grid-template-columns: 1fr 1.25fr; } }
.steps__card { background: var(--blue-soft); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 340px; }
.steps__card .num { font-weight: 800; color: var(--gold); letter-spacing: 0.08em; }
.steps__card h3 { font-size: var(--fs-2xl); margin-top: 12px; }
.steps__card p { margin-top: 14px; color: var(--muted); }
.steps__media { border-radius: var(--r-lg); overflow: hidden; min-height: 340px; position: relative; }
.steps__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .steps__tab { flex-direction: column; gap: 2px; font-size: var(--fs-xs); } }

/* ---------- Industries ---------- */
.ind-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ind-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.ind-chip .icon { color: var(--blue); }
.ind-chip:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.ind-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
.ind-card { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease); overflow: hidden; }
.ind-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.ind-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ind-card:hover::after { transform: scaleX(1); }
.ind-card__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--gold-bright); }
.ind-card__ic .icon { width: 26px; height: 26px; }
.ind-card h3 { margin-top: 20px; font-size: var(--fs-lg); }
.ind-card p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); }
.ind-card__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--navy-700); }

/* ---------- Accreditations ---------- */
.accred { display: grid; gap: 16px; }
@media (min-width: 760px) { .accred { grid-template-columns: repeat(2, 1fr); } }
.accred__card {
  display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: var(--white);
  border: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden;
}
.accred__card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(212,162,58,0.25), transparent 70%); }
.accred__seal { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 50%; background: linear-gradient(145deg, var(--gold-bright), var(--gold) 60%, #a37a22); color: var(--ink); box-shadow: 0 0 0 4px rgba(212,162,58,0.2); }
.accred__seal .icon { width: 34px; height: 34px; }
.accred__card small { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.accred__card h3 { font-size: var(--fs-xl); margin-top: 4px; }
.accred__card p { margin-top: 6px; font-size: var(--fs-sm); color: var(--on-dark-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--white); padding: clamp(32px, 6vw, 64px); display: grid; gap: 24px; align-items: center; background: var(--navy-900); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 0% 100%, rgba(31,122,224,0.45), transparent 70%), radial-gradient(500px 260px at 100% 0%, rgba(212,162,58,0.3), transparent 70%); }
.cta-band h2 { font-size: var(--fs-2xl); }
.cta-band p { color: var(--on-dark-muted); margin-top: 12px; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* ---------- About ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--muted); font-size: var(--fs-lg); }
.collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.collage img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; }
.collage__tall { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.collage__sq { aspect-ratio: 1 / 1; }
.slogan-card { aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: var(--navy-900); color: var(--white); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background-image: radial-gradient(260px 200px at 100% 100%, rgba(31,122,224,0.45), transparent 70%); }
.slogan-card .icon { width: 44px; height: 44px; color: var(--gold-bright); }
.slogan-card strong { font-size: var(--fs-xl); line-height: 1.2; }
.slogan-card span { display: block; font-size: var(--fs-xs); color: var(--silver); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }

.mv-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--navy-800); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.mv-card--vision { background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); }
.mv-card__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(212,162,58,0.14); color: var(--gold-bright); }
.mv-card__ic .icon { width: 28px; height: 28px; }
.mv-card h3 { margin-top: 24px; font-size: var(--fs-2xl); color: var(--white); }
.mv-card p { margin-top: 14px; font-size: var(--fs-lg); color: var(--on-dark); }
.mv-card__big { position: absolute; right: 20px; bottom: -20px; font-size: 8rem; font-weight: 800; line-height: 1; color: rgba(255,255,255,0.04); pointer-events: none; }

.values { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.value .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.value h3 { margin-top: 16px; font-size: var(--fs-lg); }
.value p { margin-top: 6px; color: var(--muted); font-size: var(--fs-sm); }

.founder { display: grid; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 860px) { .founder { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } }
.founder__avatar { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-700), var(--ink)); color: var(--gold-bright); font-size: 2rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gold); }
.founder blockquote { margin: 0; font-size: var(--fs-xl); line-height: 1.45; font-weight: 600; color: var(--text); }
.founder cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; }
.founder cite span { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); color: var(--muted); border: 1px solid transparent; transition: all var(--t-fast) var(--ease); }
.subnav a .icon { width: 18px; height: 18px; }
.subnav a:hover { color: var(--text); background: var(--bg-soft); }
.subnav a.is-active { color: var(--white); background: var(--navy-900); }
.subnav a.is-active .icon { color: var(--gold-bright); }

.division { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1000px) { .division { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.division__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--navy-800); }
@media (min-width: 1000px) { .division__media { position: sticky; top: calc(var(--header-h) + 90px); aspect-ratio: 4 / 4.6; } }
.division__media img { width: 100%; height: 100%; object-fit: cover; }
.division__label { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(5,8,15,0.75); color: var(--white); font-size: var(--fs-xs); font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.division__label .icon { color: var(--gold-bright); width: 16px; height: 16px; }
.division__num { font-weight: 800; color: var(--gold); letter-spacing: 0.1em; font-size: var(--fs-sm); }
.division h2 { font-size: var(--fs-2xl); margin-top: 10px; }
.division__intro { margin-top: 16px; color: var(--muted); font-size: var(--fs-lg); }
.svc-list { margin-top: 28px; display: grid; gap: 12px; }
@media (min-width: 640px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.svc:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.svc .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.svc .ic .icon { width: 18px; height: 18px; }
.svc h3 { font-size: var(--fs-base); }
.svc p { margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); }
.division__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.section--soft .svc { background: var(--white); }

/* ---------- Products we supply ---------- */
.prod-group + .prod-group { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.prod-group__head { max-width: 70ch; }
.prod-group__head h3 { font-size: var(--fs-xl); margin-top: 8px; }
.prod-group__head p { margin-top: 8px; color: var(--muted); }
.prod-grid { margin-top: 24px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.prod-card { padding: 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.prod-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.prod-card__head { display: flex; align-items: center; gap: 12px; }
.prod-card .ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy-900); color: var(--gold-bright); }
.prod-card .ic .icon { width: 18px; height: 18px; }
.prod-card h4 { font-size: var(--fs-base); }
.prod-specs { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.prod-specs li { position: relative; padding-left: 16px; font-size: var(--fs-sm); color: var(--muted); }
.prod-specs li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prod-photos { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.prod-photos figure { margin: 0; padding: 10px 10px 12px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-align: center; }
.prod-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.prod-photos figcaption { margin-top: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.prod-note { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 24px; border-radius: var(--r-md); background: var(--gold-soft); border: 1px solid #efdcb0; }
.prod-note p { display: flex; gap: 10px; align-items: flex-start; max-width: 70ch; font-size: var(--fs-sm); color: var(--text); }
.prod-note p .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #9a6f12; }

/* ---------- Projects ---------- */
.coming { display: grid; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--white); border: 1px dashed var(--silver-dark); text-align: center; justify-items: center; }
.coming__ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold-soft); color: #9a6f12; }
.coming__ic .icon { width: 32px; height: 32px; }
.coming h2 { font-size: var(--fs-2xl); }
.coming p { color: var(--muted); max-width: 58ch; font-size: var(--fs-lg); }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.gallery figure { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-800); }
@media (min-width: 900px) { .gallery figure { aspect-ratio: auto; } .gallery .g-tall { grid-row: span 2; } .gallery .g-wide { grid-column: span 2; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; font-size: var(--fs-xs); font-weight: 700; color: var(--white); background: linear-gradient(0deg, rgba(5,8,15,0.85), transparent); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.contact__info { display: grid; gap: 12px; }
.info-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.info-card .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: var(--gold-bright); }
.info-card h3 { font-size: var(--fs-sm); color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.info-card p, .info-card a { font-weight: 700; font-size: var(--fs-lg); }
.info-card a:hover { color: var(--blue); }
.info-card small { display: block; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.info-card--urgent { background: var(--navy-900); color: var(--white); border-color: transparent; }
.info-card--urgent h3 { color: var(--gold-bright); }
.info-card--urgent small { color: var(--on-dark-muted); }
.info-card--urgent .ic { background: var(--gold); color: var(--ink); }
.hours { display: grid; gap: 6px; margin-top: 4px; font-size: var(--fs-sm); }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: var(--fs-2xl); }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form { margin-top: 28px; display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: var(--fs-sm); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--white); font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,122,224,0.15); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .error { font-size: var(--fs-xs); color: #b42318; font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field.has-error .error { display: block; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { margin-bottom: 6px; }
.seg label { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); transition: border-color var(--t-fast), background var(--t-fast); }
.seg label .icon { color: var(--blue); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: var(--text); }
.seg label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.seg small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; overflow-wrap: anywhere; }
.seg label { min-width: 0; }
.contact > * { min-width: 0; }
@media (max-width: 520px) { .seg { grid-template-columns: 1fr; } }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__note { font-size: var(--fs-xs); color: var(--muted); max-width: 40ch; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(56px, 8vw, 88px); font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; } }
.footer__logo { width: 180px; }
.footer__about p { margin-top: 16px; max-width: 36ch; }
.footer__slogan { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-bright); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: var(--fs-xs); }
.site-footer h3 { color: var(--white); font-size: var(--fs-base); margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color var(--t-fast); }
.footer__links a:hover { color: var(--white); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--gold); margin-top: 3px; width: 18px; height: 18px; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__badges span { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid rgba(212,162,58,0.4); color: var(--gold-bright); font-weight: 700; font-size: 0.75rem; }
.footer__bottom { margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--fs-xs); }

/* Floating WhatsApp */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: var(--white); box-shadow: var(--shadow-lg); transition: transform var(--t-fast) var(--ease); }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { 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; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
