:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --text: #1f2937;
  --muted: #6b7280;
  --bg-alt: #f5f7fb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.nav { position: sticky; top: 0; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.06); z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--text); text-decoration: none; }
.logo span { color: var(--primary); }
.nav-links a { margin-left: 24px; color: var(--text); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, #1e1b4b, var(--primary)); color: #fff; padding: 120px 0; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: #a5b4fc; }
.hero p { max-width: 620px; margin: 0 auto 32px; opacity: .9; }

.btn { display: inline-block; background: var(--primary); color: #fff; padding: 12px 28px; border-radius: 8px; border: 0; text-decoration: none; font-weight: 600; cursor: pointer; }
.hero .btn { background: #fff; color: var(--primary); }
.btn:hover { background: var(--primary-dark); color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: 2rem; margin-bottom: 24px; }
.section p { color: var(--muted); margin-bottom: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats div { background: var(--bg-alt); border-radius: 12px; padding: 24px; text-align: center; }
.stats b { display: block; font-size: 2rem; color: var(--primary); }
.stats span { color: var(--muted); font-size: .9rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card h3 { margin: 12px 0 8px; }
.icon { font-size: 2rem; }
.team { text-align: center; background: var(--bg-alt); }
.avatar { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; }

/* Form */
.form { display: flex; flex-direction: column; gap: 12px; }
.form input, .form textarea { padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

.footer { background: #111827; color: #9ca3af; text-align: center; padding: 24px 0; font-size: .9rem; }

@media (max-width: 768px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px; box-shadow: 0 6px 12px rgba(0,0,0,.06); }
  .nav-links.open { display: flex; }
  .nav-links a { margin: 8px 0; }
  .two-col { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
}

/* ---- Photos ---- */
.hero { background: linear-gradient(135deg, rgba(30,27,75,.85), rgba(79,70,229,.6)), url("/img/hero.jpg") center/cover no-repeat; padding: 160px 0; }
.photo img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.15); }
#about .stats { margin-top: 24px; }
.card.service { padding: 0; overflow: hidden; }
.card.service img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform .4s; }
.card.service:hover img { transform: scale(1.06); }
.card-body { padding: 20px 24px 24px; }
.card-body h3 { margin-top: 0; }
.banner { background: linear-gradient(rgba(17,24,39,.75), rgba(17,24,39,.75)), url("/img/office.jpg") center/cover fixed; color: #fff; text-align: center; padding: 100px 0; }
.banner h2 { font-size: 2rem; margin-bottom: 12px; }
.banner p { opacity: .85; margin-bottom: 28px; }
.banner .btn { background: #fff; color: var(--primary); }
@media (max-width: 768px) {
  .hero { padding: 100px 0; }
  .banner { background-attachment: scroll; }
}
