/* ═══════════════════════════════════════════════════
   main.css — Nagovss TechSolution
   Shared styles for all pages
═══════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --navy:   #0B1120;
  --navy2:  #111827;
  --navy3:  #1a2438;
  --teal:   #00C4A7;
  --teal2:  #00a88e;
  --teal3:  #e0faf6;
  --saffron:#F5A623;
  --ink:    #0f172a;
  --body:   #374151;
  --muted:  #6b7280;
  --line:   #e5e7eb;
  --surface:#ffffff;
  --soft:   #f8fafc;
  --r:      14px;
  --rsm:    10px;
  --sh:     0 1px 3px rgba(0,0,0,.06), 0 8px 24px -8px rgba(0,0,0,.12);
  --shd:    0 2px 8px rgba(0,0,0,.3),  0 20px 40px -12px rgba(0,0,0,.5);
  --disp:   'Space Grotesk', system-ui, sans-serif;
  --body-f: 'DM Sans', system-ui, sans-serif;
  --mono:   'JetBrains Mono', monospace;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body-f); color: var(--ink); background: var(--surface); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--disp); letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── ACCESSIBILITY ───────────────────────────────────── */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip:focus { left: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ── LAYOUT ──────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 9px; font-family: var(--disp); font-weight: 600; font-size: 14.5px; cursor: pointer; border: 1.5px solid transparent; transition: all .18s ease; }
.btn-teal        { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 4px 20px -6px rgba(0,196,167,.5); }
.btn-teal:hover  { background: var(--teal2); transform: translateY(-1px); box-shadow: 0 8px 28px -6px rgba(0,196,167,.55); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-ghost-dark  { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--teal); color: var(--teal2); }
.btn-white       { background: #fff; color: var(--navy); border-color: #fff; font-weight: 700; }
.btn-white:hover { background: var(--teal3); }

/* ── TOP BAR ─────────────────────────────────────────── */
.topbar { background: linear-gradient(90deg, var(--teal2) 0%, #0a8a75 100%); color: #fff; text-align: center; font-size: 13px; font-weight: 500; padding: 9px 12px; letter-spacing: .2px; }
.topbar b { font-weight: 700; }

/* ── HEADER ──────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 80; background: rgba(11,17,32,.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 700; font-size: 19px; color: #fff; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--teal) 0%, #00907d 100%); border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 500; color: #fff; flex-shrink: 0; }
.logo span.dot { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: rgba(255,255,255,.65); font-weight: 500; }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; justify-content: center; align-items: center; width: 40px; height: 40px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-cta { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-actions .btn-teal { display: none; }
  .nav-links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; font-size: 20px; background: var(--navy); transform: translateY(-100%); opacity: 0; transition: transform .25s ease, opacity .2s; z-index: 99; pointer-events: none; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu-cta { display: inline-flex; margin-top: 8px; }
  body.nav-open { overflow: hidden; }
}

/* ── HERO ────────────────────────────────────────────── */
.hero { background: var(--navy); position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,196,167,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,196,167,.07) 1px, transparent 1px); background-size: 48px 48px; }
.hero::after  { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 60%, transparent 30%, var(--navy) 80%); }
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; background: rgba(0,196,167,.1); border: 1px solid rgba(0,196,167,.25); border-radius: 999px; color: var(--teal); font-size: 13px; font-weight: 600; margin-bottom: 28px; font-family: var(--mono); }
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.hero h1 { font-size: clamp(36px, 5.5vw, 58px); line-height: 1.12; color: #fff; font-weight: 700; max-width: 800px; margin: 0 auto; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub { color: rgba(255,255,255,.55); font-size: 17.5px; max-width: 580px; margin: 20px auto 0; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.trust-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ── TERMINAL ────────────────────────────────────────── */
.terminal { margin: 52px auto 0; max-width: 580px; background: #0d1526; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -16px rgba(0,0,0,.7); text-align: left; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot:nth-child(1) { background: #ff5f57; }
.t-dot:nth-child(2) { background: #febc2e; }
.t-dot:nth-child(3) { background: #28c840; }
.terminal-title { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.3); }
.terminal-body { padding: 22px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 2.1; }
.t-line { display: flex; gap: 10px; }
.t-prompt { color: var(--teal); user-select: none; }
.t-cmd { color: rgba(255,255,255,.85); }
.t-out { color: rgba(255,255,255,.38); padding-left: 20px; font-size: 12px; }
.t-cursor { display: inline-block; width: 9px; height: 15px; background: var(--teal); vertical-align: middle; animation: blink 1.2s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

/* ── STAT BAND ───────────────────────────────────────── */
.statband { background: linear-gradient(135deg, var(--teal2) 0%, #0a8070 100%); }
.statband-inner { display: grid; grid-template-columns: repeat(4,1fr); }
@media(max-width:680px) { .statband-inner { grid-template-columns: repeat(2,1fr); } }
.stat { padding: 32px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: none; }
@media(max-width:680px) { .stat:nth-child(2){border-right:none} .stat:nth-child(3){border-right:1px solid rgba(255,255,255,.12)} }
.stat-num   { font-family: var(--disp); font-size: clamp(30px,4vw,40px); font-weight: 700; color: #fff; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 5px; font-weight: 500; }

/* ── SECTIONS ────────────────────────────────────────── */
.section     { padding: 80px 0; }
.section-alt  { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy2); }
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--teal2); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.eyebrow::before, .eyebrow::after { content: ''; flex: 0 0 24px; height: 1px; background: var(--teal); opacity: .4; }
.section-head h2       { font-size: clamp(26px,3.5vw,36px); font-weight: 700; color: var(--ink); }
.section-head h2.light { color: #fff; }
.section-head p        { color: var(--muted); margin-top: 10px; font-size: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }
.section-head p.light  { color: rgba(255,255,255,.5); }

/* ── SERVICES ────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:860px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: .2s ease; position: relative; overflow: hidden; }
.svc-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--teal3) 0%, transparent 60%); opacity: 0; transition: opacity .2s; }
.svc-card:hover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--sh); transform: translateY(-3px); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }
.svc-icon { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, var(--teal3) 0%, #c5f5ee 100%); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.svc-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.svc-card p  { color: var(--muted); font-size: 14px; line-height: 1.65; }
.svc-card .tag-mono { font-family: var(--mono); font-size: 11px; color: var(--teal2); margin-top: 14px; opacity: .7; }

/* ── WHY US ──────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media(max-width:640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: .18s; }
.feat-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--sh); }
.feat-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: linear-gradient(135deg, var(--teal3), #d0f5ef); display: grid; place-items: center; font-size: 20px; }
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.feat-card p  { color: var(--muted); font-size: 14px; }

/* ── WORK ────────────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:860px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); overflow: hidden; background: var(--navy3); transition: .2s; }
.work-card:hover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shd); transform: translateY(-3px); }
.work-thumb { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 38px; position: relative; }
.work-thumb.teal  { background: linear-gradient(135deg, #0d2e2a 0%, #0d3d36 100%); }
.work-thumb.amber { background: linear-gradient(135deg, #2a1f0a 0%, #3a2c10 100%); }
.work-thumb .thumb-label { position: absolute; bottom: 10px; right: 12px; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.25); }
.work-body { padding: 20px; }
.work-tag  { font-family: var(--mono); font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.work-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.work-card p  { color: rgba(255,255,255,.45); font-size: 13.5px; line-height: 1.6; }
.work-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--teal); transition: gap .15s; }
.work-link:hover { gap: 10px; }
.work-link svg { width: 13px; height: 13px; }

/* ── PROCESS ─────────────────────────────────────────── */
.process-track { display: flex; position: relative; }
.process-track::before { content: ''; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--teal) 0%, rgba(0,196,167,.1) 100%); }
@media(max-width:680px) {
  .process-track { flex-direction: column; gap: 20px; }
  .process-track::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal) 0%, rgba(0,196,167,.1) 100%); }
}
.process-step { flex: 1; text-align: center; padding: 0 16px; position: relative; }
@media(max-width:680px) { .process-step { text-align: left; padding: 0 0 0 64px; } }
.process-num { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--teal) 0%, var(--teal2) 100%); display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 18px; color: #fff; margin: 0 auto 22px; box-shadow: 0 8px 20px -8px rgba(0,196,167,.55); position: relative; z-index: 1; }
@media(max-width:680px) { .process-num { position: absolute; left: 0; top: 0; margin: 0; } }
.process-step h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.process-step p  { color: rgba(255,255,255,.45); font-size: 14px; line-height: 1.6; }

/* ── TECH STACK ──────────────────────────────────────── */
.tech-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tech-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); font-family: var(--mono); transition: .15s; }
.tech-chip:hover { border-color: var(--teal); color: var(--teal); }
.tech-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); opacity: .5; }

/* ── INDUSTRIES ──────────────────────────────────────── */
.ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media(max-width:760px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; font-size: 15px; transition: .18s; }
.ind-card:hover { border-color: var(--teal); transform: translateX(4px); }
.ind-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--teal3); flex-shrink: 0; }

/* ── REVIEWS ─────────────────────────────────────────── */
.rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:860px) { .rev-grid { grid-template-columns: 1fr; } }
.rev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: .18s; }
.rev-card:hover { border-color: var(--teal); box-shadow: var(--sh); }
.rev-stars  { color: var(--saffron); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.rev-quote  { color: var(--body); font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.rev-quote::before { content: '\201C'; font-size: 24px; color: var(--teal); font-style: normal; line-height: 0; vertical-align: -8px; margin-right: 3px; }
.rev-footer { display: flex; align-items: center; gap: 12px; }
.rev-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--disp); color: #fff; font-size: 15px; flex-shrink: 0; }
.rev-name   { font-weight: 700; font-size: 14.5px; }
.rev-when   { font-size: 12px; color: var(--muted); }
.rev-cta    { text-align: center; margin-top: 36px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--rsm); margin-bottom: 10px; background: var(--surface); overflow: hidden; transition: border-color .15s; }
.faq details[open] { border-color: var(--teal); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-arrow { width: 28px; height: 28px; border-radius: 7px; background: var(--soft); display: grid; place-items: center; flex-shrink: 0; font-size: 16px; color: var(--teal); transition: transform .2s, background .15s; }
.faq details[open] summary .faq-arrow { transform: rotate(45deg); background: var(--teal3); }
.faq-body { padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ── CTA BAND ────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #0d2d28 100%); border-radius: 20px; padding: 60px 40px; text-align: center; position: relative; overflow: hidden; margin: 20px 0; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,196,167,.15) 1px, transparent 1px); background-size: 28px 28px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(24px,3.5vw,34px); margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,.5); max-width: 500px; margin: 0 auto 28px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; padding: 20px 0 80px; align-items: start; }
@media(max-width:860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--navy); border-radius: var(--r); padding: 34px; color: #fff; position: relative; overflow: hidden; }
.contact-info::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(0,196,167,.07); }
.contact-info h2  { font-size: 24px; margin-bottom: 6px; color: #fff; }
.contact-info .sub { color: rgba(255,255,255,.45); font-size: 14px; margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.info-item:last-of-type { border-bottom: none; }
.info-ic  { width: 42px; height: 42px; border-radius: 10px; background: rgba(0,196,167,.12); border: 1px solid rgba(0,196,167,.2); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.info-lbl { font-size: 11px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; font-family: var(--mono); }
.info-val { font-size: 15px; color: rgba(255,255,255,.85); font-weight: 500; }
.contact-links { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; box-shadow: var(--sh); }
.contact-form h2  { font-size: 22px; margin-bottom: 5px; }
.contact-form .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ── FORMS ───────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 15px; background: var(--soft); border: 1.5px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 15px; font-family: var(--body-f); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,196,167,.12); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:520px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }
.alert     { padding: 14px 16px; border-radius: 9px; font-size: 14px; margin-bottom: 18px; }
.alert-ok  { background: #e7f7ee; border: 1px solid #9fdfb8; color: #1c7a45; }
.alert-err { background: #fdecec; border: 1px solid #f3b4b4; color: #b23b3b; }

/* ── FOOTER ──────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,.5); padding: 60px 0 28px; }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; }
@media(max-width:860px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .f-grid { grid-template-columns: 1fr; } }
.f-brand-tagline { color: rgba(255,255,255,.4); font-size: 14px; line-height: 1.8; margin-top: 14px; }
.gst-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; background: rgba(0,196,167,.08); border: 1px solid rgba(0,196,167,.18); border-radius: 8px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.5); }
.gst-chip b { color: var(--teal); font-weight: 600; }
footer h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.3); margin-bottom: 16px; font-family: var(--mono); }
footer a  { color: rgba(255,255,255,.5); display: block; margin-bottom: 10px; font-size: 14.5px; transition: color .15s; }
footer a:hover { color: var(--teal); }
.copyright { text-align: center; font-size: 13px; color: rgba(255,255,255,.25); margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); }
.copyright span { color: var(--teal); }

/* ── FLOATING ────────────────────────────────────────── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); font-size: 26px; transition: transform .18s; animation: wa-pulse 3s infinite; }
.wa-float:hover { transform: scale(1.1); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0   rgba(37,211,102,.4); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0   rgba(37,211,102,0); }
}
.back-top { position: fixed; right: 22px; bottom: 94px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; background: rgba(11,17,32,.85); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); display: grid; place-items: center; font-size: 18px; cursor: pointer; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .22s; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.back-top:hover { border-color: var(--teal); color: var(--teal); }
.back-top.show  { opacity: 1; transform: none; pointer-events: auto; }

/* ── MOBILE BAR ──────────────────────────────────────── */
.mob-bar { display: none; }
@media(max-width:860px) {
  body { padding-bottom: 64px; }
  .wa-float { display: none; }
  .mob-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.1); }
  .mob-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; font-weight: 700; font-size: 14px; }
  .mob-call { background: var(--navy); color: rgba(255,255,255,.85); }
  .mob-wa   { background: #25d366; color: #fff; }
}

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media(prefers-reduced-motion:reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ═══════════════════════════════════════════════════
   BLOG STYLES
═══════════════════════════════════════════════════ */

/* ── Blog hero ───────────────────────────────────── */
.blog-hero { background: var(--navy); padding: 72px 0 56px; position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,196,167,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,196,167,.06) 1px, transparent 1px); background-size: 48px 48px; }
.blog-hero-inner { position: relative; z-index: 1; text-align: center; }
.blog-hero h1 { font-size: clamp(28px,4vw,42px); color: #fff; margin: 12px 0 14px; }
.blog-hero-sub { color: rgba(255,255,255,.5); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* ── Filter pills ────────────────────────────────── */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-pill { padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); background: var(--surface); transition: .15s; }
.filter-pill:hover, .filter-pill.active { border-color: var(--teal); color: var(--teal2); background: var(--teal3); }

/* ── Featured post ───────────────────────────────── */
.blog-featured { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); margin-bottom: 24px; transition: .2s; }
.blog-featured:hover { box-shadow: var(--sh); transform: translateY(-2px); border-color: var(--teal); }
.blog-featured-thumb { min-height: 260px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 72px; }
.blog-featured-thumb.teal  { background: linear-gradient(135deg,#0d2e2a,#0d3d36); }
.blog-featured-thumb.amber { background: linear-gradient(135deg,#2a1f0a,#3a2c10); }
.blog-featured-emoji { position: relative; z-index: 1; }
.blog-featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: clamp(18px,2.5vw,24px); margin: 10px 0 12px; color: var(--ink); line-height: 1.3; }
.blog-featured-body p { color: var(--muted); font-size: 15px; line-height: 1.7; }
@media(max-width:680px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured-thumb { min-height: 160px; font-size: 48px; } .blog-featured-body { padding: 24px; } }

/* ── Post grid ───────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: .2s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--sh); transform: translateY(-2px); border-color: var(--teal); }
.blog-card-thumb { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 40px; position: relative; }
.blog-card-thumb.teal  { background: linear-gradient(135deg,#0d2e2a,#0d3d36); }
.blog-card-thumb.amber { background: linear-gradient(135deg,#2a1f0a,#3a2c10); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 16px; margin: 8px 0 8px; color: var(--ink); line-height: 1.4; flex: 1; }
.blog-card-body p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }

/* ── Shared blog elements ────────────────────────── */
.blog-cat-badge { position: absolute; bottom: 10px; left: 12px; font-family: var(--mono); font-size: 11px; color: var(--teal); background: rgba(0,196,167,.15); border: 1px solid rgba(0,196,167,.25); padding: 3px 10px; border-radius: 999px; }
.blog-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.meta-dot { opacity: .4; }
.blog-read-link { font-size: 13px; font-weight: 600; color: var(--teal2); margin-top: auto; display: inline-flex; align-items: center; gap: 4px; }
.blog-read-link:hover { gap: 8px; }

/* ── Post hero ───────────────────────────────────── */
.post-hero { padding: 64px 0 48px; position: relative; overflow: hidden; }
.post-hero.teal  { background: linear-gradient(135deg,#071a17,#0d3030); }
.post-hero.amber { background: linear-gradient(135deg,#1a1205,#2a1f0a); }
.post-hero::before { content:''; position:absolute;inset:0; background-image: linear-gradient(rgba(0,196,167,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(0,196,167,.05) 1px,transparent 1px);background-size:48px 48px; }
.post-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.post-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 16px; flex-wrap: wrap; }
.post-breadcrumb a { color: rgba(255,255,255,.5); }
.post-breadcrumb a:hover { color: var(--teal); }
.post-hero h1 { font-size: clamp(24px,3.5vw,38px); color: #fff; line-height: 1.25; margin: 14px 0 16px; }
.post-meta-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.post-tag { font-size: 11px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-family: var(--mono); }

/* ── Post layout (sidebar + content) ────────────── */
.post-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 48px 0; align-items: start; }
@media(max-width:860px) { .post-layout { grid-template-columns: 1fr; } .post-sidebar { order: 2; } }

/* ── TOC sidebar ─────────────────────────────────── */
.post-sidebar { position: sticky; top: 90px; }
.toc-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 16px; }
.toc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 12px; }
.toc { display: flex; flex-direction: column; gap: 2px; }
.toc-link { font-size: 13px; color: var(--muted); padding: 5px 8px; border-radius: 6px; transition: .15s; border-left: 2px solid transparent; }
.toc-link:hover, .toc-link.active { color: var(--teal2); background: var(--teal3); border-left-color: var(--teal); }
.toc-h3 { padding-left: 20px; font-size: 12px; }
.sidebar-cta { background: var(--navy); border-radius: var(--r); padding: 20px; }
.sidebar-cta-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.6; }

/* ── Post content typography ─────────────────────── */
.post-content { max-width: 680px; }
.post-lead { font-size: 18px; color: var(--body); line-height: 1.75; margin-bottom: 32px; font-weight: 400; }
.post-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 14px; color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); }
.post-content h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; color: var(--ink); }
.post-content p { font-size: 15.5px; line-height: 1.8; color: var(--body); margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 18px; }
.post-content li { font-size: 15.5px; line-height: 1.8; color: var(--body); margin-bottom: 6px; }
.post-content a { color: var(--teal2); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--teal); }
.post-content strong { font-weight: 700; color: var(--ink); }
.post-content code { font-family: var(--mono); font-size: 13px; background: var(--soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; color: var(--teal2); }
.post-content pre { background: #0d1526; border-radius: var(--rsm); padding: 20px 22px; overflow-x: auto; margin: 20px 0 24px; border: 1px solid rgba(255,255,255,.07); }
.post-content pre code { background: none; border: none; padding: 0; color: #a8d8c8; font-size: 13px; line-height: 1.8; }

/* ── Callout boxes ───────────────────────────────── */
.post-callout { padding: 18px 22px; border-radius: var(--rsm); margin: 24px 0; font-size: 14.5px; line-height: 1.7; border-left: 4px solid; }
.post-callout.info    { background: var(--soft); border-color: var(--teal); color: var(--body); }
.post-callout.success { background: #e7f7ee; border-color: #1c7a45; color: #1c4a2a; }
.post-callout.warning { background: var(--amber-weak,#fdf1e3); border-color: var(--amber,#e08b2e); color: #6b3d10; }
.post-callout a { color: var(--teal2); font-weight: 600; }

/* ── Post footer bar ─────────────────────────────── */
.post-footer-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 40px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-share { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.share-btn { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); transition: .15s; }
.share-btn.wa { border-color: #25d366; color: #128c45; }
.share-btn.tw { border-color: #1da1f2; color: #0d7abf; }
.share-btn.li { border-color: #0a66c2; color: #0a66c2; }
.share-btn:hover { opacity: .75; }

/* ── Author box ──────────────────────────────────── */
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-top: 32px; }
.author-avatar { width: 52px; height: 52px; border-radius: 13px; background: linear-gradient(135deg, var(--teal), var(--teal2)); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; color: #fff; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 5px; }
.author-bio  { font-size: 14px; color: var(--muted); line-height: 1.65; }


















