:root{
  --bg: #ffffff;
  --surface: #f7f8fa;
  --text: #0f172a;         /* near-black */
  --muted: #475569;        /* slate */
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.10);

  /* Brighter, professional accent (not black/navy) */
  --accent: #2563eb;       /* blue */
  --accent-2: #0ea5e9;     /* sky (for subtle gradients if needed) */
  --accent-ink: #ffffff;

  --radius: 18px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; height:auto; }

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.lead{
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.fine{
  font-size: 13px;
  color: var(--muted);
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
}

.brand-name{
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--text);
}

.brand-tagline{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a{
  font-size: 14px;
  color: rgba(15, 23, 42, 0.86);
  padding: 8px 10px;
  border-radius: 999px;
}

.site-nav a:hover{
  background: rgba(37, 99, 235, 0.08);
  color: rgba(15, 23, 42, 1);
}

.nav-cta{
  display:flex;
  align-items:center;
  gap: 10px;
  white-space: nowrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.btn.btn-outline{
  border-color: var(--border);
  background: #fff;
}

.btn.btn-solid{
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.20);
}

.btn.btn-solid:hover{ filter: brightness(0.98); }

.btn.primary{
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.20);
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

/* Mobile menu */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  align-items:center;
  justify-content:center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle .bar{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, 0.78);
  border-radius: 2px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.menu{
  display:flex;
  align-items:center;
  gap: 18px;
}

/* Hero */
.hero{
  padding: 34px 0 20px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items:center;
}

.hero-media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  color: var(--muted);
}

.hero-copy h1{
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: 44px;
  margin: 12px 0;
}

.hero-copy p{ color: rgba(15, 23, 42, 0.84); margin: 0 0 14px; }
.hero-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* Sections */
section{ padding: 54px 0; }
section:nth-of-type(even){ background: linear-gradient(180deg, rgba(14,165,233,0.04), rgba(255,255,255,0)); }

h2{
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-size: 34px;
}

h3{ margin: 0 0 6px; font-size: 18px; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.thumb{ background: var(--surface); }
.thumb img{ width:100%; height: 220px; object-fit: cover; }

.body{ padding: 16px 16px 18px; }
.title{ margin:0; font-weight: 800; letter-spacing: -0.01em; }
.text{ margin: 8px 0 0; color: var(--muted); }

.services{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.10);
  color: var(--accent);
}

.process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.step{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
}

.num{ font-weight: 800; color: var(--accent); }
.label{ margin-top: 6px; color: rgba(15,23,42,0.86); font-weight: 600; }

/* Contact CTA */
.cta{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items:start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

form{ width:100%; }
.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }

input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}

textarea{ min-height: 110px; resize: vertical; }

input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: rgba(37,99,235,0.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

/* Footer */
.site-footer, footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: #fff;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}

.footer-brand .footer-name{
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.footer-brand .footer-sub{ color: var(--muted); font-size: 13px; margin-top: 4px; }

.footer-copy{ margin-top: 10px; color: var(--muted); font-size: 13px; }
.footer-contact a{ text-decoration: underline; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-copy h1{ font-size: 38px; }
  .cta{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px){
  .menu{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .brand{ min-width: 0; }
  .brand-tagline{ display:none; }

  .menu.open{
    display:flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px;
    flex-direction: column;
    gap: 12px;
  }

  .site-header{ position: sticky; }
  .header-inner{ position: relative; }
  .site-nav{ flex-direction: column; align-items: stretch; width: 100%; gap: 6px; }
  .site-nav a{ width:100%; padding: 10px 12px; border-radius: 12px; }
  .nav-cta{ width:100%; }
  .nav-cta a{ width:100%; }
}

@media (max-width: 640px){
  h2{ font-size: 28px; }
  .hero-copy h1{ font-size: 32px; }
  .grid-3{ grid-template-columns: 1fr; }
  .services{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 1fr; }
}
