:root{
  --accent: #b74b4b;
  --border: #ffffff22;
}

.resume-page{
  max-width: 1100px;
  margin: 120px auto 60px;
  padding: 0 16px;
  color: #fff;
}

.resume-page h1{
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 1.2rem;
}

.lang-toggle{
  display: inline-flex;
  gap: 8px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 14px;
}

.lang-btn{
  background: transparent;
  color: #fff;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
}
.lang-btn.active{
  background: var(--accent);
  color: #000;
}

.cv-frame{
  background: #111;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  padding: 12px;
}

.cv-frame img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  user-select: none;
}

.cv-frame figcaption{
  font-size: 1.3rem;
  color: #cbd5e1cc;
  margin-top: 8px;
}

.cv-actions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

:where(a, button).btn:focus-visible,
.lang-btn:focus-visible{
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}
.resume-page { scroll-margin-top: 120px; }
