:root{
  --primary:#0b66c2;
  --accent:#0b8ed1;
  --bg:#f6f8fb;
  --text:#1b2630;
  --muted:#55636b;
  --container-width:1100px;
  --radius:8px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg),#fff);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.55;
  scroll-behavior:smooth;
}

/* Layout container */
.container{
  width:90%;
  max-width:var(--container-width);
  margin:0 auto;
}

/* Header */
.site-header{
  background:#fff;
  border-bottom:1px solid #e6eef5;
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.75rem 0;
}
.brand a{
  color:var(--primary);
  text-decoration:none;
  font-weight:700;
  font-size:1.15rem;
  display:flex;
  align-items:center;
  gap:0.5rem;
}

/* Logo wrapper that crops the SVG by showing a portion of it. */
.logo-wrap{
  display:inline-block;
  width:var(--logo-wrap-w, 160px);
  height:var(--logo-wrap-h, 48px);
  overflow:hidden;
  vertical-align:middle;
}

/* The image is intentionally larger than the wrapper; we translate it to reveal just a portion.
   Adjust the CSS variables --logo-focus-x and --logo-focus-y (include units, e.g. "-40px") on the .logo-wrap
   element to control which portion of the SVG is visible. */
.site-logo{
  display:block;
  width:320px; /* intentionally larger than the wrapper */
  height:auto;
  transform: translate(var(--logo-focus-x, -40px), var(--logo-focus-y, -8px));
  transition:transform .18s ease;
}

/* Nav */
.primary-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:1rem;
}
.primary-nav a{
  text-decoration:none;
  color:var(--muted);
  padding:0.5rem 0.6rem;
  border-radius:6px;
  transition:all .15s;
}
.primary-nav a:hover,
.primary-nav a.active{
  color:var(--primary);
  background:rgba(11,102,194,0.06);
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:0.4rem;
  cursor:pointer;
}
.hamburger{
  width:22px;
  height:2px;
  background:var(--text);
  display:block;
  position:relative;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:var(--text);
}
.hamburger::before{top:-7px}
.hamburger::after{top:7px}

/* Hero */
.hero{
  padding:4.5rem 0;
  text-align:center;
  background:
    linear-gradient(180deg, rgba(11,102,194,0.06), transparent 60%);
}
.hero h1{margin:0;font-size:2rem;color:var(--primary)}
.lead{color:var(--muted);max-width:720px;margin:0.5rem auto 1rem}

/* Sections */
.section{padding:3rem 0}
.about p, .services p{color:var(--muted)}
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:1rem;
}
.card{
  background:#fff;
  border:1px solid #e6eef5;
  padding:1rem;
  border-radius:var(--radius);
  box-shadow:0 1px 4px rgba(11,102,194,0.03);
}
.card h3{margin-top:0;color:var(--primary)}
.contact .form-row{margin-bottom:0.8rem;display:flex;flex-direction:column}
label{font-size:0.9rem;color:var(--muted);margin-bottom:0.35rem}
input,textarea{
  padding:0.6rem;
  border:1px solid #d7e6f2;
  border-radius:6px;
  font:inherit;
}

/* Buttons */
.btn{
  display:inline-block;
  background:var(--primary);
  color:#fff;
  border:0;
  padding:0.6rem 1rem;
  border-radius:6px;
  text-decoration:none;
  cursor:pointer;
}
.btn-secondary{
  background:#fff;
  color:var(--primary);
  border:1px solid #d7e6f2;
  margin-left:0.5rem;
}

/* Footer */
.site-footer{
  padding:1rem 0;
  text-align:center;
  color:var(--muted);
  border-top:1px solid #e6eef5;
  background:#fff;
}

/* Helpers */
.form-status{margin-top:0.75rem;color:var(--primary)}

/* Responsive */
@media (max-width:900px){
  .cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .primary-nav{
    position:absolute;
    top:100%;
    right:0;
    left:0;
    background:#fff;
    border-top:1px solid #eef6fb;
    display:none;
    padding:0.5rem 0;
  }
  .primary-nav.open{display:block}
  .primary-nav ul{flex-direction:column;gap:0}
  .nav-toggle{display:block}
  .cards{grid-template-columns:1fr}
  /* reduce logo wrapper on small screens */
  .logo-wrap{width:120px;height:38px}
}
