/* ==========================================================================
   Allied BDT — site stylesheet
   Palette taken from the company brochure: royal blue, red, green, sky blue.
   ========================================================================== */

:root {
  --navy: #0a1a4a;
  --blue: #1237c8;
  --blue-dark: #0c2796;
  --blue-soft: #eaf0ff;
  --sky: #11a3e6;
  --red: #d8262d;
  --red-soft: #fdecec;
  --green: #35a23a;
  --green-light: #7cbc3f;
  --green-soft: #eaf6e9;
  --ink: #131a30;
  --muted: #55607b;
  --line: #dde3f2;
  --surface: #f5f7fd;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(10, 26, 74, .06), 0 12px 32px -12px rgba(10, 26, 74, .18);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }

/* Signature pill label (echoes the outlined section labels of the brochure) */
.pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 18px;
  background: var(--white);
}
.pill.red { color: var(--red); border-color: var(--red); }
.pill.green { color: var(--green); border-color: var(--green); }
.pill.light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1rem/1 var(--font-body);
  padding: 15px 26px; border-radius: 999px;
  border: 2px solid var(--blue); background: var(--blue); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(18,55,200,.6); }
.btn.outline { background: transparent; color: var(--blue); }
.btn.outline:hover { background: var(--blue); color: #fff; }
.btn.white { background: #fff; color: var(--navy); border-color: #fff; }
.btn.white:hover { background: var(--blue-soft); color: var(--navy); border-color: var(--blue-soft); }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn.ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 10px 14px; border-radius: 999px;
}
.nav a:not(.btn):hover { background: var(--blue-soft); color: var(--blue); }
.nav a[aria-current="page"]:not(.btn) { color: var(--blue); background: var(--blue-soft); }
.nav .btn { margin-left: 10px; padding: 12px 22px; font-size: .95rem; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--line); border-radius: 12px;
  width: 46px; height: 46px; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px 20px 22px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(10,26,74,.3);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy); color: #d6def5; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--blue); }
.hero .lead { margin-top: 18px; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile {
  aspect-ratio: 1; border-radius: 18px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 12px;
}
.tile img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.green { background: var(--green-light); }
.tile.green-d { background: var(--green); }
.tile.red { background: #e30613; }
.tile.red-d { background: #b4141b; }
.tile.blue { background: #0033cc; }
.tile.blue-l { background: #5a8ed4; }
.tile.sky { background: var(--sky); }
.tile.white { background: #fff; border: 2px solid var(--line); align-items: center; justify-content: center; padding: 14px; }
.tile.white img { width: 100%; height: 100%; object-fit: contain; }
.tile .stat { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.7rem); line-height: 1.05; }
.tile .stat small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; opacity: .9; margin-top: 4px; }
.tile.wide { grid-column: span 2; aspect-ratio: 2 / 1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

/* ---------- Stat strip ---------- */
.stats { padding: 0; margin-top: -8px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.stat-row > div { padding: 28px 26px; border-right: 2px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row b { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--blue); line-height: 1; margin-bottom: 8px; }
.stat-row span { color: var(--muted); font-size: .95rem; line-height: 1.4; display: block; }
@media (max-width: 800px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row > div:nth-child(2) { border-right: 0; }
  .stat-row > div:nth-child(-n+2) { border-bottom: 2px solid var(--line); }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-3, .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }

.pillar { border-width: 2px; }
.pillar.p-red { border-color: var(--red); }
.pillar.p-blue { border-color: var(--blue); }
.pillar.p-green { border-color: var(--green); }
.pillar .icon { width: 72px; height: 72px; margin-bottom: 18px; }
.pillar .icon img { width: 100%; height: 100%; object-fit: contain; }
.pillar.p-red:hover { border-color: var(--red); }
.pillar.p-green:hover { border-color: var(--green); }
.pillar ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.pillar li { padding-left: 26px; position: relative; font-size: .98rem; color: var(--ink); }
.pillar li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 4px; background: var(--blue); }
.pillar.p-red li::before { background: var(--red); }
.pillar.p-green li::before { background: var(--green); }

/* Numbered approach list */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
}
.steps li:nth-child(2)::before { background: var(--sky); }
.steps li:nth-child(3)::before { background: var(--green); }
.steps li:nth-child(4)::before { background: var(--red); }
.steps li:nth-child(5)::before { background: var(--navy); }
.steps strong { display: block; color: var(--navy); font-size: 1.08rem; }
.steps span { color: var(--muted); font-size: .98rem; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.frame { border-radius: var(--radius); overflow: hidden; border: 3px solid var(--blue); box-shadow: var(--shadow); background: #fff; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.red { border-color: var(--red); }
.frame.green { border-color: var(--green); }
.caption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

.checks { list-style: none; display: grid; gap: 12px; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.6 7.9l-1.4-1.4z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.6 7.9l-1.4-1.4z'/></svg>") center/contain no-repeat;
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.chips.blue li { border-color: #c7d4fb; background: var(--blue-soft); color: var(--blue-dark); }
.chips.red li { border-color: #f6c5c7; background: var(--red-soft); color: #a51b21; }
.chips.green li { border-color: #bfe3be; background: var(--green-soft); color: #23731f; }
.chip-label { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 24px 0 12px; display: block; }
.chip-label.blue { color: var(--blue); } .chip-label.red { color: var(--red); } .chip-label.green { color: var(--green); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background:
  linear-gradient(180deg, var(--blue-soft), #fff); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 12px; }
.page-hero .deco { position: absolute; right: -40px; top: -30px; display: grid; grid-template-columns: repeat(3, 64px); gap: 10px; transform: rotate(8deg); opacity: .95; }
.page-hero .deco i { display: block; aspect-ratio: 1; border-radius: 16px; }
.page-hero .deco i:nth-child(1) { background: var(--green-light); } .page-hero .deco i:nth-child(2) { background: #0033cc; }
.page-hero .deco i:nth-child(3) { background: #5a8ed4; } .page-hero .deco i:nth-child(4) { background: #e30613; }
.page-hero .deco i:nth-child(5) { background: var(--sky); } .page-hero .deco i:nth-child(6) { background: var(--green); }
@media (max-width: 760px) { .page-hero .deco { display: none; } }

.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Service detail ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.subnav a { text-decoration: none; border: 2px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--navy); background: #fff; }
.subnav a:hover { border-color: var(--blue); color: var(--blue); }

.service { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); padding: 44px 0; border-top: 2px solid var(--line); scroll-margin-top: 96px; }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .tag { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--blue); margin-bottom: 8px; }
.service.red .tag { color: var(--red); } .service.green .tag { color: var(--green); }
.service h3 { font-size: 1.7rem; }
.service-body ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 14px 0 18px; }
.service-body li { position: relative; padding-left: 22px; }
.service-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); }
.service.red .service-body li::before { background: var(--red); }
.service.green .service-body li::before { background: var(--green); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 12px; } .service-body ul { grid-template-columns: 1fr; } }

/* ---------- Case studies ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button {
  font: 700 .92rem var(--font-body); border: 2px solid var(--line); background: #fff; color: var(--navy);
  border-radius: 999px; padding: 9px 18px; cursor: pointer;
}
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

.case { border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.case .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.badge.b-blue { background: var(--blue-soft); color: var(--blue-dark); }
.badge.b-red { background: var(--red-soft); color: #a51b21; }
.badge.b-green { background: var(--green-soft); color: #23731f; }
.badge.b-grey { background: var(--surface); color: var(--muted); }
.case h3 { margin: 4px 0 0; font-size: 1.28rem; }
.case p { color: var(--muted); margin: 0; font-size: 1rem; }
.case .figs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.case .figs b { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue); margin-right: 6px; }
.case .figs span { color: var(--muted); font-size: .9rem; }
.case[hidden] { display: none; }

.table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .98rem; }
th { background: var(--surface); color: var(--navy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.pubs { list-style: none; display: grid; gap: 14px; counter-reset: p; }
.pubs li { counter-increment: p; position: relative; padding: 18px 20px 18px 64px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .98rem; }
.pubs li::before { content: counter(p); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.pubs em { color: var(--muted); }

/* ---------- Leadership / team ---------- */
.leader { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; border: 2px solid var(--blue); border-radius: var(--radius); padding: 28px; background: #fff; }
.leader img { border-radius: 18px; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.leader h3 { font-size: 1.7rem; margin-bottom: 2px; }
.leader .role { color: var(--blue); font-weight: 700; margin-bottom: 14px; }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; } .leader img { max-width: 240px; } }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; list-style: none; }
.people li { padding: 14px 18px; border-left: 4px solid var(--blue); background: #fff; border-radius: 0 12px 12px 0; box-shadow: 0 1px 0 var(--line); }
.people.red li { border-left-color: var(--red); } .people.green li { border-left-color: var(--green); } .people.sky li { border-left-color: var(--sky); }
.people b { display: block; color: var(--navy); }
.people span { color: var(--muted); font-size: .93rem; line-height: 1.4; display: block; }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote { border-left: 5px solid var(--green); padding: 6px 0 6px 24px; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--navy); }
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { background: var(--blue); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: #dbe4ff; max-width: 52ch; }
.cta::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 220px; height: 220px; border-radius: 36px; background: var(--green-light); transform: rotate(14deg); opacity: .9; }
.cta::before { content: ""; position: absolute; right: 150px; bottom: -90px; width: 150px; height: 150px; border-radius: 28px; background: #e30613; transform: rotate(-10deg); opacity: .95; }
.cta > * { position: relative; z-index: 1; }
@media (max-width: 700px) { .cta::before, .cta::after { opacity: .35; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { border: 2px solid var(--blue); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: #fff; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 7px; color: var(--navy); }
label .req { color: var(--red); }
label .opt { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,55,200,.14); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: .88rem; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 16px 20px; margin-bottom: 22px; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert.ok { background: var(--green-soft); color: #1d6a19; border: 2px solid #9ed39b; }
.alert.bad { background: var(--red-soft); color: #9b1a20; border: 2px solid #f0a9ac; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }

.info-card { border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.info-card + .info-card { margin-top: 20px; }
.info-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }
.info-card p { color: var(--muted); }
.info-card a.mail { font-weight: 700; font-size: 1.15rem; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b8c3e6; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #dce4fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer > .container { padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .logo-chip { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 18px; }
.foot-brand .logo-chip img { height: 44px; width: auto; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9rem; }
.tag-line { font-family: var(--font-display); font-style: italic; color: #fff; font-size: 1.15rem; margin: 0 0 10px; }
.color-bar { display: flex; height: 6px; }
.color-bar i { flex: 1; } .color-bar i:nth-child(1){background:var(--green-light)} .color-bar i:nth-child(2){background:#0033cc}
.color-bar i:nth-child(3){background:#e30613} .color-bar i:nth-child(4){background:var(--sky)} .color-bar i:nth-child(5){background:var(--green)}

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); color: var(--blue); line-height: 1; }

/* Reveal animation (progressive; content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none; }
  section { padding: 24px 0; }
}

/* Chips on dark backgrounds */
.chip-label.light { color: #9fb4ff; }
.chips.on-dark li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }

.center-text { margin-inline: auto; text-align: center; }
.center-row { justify-content: center; }

/* fixes */
.more svg, .cta .btn svg { width: 18px; height: 18px; flex: none; }
.bg-navy .lead { color: #c3cdee; }
.service-body ul.chips { display: flex; margin: 0; }
.service-body ul.chips li { padding-left: 18px; }
.service-body ul.chips li::before { display: none; }

/* Second leader card + technology service accent */
.leader + .leader { margin-top: 24px; }
.leader.tech { border-color: var(--sky); }
.leader.tech .role { color: #0a7fb8; }
.service.tech .tag { color: var(--sky); }
.service.tech .service-body li::before { background: var(--sky); }

/* Technology & AI band */
.bg-sky { background: linear-gradient(180deg, #e8f6fe 0%, #f6fbff 100%); }
.pill.sky { color: #0a7fb8; border-color: var(--sky); }
.tcard { border-top: 5px solid var(--sky); }
.tcard h3 { font-size: 1.15rem; }
