/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #f4f7fb;
  --bg2:      #ffffff;
  --bg3:      #e8eef7;
  --border:   #d0daea;
  --accent:   #0066cc;
  --accent2:  #00aeef;
  --navy:     #001533;
  --text:     #1a2540;
  --muted:    #5a6a85;
  --white:    #ffffff;
  --radius:   8px;
  --shadow:   0 2px 16px rgba(0,40,100,0.10);
  --font:     'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: #2563eb; border-color: #2563eb; text-decoration: none; }
.btn--outline {
  background: transparent;
  color: var(--accent2);
  border-color: var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; text-decoration: none; }
.btn--sm { padding: 6px 14px; font-size: 13px; }
.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero .btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--accent); }
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
}

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #002d6b 60%, #00408a 100%);
  border-bottom: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
}
.hero .hero__bio { color: rgba(255,255,255,0.75); }
.hero .hero__stats { border-top-color: rgba(255,255,255,0.15); }
.hero .stat__label { color: rgba(255,255,255,0.55); }
.hero__name {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__name span { color: var(--accent2); }
.hero__bio {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat__number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.stat__label { font-size: 13px; color: var(--muted); }

.avatar-placeholder {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.25);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Clients ── */
.clients {
  background: var(--navy);
  padding: 52px 0;
}
.clients__label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-bottom: 36px;
}
.clients__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.clients__logos img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  padding: 14px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
  transition: opacity 0.2s, transform 0.2s;
}
.clients__logos img:hover { opacity: 1; transform: scale(1.06); }
.clients__logos img:nth-child(6n) { border-right: none; }
.clients__logos img:nth-last-child(-n+5) { border-bottom: none; }
.clients__logos img[alt="European Investment Bank"] { padding: 6px 16px; }

/* ── Sections ── */
.section { padding: 88px 0; }
.section__title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 8px;
}
.section__sub { font-size: 16px; color: var(--muted); margin-bottom: 48px; }

/* ── Skills ── */
.skills { background: var(--bg2); }
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.skill-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.skill-card__icon { font-size: 28px; margin-bottom: 12px; }
.skill-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.skill-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.skill-bar { height: 4px; background: var(--border); border-radius: 2px; }
.skill-bar__fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  animation: grow 1s ease forwards;
  transform-origin: left;
}
@keyframes grow { from { width: 0 } to { width: var(--pct) } }

/* ── Experience / Timeline ── */
.experience { background: var(--bg); }
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline__item { position: relative; margin-bottom: 48px; }
.timeline__item:last-child { margin-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -39px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
}
.timeline__content {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.timeline__content:hover { border-color: var(--accent); }
.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.timeline__header h3 { font-size: 17px; font-weight: 600; color: var(--text); }
.timeline__company { font-size: 14px; color: var(--accent2); margin-top: 2px; }
.timeline__date {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.timeline__content ul { display: flex; flex-direction: column; gap: 8px; }
.timeline__content li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.timeline__content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* ── Certifications ── */
.certifications { background: var(--bg2); }
.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.cert-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.cert-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.cert-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.cert-card h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--muted); }

/* ── Recommendations ── */
.recommendations { background: var(--navy); }
.recommendations .section__title { color: var(--white); }
.recommendations .section__sub { color: rgba(255,255,255,0.55); }
.rec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.rec-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, background 0.2s;
}
.rec-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent2);
}
.rec-card__quote {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  flex: 1;
  position: relative;
  padding-top: 24px;
}
.rec-card__quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: -4px;
  font-size: 56px;
  line-height: 1;
  color: var(--accent2);
  font-family: Georgia, serif;
  opacity: 0.6;
}
.rec-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}
.rec-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.rec-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.rec-card__role {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ── Contact ── */
.contact { background: var(--bg); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.contact__item { display: flex; align-items: center; gap: 14px; }
.contact__icon { font-size: 20px; }
.contact__item a, .contact__item span { font-size: 15px; color: var(--text); }
.contact__form { display: flex; flex-direction: column; gap: 14px; }
.contact__form input,
.contact__form textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--muted); }
.form__status { font-size: 14px; color: var(--accent2); min-height: 20px; }

/* ── Footer ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p { font-size: 13px; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__avatar { display: none; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .contact__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav__hamburger { display: block; }
  .nav__inner { position: relative; }
}
