:root {
  --bg: #0f172a;
  --bg-alt: #0b1220;
  --surface: #1e293b;
  --surface-2: #172033;
  --border: #334155;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-2: #38bdf8;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #1e3a8a, #0f172a 60%) fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
}
.brand-accent { color: var(--accent-2); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Hero */
.hero { padding: 90px 0 70px; }
.hero-inner { max-width: 820px; }
.hero-eyebrow {
  color: var(--accent-2);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 48px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
}
.stat-label { color: var(--text-muted); font-size: .85rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(59,130,246,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59,130,246,.4); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: rgba(11, 18, 32, 0.6); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
  color: var(--accent-2);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.section-lead { color: var(--text-muted); margin-top: 14px; max-width: 640px; }

/* Grids & cards */
.grid { margin-top: 40px; display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .95rem; }

.benefits-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefit {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.benefit h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit p { color: var(--text-muted); font-size: .92rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.about-media { display: flex; justify-content: center; }
.about-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  max-width: 300px;
}
.about-initial {
  display: grid;
  place-items: center;
  width: 90px; height: 90px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
}
.about-card h3 { font-size: 1.2rem; }
.about-card p { color: var(--text-muted); font-size: .9rem; margin-top: 6px; }
.about-text p { color: var(--text-muted); margin-top: 16px; }
.about-text strong { color: var(--text); }
.about-list { margin-top: 20px; list-style: none; display: grid; gap: 10px; }
.about-list li {
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .92rem;
  color: var(--text-muted);
}

/* CV */
.cv-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cv-inner .section-lead { margin-left: auto; margin-right: auto; }
.cv-inner .btn { margin-top: 28px; }

/* Contact */
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; }
.contact-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.contact-icon { font-size: 1.6rem; }
.contact-item h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.contact-item p { color: var(--text-muted); font-size: .92rem; }
.contact-item a { color: var(--accent-2); }
.contact-item a:hover { text-decoration: underline; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-small { margin-top: 6px; font-size: .8rem; opacity: .7; }

/* Responsive */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 18, 32, 0.98);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 16px 5%; border-top: 1px solid var(--border); color: var(--text); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 32px; }
}
