/* TechNetra Consulting — site styles
   Same design family as NetraHire (navy, Inter, quiet cards), with
   TechNetra blue (#008FE2, from the logo) as the accent. Text colours
   meet WCAG 2.1 AA contrast. */

:root {
  --brand:        #0369A1;   /* TechNetra blue, darkened for text — 5.9:1 on white */
  --brand-hover:  #075985;
  --brand-soft:   #E0F2FE;
  --brand-border: #BAE6FD;
  --accent-light: #7DD3FC;   /* on navy only */
  --logo-blue:    #008FE2;   /* decorative only */
  --on-brand:     #FFFFFF;

  --navy:         #0F1B2D;
  --navy-text:    #A9B6C8;
  --page:         #F4F6F9;
  --surface:      #FFFFFF;
  --surface-alt:  #F8F9FB;

  --text-strong:  #0F1B2D;
  --text-body:    #334155;
  --text-muted:   #566579;

  --line:         #E2E8F0;
  --field-border: #7C889A;
  --radius:       6px;
  --radius-lg:    10px;
  --shadow:       0 1px 3px rgba(15,27,45,0.08), 0 1px 2px rgba(15,27,45,0.04);
  --shadow-lg:    0 12px 32px rgba(15,27,45,0.14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text-body); background: var(--surface); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--text-strong); margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
.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: 12px; top: -48px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.inner { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--radius); font: 600 14px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--text-strong); border-color: var(--line); box-shadow: var(--shadow); }
.btn--secondary:hover { border-color: var(--field-border); color: var(--text-strong); }
.btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ── Header ──────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-strong); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo:hover { color: var(--text-strong); }
.logo__mark { width: 34px; height: 34px; border-radius: 8px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.logo__accent { color: var(--brand); }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a { color: var(--text-body); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-strong); background: var(--page); }
.bar__cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text-strong); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 24px 20px; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--text-strong); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; width: 100%; }
.mobile-nav.is-open { display: block; }

/* ── Hero ────────────────────────────────────────────── */
.hero { background: var(--navy); background-image: radial-gradient(ellipse at 12% 110%, rgba(0,143,226,0.40), transparent 55%), radial-gradient(ellipse at 95% -10%, rgba(31,79,209,0.35), transparent 50%); color: var(--navy-text); padding: 88px 0 96px; }
.hero--page { padding: 64px 0 72px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.02em; max-width: 800px; }
.hero--page h1 { font-size: clamp(30px, 4vw, 44px); }
.hero__lead { color: #C7D2E4; font-size: 18px; line-height: 1.65; max-width: 640px; margin-top: 18px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--accent-light); background: rgba(125,211,252,0.1); border: 1px solid rgba(125,211,252,0.25); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.hero :focus-visible, .band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.crumbs { font-size: 14px; margin-bottom: 18px; }
.crumbs a { color: var(--accent-light); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 8px; color: #E2E8F0; font-size: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 8px 14px; border-radius: 999px; }
.pills .icon { color: var(--accent-light); width: 16px; height: 16px; }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--alt { background: var(--page); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -0.015em; max-width: 760px; }
.sub { font-size: 17px; color: var(--text-muted); line-height: 1.65; max-width: 680px; margin-top: 14px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--text-body); max-width: 720px; }
.prose p + p { margin-top: 16px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 40px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.card--link { display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card--link:hover { border-color: var(--brand-border); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card--link .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand); }
.ico { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.ico .icon { width: 22px; height: 22px; }

.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--text-body); }
.checks .icon { color: var(--brand); width: 18px; height: 18px; margin-top: 3px; }

.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding-top: 46px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-border); border-radius: 999px; padding: 5px 12px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }

/* ── Dark band ───────────────────────────────────────── */
.band { background: var(--navy); background-image: radial-gradient(ellipse at 100% 0%, rgba(0,143,226,0.32), transparent 55%); color: var(--navy-text); padding: 80px 0; }
.band h2, .band h3 { color: #fff; }
.band .kicker { color: var(--accent-light); }
.band .sub { color: #C7D2E4; }
.band .card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.band .card p { color: #C7D2E4; }
.band .ico { background: rgba(125,211,252,0.12); color: var(--accent-light); }

.product { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.product__card { background: #fff; color: var(--text-body); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.product__card h3 { color: var(--text-strong); font-size: 17px; }
.product__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--text-strong); margin-bottom: 12px; }
.product__logo span { width: 30px; height: 30px; border-radius: 7px; background: #1F4FD1; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }

.cta { text-align: center; }
.cta .h2, .cta .sub { margin-left: auto; margin-right: auto; }
.cta .hero__actions { justify-content: center; }

/* ── Contact ─────────────────────────────────────────── */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list h3 { font-size: 15px; margin-bottom: 4px; }
.contact-list p, .contact-list a { font-size: 15px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.form__row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--text-strong); margin-bottom: 6px; }
.field .req { color: #B91C1C; }
.field input, .field select, .field textarea { width: 100%; font: 15px/1.4 var(--font); color: var(--text-strong); background: var(--surface); border: 1px solid var(--field-border); border-radius: var(--radius); padding: 10px 12px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(3,105,161,0.25); }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.hint { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.alert { border-radius: var(--radius); padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.alert--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert--ok { background: #ECFDF3; color: #166534; border: 1px solid #BBF7D0; }
.alert[hidden] { display: none; }

/* ── Legal pages ─────────────────────────────────────── */
.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal .updated { color: var(--text-muted); font-size: 14px; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--navy-text); padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-footer li, .contact-list p { overflow-wrap: anywhere; }
.site-footer .logo { color: #fff; }
.site-footer .logo__accent { color: var(--accent-light); }
.site-footer h2 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--navy-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nav, .bar__cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .inner { padding: 0 16px; }
  .mobile-nav { padding: 8px 16px 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .band { padding: 64px 0; }
  .grid--2, .split, .product { grid-template-columns: 1fr; }
  .form { padding: 20px; }
}
.footer-about { margin-top: 14px; max-width: 320px; line-height: 1.65; }

/* ── TechNetra v2 components ─────────────────────────── */
.logo img { height: 44px; width: auto; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer-logo img { height: 44px; width: auto; }

.hero-split { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.layers { list-style: none; margin: 0; padding: 20px; display: grid; gap: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; }
.layers__title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-light); padding: 2px 6px 6px; }
.layers a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); text-decoration: none; color: #fff; transition: background .15s, border-color .15s, transform .15s; }
.layers a:hover { background: rgba(125,211,252,0.1); border-color: rgba(125,211,252,0.35); transform: translateX(4px); color: #fff; }
.layers .num { font-size: 13px; font-weight: 700; color: var(--accent-light); }
.layers strong { display: block; font-size: 15px; font-weight: 600; }
.layers small { display: block; font-size: 13px; color: var(--navy-text); margin-top: 2px; }
.layers .icon { color: var(--accent-light); }

.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; color: var(--text-strong); font-weight: 700; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }
.band .stats__grid { margin-top: 36px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); }
.band .stat { border-color: rgba(255,255,255,0.12); }
.band .stat b { color: #fff; }
.band .stat span { color: #C7D2E4; }

.pillar-num { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.card .pillar-num { display: block; margin-top: 16px; }
.card .pillar-num + h3 { margin-top: 6px; }

.jump { position: sticky; top: 68px; z-index: 30; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; }
.jump a { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text-body); font-size: 14px; font-weight: 500; }
.jump a:hover, .jump a[aria-current="true"] { border-color: var(--brand-border); background: var(--brand-soft); color: var(--brand-hover); }
.jump b { color: var(--brand); font-weight: 700; }
.pillar { scroll-margin-top: 140px; }
.pillar__head { display: flex; gap: 18px; align-items: flex-start; }
.pillar__head .ico { width: 52px; height: 52px; flex-shrink: 0; }
.pillar__lead { font-size: 19px; color: var(--text-strong); font-weight: 500; line-height: 1.5; margin-top: 18px; max-width: 760px; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.chips li { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--text-strong); }
.chips .icon { color: var(--brand); width: 18px; height: 18px; }

.faq { max-width: 820px; margin: 36px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; font-weight: 600; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .15s; color: var(--text-muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-body); line-height: 1.7; }
.hp { position: absolute; left: -9999px; }
.btn[disabled] { opacity: .65; cursor: progress; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .band .stat:nth-child(n+3) { border-top-color: rgba(255,255,255,0.12); }
}
@media (max-width: 640px) {
  .logo img { height: 38px; }
  .stat { padding: 22px 16px; }
  .jump { top: 68px; }
}
.stats__grid dd { margin: 0; }
.form__title { font-size: 24px; margin-bottom: 6px; }
.form__intro { margin: 0 0 20px; }
.pillar__body { margin-top: 12px; }
.logo img { height: 52px; }
.layers .ico { background: rgba(125,211,252,0.12); color: var(--accent-light); }
@media (max-width: 640px) { .logo img { height: 44px; } }

/* ── Practice areas (services page) ──────────────────── */
.subhead { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 44px 0 16px; }
.featured-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.featured { scroll-margin-top: 140px; background: var(--brand-soft); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); padding: 26px; }
.featured__head { display: flex; gap: 14px; align-items: center; }
.featured .ico { background: var(--surface); flex-shrink: 0; }
.featured h3 { font-size: 20px; margin-top: 4px; }
.featured > p { font-size: 15px; line-height: 1.65; color: var(--text-body); margin-top: 14px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--brand); border-radius: 999px; padding: 2px 9px; }
.practice-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.practice { scroll-margin-top: 140px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.practice h4 { font-size: 17px; }
.practice > p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-top: 6px; }
.svc { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.svc li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--text-strong); }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.svc--2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; }
@media (max-width: 640px) {
  .featured-grid, .practice-grid { grid-template-columns: 1fr; }
  .featured, .practice { padding: 20px; }
}

/* ── Careers: open positions ─────────────────────────── */
#jobs { margin-top: 32px; }
#jobs .grid { margin-top: 0; }
.jobs-empty { max-width: 760px; }
.jobs-empty h3 { margin-top: 0; }
.job { display: flex; flex-direction: column; }
.job .pillar-num { margin-top: 0; }
.job__foot { margin-top: auto; padding-top: 20px; }
