:root {
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --brand: #2563eb;
  --brand-2: #0ea5e9;
  --line: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

img { display: block; max-width: 100%; object-fit: cover; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo { width: 38px; height: 38px; }
.brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -.5px; }
.brand-name em { color: var(--brand); font-style: normal; }
.links { display: flex; gap: 24px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; }
.links a:hover { color: var(--brand); }

/* Buttons */
.btn {
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: .95rem;
  display: inline-block;
}
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; margin-bottom: 16px; }
.grad { background: linear-gradient(135deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin: 24px 0 28px; }
.hero-img img { width: 100%; height: 380px; border-radius: 18px; box-shadow: 0 20px 50px rgba(15,23,42,.15); }
.stats { display: flex; gap: 36px; }
.stats strong { display: block; font-size: 1.6rem; color: var(--brand); }
.stats span { color: var(--muted); font-size: .85rem; }

/* Sections */
.section { padding: 64px 0; }
.alt { background: var(--bg-alt); }
.title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 32px; }
.title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  margin-top: 10px;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.12); }
.card img { width: 100%; height: 170px; }
.card h3 { padding: 16px 18px 4px; }
.card p { padding: 0 18px 18px; color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.img-col img { width: 100%; height: 380px; border-radius: 16px; }
.text-col p { color: var(--muted); margin-bottom: 18px; }
.check { list-style: none; margin-bottom: 24px; }
.check li { padding: 6px 0 6px 28px; position: relative; }
.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}
.team img { width: 100%; height: 230px; border-radius: 12px; margin-bottom: 12px; }
.team figcaption { font-weight: 700; }
.team small { color: var(--muted); font-weight: 400; }

.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.offices article { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.offices img { width: 100%; height: 180px; }
.offices h3 { padding: 16px 18px 4px; }
.offices p { padding: 0 18px 18px; color: var(--muted); font-size: .92rem; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info p { margin-bottom: 10px; color: var(--muted); }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-note { color: #16a34a; font-weight: 600; }

.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: .2s;
}
.social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.footer { background: #0f172a; color: #94a3b8; padding: 32px 0; }
.footer .container { display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.footer .social a { color: #cbd5e1; border-color: #334155; }
.footer .social a:hover { background: var(--brand); }

@media (max-width: 820px) {
  .links { display: none; }
  .hero-grid, .split, .contact-wrap { grid-template-columns: 1fr; }
  .hero-img img, .img-col img { height: 260px; }
}
