/* ===== БАЗА ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f8f9fb;
  --text: #2d364c;
  --brand: #1967d2;
  --brand-soft: #1452a3;
  --header: #1e2a47;
  --tooltip-bg: #1e2a47;
  --tooltip-text: #ffffff;
  --vh: 1svh;
}

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 200%;
  background: url('images/back.webp') repeat;
  background-image: image-set(
    url('images/back.webp') type('image/webp'),
    url('images/back.png') type('image/png')
  );
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.65;
  letter-spacing: 0.2px;
  color: var(--text);
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(92%, 1320px);
  margin-inline: auto;
  padding: 2rem 0;
}

body.no-scroll,
body.no-scroll-nav {
  overflow: hidden;
}

/* ===== ШАПКА ===== */
.site-header {
  background: var(--header);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .18s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.4rem;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.logo-image {
  height: 50px;
  width: auto;
  border-radius: 50%;
}

.logo-image--clickable {
  cursor: zoom-in;
  transition: transform .15s ease-in-out;
}

.logo-image--clickable:hover {
  transform: scale(1.04);
}

.logo-link {
  color: inherit;
  text-decoration: none;
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  padding: .6rem 0;
}

/* Меню */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.4rem;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  padding: .5rem .75rem;
  border-radius: .5rem;
}

.main-nav a:active {
  background: rgba(255, 255, 255, .12);
}

/* Бургер */
.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: .5rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 3px 0;
  border-radius: 1px;
}

/* Контакты в шапке (справа) */
.header-contacts {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 0;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #e9f1ff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  padding: .38rem .6rem;
  line-height: 1;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

.contact-chip:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .25);
  transform: translateY(-1px);
}

.contact-chip svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Переключатель языка */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: .4rem;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .12s;
  cursor: pointer;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .35);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ===== ГЕРОЙ ===== */
.hero {
  position: relative;
  height: calc(30 * var(--vh));
  min-height: 120px;
  background-image: url('images/background.webp');
  background-image: image-set(
    url('images/background.webp') type('image/webp'),
    url('images/background.png') type('image/png')
  );
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.hero h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: .35rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

.hero .subtitle {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: #f5f9ff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

/* ===== СЕКЦИИ ===== */
.section {
  padding: clamp(2rem, 4vw, 4rem) 0;
  background: var(--bg);
}

.section-alt {
  background: #eef1f7;
}

section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: #1e2a47;
}

section#about p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* ===== СЕТКИ ===== */
.skills-grid,
.hard-skills-grid,
.projects-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hard-skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #fafafa;
  padding: 1.1rem;
  border-radius: .6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ===== КАРТОЧКИ ===== */
.skill-card,
.project-card {
  align-self: start;
  background: #fff;
  padding: 1.1rem;
  border-radius: .6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.skill-card {
  position: relative;
  border: 1px solid #e9eef6;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
}

.skill-card:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
  border-color: #dfe7f3;
}

.skill-card.expanded {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.skill-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .6rem;
  background: transparent;
  border: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  border-radius: .5rem;
}

.skill-title:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.skill-title::after {
  content: "›";
  font-size: 1rem;
  color: #7a879c;
  transform: rotate(0deg);
  transition: transform .16s ease, color .16s ease;
}

.skill-card.expanded .skill-title::after {
  transform: rotate(90deg);
  color: var(--brand);
}

.skill-tooltip {
  position: absolute;
  left: 12px;
  top: -8px;
  transform: translateY(-100%);
  z-index: 15;
  max-width: 340px;
  padding: .55rem .65rem;
  background: var(--tooltip-bg);
  color: var(--tooltip-text);
  border-radius: .5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  font-size: .88rem;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  pointer-events: none;
}

.skill-tooltip::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -6px;
  border: 6px solid transparent;
  border-top-color: var(--tooltip-bg);
}

.skill-card:not(.expanded):hover .skill-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(calc(-100% - 3px));
}

.skill-card.expanded .skill-tooltip {
  display: none;
}

.skill-content {
  margin-top: .55rem;
  padding-top: .55rem;
  border-top: 1px solid #edf1f7;
}

.skill-card p {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
}

.skill-card h3,
.project-card h3 {
  margin-bottom: .5rem;
  color: var(--brand);
  font-size: 1.1rem;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.project-card .project-meta {
  font-size: .88rem;
  color: #5a6b8b;
}

/* ===== ОПЫТ / СТАТЬИ ===== */
.experience-list {
  display: grid;
  gap: 1rem;
}

.experience-item h3 {
  margin-bottom: .25rem;
  color: var(--brand);
  font-size: 1.05rem;
}

.experience-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.articles-list {
  display: grid;
  gap: 1.4rem;
}

.article-item h3 {
  margin-bottom: .5rem;
  color: var(--brand);
}

.article-item h3 a {
  color: inherit;
  text-decoration: none;
}

.article-item h3 a:hover {
  text-decoration: underline;
}

.article-item p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: .4rem;
}

.article-meta {
  font-size: .88rem;
  color: #5a6b8b;
}

/* ===== СПИСОК КОНТАКТОВ ===== */
.contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 1.02rem;
}

.contact-list li {
  margin-bottom: .5rem;
}

.contact-list a {
  color: var(--brand);
}

/* ===== ФУТЕР / КНОПКА НАВЕРХ / МОДАЛ ===== */
.site-footer {
  background: var(--header);
  color: #a6b1c2;
  padding: 1rem 0;
  text-align: center;
  font-size: .9rem;
}

.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
  cursor: pointer;
  z-index: 1100;
  transition: background .3s ease;
}

.floating-btn:hover {
  background: var(--brand-soft);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .94);
  overscroll-behavior: contain;
  touch-action: pinch-zoom;
  padding: 0;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: calc(100svh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  user-select: none;
}

.close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(14px, calc(env(safe-area-inset-right) + 6px));
  color: #fff;
  font-size: 42px;
  line-height: 1;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: .6rem;
  cursor: pointer;
  padding: .2rem .6rem;
}

.close:hover,
.close:focus {
  opacity: .9;
  outline: none;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
  .header-contacts {
    gap: .4rem;
  }

  .contact-chip span {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 960px) {
  .header-grid {
    grid-template-columns: 1fr auto;
  }

  .logo-image {
    height: 44px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .container {
    padding: 1.4rem 0;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .burger {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 32px 0 auto 0;
    background: var(--header);
    padding: .65rem 0.9rem 0.9rem;
    z-index: 1500;
  }

  .main-nav ul {
    flex-direction: column;
    gap: .05rem;
  }

  .main-nav a {
    display: block;
    padding: .7rem 0.9rem;
    border-radius: .6rem;
    font-size: .95rem;
  }

  .header-contacts {
    gap: .3rem;
  }

  .contact-chip span {
    display: none;
  }

  .contact-chip {
    padding: .38rem;
  }
}

@media (max-width: 560px) {
  section h2 {
    margin-bottom: 1rem;
  }

  .skill-title {
    font-size: .95rem;
    padding: .5rem .55rem;
  }

  .skill-tooltip {
    max-width: min(85vw, 380px);
    left: 10px;
  }
}

[hidden] {
  display: none !important;
}

/* ===== EXPERIENCE DETAILS ===== */
.experience-details {
  margin: .5rem 0 0 1.2rem;
  padding: 0;
  font-size: .93rem;
  line-height: 1.55;
  color: #3d4a66;
}

.experience-details li {
  margin-bottom: .3rem;
}

.years {
  font-weight: 400;
  color: #5a6b8b;
  font-size: .9rem;
}

/* ===== CERT-ITEM (вместо inline стилей) ===== */
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== SKILLS GROUP (details/summary) ===== */
.skills-group {
  margin-bottom: 1.2rem;
}

.skills-group summary {
  cursor: pointer;
  list-style: none;
}

.skills-group summary::-webkit-details-marker {
  display: none;
}

.skills-group summary::marker {
  display: none;
  content: "";
}

.group-title {
  position: relative;
  padding-left: 1.2rem;
}

.group-title::before {
  content: "›";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
  transition: transform .16s ease;
}

.skills-group[open] .group-title::before {
  transform: rotate(90deg);
}

.group-title h3 {
  display: inline;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

/* ===== CTA СЕКЦИЯ ===== */
.cta-section {
  background: var(--header);
  color: #fff;
  text-align: center;
}

.cta-container {
  max-width: 640px;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: .75rem;
}

.cta-section p {
  color: #c0cde0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
}

.cta-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-btn--primary {
  background: var(--brand);
  color: #fff;
}

.cta-btn--primary:hover {
  background: #1452a3;
}

.cta-btn--secondary {
  background: rgba(255, 255, 255, .12);
  color: #e9f1ff;
  border: 1px solid rgba(255, 255, 255, .2);
}

.cta-btn--secondary:hover {
  background: rgba(255, 255, 255, .18);
}

#skills h2 {
  font-weight: 800;
  letter-spacing: .1px;
  margin-bottom: 1.25rem;
}

/* === OpenGraph Cards === */
.og-card {
  margin-top: .5rem;
  border: 1px solid #e6ebf4;
  border-radius: .6rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  overflow: hidden;
  transition: box-shadow .16s ease, transform .12s ease, border-color .16s ease;
}

.og-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
  border-color: #dfe7f3;
}

.og-link {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.og-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f4f6fa;
  border-right: 1px solid #eef1f7;
}

.og-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.og-body {
  padding: .75rem .9rem;
  display: grid;
  align-content: start;
  gap: .35rem;
}

.og-body--noimg {
  grid-column: 1 / -1;
}

.og-title {
  font-weight: 700;
  color: #1e2a47;
  line-height: 1.35;
}

.og-desc {
  font-size: .95rem;
  color: #425170;
  line-height: 1.45;
}

.og-site {
  font-size: .83rem;
  color: #6e7c95;
  margin-top: .15rem;
}

@media (max-width: 600px) {
  .og-link {
    grid-template-columns: 1fr;
  }

  .og-thumb {
    display: none;
  }
}
/* ===== СЕРТИФИКАТЫ ===== */
.certificates {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.certificates img {
width: 200px;
height: auto;
min-width: 0;
}
/* ===== ХАКАТОНЫ ===== */
.hack-block {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.hack-block img {
width: 200px;
height: auto;
cursor: pointer;
min-width: 0;
}

/* ===== МОДАЛКА НАВЫКОВ ===== */
.skill-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.skill-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.skill-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92%, 520px);
  max-height: calc(100svh - 4rem);
  overflow-y: auto;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .22), 0 2px 12px rgba(0, 0, 0, .08);
  animation: skillModalIn .2s ease-out;
}

@keyframes skillModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.skill-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  color: #7a879c;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s;
  line-height: 1;
}

.skill-modal__close:hover {
  background: #f0f2f5;
  color: #2d364c;
}

.skill-modal__title {
  margin: 0 0 .35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  padding-right: 2rem;
}

.skill-modal__subtitle {
  margin: 0 0 1.1rem;
  font-size: .95rem;
  color: #6b7a94;
  line-height: 1.45;
}

.skill-modal__body {
  margin-bottom: 1.1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.skill-modal__body p {
  margin: 0 0 .65rem;
}

.skill-modal__body ul {
  margin: .4rem 0 .65rem 1.2rem;
  padding: 0;
  list-style: disc;
}

.skill-modal__body li {
  margin-bottom: .3rem;
  font-size: .95rem;
  line-height: 1.5;
  color: #4a5568;
}

.skill-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .85rem;
}

.skill-modal__tag {
  display: inline-block;
  padding: .2rem .6rem;
  background: #edf2f9;
  color: #3d5a80;
  border-radius: .35rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ===== ТЁМНАЯ ТЕМА ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1521;
    --text: #f0f2f5;
    --brand: #5cb8ff;
    --brand-soft: #3ea6f7;
    --header: #0b0f18;
    --tooltip-bg: #1c2840;
    --tooltip-text: #ffffff;
  }

  html {
    background-color: #0b0f18;
  }

  body {
    color: var(--text);
  }

  /* Секции */
  .section {
    background: var(--bg);
  }

  section h2 {
    color: #ffffff;
  }

  .section-alt {
    background: #151d2e;
  }

  /* Текст в секциях */
  section#about p {
    color: #d0d6e0;
  }

  .experience-item p {
    color: #c8cdd8;
  }

  .article-item p {
    color: #c8cdd8;
  }

  /* Карточки */
  .skill-card,
  .project-card {
    background: #1a2438;
    border-color: #2a3a55;
    color: #e8ecf2;
  }

  .skill-card:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
    border-color: #4a6080;
  }

  .skill-card p,
  .project-card p {
    color: #c8d0dc;
  }

  .skill-title {
    color: var(--brand);
  }

  .hard-skills-grid {
    background: #151d2e;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  }

  .skill-content {
    border-top-color: #2a3a55;
  }

  /* OG карточки */
  .og-card {
    background: #1a2438;
    border-color: #2a3a55;
  }

  .og-thumb {
    background: #151d2e;
    border-right-color: #2a3a55;
  }

  .og-title {
    color: #f0f2f5;
  }

  .og-desc {
    color: #b8c4d4;
  }

  .og-site {
    color: #8899b0;
  }

  /* Опыт */
  .experience-details {
    color: #bcc6d4;
  }

  .experience-item h3 {
    color: var(--brand);
  }

  .years {
    color: #90a0b8;
  }

  /* Проекты */
  .project-card h3 {
    color: var(--brand);
  }

  .project-card .project-meta {
    color: #90a0b8;
  }

  /* Статьи */
  .article-meta {
    color: #90a0b8;
  }

  .article-item h3 a {
    color: var(--brand);
  }

  /* Навыки */
  .group-title h3 {
    color: #f0f2f5;
  }

  .group-title::before {
    color: var(--brand);
  }

  /* CTA */
  .cta-section {
    background: #0b0f18;
  }

  .cta-section p {
    color: #b8c4d4;
  }

  /* Футер */
  .site-footer {
    background: #080c14;
    color: #8899b0;
  }

  .site-footer a {
    color: var(--brand);
  }

  /* Модалка навыков */
  .skill-modal__overlay {
    background: rgba(0, 0, 0, .7);
  }

  .skill-modal__dialog {
    background: #1a2438;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
  }

  .skill-modal__close:hover {
    background: #2a3a55;
    color: #f0f2f5;
  }

  .skill-modal__subtitle {
    color: #90a0b8;
  }

  .skill-modal__body li {
    color: #c8d0dc;
  }

  .skill-modal__tag {
    background: #253350;
    color: #8ab4f8;
  }

  /* Ссылки общие */
  a {
    color: var(--brand);
  }

  /* Хедер контакты */
  .contact-chip {
    color: #f0f2f5;
  }
}