/* CSS reset (lightweight) */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }

:root {
  --bg: #0f172a;           /* slate-900 */
  --panel: #0b1224;        /* deeper panel */
  --text: #e5e7eb;         /* gray-200 */
  --muted: #94a3b8;        /* slate-400 */
  --brand: #f97316;        /* orange-500 */
  --brand-600: #ea580c;    /* orange-600 */
  --brand-700: #c2410c;    /* orange-700 */
  --accent: #2563eb;       /* blue-600 */
  --card: #111827;         /* gray-900 */
  --border: #1f2937;       /* gray-800 */
  --shadow: 0 10px 25px rgba(0,0,0,.25);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(37,99,235,.15), transparent 60%),
              radial-gradient(1000px 700px at 100% 0%, rgba(249,115,22,.12), transparent 55%),
              var(--bg);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0; z-index: 1000;
  background: rgba(11,18,36,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.brand .logo { width: 34px; height: 34px; }

.site-nav ul { display: flex; gap: 18px; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--text); background: #0f1b37; }
.site-nav a.active { color: white; background: linear-gradient(135deg, rgba(249,115,22,.25), rgba(37,99,235,.25)); }

.nav-toggle { display: none; background: none; border: none; padding: 8px; margin-left: 8px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 10px; }
.hero p { color: var(--muted); margin: 0 0 20px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual .hero-card { background: linear-gradient(135deg, rgba(249,115,22,.15), rgba(37,99,235,.15)); border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }

.page-hero { padding: 56px 0 24px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(149, 115, 255, .06), transparent); }
.page-hero.small { padding: 48px 0 18px; }
.page-hero h1 { margin: 0 0 6px; }
.page-hero p { color: var(--muted); margin: 0; }

/* Sections */
.section { padding: 40px 0; }
.section.alt { background: rgba(17,24,39,.35); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 20px; }
.center { text-align: center; margin-top: 16px; }

/* Grids/Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.card.padded { padding: 18px; }
.card.person { display: flex; align-items: center; gap: 12px; padding: 14px; }
.card.person img { width: 56px; height: 56px; border-radius: 50%; background: #0f1b37; }

.highlights .card { padding: 18px; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.project { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.project img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.project-body { padding: 12px 14px 16px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.service-card h3 { margin-top: 10px; }

/* Buttons */
.btn { --ring: 0 0 0 0 rgba(255,255,255,0); display: inline-block; text-decoration: none; padding: 10px 14px; border-radius: 10px; border: 1px solid transparent; color: white; transition: transform .04s ease, box-shadow .15s ease, background .2s, border-color .2s; box-shadow: var(--ring); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--accent)); border-color: rgba(255,255,255,.08); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-600), var(--accent)); }
.btn-outline { background: transparent; border-color: #2b3a58; color: var(--text); }
.btn-outline:hover { background: #0f1b37; }

/* Forms */
.form { padding: 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  background: #0f1b37;
  border: 1px solid #24324f;
  border-radius: 10px;
  color: var(--text);
}
.contact-list li { margin-bottom: 8px; }

.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 24px; margin: 8px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); }

.steps { counter-reset: step; padding-left: 0; }
.steps li { counter-increment: step; margin: 10px 0; padding-left: 28px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 32px; background: rgba(11,18,36,.75); }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 20px; padding: 24px 0; }
.footer-inner h4 { margin: 0 0 8px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }
.footer-bottom { padding: 12px 0; border-top: 1px solid var(--border); text-align: center; color: var(--muted); }
.logo.small { width: 28px; height: 28px; }

/* Utilities */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-nav { position: absolute; left: 0; right: 0; top: 60px; background: rgba(11,18,36,.98); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .nav-toggle { display: inline-block; }
}

