:root{
  --bg: #0b1220;
  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.04);
  --text: #e8eefc;
  --muted: rgba(232,238,252,.75);
  --line: rgba(255,255,255,.14);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --accent: #3b82f6;

  --radius: 18px;
  --max: 980px;
  --pad: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

[data-theme="light"]{
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface2: #ffffff;
  --text: #0e1730;
  --muted: rgba(14,23,48,.72);
  --line: rgba(14,23,48,.12);
  --shadow: 0 18px 50px rgba(14,23,48,.10);
  --accent: #2563eb;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(59,130,246,.22), transparent 55%),
    radial-gradient(900px 600px at 95% 10%, rgba(59,130,246,.12), transparent 55%),
    var(--bg);
  line-height:1.5;
}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 16px;
  top: 16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: 12px;
  z-index: 9999;
}

.header{
  position: sticky;
  top:0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.55);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .header{
  background: rgba(246,247,251,.75);
  backdrop-filter: blur(8px);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
}

.brand__name{
  font-weight: 900;
  letter-spacing:.2px;
  font-size: clamp(18px, 2.5vw, 26px);
}
.brand__tagline{
  color: var(--muted);
  font-weight: 650;
  font-size: 13.5px;
  margin-top: 2px;
}

.header__actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main{
  padding: 22px var(--pad) 40px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card--soft{
  background: var(--surface2);
  box-shadow: none;
}

.hero{
  padding: 20px;
}

.hero__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__title{
  margin:0;
  font-size: 20px;
  letter-spacing: .2px;
}

.hero__chips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip{
  border: 1px solid rgba(59,130,246,.35);
  background: rgba(59,130,246,.12);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.hero__lead{
  margin: 12px 0 0;
  font-size: 15.5px;
  color: var(--text);
}

.section-title{
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .45px;
  font-size: 13px;
  color: var(--muted);
}

.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
  .header__inner{ align-items:flex-start; }
}

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.bullets li{ margin: 8px 0; }

.contact{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.contact__row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
[data-theme="light"] .contact__row{ background:#f8f9ff; }

.contact__label{
  color: var(--muted);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing:.3px;
  text-transform: uppercase;
}
.contact__value{
  font-weight: 750;
  text-align:right;
}

.cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.note{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.bar{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bar__text{
  margin:0;
  color: var(--text);
  font-size: 14.5px;
}

.bar__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .08s ease, border-color .2s ease, filter .2s ease;
}
.btn:active{ transform: scale(.98); }

.btn--ghost:hover{ border-color: rgba(59,130,246,.45); }

.btn--primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--primary:hover{ filter: brightness(1.05); }

.link{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.muted{ color: var(--muted); }

.cvhead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cvhead__actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.pdf{
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
  background: rgba(0,0,0,.15);
}
[data-theme="light"] .pdf{ background:#f3f4f6; }

.pdf__frame{
  width: 100%;
  height: min(70vh, 820px);
  border: 0;
  display:block;
}

.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
}
.footer__inner{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__sep{ opacity: .7; }
