:root { --bg: #0b1020; --card: rgba(255,255,255,0.075); --text: #eef3ff; --muted: #aab5d1; --line: rgba(255,255,255,0.14); --accent: #6ee7f9; --accent-2: #a78bfa; --success: #9af6c8; --shadow: 0 24px 80px rgba(0,0,0,0.35); --radius: 28px; --max: 1160px; --surface-gradient: radial-gradient(circle at 74% 12%, rgba(77,124,255,.22), transparent 30%), linear-gradient(135deg, rgba(7,15,31,.78), rgba(12,24,48,.62)); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body {
      overflow-x: hidden; margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: radial-gradient(circle at 20% 10%, rgba(110,231,249,.22), transparent 32%), radial-gradient(circle at 84% 18%, rgba(167,139,250,.24), transparent 34%), linear-gradient(180deg, #080d1c 0%, var(--bg) 38%, #070b17 100%); line-height: 1.55; } a { color: inherit; text-decoration: none; } .container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; } header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; backdrop-filter: blur(18px); background: rgba(8,13,28,0.72); border-bottom: 1px solid var(--line); } .nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; } .brand { display: flex; align-items: center; gap: 12px; font-weight: 760; letter-spacing: -0.02em; white-space: nowrap; } .logo { overflow:hidden; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07101f; font-weight: 900; box-shadow: 0 12px 30px rgba(110,231,249,.22); } .nav-right { display: flex; align-items: center; gap: 32px; } .nav-links { display: flex; gap: 24px; align-items: center; color: var(--muted); font-size: 14px; } .nav-links a:hover { color: var(--text); } .lang-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.07); } .lang-switch button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 8px 11px; cursor: pointer; font-weight: 800; font-size: 12px; letter-spacing: .03em; } .lang-switch button.active { color: #07101f; background: linear-gradient(135deg, var(--accent), var(--accent-2)); } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.08); color: var(--text); font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; white-space: nowrap; } .btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.28); } .btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07101f; border: none; } .hero { padding: 64px 0 64px; } .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: stretch; } .eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,0.06); font-size: 14px; margin-bottom: 22px; } .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(154,246,200,.12); } .lead { max-width: 760px; margin: 0 0 48px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); } .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; } .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; } .stat { padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.06); } .stat strong { display: block; font-size: 30px; line-height: 1; letter-spacing: -0.04em; margin-bottom: 8px; } .stat span { color: var(--muted); font-size: 14px; } .profile-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055)); box-shadow: var(--shadow); padding: 28px; min-height: 100%; } .profile-card:before { content: ""; position: absolute; inset: -1px; background: radial-gradient(circle at 70% 10%, rgba(110,231,249,.25), transparent 28%); pointer-events: none; } .avatar { width: 116px; height: 116px; border-radius: 32px; display: grid; place-items: center; margin-bottom: 28px; background: linear-gradient(135deg, rgba(110,231,249,.95), rgba(167,139,250,.95)); color: #07101f; font-size: 42px; font-weight: 900; letter-spacing: -0.08em; } .role-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; } .tag { padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); color: var(--muted); font-size: 13px; } .contact-list { display: grid; gap: 12px; margin-top: 22px; position: relative; } .contact-list a { padding: 13px 14px; border-radius: 16px; background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid rgba(255,255,255,.08); } section { padding: 58px 0; } .section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; } .section-sub { max-width: 560px; margin: 10px 0 0; color: var(--muted); font-size: 17px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .card { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.15); } .card p, .card li { color: var(--muted); } .card ul { margin: 14px 0 0; padding-left: 20px; } .card li + li { margin-top: 8px; } .timeline { display: grid; gap: 16px; } .timeline-item { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); } .time { color: var(--accent); font-weight: 800; } .company { color: var(--muted); margin-bottom: 12px; } .skills { display: flex; flex-wrap: wrap; gap: 10px; } .skill { padding: 6px 10px 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.075); border: 1px solid var(--line); color: var(--muted); font-size: 12px; } .quote { padding: 34px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(110,231,249,.13), rgba(167,139,250,.13)); border: 1px solid var(--line); } footer { padding: 46px 0 70px; color: var(--muted); } .footer-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.06); } @media (max-width: 980px) { .nav-links { display: none; } .hero { padding-top: 32px; } .hero-grid, .grid-3 { grid-template-columns: 1fr; } .timeline-item { grid-template-columns: 1fr; } .footer-card { flex-direction: column; align-items: flex-start; } } @media (max-width: 560px) { .container { width: min(var(--max), calc(100% - 28px)); } .brand span:last-child { display: none; } .nav-right { gap: 24px; } .btn { padding: 0 13px; } .stats { grid-template-columns: 1fr; } } @media print { header, .hero-actions, footer, .lang-switch { display: none; } body {
      overflow-x: hidden; background: white; color: #111827; } .card, .profile-card, .timeline-item, .quote, .stat { background: white; color: #111827; border-color: #ddd; box-shadow: none; } .lead, .card p, .card li, .company, .skill, .tag, .section-sub { color: #374151; } } /* === Visual style layer inspired by cv.klimovey.com reference === */ :root { --bg: #030816; --card: rgba(7, 15, 31, 0.72); --text: #f5f7ff; --muted: #d3e0ff; --line: rgba(124, 153, 255, 0.16); --accent: #4d7cff; --accent-2: #7ea3ff; --success: #8fb0ff; --shadow: 0 28px 90px rgba(0, 0, 0, 0.45), 0 0 44px rgba(77, 124, 255, 0.14); --radius: 30px; } body {
      overflow-x: hidden; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: radial-gradient(circle at 72% 18%, rgba(77,124,255,.28), transparent 24%), radial-gradient(circle at 14% 0%, rgba(77,124,255,.13), transparent 30%), radial-gradient(circle at 82% 58%, rgba(126,163,255,.12), transparent 34%), linear-gradient(180deg, #020611 0%, #050c18 100%); } body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: linear-gradient(rgba(124,153,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(124,153,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at 82% 22%, black, transparent 38%); } header { backdrop-filter: blur(18px); background: rgba(2, 6, 17, 0.58); border-bottom: 1px solid rgba(255,255,255,.055); } .logo, .avatar { background: rgba(9, 17, 36, 0.54); color: #f5f7ff; border: 1px solid rgba(125, 162, 255, 0.52); box-shadow: 0 0 0 1px rgba(125,162,255,.16), 0 0 34px rgba(77,124,255,.36); } .nav-links { color: #f0f5ff; } .nav-links a { color: #f0f5ff; opacity: .9; } .lang-switch { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.085); border-radius: 18px; padding: 5px; box-shadow: inset 0 0 18px rgba(77,124,255,.06); } .lang-switch button { color: #d9e5ff; border-radius: 14px; } .lang-switch button.active { color: #ffffff; background: linear-gradient(135deg, #477cff, #6f9dff); box-shadow: 0 0 22px rgba(77,124,255,.36); } .hero { position: relative; } .hero::after { content: ""; position: absolute; right: -18%; top: -12%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(77,124,255,.34) 0%, rgba(77,124,255,.08) 44%, transparent 72%); filter: blur(42px); pointer-events: none; z-index: -1; } .eyebrow, .tag, .skill { color: var(--muted); background: rgba(255,255,255,.035); border: 1px solid rgba(124,153,255,.16); box-shadow: inset 0 0 18px rgba(77,124,255,.045); } .dot { background: rgb(55 189 61); box-shadow: 0 0 0 6px rgba(77, 255, 85, .25), 0 0 18px rgba(77, 255, 85, .100); } .btn { border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); color: #ffffff; box-shadow: inset 0 0 18px rgba(77,124,255,.045); } .btn:hover { background: rgba(255,255,255,.065); border-color: rgba(124,153,255,.34); box-shadow: 0 12px 34px rgba(77,124,255,.18); } .btn-primary { color: #ffffff; background: linear-gradient(135deg, #477cff, #6f9dff); box-shadow: 0 14px 40px rgba(77,124,255,.34); border: 0; } .stat, .card, .timeline-item, .profile-card, .quote, .footer-card { background: rgba(7, 15, 31, 0.74); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 80px rgba(0,0,0,.32), inset 0 0 34px rgba(77,124,255,.035); backdrop-filter: blur(18px); } .profile-card::before, .quote, .surface-gradient { background: var(--surface-gradient); } .stat strong, .time { color: var(--accent-2); } .company, .lead, .section-sub, .card p, .card li, .stat span, .skill, .tag { color: var(--muted); } .contact-list a { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 0 18px rgba(77,124,255,.045); } .contact-list a:hover { border-color: rgba(124,153,255,.34); box-shadow: 0 12px 34px rgba(77,124,255,.16); } .btn-icon, .card-icon { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid rgba(124,153,255,.16); box-shadow: inset 0 0 18px rgba(77,124,255,.05), 0 0 24px rgba(77,124,255,.08); color:#8fb0ff; flex-shrink:0; } .btn-icon svg, .card-icon svg { width:18px; height:18px; stroke:currentColor; } .card-head { display:flex; align-items:center; gap:14px; margin-bottom:14px; } .btn svg { width:18px; height:18px; stroke:currentColor; } .profile-card::before { opacity: .38; z-index: 0; } .profile-card > * { position: relative; z-index: 1; } 
    .btn-contact-fixed{
      width:120px;
      min-width:120px;
      max-width:120px;
      justify-content:center;
    }

    .btn-primary:hover {
      background: rgba(255,255,255,.065);
      border: 1px solid rgba(124,153,255,.34);
      box-shadow: 0 12px 34px rgba(77,124,255,.18);
    }

    .btn-primary {
      border: 1px solid transparent;
    }

    .btn svg {
      flex: 0 0 18px;
    }

    .nav-toggle,
    .sidebar-close {
      display: none;
      align-items: center;
      justify-content: center;
      width: 46px;
      min-width: 46px;
      max-width: 46px;
      height: 46px;
      flex-shrink: 0;
      padding: 0;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 16px;
      background: rgba(255,255,255,.035);
      color: #ffffff;
      cursor: pointer;
      box-shadow: inset 0 0 18px rgba(77,124,255,.045);
      transition: transform .18s ease, background .18s ease, border-color .18s ease;
    }

    .nav-toggle:hover,
    .sidebar-close:hover {
      transform: translateY(-2px);
      background: rgba(255,255,255,.065);
      border-color: rgba(124,153,255,.34);
      box-shadow: 0 12px 34px rgba(77,124,255,.18);
    }

    .nav-toggle svg,
    .sidebar-close svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
    }

    .sidebar-overlay {
      position: fixed;
      inset: 0;
      display: none;
      border: 0;
      padding: 0;
      background: rgba(2, 6, 17, .58);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transition: opacity .22s ease;
      z-index: 1001;
    }

    .mobile-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      display: flex;
      flex-direction: column;
      gap: 22px;
      width: min(360px, calc(100vw - 28px));
      height: 100dvh;
      overflow: hidden;
      padding: 20px;
      border-right: 1px solid rgba(255,255,255,.08);
      background: rgba(7, 15, 31, .98);
      box-shadow: 24px 0 80px rgba(0,0,0,.34), inset 0 0 34px rgba(77,124,255,.035);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      transform: translateX(-104%);
      transition: transform .24s ease;
      z-index: 1002;
    }

    .mobile-sidebar-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-height: 46px;
    }

    .mobile-sidebar-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      color: inherit;
    }

    .mobile-sidebar-brand .logo {
      flex: 0 0 42px;
    }

    .mobile-sidebar-title {
      color: var(--text);
      font-size: 16px;
      font-weight: 800;
      line-height: 1.2;
      min-width: 0;
    }

    .mobile-nav-links {
      display: grid;
      gap: 8px;
      padding: 6px 0;
    }

    .mobile-nav-links a {
      display: flex;
      align-items: center;
      min-height: 48px;
      padding: 0 14px;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 16px;
      background: rgba(255,255,255,.035);
      color: #f0f5ff;
      font-size: 15px;
      font-weight: 750;
      box-shadow: inset 0 0 18px rgba(77,124,255,.035);
      transition: transform .18s ease, background .18s ease, border-color .18s ease;
    }

    .mobile-nav-links a:hover,
    .mobile-nav-links a:focus-visible {
      transform: translateX(-2px);
      background: rgba(255,255,255,.065);
      border-color: rgba(124,153,255,.34);
    }

    .mobile-sidebar-actions {
      display: grid;
      gap: 10px;
      width: 100%;
      margin-top: auto;
    }

    .mobile-sidebar-actions .btn,
    .mobile-sidebar-contact {
      width: 100%;
    }

    body.sidebar-open {
      position: fixed;
      top: var(--sidebar-scroll-y, 0);
      left: 0;
      right: 0;
      width: 100%;
      overflow: hidden;
      overscroll-behavior: none;
    }

    body.sidebar-open .sidebar-overlay {
      opacity: 1;
      pointer-events: auto;
    }

    body.sidebar-open .mobile-sidebar {
      transform: translateX(0);
    }

    .btn-contact-fixed {
      width: 46px;
      min-width: 46px;
      max-width: 46px;
      padding: 0;
      position: relative;
      overflow: visible;
    }

    .btn-icon-only {
      width: 46px;
      min-width: 46px;
      max-width: 46px;
      padding: 0;
      position: relative;
      overflow: visible;
    }

    .btn-icon-only[data-tooltip]::before,
    .btn-icon-only[data-tooltip]::after,
    .btn-contact-fixed[data-tooltip]::before,
    .btn-contact-fixed[data-tooltip]::after {
      position: absolute;
      left: 50%;
      opacity: 0;
      pointer-events: none;
      transition: opacity .16s ease, transform .16s ease;
      z-index: 20;
    }

    .btn-icon-only[data-tooltip]::before,
    .btn-contact-fixed[data-tooltip]::before {
      content: attr(data-tooltip);
      bottom: calc(100% + 10px);
      transform: translateX(-50%) translateY(4px);
      padding: 7px 10px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(7, 15, 31, .96);
      box-shadow: 0 12px 30px rgba(0,0,0,.26);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .btn-icon-only[data-tooltip]::after,
    .btn-contact-fixed[data-tooltip]::after {
      content: "";
      bottom: calc(100% + 5px);
      transform: translateX(-50%) translateY(4px) rotate(45deg);
      width: 9px;
      height: 9px;
      border-right: 1px solid rgba(255,255,255,.12);
      border-bottom: 1px solid rgba(255,255,255,.12);
      background: rgba(7, 15, 31, .96);
    }

    .btn-icon-only[data-tooltip]:hover::before,
    .btn-icon-only[data-tooltip]:hover::after,
    .btn-icon-only[data-tooltip]:focus-visible::before,
    .btn-icon-only[data-tooltip]:focus-visible::after,
    .btn-contact-fixed[data-tooltip]:hover::before,
    .btn-contact-fixed[data-tooltip]:hover::after,
    .btn-contact-fixed[data-tooltip]:focus-visible::before,
    .btn-contact-fixed[data-tooltip]:focus-visible::after {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .btn-icon-only[data-tooltip]:hover::after,
    .btn-icon-only[data-tooltip]:focus-visible::after,
    .btn-contact-fixed[data-tooltip]:hover::after,
    .btn-contact-fixed[data-tooltip]:focus-visible::after {
      transform: translateX(-50%) translateY(0) rotate(45deg);
    }

    .btn-contact-fixed[data-tooltip]::before {
      top: calc(100% + 10px);
      bottom: auto;
    }

    .btn-contact-fixed[data-tooltip]::after {
      top: calc(100% + 5px);
      bottom: auto;
      border: 0;
      border-left: 1px solid rgba(255,255,255,.12);
      border-top: 1px solid rgba(255,255,255,.12);
    }

    .profile-card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 15px;
    }

    .profile-card-actions .btn {
      flex: 1 1 170px;
      min-width: 0;
    }

    .btn {
      font-size: 16px;
    }

    .contact-section {
      padding-top: 58px;
    }

    .contact-form {
      display: grid;
      gap: 18px;
      width: 100%;
    }

    .contact-form-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .contact-field {
      display: grid;
      gap: 8px;
      min-width: 0;
      color: var(--muted);
      font-size: 14px;
      font-weight: 800;
    }

    .contact-field input,
    .contact-field textarea {
      width: 100%;
      min-width: 0;
      border: 1px solid rgba(255,255,255,.10);
      border-radius: 16px;
      background: rgba(255,255,255,.045);
      color: var(--text);
      font: inherit;
      font-weight: 600;
      outline: none;
      box-shadow: inset 0 0 18px rgba(77,124,255,.04);
      transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    }

    .contact-field input {
      height: 48px;
      padding: 0 14px;
    }

    .contact-field textarea {
      min-height: 72px;
      padding: 14px;
      resize: vertical;
    }

    .contact-field input:focus,
    .contact-field textarea:focus {
      border-color: rgba(124,153,255,.42);
      background: rgba(255,255,255,.065);
      box-shadow: 0 0 0 4px rgba(77,124,255,.12);
    }

    .contact-form-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      min-width: 0;
    }

    .contact-form-status {
      min-height: 22px;
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .contact-form-status[data-state="success"] {
      color: var(--success);
    }

    .contact-form-status[data-state="error"] {
      color: #ffb4b4;
    }

    .contact-form button[disabled] {
      cursor: progress;
      opacity: .72;
      transform: none;
    }

    .contact-form .btn [data-i18n-label] {
      font-size: inherit;
      line-height: inherit;
      font-weight: inherit;
    }

    @media (min-width: 561px) {
      .contact-form-footer {
        justify-content: flex-start;
      }

      .contact-form-footer .btn {
        order: 1;
        width: 124px;
        flex: 0 0 124px;
      }

      .contact-form-status {
        order: 2;
      }
    }

    .cv-dropdown {
      position: relative;
      flex: 1 1 170px;
      min-width: 0;
      z-index: 4;
    }

    .profile-card-actions .cv-dropdown .btn {
      width: 100%;
      cursor: pointer;
      list-style: none;
    }

    .profile-card-actions .cv-dropdown .btn::-webkit-details-marker {
      display: none;
    }

    .cv-menu {
      position: fixed;
      top: var(--cv-menu-top, 0);
      left: var(--cv-menu-left, 0);
      width: var(--cv-menu-width, 220px);
      display: grid;
      gap: 4px;
      padding: 6px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 18px;
      background: rgba(7, 15, 31, .96);
      box-shadow: 0 18px 42px rgba(0,0,0,.34), inset 0 0 18px rgba(77,124,255,.045);
      backdrop-filter: blur(18px);
      z-index: 1200;
    }

    .cv-menu a {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 11px 12px;
      border-radius: 14px;
      color: var(--text);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
      white-space: nowrap;
    }

    .cv-menu a:hover {
      background: rgba(255,255,255,.065);
      color: var(--text);
	    }

    .cv-menu a svg {
      flex: 0 0 18px;
      width: 18px;
      height: 18px;
      border-radius: 3px;
      box-shadow: 0 0 0 1px rgba(255,255,255,.16);
    }

    .experience-list-heading {
      list-style: none;
      margin-left: -20px;
      color: var(--text);
      font-weight: 800;
    }

    .hero-actions-adaptive {
      display: none;
      margin: 0;
    }

    .stats-adaptive {
      display: none;
      margin-top: 0;
    }

    @media (max-width: 980px) {
      .hero .hero-actions-main {
        display: none;
      }

      .hero .stats-main {
        display: none;
      }

      .hero .hero-actions-adaptive {
        display: flex;
        grid-column: 1 / -1;
      }

      .hero .stats-adaptive {
        display: grid;
        grid-column: 1 / -1;
      }
    }

    .footer-identity {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .footer-photo {
      width: 48px;
      height: 48px;
      flex: 0 0 48px;
      overflow: hidden;
      border-radius: 14px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(124,153,255,.16);
    }

    .footer-photo img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }


.profile-card-photo{
  width:100%;
  max-width:420px;
  display:block;
  margin:0px auto 24px;
  border-radius:28px;
}


.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}


#expertise .grid-3 {
  grid-template-columns: repeat(6, 1fr);
}

#expertise .grid-3 .card {
  grid-column: span 2;
}

#expertise .grid-3 .card:nth-child(4) {
  grid-column: 2 / span 2;
}

#expertise .grid-3 .card:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 980px) {
  #expertise .grid-3 {
    grid-template-columns: 1fr;
  }

  #expertise .grid-3 .card,
  #expertise .grid-3 .card:nth-child(4),
  #expertise .grid-3 .card:nth-child(5) {
    grid-column: auto;
  }
}


/* === Animations === */
@keyframes dotPulse {
  0% {
    opacity: .9;
    transform: scale(.65);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .9;
  }
  50% {
    transform: translate3d(-24px, 18px, 0) scale(1.06);
    opacity: 1;
  }
}

.dot {
  position: relative;
}

.dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(154, 246, 200, .22);
  animation: dotPulse 1.8s ease-out infinite;
  pointer-events: none;
}

.hero .eyebrow,
.hero h1,
.hero .lead,
.hero .hero-actions,
.hero .stats,
.profile-card {
  opacity: 0;
  animation: heroFadeUp .72s ease forwards;
}

.hero .eyebrow { animation-delay: .05s; }
.hero h1 { animation-delay: .14s; }
.hero .lead { animation-delay: .24s; }
.hero .hero-actions { animation-delay: .34s; }
.hero .stats { animation-delay: .44s; }
.profile-card { animation-delay: .26s; }

.card,
.timeline-item,
.quote,
.footer-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}



.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero .hero-actions,
  .hero .stats,
  .profile-card {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Smooth language switching */
body.lang-fade {
  opacity: .92;
  transition: opacity .22s ease;
}

[data-i18n]{
  transition: opacity .18s ease, transform .18s ease;
}

.lang-transition [data-i18n]{
  opacity: 0;
  transform: translateY(2px);
}



.companies-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.logo-tile {
  min-height: 80px;
  padding: 22px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(124,153,255,.16);
  box-shadow: inset 0 0 18px rgba(77,124,255,.045);
  transition: opacity .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.logo-tile img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.logo-tile:hover {
  border-color: rgba(124,153,255,.34);
  box-shadow:
    0 12px 34px rgba(77,124,255,.14),
    inset 0 0 18px rgba(77,124,255,.06);
}

.companies-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.portfolio-cases {
  position: relative;
}

.portfolio-cases-grid {
  align-items: stretch;
}

.portfolio-cases-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-cases-actions {
    grid-column: auto;
    min-height: 100%;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .companies-card {
    padding: 0;
  }

  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-cases-actions {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}








#companies{
  padding-top: 58px;
}


.logo-tile:nth-child(1){ transition-delay:.02s; }
.logo-tile:nth-child(2){ transition-delay:.05s; }
.logo-tile:nth-child(3){ transition-delay:.08s; }
.logo-tile:nth-child(4){ transition-delay:.11s; }
.logo-tile:nth-child(5){ transition-delay:.14s; }
.logo-tile:nth-child(6){ transition-delay:.17s; }
.logo-tile:nth-child(7){ transition-delay:.20s; }
.logo-tile:nth-child(8){ transition-delay:.23s; }
.logo-tile:nth-child(9){ transition-delay:.26s; }
.logo-tile:nth-child(10){ transition-delay:.29s; }
.logo-tile:nth-child(11){ transition-delay:.32s; }
.logo-tile:nth-child(12){ transition-delay:.35s; }


/* Strong mobile horizontal overflow fix */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100%;
  height: auto;
  overflow-y: auto;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  height: auto;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  touch-action: pan-y;
}

main,
section,
header,
footer {
  max-width: 100%;
}

main {
  padding-top: 64px;
}

.container {
  max-width: 100%;
}

.hero {
  overflow-x: clip;
  overflow-y: visible;
}

.hero-grid,
.grid-3,
.logos-grid,
.stats,
.timeline-item,
.footer-card,
.hero-actions {
  min-width: 0;
}

.hero-grid > *,
.grid-3 > *,
.logos-grid > *,
.stats > *,
.timeline-item > *,
.footer-card > *,
.hero-actions > * {
  min-width: 0;
}

img,
svg {
  max-width: 100%;
}

@media (max-width: 560px) {
  .hero-actions,
  footer .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    max-width: 100%;
  }

  .profile-card-photo,
  .logo-tile {
    max-width: 100%;
  }

  .eyebrow {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
  }

  .nav-toggle,
  .sidebar-close,
  .sidebar-overlay {
    display: inline-flex;
  }

  .nav-toggle {
    margin-right: 16px;
  }

  .nav {
    justify-content: flex-start;
    gap: 0;
  }

  .nav-right {
    margin-left: auto;
  }

  main {
    padding-top: 0;
  }
}


/* Bottom section glow */
#skills{
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

#skills::after{
  content:"";
  position:absolute;
  left:0%;
  bottom:-100%;
  width:880px;
  height:880px;
  border-radius:50%;
  background:
    radial-gradient(
      circle,
      rgba(77,124,255,.18) 0%,
      rgba(77,124,255,.06) 42%,
      transparent 72%
    );

  filter: blur(48px);
  pointer-events:none;
  z-index:-1;
}

.skills-groups {
  display: grid;
  gap: 24px;
}

.skills-cards {
  display: grid;
  gap: 16px;
}

.skill-group-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}


.logo-tile:nth-child(13){ transition-delay:.38s; }
.logo-tile:nth-child(14){ transition-delay:.41s; }
.logo-tile:nth-child(15){ transition-delay:.44s; }
.logo-tile:nth-child(16){ transition-delay:.47s; }
.logo-tile:nth-child(17){ transition-delay:.50s; }
.logo-tile:nth-child(18){ transition-delay:.53s; }


/* === Theme switcher & light theme === */
.lang-switch {
  align-items: center;
  padding: 5px;
}

.lang-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 11px;
}

.theme-switch {
  display: inline-flex;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 0 18px rgba(77,124,255,.06);
}

.theme-switch button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #d9e5ff;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-switch button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.theme-switch button.active {
  color: #ffffff;
  background: linear-gradient(135deg, #477cff, #6f9dff);
  box-shadow: 0 0 22px rgba(77,124,255,.36);
}

:root[data-theme="light"] {
  --bg: #f4f7ff;
  --card: rgba(255,255,255,0.74);
  --text: #081225;
  --muted: #52627f;
  --line: rgba(54, 86, 145, 0.16);
  --accent: #345dff;
  --accent-2: #5d7dff;
  --success: #4f79ff;
  --shadow: 0 24px 80px rgba(33, 57, 112, 0.14), 0 0 44px rgba(77, 124, 255, 0.10);
  --surface-gradient: radial-gradient(circle at 74% 12%, rgba(77,124,255,.13), transparent 30%), linear-gradient(135deg, rgba(255,255,255,.82), rgba(232,239,255,.62));
}

:root[data-theme="light"] body {
  color: var(--text);
  background:
    radial-gradient(circle at 72% 18%, rgba(77,124,255,.16), transparent 24%),
    radial-gradient(circle at 14% 0%, rgba(77,124,255,.10), transparent 30%),
    radial-gradient(circle at 82% 58%, rgba(126,163,255,.12), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

:root[data-theme="light"] body::before {
  background:
    linear-gradient(rgba(77,124,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,124,255,.055) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 82% 22%, black, transparent 42%);
}

:root[data-theme="light"] header {
  background: rgba(248, 251, 255, 0.72);
  border-bottom: 1px solid rgba(54,86,145,.12);
}

:root[data-theme="light"] .nav-links,
:root[data-theme="light"] .nav-links a {
  color: #17213a;
}

:root[data-theme="light"] .logo,
:root[data-theme="light"] .avatar {
  background: rgba(255,255,255,.78);
  color: #17213a;
  border-color: rgba(77,124,255,.24);
  box-shadow: 0 0 0 1px rgba(77,124,255,.10), 0 14px 34px rgba(77,124,255,.16);
}

:root[data-theme="light"] .lang-switch,
:root[data-theme="light"] .theme-switch,
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .tag,
:root[data-theme="light"] .skill,
:root[data-theme="light"] .contact-list a,
:root[data-theme="light"] .logo-tile,
:root[data-theme="light"] .project-tags span {
  background: rgba(255,255,255,.62);
  border-color: rgba(54,86,145,.14);
  box-shadow: inset 0 0 18px rgba(77,124,255,.035);
}

:root[data-theme="light"] .dot::after {
  background: rgba(31, 122, 72, .28);
}

:root[data-theme="light"] .lang-switch button,
:root[data-theme="light"] .theme-switch button {
  color: #52627f;
}

:root[data-theme="light"] .lang-switch button.active,
:root[data-theme="light"] .theme-switch button.active,
:root[data-theme="light"] .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #345dff, #6f8cff);
  box-shadow: 0 14px 40px rgba(77,124,255,.22);
}

:root[data-theme="light"] .btn {
  color: #17213a;
  background: rgba(255,255,255,.62);
  border-color: rgba(54,86,145,.14);
  box-shadow: inset 0 0 18px rgba(77,124,255,.035);
}

:root[data-theme="light"] .nav-toggle,
:root[data-theme="light"] .sidebar-close {
  color: #17213a;
  background: rgba(255,255,255,.68);
  border-color: rgba(54,86,145,.14);
  box-shadow: inset 0 0 18px rgba(77,124,255,.035);
}

:root[data-theme="light"] .nav-toggle {
  background: rgba(255,255,255,.52);
}

:root[data-theme="light"] .nav-toggle:hover,
:root[data-theme="light"] .sidebar-close:hover {
  background: rgba(255,255,255,.86);
  border-color: rgba(77,124,255,.26);
  box-shadow: 0 12px 34px rgba(77,124,255,.13);
}

:root[data-theme="light"] .sidebar-overlay {
  background: rgba(8, 18, 37, .34);
}

:root[data-theme="light"] .mobile-sidebar {
  background: rgba(255,255,255,.95);
  border-right-color: rgba(54,86,145,.13);
  box-shadow: 24px 0 80px rgba(33,57,112,.16), inset 0 0 34px rgba(77,124,255,.025);
}

:root[data-theme="light"] .mobile-nav-links a {
  color: #17213a;
  background: rgba(255,255,255,.68);
  border-color: rgba(54,86,145,.13);
  box-shadow: inset 0 0 18px rgba(77,124,255,.025);
}

:root[data-theme="light"] .mobile-nav-links a:hover,
:root[data-theme="light"] .mobile-nav-links a:focus-visible {
  background: rgba(255,255,255,.9);
  border-color: rgba(77,124,255,.26);
}

:root[data-theme="light"] .contact-field input,
:root[data-theme="light"] .contact-field textarea {
  background: rgba(255,255,255,.68);
  border-color: rgba(54,86,145,.14);
  color: #17213a;
  box-shadow: inset 0 0 18px rgba(77,124,255,.025);
}

:root[data-theme="light"] .contact-field input:focus,
:root[data-theme="light"] .contact-field textarea:focus {
  background: rgba(255,255,255,.9);
  border-color: rgba(77,124,255,.34);
  box-shadow: 0 0 0 4px rgba(77,124,255,.10);
}

:root[data-theme="light"] .contact-form-status[data-state="error"] {
  color: #b42318;
}

:root[data-theme="light"] .btn:hover {
  background: rgba(255,255,255,.86);
  border-color: rgba(77,124,255,.26);
  box-shadow: 0 12px 34px rgba(77,124,255,.13);
}

:root[data-theme="light"] .btn-icon-only[data-tooltip]::before,
:root[data-theme="light"] .btn-contact-fixed[data-tooltip]::before {
  background: rgba(255,255,255,.96);
  border-color: rgba(54,86,145,.14);
  box-shadow: 0 12px 30px rgba(33,57,112,.16);
  color: #17213a;
}

:root[data-theme="light"] .btn-icon-only[data-tooltip]::after,
:root[data-theme="light"] .btn-contact-fixed[data-tooltip]::after {
  background: rgba(255,255,255,.96);
  border-color: rgba(54,86,145,.14);
}

:root[data-theme="light"] .stat,
:root[data-theme="light"] .card,
:root[data-theme="light"] .timeline-item,
:root[data-theme="light"] .profile-card,
:root[data-theme="light"] .quote,
:root[data-theme="light"] .footer-card {
  background: rgba(255,255,255,0.72);
  border-color: rgba(54,86,145,.13);
  box-shadow: 0 24px 80px rgba(33,57,112,.12), inset 0 0 34px rgba(77,124,255,.025);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .profile-card::before,
:root[data-theme="light"] .quote {
  background: var(--surface-gradient);
}

:root[data-theme="light"] .hero::after,
:root[data-theme="light"] .portfolio-hero::after {
  background: radial-gradient(circle, rgba(77,124,255,.18) 0%, rgba(77,124,255,.05) 44%, transparent 72%);
}

:root[data-theme="light"] #skills::after {
  background: radial-gradient(circle, rgba(77,124,255,.13) 0%, rgba(77,124,255,.04) 42%, transparent 72%);
}

:root[data-theme="light"] .project-cover {
  background: rgba(255,255,255,.64);
  border-bottom-color: rgba(54,86,145,.12);
}

:root[data-theme="light"] .btn-icon,
:root[data-theme="light"] .card-icon {
  background: rgba(255,255,255,.68);
  border-color: rgba(77,124,255,.18);
  color: #345dff;
}

:root[data-theme="light"] .company,
:root[data-theme="light"] .lead,
:root[data-theme="light"] .portfolio-lead,
:root[data-theme="light"] .section-sub,
:root[data-theme="light"] .card p,
:root[data-theme="light"] .card li,
:root[data-theme="light"] .project-card p,
:root[data-theme="light"] .stat span,
:root[data-theme="light"] .skill,
:root[data-theme="light"] .tag {
  color: var(--muted);
}

@media (max-width: 560px) {
  .lang-switch button,
  .theme-switch button {
    height: 32px;
  }

  .theme-switch button {
    width: 32px;
  }

  header .brand {
    display: none;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-footer .btn {
    width: 100%;
  }
}


.controls-group{
  display:flex;
  align-items:center;
  gap:16px;
}

/* Light theme primary buttons: same fill as active language/theme controls */
:root[data-theme="light"] .btn.btn-primary,
:root[data-theme="light"] .hero-actions .btn.btn-primary,
:root[data-theme="light"] header .btn.btn-primary,
:root[data-theme="light"] footer .btn.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #345dff, #6f8cff);
  box-shadow: 0 14px 40px rgba(77,124,255,.22);
  border: 1px solid transparent;
}

:root[data-theme="light"] .btn.btn-primary svg,
:root[data-theme="light"] .hero-actions .btn.btn-primary svg,
:root[data-theme="light"] header .btn.btn-primary svg,
:root[data-theme="light"] footer .btn.btn-primary svg {
  color: #ffffff;
  stroke: currentColor;
}

:root[data-theme="light"] .btn.btn-primary:hover,
:root[data-theme="light"] .hero-actions .btn.btn-primary:hover,
:root[data-theme="light"] header .btn.btn-primary:hover,
:root[data-theme="light"] footer .btn.btn-primary:hover {
  color: #17213a;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(77,124,255,.26);
  box-shadow: 0 12px 34px rgba(77,124,255,.13);
}

:root[data-theme="light"] .btn.btn-primary:hover svg,
:root[data-theme="light"] .hero-actions .btn.btn-primary:hover svg,
:root[data-theme="light"] header .btn.btn-primary:hover svg,
:root[data-theme="light"] footer .btn.btn-primary:hover svg {
  color: #17213a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-card {
  overflow: hidden;
  z-index: 2;
}

.profile-card .section-sub {
  width: 100%;
  max-width: none;
}

.profile-card:has(.cv-dropdown[open]) {
  z-index: 30;
}

.cv-dropdown[open] {
  z-index: 40;
}

.cv-dropdown[open] .cv-menu {
  z-index: 1200;
}

:root[data-theme="light"] .cv-menu {
  background: rgba(255,255,255,.96);
  border-color: rgba(43,75,142,.16);
  box-shadow: 0 18px 42px rgba(43,75,142,.12);
}

:root[data-theme="light"] .cv-menu a:hover {
  background: rgba(43,75,142,.08);
}

.experience-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.experience-logo.card-icon {
  width: 48px;
  height: 48px;
}

.experience-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.experience-title {
  min-width: 0;
}

.experience-title .company {
  margin-bottom: 0;
}

.timeline-item .experience-head + ul {
  margin-left: 40px;
}

@media (max-width: 560px) {
  .experience-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-item .experience-head + ul {
    margin-left: -24px;
  }
}
