/* ===========================================================
   SANU INFOTECH — design tokens
   Palette: deep royal blue + ice-blue + white, node/network motif
=========================================================== */

:root{
  --navy:        #0B1730;
  --blue-deep:   #123B96;
  --blue:        #1D4ED8;
  --blue-bright: #2E7CF6;
  --blue-ice:    #EEF4FF;
  --blue-mist:   #DCE9FF;
  --white:       #FFFFFF;
  --slate:       #56637C;
  --slate-light: #8C97AD;
  --line:        #E3E9F5;
  --teal:        #12B8A6;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;

  --shadow-card: 0 10px 30px -12px rgba(11, 23, 48, 0.16);
  --shadow-soft: 0 4px 14px -6px rgba(11, 23, 48, 0.10);

  --container: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

html, body{
  margin:0; padding:0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body{ overflow-x: hidden; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .5em 0;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em 0; color: var(--slate); line-height: 1.7; }

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:'';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(18,184,166,0.15);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 10px 22px -8px rgba(29,78,216,0.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(29,78,216,0.6); }
.btn-ghost{
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--blue-bright); transform: translateY(-2px); }
.btn-block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand .logo-mark{ width: 38px; height: 38px; }
.brand .wordmark{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18.5px;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height:1.1;
}
.brand .wordmark span{ color: var(--blue); }
.brand .tagline{
  font-size: 10.5px;
  color: var(--slate-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 34px;
}
.nav-links a{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0;
  height: 2px; background: var(--blue-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--blue-deep); }

.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-cta{ display: none; }
@media (min-width: 860px){ .nav-cta{ display: inline-flex; } }

.nav-toggle{
  display:none;
  width: 40px; height:40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block;
  width: 18px; height: 2px; background: var(--navy);
  position: relative; transition: all .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 859px){
  .nav-links{
    position:absolute; top: 100%; left:0; right:0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-links.open{ max-height: 420px; }
  .nav-links a{ width:100%; padding: 16px 28px; border-bottom: 1px solid var(--line); }
  .nav-links a::after{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero / node network backdrop ---------- */
.hero{
  position: relative;
  padding: 96px 0 84px;
  background: var(--blue-ice);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-net{
  position:absolute; inset:0;
  width:100%; height:100%;
  opacity: 0.55;
}
.hero-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero h1{
  font-size: clamp(34px, 4.6vw, 54px);
  max-width: 12.5ch;
}
.hero .lead{
  font-size: 17px;
  max-width: 46ch;
  color: var(--slate);
}
.hero-actions{ display:flex; gap:14px; margin-top: 28px; flex-wrap:wrap; }

.hero-stats{
  display:flex;
  gap: 30px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats .stat b{
  display:block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
}
.hero-stats .stat span{
  font-size: 12.5px;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.hero-panel{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.hero-panel .panel-row{
  display:flex; align-items:center; gap:14px;
  padding: 14px 6px;
  border-bottom: 1px dashed var(--line);
}
.hero-panel .panel-row:last-child{ border-bottom:none; }
.panel-icon{
  width: 42px; height:42px; border-radius: 12px;
  background: var(--blue-ice);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  color: var(--blue-deep);
}
.panel-row b{ display:block; font-size: 14.5px; color: var(--navy); font-family: var(--font-display); }
.panel-row small{ color: var(--slate-light); font-size: 12.5px; }

/* ---------- Sections ---------- */
.section{ padding: 88px 0; }
.section-tight{ padding: 64px 0; }
.section-alt{ background: var(--blue-ice); }
.section-head{
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(26px, 3.2vw, 38px); }

/* ---------- Service cards ---------- */
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
@media (max-width: 980px){ .grid-4{ grid-template-columns: repeat(2,1fr);} .grid-3{grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.card .icon-badge{
  width: 48px; height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  margin-bottom: 18px;
}
.card h3{ font-size: 18px; margin-bottom: 8px; }
.card p{ font-size: 14.5px; margin-bottom: 14px; }
.card .card-link{
  font-size: 13.5px; font-weight: 700; color: var(--blue-deep);
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-display);
}

/* ---------- Numbered process ---------- */
.process-row{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
  counter-reset: step;
}
@media (max-width: 900px){ .process-row{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .process-row{ grid-template-columns: 1fr; } }
.step{ position: relative; padding-top: 8px; }
.step .step-num{
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--blue-mist);
  -webkit-text-stroke: 1.4px var(--blue);
  margin-bottom: 12px;
}
.step h4{ font-size: 16px; margin-bottom: 6px; }
.step p{ font-size: 14px; }

/* ---------- Node divider ---------- */
.node-divider{ width:100%; height: 46px; display:block; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--blue-deep), var(--navy));
  border-radius: var(--radius-l);
  padding: 56px;
  color: #fff;
  position: relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p{ color:#fff; }
.cta-band p{ color: rgba(255,255,255,0.75); max-width: 46ch; }
.cta-band .btn-ghost{ background:#fff; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer h4{ color:#fff; font-size: 14px; margin-bottom: 18px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer p{ color: rgba(255,255,255,0.55); font-size: 14px; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ font-size: 14px; color: rgba(255,255,255,0.65); transition: color .15s ease; }
.footer-links a:hover{ color: #fff; }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom: 16px; }
.footer-brand .wordmark{ color: #fff; font-family: var(--font-display); font-weight:700; font-size:17px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 26px; font-size: 13px; color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 12px;
}
.social-row{ display:flex; gap: 10px; }
.social-row a{
  width: 34px; height:34px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.16);
  display:flex; align-items:center; justify-content:center;
  transition: background .15s ease, border-color .15s ease;
}
.social-row a:hover{ background: var(--blue-bright); border-color: var(--blue-bright); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding: 64px 0 56px;
  background: var(--blue-ice);
  border-bottom: 1px solid var(--line);
}
.breadcrumb{
  font-size: 13px; color: var(--slate-light); font-weight: 600; margin-bottom: 14px;
}
.breadcrumb a{ color: var(--blue-deep); }
.page-hero h1{ font-size: clamp(30px, 4vw, 44px); max-width: 18ch; }
.page-hero p{ max-width: 55ch; font-size: 16px; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;}
.tag{
  font-size: 12px; font-weight: 700; letter-spacing:.03em;
  background: var(--blue-ice); color: var(--blue-deep);
  padding: 6px 12px; border-radius: 999px;
}
.divider{ height:1px; background: var(--line); border:none; margin: 0; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .card:hover, .btn-primary:hover, .btn-ghost:hover{ transform:none; }
}

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px){ .form-grid{ grid-template-columns: 1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size: 13.5px; font-weight: 700; color: var(--navy); font-family: var(--font-display); }
.field input, .field select, .field textarea{
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(46,124,246,0.15);
}
.field textarea{ resize: vertical; min-height: 120px; }

/* keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

/* ---------- Contact info cards ---------- */
.info-strip{ display:flex; gap: 20px; flex-wrap:wrap; }
.info-pill{
  display:flex; align-items:center; gap:14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  flex:1;
  min-width: 220px;
}
.info-pill b{ display:block; font-family: var(--font-display); font-size: 14.5px; }
.info-pill span{ font-size: 13px; color: var(--slate); }

/* ---------- Team / values ---------- */
.value-card{ text-align:left; }
.stat-strip{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 22px;
}
@media (max-width: 760px){ .stat-strip{ grid-template-columns: repeat(2,1fr);} }
.stat-strip .stat-box{
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  background: var(--white);
}
.stat-strip .stat-box b{
  display:block; font-family: var(--font-display); font-size: 30px; color: var(--blue-deep);
}
.stat-strip .stat-box span{ font-size: 13px; color: var(--slate-light); font-weight:600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Portfolio ---------- */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 34px; }
.filter-btn{
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--slate);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor:pointer;
  transition: all .15s ease;
}
.filter-btn.active, .filter-btn:hover{
  background: var(--blue-deep); color:#fff; border-color: var(--blue-deep);
}
.work-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }
.work-thumb{
  height: 170px;
  background: linear-gradient(135deg, var(--blue-mist), var(--blue-ice));
  position:relative;
  display:flex; align-items:center; justify-content:center;
}
.work-body{ padding: 20px; }
.work-body h3{ font-size: 16.5px; margin-bottom: 6px; }
.work-body p{ font-size: 13.5px; margin-bottom: 10px; }

/* ---------- Testimonials ---------- */
.testimonial{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
}
.testimonial .quote-mark{ color: var(--blue-mist); font-family: var(--font-display); font-size: 40px; line-height:1; margin-bottom: 6px; }
.testimonial p{ font-size: 14.5px; color: var(--navy); }
.testimonial .who{ display:flex; align-items:center; gap:12px; margin-top: 16px; }
.avatar{
  width:40px; height:40px; border-radius:50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--font-display); font-weight:700; font-size: 14px;
}
.who b{ font-size: 13.5px; display:block; }
.who span{ font-size: 12px; color: var(--slate-light); }
