/* ITOMAC — shared stylesheet */

:root {
  --ink: #0B1220;
  --muted: #4B5563;
  --muted2: #55606E;
  --faint: #8A93A3;
  --bg: #FFFFFF;
  --bg-soft: #F4F6FB;
  --line: #E3E8F2;

  --brand: #0544A4;
  --brand-dark: #043584;
  --brand-tint: #EAF0FB;

  --navy: #0B1220;
  --navy-card: #12203F;
  --navy-line: #223259;

  --ops: #0E7490;
  --ops-dark: #0B5C6D;
  --ops-bg: #0B1E24;

  --witcce: #E8734A;
  --witcce-dark: #B85530;
  --witcce-tint: #FDEEE7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

.kicker {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--brand); color: #FFFFFF; }
.btn-primary:hover { background: var(--brand-dark); color: #FFFFFF; }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1.5px solid #D6DBE5; }
.btn-outline-dark:hover { background: var(--bg-soft); }
.btn-ops { background: var(--ops); color: #FFFFFF; }
.btn-ops:hover { background: var(--ops-dark); color: #FFFFFF; }
.btn-witcce { background: var(--witcce); color: #FFFFFF; }
.btn-witcce:hover { background: var(--witcce-dark); color: #FFFFFF; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 13px;
}

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--bg);
}
.brand-mark {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.nav-links a.active { font-weight: 700; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .site-nav { padding: 0 20px; }
  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; width: 100%; }
  .nav-toggle { display: block; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px;
  border-top: 1px solid var(--line);
}
.site-footer .container,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-note { font-size: 13px; color: var(--faint); }
@media (max-width: 640px) {
  .site-footer { padding: 40px 20px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 56px 0; }
@media (max-width: 640px) {
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 32px 0; }
}

.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #FFFFFF; }
.bg-navy p { color: #A9B6CC; }

.max-720 { max-width: 720px; }
.max-640 { max-width: 640px; }
.max-620 { max-width: 620px; }
.max-580 { max-width: 580px; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-sidebar { display: grid; grid-template-columns: 320px 1fr; gap: 56px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-sidebar { grid-template-columns: 1fr; gap: 24px; }
  .hero-split { grid-template-columns: 1fr !important; }
  .work-row { grid-template-columns: 1fr !important; gap: 20px !important; }
}
@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.card-flush { padding: 26px; border: 1px solid var(--line); border-radius: 10px; }
.card-navy { padding: 36px; background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: 12px; }
.card-navy h3 { color: #FFFFFF; }
.card-navy p { color: #A9B6CC; }

/* ---------- Hero ---------- */
.hero { padding: 108px 0 64px 0; position: relative; overflow: hidden; }
.hero h1 { font-size: 52px; line-height: 1.1; margin-bottom: 22px; }
.hero-lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 580px; }
@media (max-width: 640px) {
  .hero { padding: 56px 0 40px 0; }
  .hero h1 { font-size: 34px; }
  .hero-lede { font-size: 17px; }
}

/* ---------- Flow steps (home) ---------- */
.flow { display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; }
.flow-step {
  flex: 1 1 140px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.flow-step.active { background: var(--brand); border-color: var(--brand); }
.flow-step.active .flow-num { color: #AFC4F0; }
.flow-step.active .flow-label { color: #FFFFFF; }
.flow-num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 12px; color: var(--brand); margin-bottom: 10px; }
.flow-label { font-size: 15px; font-weight: 600; line-height: 1.4; }
.flow-arrow { width: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 900px) {
  .flow-arrow { display: none; }
  .flow-step { flex: 1 1 45%; }
}

/* ---------- Forms ---------- */
input, textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid #D6DBE5;
  border-radius: 6px;
  width: 100%;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
label { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 13px; color: #354055; margin-bottom: 8px; display: block; }
.form-status { font-size: 14.5px; margin-top: 14px; min-height: 20px; }
.form-status.ok { color: #1A7F37; }
.form-status.err { color: #B42318; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
