:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #f6f7fb;
  --border: #e6e8f0;
  --text: #0f172a;
  --subtext: #475569;
  --brand: #2563eb;
  --brand2: #1d4ed8;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 10px;
  --radius2: 12px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
p{ color: var(--subtext); margin: 0 0 14px; }
h1,h2,h3{ margin: 0 0 10px; line-height: 1.15; }
h1{ font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -0.02em; }
h2{ font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.01em; }
h3{ font-size: 18px; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.topbar-inner{
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}
.brand img{ height: 26px; width: auto; display: block; }

.nav{
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a{
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--subtext);
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover{ background: var(--muted); color: var(--text); }
.nav a.active{ background: rgba(37,99,235,0.10); color: var(--brand2); }

.actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn{
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.btn:hover{ background: var(--muted); }
.btn.primary{
  border-color: rgba(37,99,235,0.35);
  background: var(--brand);
  color: white;
}
.btn.primary:hover{ background: var(--brand2); }

.burger{
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.burger span{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* Layout */
main{ min-height: calc(100vh - 68px); }
.section{ padding: 48px 0; }

.hero{
  padding: 56px 0 34px;
  background:
    radial-gradient(1000px 500px at 20% 0%, rgba(37,99,235,0.12), transparent 60%),
    radial-gradient(800px 450px at 95% 20%, rgba(2,132,199,0.10), transparent 55%);
  border-bottom: 1px solid var(--border);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}
.kicker{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  color: var(--subtext);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 14px;
}
.kicker b{ color: var(--brand2); }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.card.pad{ padding: 18px; }

.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{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
}
.tile .icon{
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: var(--muted);
  font-weight: 900;
  color: var(--brand2);
}

.list{ margin: 0; padding-left: 18px; color: var(--subtext); }
.list li{ margin: 8px 0; }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--text);
  font-size: 13px;
}

.footer{
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--subtext);
  font-size: 13px;
}

/* Mobile nav */
.mobile-panel{
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-panel a{
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--subtext);
  font-weight: 700;
}
.mobile-panel a.active{ color: var(--brand2); background: rgba(37,99,235,0.06); }

/* Gallery */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.gallery-item{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.gallery-item:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.gallery-item img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.gallery-item .cap{
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.gallery-item .sub{
  font-weight: 600;
  color: var(--subtext);
  font-size: 12px;
  margin-top: 3px;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: none;
  place-items: center;
  z-index: 50;
  padding: 18px;
}
.lightbox[data-open="true"]{ display: grid; }
.lightbox-inner{
  width: min(980px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}
.lightbox-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.lightbox-title{
  font-weight: 900;
  letter-spacing: -0.01em;
}
.lightbox-close{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 900;
  cursor: pointer;
}
.lightbox-body img{
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .nav{ display: none; }
  .burger{ display: inline-block; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-item img{ height: 160px; }
}
