/* ============ Design tokens ============ */
:root {
  --bg: #0b1020;
  --bg-soft: #111a33;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0ea5a4;       /* teal */
  --brand-dark: #0b8281;
  --accent: #f59e0b;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(8, 47, 73, .25);
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-family: var(--display); font-weight: 700; color: #fff; letter-spacing: .5px;
  box-shadow: var(--shadow-md);
}
.brand-text { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font); font-weight: 400; font-size: .72rem; color: #93a4c4; letter-spacing: .3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #c7d2e6; font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ============ Hero ============ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--bg); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(14,165,164,.35), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(37,99,235,.28), transparent 55%),
    linear-gradient(180deg, #0b1020, #0c1430);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; padding: 120px 24px 130px; max-width: 880px; }
.eyebrow { color: #7fe3e1; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; font-size: .78rem; margin: 0 0 18px; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; margin: 0 0 22px;
  letter-spacing: -1px;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #c0cce4; max-width: 640px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(14,165,164,.35); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* ============ Sections ============ */
.section { padding: 92px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; font-size: .76rem; margin: 0 0 12px; }
.section-head h2 { font-family: var(--display); font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.5px; }
.lead { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }
.section-head.light h2, .section-head.light .lead { color: #fff; }

/* ============ Cards ============ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(14,165,164,.4); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(14,165,164,.12), rgba(37,99,235,.12)); color: var(--brand-dark);
}
.card h3 { font-family: var(--display); font-size: 1.12rem; margin: 0 0 10px; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ============ Stats ============ */
.stats-section { background: var(--bg); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px 12px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat-num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #7fe3e1; line-height: 1; }
.stat-label { display: block; margin-top: 10px; color: #aebbd4; font-size: .9rem; }

/* ============ Expertise ============ */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.exp-col { background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.exp-col h4 { font-family: var(--display); font-size: 1.1rem; margin: 0 0 18px; color: var(--ink); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.tags li { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); padding: 7px 13px; border-radius: 999px; font-size: .85rem; font-weight: 500; }

/* ============ Experience timeline ============ */
.experience-section { background: #f8fafc; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), transparent); }
.tl-item { position: relative; padding: 22px 26px 22px 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tl-item::before { content: ""; position: absolute; left: 7px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand); }
.tl-date { display: inline-block; color: var(--brand-dark); font-weight: 700; font-size: .82rem; letter-spacing: .3px; margin-bottom: 6px; }
.tl-item h3 { font-family: var(--display); font-size: 1.12rem; margin: 0 0 8px; }
.tl-item p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ============ Certifications ============ */
.cert-section { background: var(--bg); color: #fff; }
.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-grid li {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: 18px 20px; font-weight: 500; font-size: .92rem; color: #dbe5f5;
  position: relative; padding-left: 42px;
}
.cert-grid li::before { content: "✓"; position: absolute; left: 16px; color: var(--brand); font-weight: 700; }

/* ============ About / values ============ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about-text p { color: var(--ink-soft); margin: 0 0 16px; }
.about-text .languages { color: var(--ink); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value { background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.value h4 { font-family: var(--display); margin: 0 0 8px; color: var(--brand-dark); }
.value p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ============ Contact ============ */
.contact-section { background: linear-gradient(160deg, #0b1020, #0c1430); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro h2 { color: #fff; }
.light-kicker { color: #7fe3e1; }
.contact-intro p { color: #bccae3; }
.contact-info { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-info li { display: flex; flex-direction: column; gap: 2px; }
.contact-info span { color: #7f8fb0; font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; }
.contact-info a:hover { color: #7fe3e1; }

.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; color: #c0cce4; margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff;
  font-family: var(--font); font-size: .95rem; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.1); }
.field select option { color: #0f172a; }
.field textarea { resize: vertical; }
.form-note { margin: 14px 0 0; color: #7fe3e1; font-size: .9rem; }

/* ============ Footer ============ */
.site-footer { background: #070b18; color: #aebbd4; padding: 44px 0; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: #fff; display: block; font-family: var(--display); }
.footer-brand small { font-size: .8rem; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: .85rem; margin: 0; width: 100%; text-align: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .cards, .stats, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #0c1430; padding: 10px 24px 24px; border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-130%); transition: transform .3s; align-items: stretch;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: flex; }
  .cards, .stats, .cert-grid, .values { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 84px 24px 90px; }
}
