
:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#5b6576;
  --line:#e7edf6;
  --brand:#123b7a;
  --brand2:#2c86d6;
  --card:#f7f9fd;
  --shadow: 0 10px 30px rgba(11, 18, 32, .10);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto; display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:72px 0}
.section-alt{background:linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%)}
.section-head{margin-bottom:20px}
.section-head h2{margin:0 0 6px 0; font-size:32px; letter-spacing:-.02em}
.muted{color:var(--muted)}
.small{font-size:14px}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:18px; top:18px; width:auto; height:auto; background:#fff; padding:10px 12px;
  border:1px solid var(--line); border-radius:12px; box-shadow: var(--shadow);
  z-index:1000;
}

/* Topbar */
.topbar{
  background: linear-gradient(135deg, rgba(18,59,122,.10), rgba(44,134,214,.10));
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px; padding:10px 0; flex-wrap:wrap;
}
.topbar-item{display:flex; align-items:center; gap:10px; color:var(--muted); font-weight:600}
.dot{width:8px; height:8px; border-radius:99px; background: var(--brand2)}
.topbar-right{display:flex; gap:14px; flex-wrap:wrap}
.topbar-link{font-weight:700; color:var(--text)}
.topbar-link:hover{text-decoration:underline}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}

.brand{display:flex; align-items:center; gap:12px}
.brand-logo{width:44px; height:44px}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-name{font-weight:800; letter-spacing:-.01em}
.brand-sub{font-size:13px; color:var(--muted); font-weight:700}

.nav{display:flex; align-items:center; gap:10px; position:relative}
.nav-links{display:flex; align-items:center; gap:18px}
.nav-links a{font-weight:700; color:var(--text)}
.nav-links a.btn{color:#fff}

/* Burger */
.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  box-shadow: 0 4px 16px rgba(11,18,32,.06);
}
.nav-toggle-bars{
  width:18px; height:12px; display:block; position:relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span{
  content:""; position:absolute; left:0; right:0; height:2px; background:var(--text);
  border-radius:999px;
}
.nav-toggle-bars::before{top:0}
.nav-toggle-bars::after{bottom:0}
.nav-toggle-bars span{top:5px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--brand) 0%, #0f2f62 100%);
  color:#fff; font-weight:800;
  border:1px solid rgba(18,59,122,.2);
  box-shadow: 0 10px 18px rgba(18,59,122,.18);
  text-decoration:none;
}
.btn:hover{text-decoration:none; filter:brightness(1.02)}
.btn:active{transform:translateY(1px)}
.btn-ghost{
  background:#fff; color:var(--brand);
  border:1px solid var(--line);
  box-shadow: 0 10px 18px rgba(11,18,32,.06);
}
.btn-small{padding:10px 12px; border-radius:12px; font-size:14px}

/* Hero */
.hero{
  position:relative;
  padding:68px 0 56px 0;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 300px at 15% 10%, rgba(44,134,214,.18), transparent 60%),
    radial-gradient(900px 340px at 80% 0%, rgba(18,59,122,.16), transparent 60%),
    linear-gradient(180deg, rgba(247,249,253,1) 0%, rgba(255,255,255,1) 70%),
    url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(1.02);
  opacity:.28;
}
.hero-inner{position:relative; display:grid; grid-template-columns: 1.15fr .85fr; gap:22px; align-items:start}
.eyebrow{font-weight:900; color:var(--brand); margin:0 0 10px 0; letter-spacing:.02em}
.hero h1{margin:0 0 10px 0; font-size:44px; line-height:1.05; letter-spacing:-.03em}
.lead{font-size:18px; color:var(--muted); margin:0 0 18px 0}
.hero-ctas{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px}

.hero-badges{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px}
.badge{background:#fff; border:1px solid var(--line); border-radius:16px; padding:12px 12px; box-shadow: 0 10px 18px rgba(11,18,32,.04)}
.badge-title{font-size:12px; color:var(--muted); font-weight:900; text-transform:uppercase; letter-spacing:.08em}
.badge-value{font-weight:900; margin-top:4px}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
}
.card-title{margin:0 0 10px 0; font-size:18px}
.divider{height:1px; background:var(--line); margin:16px 0}

.hero-card{display:grid; grid-template-columns: 1fr; gap:14px}
.hero-portrait{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--line);
}
.hero-portrait img{
  width:100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
}
.hours{margin:0; padding-left:0; list-style:none; display:grid; gap:8px}
.hours li{display:flex; justify-content:space-between; gap:10px; font-weight:800}
.hours li span:first-child{color:var(--muted); font-weight:700}

/* Grids and tiles */
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.tile{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 18px rgba(11,18,32,.04);
}
.tile h3{margin:0 0 8px 0}

.note{
  margin-top:16px;
  background:linear-gradient(135deg, rgba(44,134,214,.10), rgba(18,59,122,.06));
  border:1px solid rgba(44,134,214,.18);
  border-radius: var(--radius);
  padding:14px 16px;
}

/* Services cards */
.service{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: 0 12px 22px rgba(11,18,32,.06);
}
.service-img{
  width:100%;
  height:160px;
  object-fit:cover;
}
.service-body{padding:16px}
.service-body h3{margin:0 0 6px 0}
.list{margin:10px 0 0 0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

/* Split (about) */
.split{display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; align-items:start}
.stats{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin:14px 0}
.stat{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 12px;
  background:#fff;
}
.stat-num{font-weight:900; color:var(--brand)}
.stat-label{color:var(--muted); font-size:13px; margin-top:4px}

.checklist{margin:12px 0 0 0; padding-left:18px; color:var(--muted); font-weight:600}
.checklist li{margin:8px 0}

.bio .bio-row{display:flex; gap:14px; align-items:center; margin-bottom:12px}
.bio-img{
  width:92px; height:92px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid var(--line);
}

/* Contact */
.contact{display:grid; grid-template-columns: 1.05fr .95fr; gap:16px; align-items:start}
.contact-cards{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin:14px 0}
.mini-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 12px;
  background:#fff;
}
.mini-title{font-size:12px; color:var(--muted); font-weight:900; text-transform:uppercase; letter-spacing:.08em; margin-bottom:4px}
.map{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
}
.map iframe{width:100%; height:240px; border:0}

form{display:grid; gap:10px}
label{display:grid; gap:6px; font-weight:800}
input, select, textarea{
  font: inherit;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
}
textarea{resize:vertical}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  background:#fff;
}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap}
.footer-brand{display:flex; align-items:center; gap:12px}
.footer-logo{width:34px; height:34px}
.footer-name{font-weight:900}
.footer-muted{color:var(--muted)}
.footer-links{display:flex; gap:16px; flex-wrap:wrap}
.footer-links a{font-weight:800; color:var(--text)}

/* Responsive */
@media (max-width: 940px){
  .hero-inner{grid-template-columns: 1fr}
  .hero h1{font-size:38px}
  .hero-badges{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .stats{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .contact-cards{grid-template-columns: 1fr}
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    position:absolute;
    right:0; top:52px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow: var(--shadow);
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    min-width: 240px;
  }
  .nav-links.is-open{display:flex}
}

/* Pills */
.pill-row{display:flex; gap:10px; flex-wrap:wrap; margin:0 0 14px 0}
.pill{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  background:rgba(44,134,214,.10);
  border:1px solid rgba(44,134,214,.18);
  color:var(--brand);
}

/* Footer (improved) */
.site-footer{
  border-top:1px solid var(--line);
  background:
    radial-gradient(900px 240px at 15% 0%, rgba(44,134,214,.16), transparent 60%),
    radial-gradient(900px 260px at 85% 0%, rgba(18,59,122,.14), transparent 60%),
    #0b1220;
  color:#fff;
  padding:42px 0 18px 0;
}
.site-footer a{color:#fff; text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-grid{
  display:grid;
  grid-template-columns: 1.35fr .7fr .8fr .9fr;
  gap:18px;
  align-items:start;
}
.footer-col{display:grid; gap:10px}
.footer-brand{display:flex; align-items:center; gap:12px}
.footer-logo{width:38px; height:38px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));}
.footer-name{font-weight:900; letter-spacing:-.01em}
.footer-muted{color:rgba(255,255,255,.72)}
.footer-text{margin:10px 0 0 0; color:rgba(255,255,255,.78); max-width:46ch}
.footer-title{font-weight:900; text-transform:uppercase; letter-spacing:.10em; font-size:12px; color:rgba(255,255,255,.74)}
.footer-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.footer-pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  font-weight:900;
  font-size:13px;
}
.footer-spacer{height:6px}
.footer-bottom{
  margin-top:26px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
@media (max-width: 940px){
  .footer-grid{grid-template-columns: 1fr; }
  .footer-bottom{flex-direction:column; align-items:flex-start}
}
