/* =========================================================
   AxioNet Systems — Design Tokens
   Palette: graphite blueprint + amber signal LED accent
   ========================================================= */
:root{
  --bg:            #10151B;
  --bg-alt:        #151C24;
  --panel:         #1A222C;
  --panel-border:  #2A3542;
  --grid-line:     #22303e;
  --text:          #E9EDF2;
  --text-muted:    #8996A6;
  --amber:         #F5A623;
  --amber-dim:     #8a5f19;
  --green:         #3ECF8E;
  --red:           #E5484D;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 6px;
  --container: 1180px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  background-attachment: fixed;
}
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; line-height:1.15; letter-spacing:-0.01em; }
h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.4rem); }
h3{ font-size:1.25rem; }
p{ color:var(--text-muted); }
.mono{ font-family:var(--font-mono); font-size:0.82rem; letter-spacing:0.02em; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:var(--radius);
  font-family:var(--font-mono); font-size:0.85rem; font-weight:500;
  letter-spacing:0.03em; text-transform:uppercase;
  border:1px solid transparent; cursor:pointer; transition:all .18s ease;
}
.btn-primary{ background:var(--amber); color:#191300; }
.btn-primary:hover{ background:#ffb949; transform:translateY(-1px); }
.btn-outline{ border-color:var(--panel-border); color:var(--text); background:transparent; }
.btn-outline:hover{ border-color:var(--amber); color:var(--amber); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Topbar ---------- */
.topbar{ background:#0A0D11; border-bottom:1px solid var(--panel-border); font-family:var(--font-mono); font-size:0.75rem; color:var(--text-muted); }
.topbar-inner{ display:flex; justify-content:space-between; align-items:center; height:36px; }
.dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green); margin-right:6px; animation:pulse 2s infinite; }
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.35;} }
.topbar-contact a:hover{ color:var(--amber); }
.sep{ margin:0 8px; color:var(--panel-border); }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:100; background:rgba(16,21,27,0.9); backdrop-filter:blur(10px); border-bottom:1px solid var(--panel-border); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; gap:24px; }
.logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:1.15rem; font-weight:700; }
.logo-mark{ display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:8px; background:linear-gradient(135deg, var(--amber), #c9750f); color:#191300; font-size:0.85rem; font-weight:700; }
.logo-text em{ font-style:normal; color:var(--amber); }
.main-nav{ display:flex; gap:28px; margin-left:auto; }
.main-nav a{ font-size:0.92rem; color:var(--text-muted); position:relative; padding:6px 0; }
.main-nav a:hover, .main-nav a.active{ color:var(--text); }
.main-nav a.active::after{ content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--amber); }
.nav-cta{ margin-left:24px; white-space:nowrap; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ width:22px; height:2px; background:var(--text); display:block; }

/* ---------- Hero ---------- */
.hero{ position:relative; padding:90px 0 70px; overflow:hidden; }
.hero-inner{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:50px; align-items:center; }
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:0.78rem; color:var(--amber); border:1px solid var(--amber-dim); background:rgba(245,166,35,0.08); padding:6px 12px; border-radius:20px; margin-bottom:22px; }
.hero h1{ margin-bottom:20px; }
.hero h1 .accent{ color:var(--amber); }
.hero-lead{ font-size:1.08rem; max-width:520px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:14px; margin-bottom:40px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:36px; flex-wrap:wrap; }
.hero-stats .stat-num{ font-family:var(--font-display); font-size:1.7rem; color:var(--text); font-weight:700; }
.hero-stats .stat-label{ font-family:var(--font-mono); font-size:0.72rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.04em; }

/* topology signature graphic */
.topology-wrap{ position:relative; }
.panel-frame{ background:var(--panel); border:1px solid var(--panel-border); border-radius:12px; padding:18px; }
.panel-frame-head{ display:flex; justify-content:space-between; align-items:center; font-family:var(--font-mono); font-size:0.72rem; color:var(--text-muted); margin-bottom:14px; text-transform:uppercase; letter-spacing:0.05em; }
.panel-frame-head .rec{ color:var(--red); display:flex; align-items:center; gap:6px; }
.panel-frame-head .rec::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--red); animation:pulse 1.4s infinite; }
.node{ fill:var(--panel); stroke:var(--panel-border); stroke-width:1.5; }
.node-active{ stroke:var(--amber); }
.node-dot{ fill:var(--green); }
.link{ stroke:var(--grid-line); stroke-width:1.5; }
.link-flow{ stroke:var(--amber); stroke-width:1.5; stroke-dasharray:4 6; animation:dash 3s linear infinite; }
@keyframes dash{ to{ stroke-dashoffset:-100; } }
.node-label{ font-family:'IBM Plex Mono', monospace; font-size:9px; fill:var(--text-muted); }

/* ---------- Section shell ---------- */
.section{ padding:80px 0; }
.section-alt{ background:var(--bg-alt); border-top:1px solid var(--panel-border); border-bottom:1px solid var(--panel-border); }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-tag{ font-family:var(--font-mono); font-size:0.78rem; color:var(--amber); text-transform:uppercase; letter-spacing:0.06em; display:block; margin-bottom:12px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Service cards ---------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.card{ background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius); padding:28px; transition:border-color .18s ease, transform .18s ease; }
.card:hover{ border-color:var(--amber-dim); transform:translateY(-3px); }
.card-icon{ width:44px; height:44px; border-radius:8px; background:rgba(245,166,35,0.1); display:flex; align-items:center; justify-content:center; margin-bottom:18px; color:var(--amber); }
.card h3{ margin-bottom:10px; }
.card p{ font-size:0.92rem; }
.card .tag-index{ font-family:var(--font-mono); font-size:0.72rem; color:var(--panel-border); display:block; margin-bottom:8px; }

/* ---------- Service detail blocks ---------- */
.service-block{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; padding:64px 0; border-bottom:1px solid var(--panel-border); }
.service-block:last-child{ border-bottom:none; }
.service-block.reverse .service-media{ order:2; }
.service-media{ background:var(--panel); border:1px solid var(--panel-border); border-radius:12px; padding:26px; }
.spec-row{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px dashed var(--panel-border); font-family:var(--font-mono); font-size:0.82rem; }
.spec-row:last-child{ border-bottom:none; }
.spec-row span:first-child{ color:var(--text-muted); }
.check-list li{ display:flex; gap:10px; padding:7px 0; color:var(--text); font-size:0.95rem; align-items:flex-start; }
.check-list li::before{ content:'▹'; color:var(--amber); flex-shrink:0; }

/* ---------- Process / steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.step{ padding:0 20px; position:relative; }
.step-num{ font-family:var(--font-mono); font-size:0.8rem; color:var(--amber); border:1px solid var(--amber-dim); width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.step:not(:last-child)::after{ content:''; position:absolute; top:17px; left:calc(20px + 34px); right:-20px; height:1px; background:var(--panel-border); }

/* ---------- Stats strip ---------- */
.stats-strip{ display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--panel-border); border-radius:var(--radius); overflow:hidden; }
.stats-strip div{ padding:28px; text-align:center; border-right:1px solid var(--panel-border); }
.stats-strip div:last-child{ border-right:none; }
.stats-strip .stat-num{ font-family:var(--font-display); font-size:2rem; color:var(--amber); font-weight:700; }
.stats-strip .stat-label{ font-family:var(--font-mono); font-size:0.72rem; color:var(--text-muted); text-transform:uppercase; }

/* ---------- Testimonials ---------- */
.quote-card{ background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius); padding:28px; }
.quote-card p{ color:var(--text); font-size:1rem; margin-bottom:18px; }
.quote-person{ font-family:var(--font-mono); font-size:0.78rem; color:var(--text-muted); }
.quote-person strong{ color:var(--text); display:block; font-family:var(--font-body); font-size:0.95rem; }

/* ---------- CTA band ---------- */
.cta-band{ background:linear-gradient(120deg, #1c2530, #141a22); border:1px solid var(--panel-border); border-radius:14px; padding:56px; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; }
.cta-band h2{ margin-bottom:8px; }

/* ---------- Team / about ---------- */
.value-row{ display:flex; gap:18px; padding:22px 0; border-bottom:1px solid var(--panel-border); }
.value-row:last-child{ border-bottom:none; }
.value-num{ font-family:var(--font-mono); color:var(--panel-border); font-size:1.4rem; flex-shrink:0; width:50px; }

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:18px; }
.form-group.full{ grid-column:1/-1; }
label{ display:block; font-family:var(--font-mono); font-size:0.75rem; text-transform:uppercase; letter-spacing:0.04em; color:var(--text-muted); margin-bottom:8px; }
input, textarea, select{
  width:100%; background:var(--bg); border:1px solid var(--panel-border); border-radius:var(--radius);
  padding:13px 14px; color:var(--text); font-family:var(--font-body); font-size:0.95rem;
}
input:focus, textarea:focus, select:focus{ outline:none; border-color:var(--amber); }
textarea{ resize:vertical; min-height:130px; }
.alert{ padding:16px 18px; border-radius:var(--radius); font-size:0.92rem; margin-bottom:24px; font-family:var(--font-mono); }
.alert-success{ background:rgba(62,207,142,0.1); border:1px solid var(--green); color:var(--green); }
.alert-error{ background:rgba(229,72,77,0.1); border:1px solid var(--red); color:var(--red); }

/* ---------- Contact page layout ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.3fr; gap:44px; }
.contact-info-card{ background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius); padding:28px; margin-bottom:18px; }
.contact-info-card h4{ font-family:var(--font-mono); font-size:0.78rem; text-transform:uppercase; color:var(--amber); margin-bottom:8px; letter-spacing:0.04em; }
.map-wrap{ border:1px solid var(--panel-border); border-radius:var(--radius); overflow:hidden; margin-top:18px; filter:grayscale(1) invert(0.92) contrast(0.9); }

/* ---------- Footer ---------- */
.site-footer{ background:#0A0D11; border-top:1px solid var(--panel-border); padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; }
.footer-col p{ font-size:0.88rem; margin-top:14px; }
.footer-col h4{ font-family:var(--font-mono); font-size:0.78rem; text-transform:uppercase; letter-spacing:0.05em; color:var(--text); margin-bottom:18px; }
.footer-col a{ display:block; color:var(--text-muted); font-size:0.9rem; padding:5px 0; }
.footer-col a:hover{ color:var(--amber); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:34px; height:34px; border:1px solid var(--panel-border); border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:0.7rem; }
.footer-bottom{ border-top:1px solid var(--panel-border); padding:20px 0; }
.footer-bottom-inner{ display:flex; justify-content:space-between; font-size:0.8rem; color:var(--text-muted); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float{ position:fixed; bottom:24px; right:24px; width:56px; height:56px; border-radius:50%; background:var(--green); color:#0A0D11; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(0,0,0,0.4); z-index:200; }

/* ---------- Page header (interior pages) ---------- */
.page-header{ padding:56px 0 40px; border-bottom:1px solid var(--panel-border); }
.breadcrumb{ font-family:var(--font-mono); font-size:0.78rem; color:var(--text-muted); margin-bottom:14px; }
.breadcrumb .amber{ color:var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); gap:30px 0; }
  .step:not(:last-child)::after{ display:none; }
  .service-block, .service-block.reverse{ grid-template-columns:1fr; }
  .service-block.reverse .service-media{ order:0; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .stats-strip{ grid-template-columns:repeat(2,1fr); }
  .stats-strip div:nth-child(2){ border-right:none; }
}
@media (max-width: 720px){
  .main-nav{ position:fixed; top:112px; left:0; right:0; bottom:0; background:var(--bg); flex-direction:column; padding:30px 24px; gap:6px; transform:translateX(100%); transition:transform .25s ease; }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ padding:14px 0; border-bottom:1px solid var(--panel-border); font-size:1.05rem; }
  .nav-toggle{ display:flex; }
  .nav-cta{ display:none; }
  .grid-4, .grid-3, .grid-2{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; text-align:center; }
  .footer-grid{ grid-template-columns:1fr; }
  .stats-strip{ grid-template-columns:1fr; }
  .stats-strip div{ border-right:none; border-bottom:1px solid var(--panel-border); }
}
