/* ERP Setu: clean off-white, deep teal, amber and slate with a bridge motif. Lexend headings, Mulish text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #F7F8F5;
  --surface: #FFFFFF;
  --soft: #EEF3F1;
  --ink: #1E293B;
  --muted: #526071;
  --line: #DDE5E2;
  --line-strong: #BFCDC8;
  --brand: #0F766E;
  --brand-hover: #0B5F58;
  --brand-ink: #FFFFFF;
  --brand-text: #0F766E;
  --amber: #F59E0B;
  --eyebrow: #B45309;
  --out-bg: #1E293B;
  --out-ink: #FFFFFF;
  --out-accent: #FBBF24;
  --out-btn: #F59E0B;
  --out-btn-ink: #1E293B;
  --cta-bg: #0F766E;
  --head: "Lexend", system-ui, sans-serif;
  --body: "Mulish", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --btn-radius: 10px;
  --wrap: 1200px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
.btn { font-weight: 800; }
.ic { color: var(--brand); }

/* header: logo left, nav centred in a light bar */
.header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 #fff, 0 6px 20px -18px rgba(30, 41, 59, .4); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 600 1.3rem var(--head); }
.logo small { font-size: .72rem; color: var(--muted); font-weight: 700; }
.nav a { font-weight: 700; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
@media (max-width: 1100px) and (min-width: 961px) { .nav a { padding: 8px 8px; } .header-cta .btn { padding: 10px 14px; } }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 84px); background: linear-gradient(90deg, var(--bg) 55%, var(--soft) 55%); }
@media (max-width: 900px) { .hero { background: var(--bg); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.06; margin: 14px 0 18px; }
.hero .lede { margin-bottom: 26px; }
.es-hero-stats { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.es-hero-stats b { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.es-art { width: 100%; height: auto; }
.es-mod { animation: es-in .6s both ease-out; }
@keyframes es-in { from { opacity: 0; transform: translateY(12px); } }
.es-strip { padding-block: 24px; background: #fff; border-block: 1px solid var(--line); }

.es-mods { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .es-mods { grid-template-columns: minmax(0, 1fr); } }
.es-mod-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 520px) { .es-mod-grid { grid-template-columns: minmax(0, 1fr); } }
.es-mod-grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 20px; background: #fff; }
.es-mod-grid .ic { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--soft); }
.es-mod-grid h3 { font-size: 1.05rem; }
.es-mod-grid p { color: var(--muted); font-size: .9rem; }
.process li { border-top: 3px solid var(--brand); }
.p-no { display: inline-block; color: var(--eyebrow); }
.svc-tile .ic { color: var(--brand); }
.svc-no { color: var(--amber); }
.es-work { background: var(--soft); }
.case-card { border-color: var(--line); }
.quotes li { border-left: 4px solid var(--amber); }
.cta-band .btn-primary { background: var(--amber); color: var(--ink); }

/* inner pages */
.page-head { background: linear-gradient(90deg, #fff, var(--soft)); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tool-in fieldset.card > legend { float: left; width: 100%; margin-bottom: 14px; }
.tool-in fieldset.card > legend + * { clear: both; }
.es-picks { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.es-pick { grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; }
.es-pick .ic { grid-row: span 3; width: 26px; height: 26px; }
.es-pick small { grid-column: 2; }
.es-pick .es-rate { font-weight: 700; color: var(--brand-text); }
.pick:has(input:checked) { background: #F2FAF8; }
.steppers .field, .tool-in .card .field + .field { margin-top: 18px; }
.footer { background: var(--ink); color: #fff; }
.footer .logo small { color: #A7B6C6; }
.legal { border-color: rgba(255,255,255,.15); }
.nf-title { color: var(--brand); }
.svc-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
