
    /* ... все твои стили без изменений ... */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      background: #0a0a0c;
      color: white;
    }
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.2);
      height: 80px;
    }
    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 30px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo img {
      width: 60px;
      height: auto;
      border-radius: 50%;
    }
    .nav {
      display: flex;
      gap: 35px;
    }
    .nav a {
      color: rgba(255,255,255,0.9);
      text-decoration: none;
      font-size: 1.2rem;
      font-weight: 500;
      transition: 0.2s;
      position: relative;
    }
    .nav a:hover {
      color: white;
    }
    .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 100%;
      height: 2px;
      background: white;
      transform: scaleX(0);
      transition: transform 0.2s ease;
    }
    .nav a:hover::after {
      transform: scaleX(1);
    }
    .lang-switch {
      display: flex;
      gap: 8px;
    }
    .lang-btn {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.3);
      padding: 5px 12px;
      border-radius: 30px;
      cursor: pointer;
      font-weight: 500;
      font-size: 0.9rem;
      color: white;
    }
    .lang-btn.active {
      background: rgba(255,255,255,0.3);
      border-color: white;
    }
    .sound-toggle {
      position: absolute;
      top: 100px;
      right: 30px;
      z-index: 30;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(4px);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 30px;
      padding: 6px 14px;
      font-size: 0.9rem;
      cursor: pointer;
      color: #eee;
      font-weight: 400;
      transition: 0.2s;
      letter-spacing: 0.5px;
    }
    .sound-toggle:hover {
      background: rgba(0, 0, 0, 0.7);
      color: white;
    }
    .first-screen {
      position: relative;
      height: 100vh;
      width: 100%;
      overflow: hidden;
    }
    .bg-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.55);
      z-index: 1;
    }
    .about-grid {
      position: absolute;
      top: 48%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 1400px;
      z-index: 20;
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 30px;
      padding: 20px;
    }
    .about-card {
      background: rgba(20, 20, 25, 0.8);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 32px;
      padding: 32px 30px;
    }
    .about-card.main {
      grid-row: span 2;
    }
    .about-card h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .about-card h3 {
      font-size: 1.5rem;
      margin: 20px 0 10px;
    }
    .about-card h4 {
      font-size: 1.2rem;
      margin: 12px 0 4px;
      color: #ddd;
    }
    .about-card p {
      font-size: 1rem;
      line-height: 1.5;
      margin-bottom: 12px;
    }
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }
    .tags span {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 40px;
      padding: 6px 14px;
      font-size: 0.8rem;
    }
    .projects-full {
      height: 100vh;
      background: #1a1a1f;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .projects-section {
      max-width: 1400px;
      width: 100%;
      margin: 0 auto;
      padding: 20px;
    }
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 35px;
      margin-top: 30px;
    }
    .project-card {
      background: rgba(20,20,25,0.7);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 32px;
      padding: 32px;
    }
    .project-card h3 {
      font-size: 1.7rem;
      margin-bottom: 15px;
    }
    .project-card p {
      color: rgba(255,255,255,0.85);
      line-height: 1.5;
      margin-bottom: 25px;
    }
    .project-tech span {
      background: rgba(255,255,255,0.1);
      border-radius: 20px;
      padding: 5px 14px;
      font-size: 0.8rem;
    }
    .contacts-big {
      position: relative;
      height: 100vh;
      width: 100%;
      background: #1a1a1f;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .contacts-bg-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      opacity: 0.4;
    }
    .contacts-content {
      position: relative;
      z-index: 2;
      max-width: 1000px;
      text-align: center;
      padding: 30px;
    }
    .contacts-content h2 {
      font-size: 3rem;
      margin-bottom: 20px;
    }
    .contacts-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin: 40px 0 20px;
    }
    .contact-card {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(4px);
      border-radius: 60px;
      padding: 16px 32px;
      border: 1px solid rgba(255,255,255,0.15);
    }
    .contact-card a {
      color: white;
      text-decoration: none;
      font-size: 1.3rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .contact-card:hover {
      background: rgba(255,255,255,0.2);
      transform: translateY(-3px);
    }
    .social-row {
      display: flex;
      gap: 30px;
      justify-content: center;
      margin-bottom: 20px;
    }
    .sip-button {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(4px);
      border-radius: 60px;
      padding: 16px 40px;
      border: 1px solid rgba(255,255,255,0.2);
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 280px;
      justify-content: center;
      font-size: 1.3rem;
      font-weight: 500;
    }
    .status-indicator {
      display: inline-block;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background-color: #2ecc71;
      box-shadow: 0 0 6px #2ecc71;
    }
    .salary {
      margin-top: 60px;
      font-size: 1.2rem;
      background: rgba(0,0,0,0.5);
      display: block;
      width: 100%;
      clear: both;
      padding: 10px 28px;
      border-radius: 60px;
      border-left: 3px solid #fff;
      box-sizing: border-box;
    }
    .brr {
      position: relative;
      height: 0;
      overflow: visible;
      box-shadow: 0px 0px 43px 50px rgba(0,0,0,3);
      z-index: 10;
      pointer-events: none;
    }
    .scroll-down {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      width: 52px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(4px);
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.4);
      color: white;
      font-size: 30px;
      text-decoration: none;
      z-index: 40;
    }
    .projects-full .scroll-down {
      bottom: 110px;
    }
    .scroll-down:hover {
      background: rgba(0,0,0,0.8);
      transform: translateX(-50%) translateY(4px);
    }
    @media (max-width: 1000px) {
      .about-grid { grid-template-columns: 1fr; top: 48%; }
      .nav { gap: 20px; }
      .nav a { font-size: 1rem; }
      .projects-grid { grid-template-columns: 1fr; }
      .contact-card a, .sip-button { font-size: 1rem; }
      .sip-button { min-width: 240px; padding: 12px 24px; }
      .projects-full .scroll-down { bottom: 80px; }
      .salary { margin-top: 40px; }
      .brr { margin: -20px 0; box-shadow: 0px 0px 30px 35px rgba(0,0,0,0.86); }
      .sound-toggle { top: 90px; right: 20px; padding: 4px 12px; font-size: 0.8rem; }
    }
    @media (max-width: 600px) {
      .nav a { font-size: 0.85rem; }
      .scroll-down { width: 44px; height: 44px; font-size: 24px; }
      .projects-full .scroll-down { bottom: 70px; }
      .about-grid { top: 45%; }
      .brr { margin: -15px 0; box-shadow: 0px 0px 25px 30px rgba(0,0,0,0.86); }
      .sound-toggle { top: 80px; right: 15px; padding: 3px 10px; font-size: 0.7rem; }
    }
    #resume, #projects, #contacts { scroll-margin-top: 80px; }
    .contact-icon {
      width: 28px;
      height: 28px;
      object-fit: contain;
      vertical-align: middle;
      margin-right: 8px;
    }
    @media (max-width: 600px) {
      .contact-icon { width: 24px; height: 24px; }
    }
    .sip-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 12px 24px;
    border-radius: 60px;
    cursor: pointer;
    border: 1px solid #0f3460;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,255,0,0);
    user-select: none;
  }
  .sip-button:hover {
    transform: scale(1.02);
    border-color: #00ffaa;
    box-shadow: 0 0 15px rgba(0,255,170,0.3);
  }
  .sip-button.active {
    background: linear-gradient(135deg, #0f2d00, #1a4d00);
    border-color: #00ff00;
    animation: pulse 1.5s infinite;
  }
  .sip-button.ringing {
    background: linear-gradient(135deg, #4a2a00, #7a4a00);
    border-color: #ffaa00;
    animation: ring 0.5s infinite alternate;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,255,0,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0,255,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,255,0,0); }
  }
  @keyframes ring {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); background: #aa5500; }
    100% { transform: translateX(-5px); background: #ff7700; }
  }
  .status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff0000;
    transition: all 0.2s;
  }
  .sip-button.active .status-indicator {
    background: #00ff00;
    box-shadow: 0 0 5px #00ff00;
  }
  .sip-button.ringing .status-indicator {
    background: #ffaa00;
    animation: blink 0.5s infinite;
  }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
  .call-controls {
    margin-top: 15px;
    display: flex;
    gap: 10px;
  }
  .call-btn {
    background: #0f3460;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
  }
  .call-btn:hover { background: #1a4d88; }
  .call-btn.hangup { background: #8b0000; }
  .call-btn.hangup:hover { background: #b00000; }
  /* ---------- PROJECTS GRID FIX ---------- */

.projects-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projects-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  height: 55%;
}

.project-card {
  width: 30%;
  min-width: 280px;
  height: 100%;
  min-height: 340px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;
}

.project-card p {
  flex-grow: 1;
}

/* ---------- MOBILE FIX ---------- */

@media (max-width: 1000px) {

  .projects-full {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 140px;
  }

  .projects-section {
    height: auto;
  }

  .projects-grid {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .project-card {
    width: 95%;
    height: auto;
    min-height: unset;
    padding: 24px;
  }

  .project-card h3 {
    font-size: 1.35rem;
  }

  .project-card p {
    font-size: 0.95rem;
  }

  .projects-full .scroll-down {
    bottom: 40px;
  }

  .contacts-big {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 80px;
  }

  .contacts-content {
    width: 100%;
    padding: 20px;
  }

  .contacts-grid,
  .social-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .contact-card {
    width: 95%;
    padding: 14px 18px;
  }

  .contact-card a {
    font-size: 1rem;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .salary {
    font-size: 1rem;
    padding: 12px 18px;
    margin-top: 30px;
  }

  .contacts-content h2 {
    font-size: 2rem;
  }

  .sip-button {
    width: 95%;
    min-width: unset;
    font-size: 1rem;
    text-align: center;
  }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 600px) {

  .about-grid {
    position: relative;
    top: unset;
    left: unset;
    transform: none;
    width: 100%;
    padding: 100px 12px 40px;
    gap: 18px;
  }

  .first-screen {
    height: auto;
    min-height: 100vh;
  }

  .about-card {
    padding: 22px 18px;
  }

  .about-card h2 {
    font-size: 1.5rem;
  }

  .about-card h3 {
    font-size: 1.2rem;
  }

  .about-card p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .tags {
    gap: 8px;
  }

  .tags span {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .container {
    padding: 0 14px;
  }

  .nav {
    gap: 10px;
  }

  .lang-switch {
    gap: 5px;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
}
