:root{
  --brand:#2BB673;
  --logic:#1E4F8A;
  --ink:#0f172a;
  --muted:#475569;
  --bg:#ffffff;
  --card:#f8fafc;
  --line:#e2e8f0;
  --ring:rgba(43,182,115,.28);
  --shadow:0 14px 40px rgba(15,23,42,.08);
  --radius:20px;
  --max:1120px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:110px;
}

body{
  margin:0;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%);
  color:var(--ink);
  font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
  line-height:1.55;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:var(--logic);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}

.section{
  padding:88px 0;
}

section[id]{
  scroll-margin-top:110px;
}

#services{
  scroll-margin-top:25px;
}

#approach,
#about,
#contact{
  scroll-margin-top:110px;
}

#examples{
  padding-top:72px;
  padding-bottom:72px;
}

.eyebrow{
  display:inline-block;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--logic);
  margin-bottom:14px;
}

/* Navigation */
.nav-wrap{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(226,232,240,.9);
}

body{
  margin:0;
  padding-top:78px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%);
  color:var(--ink);
  font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
  line-height:1.55;
}

.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}

.logo-img{
  width:190px;
  max-width:100%;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.nav-links a{
  color:var(--ink);
  font-size:.96rem;
  font-weight:600;
}

.nav-wrap{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(226,232,240,.9);
  transition:all .25s ease;
}

.nav{
  transition:all .25s ease;
}

/* when scrolling */
.nav-wrap.scrolled{
  box-shadow:0 12px 30px rgba(15,23,42,.10);
}

.nav-wrap.scrolled .nav{
  min-height:64px;
}

.menu-toggle{
  display:none;
  font-size:28px;
  background:none;
  border:none;
  cursor:pointer;
  color:var(--ink);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 20px;
  border-radius:14px;
  border:1px solid transparent;
  background:linear-gradient(135deg,var(--brand),var(--logic));
  color:#fff;
  font-weight:700;
  box-shadow:0 10px 28px rgba(30,79,138,.18);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-decoration:none;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.02);
  text-decoration:none;
}

.btn.outline{
  background:#fff;
  color:var(--logic);
  border-color:#cbd5e1;
  box-shadow:none;
}

/* Hero */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:28px;
  align-items:center;
  padding:64px 0 48px;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%231E4F8A' stroke-opacity='0.08' stroke-width='2'%3E%3Cpolygon points='30,2 60,18 60,50 30,66 0,50 0,18'/%3E%3Cpolygon points='90,2 120,18 120,50 90,66 60,50 60,18'/%3E%3Cpolygon points='60,54 90,70 90,102 60,118 30,102 30,70'/%3E%3C/g%3E%3C/svg%3E");
  background-size:180px;
  opacity:.35;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  right:-120px;
  top:40px;
  width:420px;
  height:420px;
  background:radial-gradient(circle, rgba(90,99,106,0.18) 0%, rgba(90,99,106,0.10) 40%, rgba(90,99,106,0.04) 65%, rgba(255,255,255,0) 75%);
  filter:blur(30px);
  pointer-events:none;
  z-index:0;
}

.hero > *{
  position:relative;
  z-index:1;
}

.hero h1{
  margin:0;
  font-size:clamp(2.1rem,5vw,4.2rem);
  line-height:1.05;
  letter-spacing:-.03em;
  font-weight:700;
  max-width:18ch;
}

.hero .lead{
  font-size:clamp(1rem,1.8vw,1.2rem);
  color:var(--muted);
  max-width:62ch;
  margin:18px 0 0;
}

.hero-points{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 18px;
  padding:0;
  margin:26px 0 0;
  list-style:none;
  max-width:760px;
}

.hero-points li{
  position:relative;
  padding-left:26px;
  color:var(--ink);
  font-weight:600;
}

.hero-points li::before{
  content:"";
  width:11px;
  height:11px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--brand),var(--logic));
  position:absolute;
  left:0;
  top:.42em;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}

/* Panels / cards */
.panel{
  background:rgba(248,250,252,.92);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.hero-card{
  padding:28px;
}

.hero-card h2{
  margin:0 0 10px;
  font-size:1.45rem;
  line-height:1.2;
}

.hero-card p{
  margin:0;
  color:var(--muted);
}

.stats{
  display:grid;
  gap:14px;
  margin-top:22px;
}

.stat{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px;
  border-radius:16px;
  background:#fff;
  border:1px solid #edf2f7;
}

.stat-badge{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:800;
  background:linear-gradient(135deg,var(--brand),var(--logic));
  flex:0 0 auto;
}

.stat strong{
  display:block;
  margin-bottom:2px;
}

.section-head{
  max-width:760px;
  margin-bottom:26px;
}

.section-head h2{
  font-size:clamp(1.7rem,3vw,2.5rem);
  line-height:1.1;
  margin:0 0 12px;
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:1.04rem;
}

.grid{
  display:grid;
  gap:20px;
}

.grid-4{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

.card{
  background:rgba(248,250,252,.95);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 8px 26px rgba(15,23,42,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}

.card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(15,23,42,.08);
}

.icon-chip{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:1.2rem;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--logic));
  margin-bottom:14px;
}

.card h3{
  margin:0 0 8px;
  font-size:1.1rem;
  line-height:1.25;
}

.card p{
  margin:0;
  color:var(--muted);
}

#testimonials .card{
  transition:transform .25s ease, box-shadow .25s ease;
}

#testimonials .card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(15,23,42,0.12);
}

#examples .card{
  background:#ffffff;
  border:1px solid #e5eaf0;
}

#examples .icon-chip{
  background:linear-gradient(135deg,var(--logic),var(--brand));
}

/* Split layouts */
.split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);
  gap:28px;
  align-items:start;
}

/* Lists */
.checklist{
  list-style:none;
  padding:0;
  margin:22px 0 0;
  display:grid;
  gap:12px;
}

.checklist li{
  position:relative;
  padding-left:28px;
  color:var(--ink);
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--brand);
  font-weight:900;
}

/* Contact */
.contact-card{
  padding:24px;
}

.contact-card h3{
  margin:0 0 8px;
  font-size:1.35rem;
}

.contact-card p{
  margin:0 0 18px;
  color:var(--muted);
}

form{
  display:grid;
  gap:12px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.field label{
  display:block;
  font-size:.95rem;
  font-weight:600;
  margin:0 0 6px;
}

.field input,
.field textarea{
  width:100%;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid #cbd5e1;
  outline:none;
  background:#fff;
  color:var(--ink);
  font:inherit;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field textarea:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 5px var(--ring);
}

.field textarea{
  min-height:144px;
  resize:vertical;
}

.span-2{
  grid-column:1 / -1;
}

.note{
  font-size:.92rem;
  color:var(--muted);
}

.muted{
  color:var(--muted);
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:24px 0 42px;
  color:#64748b;
  font-size:.95rem;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width:980px){
  .hero,
  .split,
  .grid-4,
  .grid-3{
    grid-template-columns:1fr;
  }

  .hero-points,
  .form-grid{
    grid-template-columns:1fr;
  }

  .nav{
    padding:12px 0;
  }

  .nav-links{
    gap:14px;
  }
}

@media (max-width:640px){
  .container{
    padding:0 18px;
  }

  .hero{
    padding-top:42px;
  }

  .menu-toggle{
    display:block;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:78px;
    right:0;
    width:100%;
    background:#fff;
    border-top:1px solid var(--line);
    flex-direction:column;
    padding:20px;
    gap:16px;
  }

  .nav-links.active{
    display:flex;
  }

.narrow{
  max-width:860px;
  margin:0 auto;
}

.service-hero{
  position:relative;
  overflow:hidden;
  padding:72px 0 56px;
}

.service-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%231E4F8A' stroke-opacity='0.08' stroke-width='2'%3E%3Cpolygon points='30,2 60,18 60,50 30,66 0,50 0,18'/%3E%3Cpolygon points='90,2 120,18 120,50 90,66 60,50 60,18'/%3E%3Cpolygon points='60,54 90,70 90,102 60,118 30,102 30,70'/%3E%3C/g%3E%3C/svg%3E");
  background-size:180px;
  opacity:.18;
  pointer-events:none;
}

.service-hero > *{
  position:relative;
  z-index:1;
}

.hero-center{
  text-align:center;
}

.hero-center h1{
  margin:0 auto;
  max-width:16ch;
}

.hero-center .lead{
  margin:18px auto 0;
  max-width:62ch;
  color:var(--muted);
  font-size:clamp(1rem,1.8vw,1.2rem);
}

.hero-center .hero-actions{
  justify-content:center;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.alt{
  background:rgba(248,250,252,.55);
}

.cta-band-wrap{
  padding-top:40px;
  padding-bottom:80px;
}

.cta-band{
  background:linear-gradient(135deg,var(--logic),var(--brand));
  color:#fff;
  padding:34px 28px;
  border-radius:20px;
  box-shadow:var(--shadow);
  text-align:center;
}

.cta-band h2{
  margin:0 0 10px;
  color:#fff;
}

.cta-band p{
  margin:0 0 18px;
  color:rgba(255,255,255,.92);
}

.cta-band .btn{
  background:#fff;
  color:var(--logic);
  box-shadow:none;
}

@media (max-width:980px){
  .grid-2{
    grid-template-columns:1fr;
  }
}