
    :root {
      --bg: #e9eaed;
      --text: #242833;
      --muted: #69717f;
      --card: #fafbfd;
      --card-2: #eef0f4;
      --line: #ccd1db;
      --accent-1: #526db6;
      --accent-2: #3559df;
      --accent-3: #647fac;
      --radius: 16px;
      --shadow: 0 10px 30px rgba(0,0,0,.35);
      --shadow-glow: 0 0 40px rgba(53,100,77,.15);
      --gradient-1: linear-gradient(135deg, #64728d, #3559df, #647fac);
      --gradient-2: linear-gradient(135deg, #526db6, #647fac);
      --gradient-animate: linear-gradient(270deg, #64728d, #3559df, #647fac, #526db6, #64728d);
      --gradient-animate-size: 300% 100%;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
      background:
        radial-gradient(1200px 800px at 80% -10%, rgba(53,100,77,.08), transparent 60%),
        radial-gradient(800px 600px at -10% 20%, rgba(61,118,111,.08), transparent 55%),
        var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* Noise Texture Overlay */
    .noise-overlay {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      opacity: 0.18;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
      background-repeat: repeat;
      background-size: 200px;
    }

    /* Scroll Reveal Animation */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.in {
      opacity: 1;
      transform: none;
    }
    .reveal-d1 { transition-delay: 0.1s; }
    .reveal-d2 { transition-delay: 0.2s; }
    .reveal-d3 { transition-delay: 0.3s; }

    /* Layout */
    .app-layout {
      display: flex;
      min-height: 100vh;
      position: relative;
    }

    /* Sidebar */
    .sidebar {
      width: 280px;
      position: fixed;
      left: 0;
      top: 0;
      height: 100vh;
      background: rgba(255,254,250,0.95);
      backdrop-filter: blur(20px);
      border-right: 1px solid var(--line);
      z-index: 100;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      transition: transform 0.3s ease;
    }

    @media (max-width: 1024px) {
      .sidebar {
        transform: translateX(-100%);
      }
      .sidebar.active {
        transform: translateX(0);
      }
    }

    .sidebar-header {
      padding: 32px 24px;
      border-bottom: 1px solid var(--line);
      flex-shrink: 0;
    }

    .profile {
      text-align: center;
    }

    .profile-avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      margin: 0 auto 16px;
      background: var(--gradient-1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      font-weight: 700;
      color:var(--text);
      position: relative;
      overflow: hidden;
    }

    .profile-avatar::before {
      content: '';
      position: absolute;
      inset: -2px;
      background: var(--gradient-2);
      border-radius: 50%;
      z-index: -1;
      opacity: 0.5;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.1); opacity: 0.3; }
    }

    .profile-name {
      font-size: 20px;
      font-weight: 700;
      margin: 0 0 4px;
    }

    .profile-title {
      font-size: 13px;
      color: var(--muted);
      margin: 0 0 8px;
    }

    .profile-location {
      font-size: 12px;
      color: var(--muted);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }

    .download-cv {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 10px 16px;
      margin-top: 16px;
      background: var(--gradient-1);
      border: none;
      border-radius: 10px;
      color:var(--text);
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: transform 0.2s;
      box-shadow: var(--shadow);
    }

    .download-cv:hover {
      transform: translateY(-2px);
      box-shadow: 0 15px 40px rgba(139,118,84,.3);
    }

    /* Navigation */
    .nav-menu {
      flex: 1;
      padding: 24px 16px;
      display: flex;
      flex-direction: column;
      min-height: 0;
	  overflow-y: auto;
    }

    .nav-section {
      margin-bottom: 24px;
    }

    .nav-label {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--muted);
      margin-bottom: 12px;
      padding: 0 8px;
    }

    .nav-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      margin-bottom: 4px;
      border-radius: 10px;
      color: var(--text);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.2s;
      cursor: pointer;
      position: relative;
    }

    .nav-item:hover {
      background: rgba(53,100,77,0.1);
      color:var(--text);
      transform: translateX(4px);
    }

    .nav-item.active {
      background: rgba(53,100,77,0.15);
      color:var(--text);
    }

    .nav-item.active::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 3px;
      height: 20px;
      background: var(--gradient-1);
      border-radius: 2px;
    }

    .nav-icon {
      width: 18px;
      height: 18px;
      opacity: 0.6;
      transition: opacity 0.2s;
    }

    .nav-item:hover .nav-icon,
    .nav-item.active .nav-icon {
      opacity: 1;
    }

    /* Quick Links Section - Fixed Height */
    .quick-links {
      border-top: 1px solid var(--line);
      padding: 20px;
      flex-shrink: 0;
      min-height: 180px;
      max-height: 180px;
      display: flex;
      flex-direction: column;
    }

    .quick-links-title {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--muted);
      margin-bottom: 12px;
    }

    .quick-links-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      align-content: start;
      overflow-y: visible;
      max-height: none;
    }

    .quick-link {
      width: 100%;
      aspect-ratio: 1;
      border-radius: 10px;
      background: rgba(53,100,77,0.03);
      border: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      text-decoration: none;
      transition: all 0.3s;
      font-size: 16px;
    }

    .quick-link svg {
      width: 18px;
      height: 18px;
      transition: all 0.3s;
    }

    .quick-link:hover {
      background: rgba(53,100,77,0.1);
      border-color: var(--accent-2);
      color: var(--text);
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(53,100,77,0.15);
    }

    /* Main Content */
    .main-content {
      flex: 1;
      margin-left: 280px;
      padding: 0;
      position: relative;
    }

    @media (max-width: 1024px) {
      .main-content {
        margin-left: 0;
      }
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
      display: none;
      position: fixed;
      top: 20px;
      left: 20px;
      z-index: 101;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: rgba(255,254,250,0.95);
      border: 1px solid var(--line);
      color:var(--text);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
    }

    @media (max-width: 1024px) {
      .menu-toggle {
        display: flex;
      }
    }

    /* Container */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 40px;
    }

    @media (max-width: 768px) {
      .container {
        padding: 40px 20px;
      }
    }

    /* Section Badge */
    .section-badge {
      display: inline-flex;
      gap: 10px;
      align-items: center;
      color: var(--muted);
      letter-spacing: .14em;
      text-transform: uppercase;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .section-badge-line {
      width: 60px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent-2));
    }

    .section-badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-2);
      box-shadow: 0 0 0 6px rgba(53,100,77,.12);
      animation: badgePulse 2s ease-in-out infinite;
    }

    @keyframes badgePulse {
      0%, 100% { box-shadow: 0 0 0 6px rgba(53,100,77,.12); }
      50% { box-shadow: 0 0 0 10px rgba(53,100,77,.06), 0 0 20px rgba(53,100,77,.15); }
    }

    /* Typography */
    h1 {
      font-family: 'Space Grotesk', 'Inter', sans-serif;
      font-size: clamp(36px, 5.5vw, 64px);
      line-height: 1.05;
      margin: 0 0 24px;
      font-weight: 700;
      letter-spacing: -0.03em;
      background: var(--gradient-animate);
      background-size: var(--gradient-animate-size);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gradientShift 6s ease infinite;
    }

    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    h2 {
      font-family: 'Space Grotesk', 'Inter', sans-serif;
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.15;
      margin: 0 0 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    h3 {
      font-family: 'Space Grotesk', 'Inter', sans-serif;
      font-size: 24px;
      line-height: 1.3;
      margin: 0 0 16px;
      font-weight: 600;
    }

    .lead {
      font-size: 18px;
      line-height: 1.7;
      color: var(--muted);
      margin-bottom: 32px;
    }

    /* Hero Section */
    .hero {
      padding: 100px 0 60px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -200px;
      right: -200px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(53,100,77,0.15), transparent 70%);
      filter: blur(120px);
      animation: heroGlow 8s ease-in-out infinite alternate;
    }

    @keyframes heroGlow {
      0% { transform: translate(0, 0); opacity: 0.8; }
      100% { transform: translate(-40px, 30px); opacity: 1; }
    }

    .hero-content {
      position: relative;
      z-index: 1;
    }

    .hero-subtitle {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--accent-2);
      font-weight: 600;
      margin-bottom: 20px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .hero-subtitle::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-3);
      box-shadow: 0 0 12px var(--accent-3);
      animation: badgePulse 2s ease-in-out infinite;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 48px;
    }

    @media (max-width: 768px) {
      .hero-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .hero-stat {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 20px;
      background: rgba(53,100,77,0.02);
      border: 1px solid var(--line);
      border-radius: 14px;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .hero-stat::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--gradient-2);
      opacity: 0;
      transition: opacity 0.35s;
    }

    .hero-stat:hover {
      border-color: rgba(53,100,77,0.3);
      background: rgba(53,100,77,0.04);
      transform: translateY(-4px);
      box-shadow: var(--shadow-glow);
    }

    .hero-stat:hover::before { opacity: 1; }

    .hero-stat-value {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      background: var(--gradient-2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-stat-label {
      font-size: 12px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 600;
    }

    /* Sections */
    .section {
      padding: 80px 0;
      position: relative;
    }

    /* Key Results Grid */
    .results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 32px;
    }

    .result-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s;
    }

    .result-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--gradient-1);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .result-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow), var(--shadow-glow);
      border-color: rgba(53,100,77,.4);
    }

    .result-card:hover::before {
      opacity: 1;
    }

    .result-metric {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--accent-3);
      margin-bottom: 8px;
    }

    .result-desc {
      color: var(--text);
      line-height: 1.5;
      font-size: 14px;
    }

    /* Skills Grid */
    .skills-container {
      margin-top: 32px;
    }

    .skill-category {
      margin-bottom: 48px;
    }

    .skill-category-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .skill-category-title::before {
      content: '';
      width: 4px;
      height: 24px;
      background: var(--gradient-1);
      border-radius: 2px;
    }

    .skill-items {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 12px;
    }

    .skill-item {
      background: rgba(53,100,77,0.03);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }

    .skill-item:hover {
      background: rgba(53,100,77,0.08);
      border-color: rgba(53,100,77,.3);
      transform: translateX(4px);
      box-shadow: 0 0 20px rgba(53,100,77,.08);
    }

    .skill-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-2);
      flex-shrink: 0;
    }

    /* Experience Timeline */
    .timeline {
      position: relative;
      padding-left: 40px;
      margin-top: 32px;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 8px;
      top: 8px;
      bottom: 8px;
      width: 2px;
      background: var(--line);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 48px;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: -36px;
      top: 8px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--gradient-1);
      box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--line);
    }

    .timeline-header {
      margin-bottom: 16px;
    }

    .timeline-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .timeline-company {
      color: var(--accent-2);
      font-weight: 500;
      margin-bottom: 4px;
    }

    .timeline-meta {
      font-size: 14px;
      color: var(--muted);
    }

    .timeline-content {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 20px;
      margin-top: 16px;
    }

    .timeline-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .timeline-list li {
      position: relative;
      padding-left: 20px;
      margin-bottom: 8px;
      color: var(--text);
      font-size: 14px;
    }

    .timeline-list li::before {
      content: '→';
      position: absolute;
      left: 0;
      color: var(--accent-3);
    }

    /* Blog Section */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 24px;
      margin-top: 32px;
    }

    .blog-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      transition: all 0.3s;
      cursor: pointer;
    }

    .blog-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow), var(--shadow-glow);
      border-color: rgba(53,100,77,.4);
    }

    .blog-image {
      width: 100%;
      height: 200px;
      background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
      position: relative;
      overflow: hidden;
    }

    .blog-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .blog-content {
      padding: 24px;
    }

    .blog-date {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .blog-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .blog-excerpt {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
      margin-bottom: 16px;
    }

    .blog-read-more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--accent-2);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .blog-read-more:hover {
      gap: 10px;
    }

    /* Cases Section - From your design */
    .view-toggle {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 28px;
    }

    .view-toggle-label {
      font-size: 12px;
      color: var(--muted);
      letter-spacing: .14em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .view-toggle-label-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-2);
      box-shadow: 0 0 0 6px rgba(53,100,77,.12);
    }

    .view-toggle-buttons {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .view-toggle-btn {
      border: 1px solid var(--line);
      background: rgba(241,242,235,.6);
      background-image: linear-gradient(180deg, rgba(53,100,77,.05), rgba(53,100,77,.02));
      border-radius: 10px;
      padding: 8px 12px;
      font-size: 13px;
      line-height: 1.2;
      color: var(--muted);
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: var(--shadow);
    }

    .view-toggle-btn svg {
      width: 16px;
      height: 16px;
    }

    .view-toggle-btn.active {
      color: #242833;
      border-color: rgba(53,100,77,.8);
      background: radial-gradient(circle at 0% 0%, rgba(53,100,77,.18) 0%, rgba(241,242,235,.0) 60%),
                  radial-gradient(circle at 100% 100%, rgba(61,118,111,.18) 0%, rgba(241,242,235,.0) 60%),
                  linear-gradient(160deg, rgba(53,100,77,.22), rgba(61,118,111,.14));
    }

    /* Cases Grid */
    .cases-wrapper {
      position: relative;
      padding: 0 56px;
    }

    @media (max-width: 640px) {
      .cases-wrapper {
        padding: 0 16px;
      }
    }

    .cases-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      transition: grid-template-columns .2s ease, gap .2s ease;
    }

    @media (max-width: 860px) {
      .cases-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 560px) {
      .cases-grid {
        grid-template-columns: 1fr;
      }
    }

    .cases-grid.gallery-mode {
      gap: 14px;
    }

    .cases-grid.gallery-mode .gallery-image {
      aspect-ratio: 3 / 2;
    }

    /* Case Card */
    .case-card {
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--card);
      border: 1px solid var(--line);
      cursor: pointer;
      transition: all .3s cubic-bezier(.4,0,.2,1);
    }

    .case-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 40px rgba(0,0,0,.4);
      border-color: rgba(53,100,77,.6);
    }

    .case-preview {
      aspect-ratio: 16 / 10;
      background-size: cover;
      background-position: center;
      position: relative;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .case-tag {
      align-self: flex-start;
      background: rgba(53,100,77,.9);
      backdrop-filter: blur(10px);
      color:var(--text);
      font-size: 11px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .case-title {
      font-size: 20px;
      font-weight: 700;
      color:var(--text);
      line-height: 1.2;
      text-shadow: 0 2px 10px rgba(0,0,0,.5);
    }

    .case-metric {
      font-size: 24px;
      font-weight: 800;
      background: linear-gradient(135deg, #26746d, #637e8f);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 2px 10px rgba(61,118,111,.4);
    }

    .case-content {
      padding: 20px;
    }

    .case-desc {
      margin: 0 0 16px;
      font-size: 14px;
      line-height: 1.5;
      color: var(--muted);
    }

    .case-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 1px solid var(--line);
      color: var(--text);
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
    }

    .case-btn:hover {
      background: rgba(53,100,77,.1);
      border-color: var(--accent-2);
      color:var(--text);
      gap: 12px;
    }

    .case-btn svg {
      width: 16px;
      height: 16px;
    }

    /* Gallery Card */
    .gallery-card {
      margin: 0;
      cursor: pointer;
      transition: all .3s;
    }

    .gallery-card:hover {
      transform: scale(1.03);
    }

    .gallery-image {
      aspect-ratio: 4 / 3;
      border-radius: var(--radius);
      overflow: hidden;
      background-size: cover;
      background-position: center;
      position: relative;
      display: flex;
      align-items: flex-end;
      padding: 16px;
    }

    .gallery-badge {
      background: rgba(255,254,250,.9);
      backdrop-filter: blur(10px);
      color: var(--accent-3);
      font-size: 11px;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 8px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border: 1px solid rgba(61,118,111,.3);
    }

    /* Navigation Buttons */
    .cases-wrapper-nav {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .wrapper-nav-btn {
      pointer-events: auto;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(241,242,235,.75);
      color: var(--text);
      cursor: pointer;
      box-shadow: var(--shadow);
      display: grid;
      place-items: center;
      font-size: 18px;
      font-weight: 600;
    }

    .wrapper-nav-btn.prev { left: 0; }
    .wrapper-nav-btn.next { right: 0; }

    /* Counter */
    .cases-topbar {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      margin-bottom: 16px;
    }

    .cases-counter-top {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #242833;
      border-radius: 10px;
      padding: 8px 10px;
      background: radial-gradient(circle at 0% 0%, rgba(53,100,77,.18) 0%, rgba(241,242,235,0) 60%),
                  radial-gradient(circle at 100% 100%, rgba(61,118,111,.18) 0%, rgba(241,242,235,0) 60%),
                  linear-gradient(160deg, rgba(53,100,77,.22), rgba(61,118,111,.14));
      border: 1px solid rgba(53,100,77,.5);
      box-shadow: var(--shadow);
    }

    /* Pager */
    .cases-pager {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 24px;
    }

    .cases-pager button {
      min-width: 36px;
      height: 36px;
      border-radius: 10px;
      border: 1px solid var(--line);
      background: rgba(241,242,235,.75);
      color: var(--muted);
      cursor: pointer;
      font-weight: 600;
      font-size: 14px;
      box-shadow: var(--shadow);
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .cases-pager button.active {
      color: #242833;
      border-color: rgba(53,100,77,.8);
      background: radial-gradient(circle at 0% 0%, rgba(53,100,77,.18) 0%, rgba(241,242,235,0) 60%),
                  radial-gradient(circle at 100% 100%, rgba(61,118,111,.18) 0%, rgba(241,242,235,0) 60%),
                  linear-gradient(160deg, rgba(53,100,77,.22), rgba(61,118,111,.14));
    }

    /* Modal */
    .case-modal {
      position: fixed;
      inset: 0;
      background: rgba(248,247,243,.95);
      backdrop-filter: blur(20px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s;
    }

    .case-modal.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-container {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      max-width: 900px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
    }

    .modal-header {
      padding: 24px;
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .modal-title {
      font-size: 24px;
      font-weight: 700;
    }

    .modal-close {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: rgba(53,100,77,.05);
      border: 1px solid var(--line);
      color: var(--text);
      cursor: pointer;
      display: grid;
      place-items: center;
    }

    .modal-image {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      border-bottom: 1px solid var(--line);
    }

    .modal-body {
      padding: 32px;
    }

    .modal-section {
      margin-bottom: 32px;
    }

    .modal-section-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--accent-2);
    }

    .modal-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
    }

    .modal-stat {
      text-align: center;
      padding: 16px;
      background: rgba(53,100,77,.03);
      border-radius: 12px;
      border: 1px solid var(--line);
    }

    .modal-stat-value {
      font-size: 28px;
      font-weight: 700;
      color: var(--accent-3);
      margin-bottom: 4px;
    }

    .modal-stat-label {
      font-size: 12px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .modal-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .modal-list li {
      position: relative;
      padding-left: 24px;
      margin-bottom: 12px;
      color: var(--text);
      line-height: 1.5;
    }

    .modal-list li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--accent-3);
      font-weight: 600;
    }

    /* Contact Section */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 32px;
    }

    @media (max-width: 640px) {
      .contact-grid { grid-template-columns: 1fr; }
    }

    .contact-card {
      background: rgba(53,100,77,0.02);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      align-items: center;
      gap: 16px;
      transition: all 0.35s;
      text-decoration: none;
    }

    .contact-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow), var(--shadow-glow);
      border-color: rgba(53,100,77,.3);
      background: rgba(53,100,77,0.04);
    }

    .contact-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: rgba(53,100,77,0.08);
      border: 1px solid rgba(53,100,77,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: all 0.3s;
    }

    .contact-icon svg {
      width: 20px;
      height: 20px;
      color: var(--accent-2);
      transition: color 0.3s;
    }

    .contact-card:hover .contact-icon {
      background: rgba(53,100,77,0.15);
      border-color: rgba(53,100,77,0.25);
    }

    .contact-info {
      flex: 1;
    }

    .contact-label {
      font-size: 12px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 4px;
    }

    .contact-value {
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
    }

    .contact-value a {
      color: inherit;
      text-decoration: none;
    }

    .contact-value a:hover {
      color: var(--accent-2);
    }

    /* Utility Classes */
    .text-gradient {
      background: var(--gradient-1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hidden {
      display: none !important;
    }

    /* Smooth Scroll */
    html {
      scroll-padding-top: 80px;
    }

    /* Loading State */
    .loading {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 60px;
      color: var(--muted);
    }

    .loading::after {
      content: '';
      width: 32px;
      height: 32px;
      border: 3px solid var(--line);
      border-top-color: var(--accent-2);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-left: 16px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }
  

  /* ====== COMPACT SIDEBAR MODE ====== */

  /* 1. Шапка профиля делаем ниже */
  .sidebar-header {
    padding: 24px 20px; /* было 32px 24px */
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 28px;
    margin-bottom: 12px; /* было 16px */
  }

  .profile-name {
    font-size: 18px;      /* было 20px */
    margin-bottom: 2px;   /* было 4px */
  }

  .profile-title {
    font-size: 12px;      /* было 13px */
    margin-bottom: 6px;   /* было 8px */
  }

  .profile-location {
    font-size: 11px;      /* было 12px */
    margin-bottom: 8px;
  }

  .download-cv {
    margin-top: 12px;           /* было 16px */
    padding: 8px 12px;           /* было 10px 16px */
    font-size: 13px;             /* было 14px */
    border-radius: 8px;          /* было 10px */
  }

  /* 2. Центральное меню делаем плотнее */
  .nav-menu {
    padding: 16px 16px;          /* было 24px 16px */
  }

  .nav-section {
    margin-bottom: 16px;         /* было 24px */
  }

  .nav-label {
    font-size: 10px;             /* было 11px */
    letter-spacing: .12em;       /* чуть меньше */
    margin-bottom: 8px;          /* было 12px */
    padding: 0 8px;
  }

  .nav-item {
    padding: 8px 10px;           /* было 10px 12px */
    margin-bottom: 2px;          /* было 4px */
    gap: 10px;                   /* было 12px */
    font-size: 13px;             /* было 14px */
    border-radius: 8px;          /* было 10px */
  }

  .nav-icon {
    width: 16px;
    height: 16px;
  }

  /* 3. Быстрые ссылки снизу делаем компактнее */
  .quick-links {
    padding: 16px;               /* было 20px */
    min-height: 176px;           /* было 180px */
    max-height: 176px;
  }

  .quick-links-title {
    font-size: 10px;             /* было 11px */
    letter-spacing: .12em;
    margin-bottom: 8px;          /* было 12px */
  }

  /* вместо 3 колонок → 4 колонки.
     плитки становятся уже, ряд ниже по высоте,
     весь блок "Quick Links" занимает меньше места по вертикали
  */
  .quick-links-grid {
    grid-template-columns: repeat(4, 1fr);  /* было repeat(3, 1fr) */
    gap: 6px;                               /* было 8px */
    max-height: none;                       /* убираем внутренний скролл */
    overflow-y: visible;                    /* точно без полосы */
  }

  .quick-link {
    font-size: 14px;            /* было 16px */
    border-radius: 8px;         /* было 10px */
  }

  /* 4. Скроллы отключаем внутри сабблоков, чтобы не было двух полос */
  .nav-menu {
    overflow-y: visible;        /* было auto в прошлой версии с прокруткой */
  }

  .quick-links-grid {
    overflow-y: visible;        /* на всякий случай */
  }

  /* оставляем у .sidebar дефолтный overflow-y:auto из твоего исходника.
     Если после ужатия всё влезло по высоте экрана — полосы вообще не будет.
     Если вдруг всё равно не влезет на каком-то очень низком экране (ноут 720px),
     браузер покажет ОДНУ полосу справа у сайдбара, а не две.
   */


    /* ВЕСЬ твой текущий код */
    :root {
      --bg: #e9eaed;
      --text: #242833;
      /* ... */
    }
    /* ... весь остальной CSS из проекта ... */
  

    /* COMPACT SIDEBAR MODE */

    .sidebar-header {
      padding: 24px 20px;
    }

    .profile-avatar {
      width: 80px;
      height: 80px;
      font-size: 28px;
      margin-bottom: 12px;
    }

    .profile-name {
      font-size: 18px;
      margin-bottom: 2px;
    }

    .profile-title {
      font-size: 12px;
      margin-bottom: 6px;
    }

    .profile-location {
      font-size: 11px;
      margin-bottom: 8px;
    }

    .download-cv {
      margin-top: 12px;
      padding: 8px 12px;
      font-size: 13px;
      border-radius: 8px;
    }

    .nav-menu {
      padding: 16px 16px;
      overflow-y: visible; /* без скролла */
    }

    .nav-section {
      margin-bottom: 16px;
    }

    .nav-label {
      font-size: 10px;
      letter-spacing: .12em;
      margin-bottom: 8px;
    }

    .nav-item {
      padding: 8px 10px;
      margin-bottom: 2px;
      gap: 10px;
      font-size: 13px;
      border-radius: 8px;
    }

    .nav-icon {
      width: 16px;
      height: 16px;
    }

    .quick-links {
      padding: 16px;
      min-height: auto;
      max-height: none;
    }

    .quick-links-title {
      font-size: 10px;
      letter-spacing: .12em;
      margin-bottom: 8px;
    }

    .quick-links-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 4 иконки в строку */
      gap: 6px;
      max-height: none;
      overflow-y: visible;
    }

    .quick-link {
      font-size: 14px;
      border-radius: 8px;
    }
	
	/* =========================================
       FIX: САЙДБАР, СКРОЛЛ, УСЛУГИ, CALENDLY
       ========================================= */

    /* 1. ГЛАВНЫЙ КОНТЕЙНЕР САЙДБАРА (Фикс наложения) */
    .sidebar {
      width: 280px;
      position: fixed;
      left: 0; top: 0; bottom: 0;
      height: 100vh; /* Строго высота экрана */
      background: rgba(255,254,250,0.98); /* Плотный фон */
      backdrop-filter: blur(20px);
      border-right: 1px solid var(--line);
      z-index: 100;
      display: flex;
      flex-direction: column; /* Вертикальная колонка */
      overflow: hidden; /* Сам блок не скроллится */
      transition: transform 0.3s ease;
    }

    /* 2. ШАПКА ПРОФИЛЯ (Всегда сверху) */
    .sidebar-header {
      padding: 24px 20px;
      border-bottom: 1px solid var(--line);
      flex-shrink: 0; /* Не сжимать */
    }

    /* 3. ЦЕНТРАЛЬНОЕ МЕНЮ (Скроллится!) */
    .nav-menu {
      flex-grow: 1; /* Занимает всё свободное место */
      padding: 16px;
      overflow-y: auto; /* Включаем скролл внутри */
      min-height: 0;
      
      /* Тонкий скроллбар */
      scrollbar-width: thin;
      scrollbar-color: var(--line) transparent;
    }
    .nav-menu::-webkit-scrollbar { width: 4px; }
    .nav-menu::-webkit-scrollbar-track { background: transparent; }
    .nav-menu::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

    /* 4. НИЖНИЕ ССЫЛКИ (Всегда снизу) */
    .quick-links {
      flex-shrink: 0; /* Не сжимать */
      margin-top: 0; /* Убираем auto, так как flex-grow у меню всё сделает */
      border-top: 1px solid var(--line);
      padding: 16px;
      background: rgba(255,254,250,0.98);
      z-index: 2;
    }

    /* 5. КНОПКА CALENDLY */
    .calendly-btn {
      position: relative;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      width: 100%;
      padding: 10px 12px;
      margin-top: 12px;
      background: rgba(53,100,77,0.05);
      border: 1px solid rgba(53,100,77,0.1);
      border-radius: 10px;
      color:var(--text); font-weight: 600; font-size: 13px;
      text-decoration: none; overflow: hidden; transition: all 0.3s;
    }
    .calendly-btn:hover {
      border-color: var(--accent-3);
      background: rgba(61,118,111,0.1);
      transform: translateY(-2px);
    }
    .shine {
      position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
      background: linear-gradient(to right, transparent, rgba(53,100,77,0.3), transparent);
      transform: skewX(-20deg); animation: shine 4s infinite;
    }
    @keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

    /* 6. АККОРДЕОН УСЛУГ */
    .nav-item-dropdown-btn {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      gap: 12px; padding: 10px 12px; margin-bottom: 2px;
      border-radius: 8px; color: var(--text); background: transparent;
      border: 1px solid transparent; font-size: 13px; font-weight: 500;
      cursor: pointer; transition: all 0.2s; font-family: inherit;
    }
    .nav-item-base { display: flex; align-items: center; gap: 10px; }
    .nav-item-dropdown-btn:hover { background: rgba(53,100,77,0.1); color:var(--text); }
    .nav-item-dropdown-btn.active { background: rgba(53,100,77,0.03); color:var(--text); }
    .chevron-icon { width: 16px; height: 16px; color: var(--muted); transition: transform 0.3s; }
    .nav-item-dropdown-btn.active .chevron-icon { transform: rotate(180deg); color: var(--accent-3); }
    
    .nav-dropdown-content {
      display: none; flex-direction: column;
      padding-left: 14px; margin-bottom: 8px; margin-left: 20px;
      border-left: 1px solid rgba(53,100,77,0.05);
    }
    .nav-dropdown-content.show { display: flex; animation: slideDown 0.3s ease; }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
    
    .nav-sub-item {
      display: flex; align-items: center; gap: 10px;
      padding: 6px 12px; font-size: 13px; color: var(--muted);
      text-decoration: none; transition: all 0.2s; border-radius: 6px;
    }
    .nav-sub-item:hover { color: var(--accent-3); background: rgba(61,118,111,0.05); transform: translateX(4px); }
    .nav-sub-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); transition: background 0.2s; }
    .nav-sub-item:hover .dot { background: var(--accent-3); }
  

    .sidebar {
      display: flex;
      flex-direction: column;
      height: 100vh;
    }

    .quick-links {
      margin-top: auto;              /* толкает вниз */
      border-top: 1px solid var(--line);
      padding: 12px 16px 8px;        /* почти у нижнего края */
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      min-height: auto;
      max-height: none;
    }

    .quick-links-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      max-height: none;
      overflow-y: visible;
    }
	.profile-avatar {
	  position: relative;
	  width: 100px !important;
	  height: 100px !important;
	  border-radius: 50%;
	  margin: 0 auto 16px !important;
	  background: radial-gradient(circle at 30% 30%, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 60%);
	  box-shadow: 0 30px 60px rgba(0,0,0,.8);
	  overflow: hidden;
	  font-size: 0 !important;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	}

	/* внешнее свечение-ободок */
	.profile-avatar::before {
	  content: '';
	  position: absolute;
	  inset: -3px; /* чутка больше круга */
	  border-radius: 50%;
	  background: radial-gradient(circle at 0% 0%, var(--accent-1) 0%, var(--accent-2) 40%, rgba(0,0,0,0) 70%);
	  filter: blur(4px);
	  z-index: -2;
	  opacity: .9;
	}

	/* тонкая внутренняя линия по краю, как у приложений типа Linear */
	.profile-avatar::after {
	  content: '';
	  position: absolute;
	  inset: 0;
	  border-radius: 50%;
	  border: 2px solid rgba(53,100,77,.08);
	  box-shadow: 0 0 20px rgba(53,100,77,.4), 0 0 40px rgba(61,118,111,.2);
	  pointer-events: none;
	  z-index: 2;
	}

	/* сама фотка */
	.profile-photo {
	  position: absolute;
	  left: 50%;
	  top: 50%;
	  width: 120%;
	  height: 120%;
	  object-fit: cover;
	  object-position: center 20%; /* лицо по центру, не упирается в край */
	  transform: translate(-50%, -48%) scale(0.85);
	  border-radius: 50%;
	  z-index: 1;
	}


  

  /* 1. Цвет метрики (бирюзовый → брендовый розово-фиолетовый) */
  .case-metric {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-1); /* var(--accent-1) -> var(--accent-2), твой розово-фиолетовый градиент */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0,0,0,.8); /* чтобы читалось на светлом графике */
  }

  /* если вдруг хочешь чисто белый текст вместо градиента:
     .case-metric {
       font-size:24px;
       font-weight:800;
       color:#242833;
       text-shadow:0 2px 10px rgba(0,0,0,.8);
       -webkit-text-fill-color:#242833;
       background:none;
     }
  */


  /* 2. Превью-карточка кейса (верхняя часть со скрином GSC)
        - делаем скрин не таким ядрёно-светлым
        - не даём ему вылазить за карточку
        - не обрезаем важные куски графика
  */

  .case-preview {
    position: relative;
    overflow: hidden;

    /* было background-size: cover; → это зумит и режет края
       ставим contain, чтобы картинка полностью влезала внутрь блока
    */
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;

    /* на случай пустых зон вокруг contain даём тёмный фон */
    background-color: #eef0f4;
  }

  /* поверх скрина кладём затемняющий слой,
     чтобы вся карточка была темнее и выглядела органично в чёрной теме
  */
  .case-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* двойной оверлей:
       - верх чуть прозрачный, низ плотнее, чтобы заголовок и цифры читались
    */
    background:
      radial-gradient(
        circle at 50% 30%,
        rgba(248,247,243,0) 0%,
        rgba(248,247,243,0.4) 40%,
        rgba(248,247,243,0.8) 100%
      ),
      linear-gradient(
        to bottom,
        rgba(248,247,243,0.2) 0%,
        rgba(248,247,243,0.75) 70%
      );
    z-index: 1;
  }

  /* всё содержимое текста внутри превью (бейдж, тайтл, цифры) поднимаем над затемнением */
  .case-preview > * {
    position: relative;
    z-index: 2;
  }

  .case-tag {
    align-self: flex-start;
    background: rgba(53,100,77,.9);
    backdrop-filter: blur(10px);
    color: #242833;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 20px rgba(0,0,0,.6);
  }

  .case-title {
    font-size: 20px;
    font-weight: 700;
    color: #242833;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
  }


  /* 3. Попап (модалка) с кейсом
        Сейчас у тебя modal-image жёстко обрезается: object-fit: cover + aspect-ratio.
        Делаем, чтобы:
        - вся картинка влезала целиком (contain)
        - не вылазила за рамки
        - имела тёмный фон вокруг, если соотношение сторон другое
  */

  .modal-image {
    max-height: 60vh;                 /* не выше 60% окна */
    width: 100%;
    height: auto;

    /* показать всю картинку целиком, а не кропать */
    object-fit: contain !important;

    background-color: #e9eaed;        /* тёмный фон вокруг, если останутся поля */
    padding: 16px;                    /* чтобы скрин не прилипал к борту */
    box-sizing: border-box;

    border-bottom: 1px solid var(--line);
  }
  
  /* --- AUDIT CTA BUTTON --- */
  .audit-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    margin-top: 16px;
    background: var(--gradient-animate);
    background-size: var(--gradient-animate-size);
    animation: gradientShift 6s ease infinite;
    border: none;
    border-radius: 10px;
    color:var(--text);
    font-weight: 700;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(53,100,77,0.3);
    letter-spacing: 0.02em;
  }
  .audit-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(53,100,77,0.45);
  }
  .audit-cta-glow {
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(53,100,77,0.25), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
  }

  /* --- AUDIT MODAL --- */
  .audit-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(248,247,243,0.92);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .audit-modal.active {
    opacity: 1;
    pointer-events: auto;
  }
  .audit-modal-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    padding: 40px 36px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  }
  .audit-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(53,100,77,0.05);
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
  }
  .audit-modal-close:hover { background: rgba(53,100,77,0.1); color: var(--text); }

  .audit-modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .audit-modal-desc {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .audit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .audit-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(53,100,77,0.04);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
  }
  .audit-input::placeholder { color: var(--muted); }
  .audit-input:focus { border-color: var(--accent-2); }

  .audit-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-animate);
    background-size: var(--gradient-animate-size);
    animation: gradientShift 6s ease infinite;
    border: none;
    border-radius: 10px;
    color:var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(53,100,77,0.3);
    margin-top: 4px;
  }
  .audit-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(53,100,77,0.4);
  }
  .audit-checks {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
    flex-wrap: wrap;
  }
  .audit-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
  }
  .audit-check svg { width: 14px; height: 14px; color: var(--accent-2); }

  /* Success state */
  .audit-success {
    display: none;
    text-align: center;
    padding: 20px 0;
  }
  .audit-success.show { display: block; }
  .audit-success-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(53,100,77,0.1);
    border: 2px solid var(--accent-2);
    display: flex; align-items: center; justify-content: center;
  }
  .audit-success-icon svg { width: 28px; height: 28px; color: var(--accent-2); }
  .audit-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
  }
  .audit-success p {
    font-size: 14px;
    color: var(--muted);
  }

  /* --- SITE FOOTER --- */
  .site-footer {
    padding: 0 0 40px;
  }
  .footer-line {
    height: 1px;
    background: var(--gradient-animate);
    background-size: var(--gradient-animate-size);
    animation: gradientShift 6s ease infinite;
    margin-bottom: 24px;
    opacity: 0.5;
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
  }
  .footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .footer-name {
    font-weight: 600;
    color: var(--text);
  }
  .footer-sep { opacity: 0.3; }
  .footer-tagline {
    font-size: 12px;
    letter-spacing: 0.05em;
  }
  @media (max-width: 640px) {
    .footer-content { flex-direction: column; gap: 8px; text-align: center; }
  }

  /* Light theme: saved to seo_project/data/themes/light-main-page.css */
  /* --- DOT GRID BACKGROUND --- */
.dot-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 0%, rgba(53,100,77,0.12) 0%, transparent 50%),
    var(--bg);
}

.dot-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(53,100,77,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}


    .audit-overlay { position:fixed;inset:0;z-index:2500;background:rgba(248,247,243,0.92);backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity 0.3s; }
    .audit-overlay.open { opacity:1;pointer-events:auto; }
    .audit-box { background:var(--card);border:1px solid var(--line);border-radius:24px;max-width:460px;width:100%;padding:44px 40px;position:relative;box-shadow:0 32px 100px rgba(0,0,0,0.6);text-align:center; }
    .audit-box-close { position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:rgba(53,100,77,0.05);border:1px solid var(--line);color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;transition:all 0.2s; }
    .audit-box-close:hover { background:rgba(53,100,77,0.1);color:var(--text); }
    .audit-box h3 { font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:700;margin-bottom:8px; }
    .audit-box p { font-size:14px;color:var(--muted);margin-bottom:24px;line-height:1.6; }
    .audit-box form { display:flex;flex-direction:column;gap:12px;align-items:center; }
    .audit-box input[type="url"],.audit-box input[type="email"],.audit-box input[type="text"] { width:100%;padding:14px 16px;background:rgba(53,100,77,0.04);border:1px solid var(--line);border-radius:10px;color:var(--text);font-family:inherit;font-size:14px;outline:none;transition:border-color 0.2s; }
    .audit-box input::placeholder { color:var(--muted); }
    .audit-box input:focus { border-color:var(--accent-2); }
    .audit-box button[type="submit"] { width:100%;padding:14px 20px;background:linear-gradient(270deg,#64728d,#3559df,#647fac,#526db6,#64728d);background-size:300% 100%;animation:gradientShift 6s ease infinite;border:none;border-radius:10px;color:var(--text);font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 4px 20px rgba(53,100,77,0.3);transition:all 0.3s; }
    .audit-box button[type="submit"]:hover { transform:translateY(-2px);box-shadow:0 8px 30px rgba(53,100,77,0.4); }
    .audit-box label { display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--muted);line-height:1.5;cursor:pointer;text-align:left; }
    .audit-box label a { color:var(--accent-3);text-decoration:underline; }
  

    .photo-popup { position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;background:rgba(248,247,243,0.88);backdrop-filter:blur(16px);opacity:0;pointer-events:none;transition:opacity 0.3s; }
    .photo-popup.open { opacity:1;pointer-events:auto; }
    .photo-popup-box { text-align:center;max-width:680px;padding:56px 52px;background:var(--card);border:1px solid var(--line);border-radius:28px;position:relative;box-shadow:0 32px 100px rgba(0,0,0,0.6);animation:popIn 0.35s cubic-bezier(0.16,1,0.3,1); }
    @keyframes popIn { from{transform:scale(0.92) translateY(10px);opacity:0}to{transform:scale(1) translateY(0);opacity:1} }
    .photo-popup-close { position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:rgba(53,100,77,0.05);border:1px solid var(--line);color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;transition:all 0.2s; }
    .photo-popup-close:hover { background:rgba(53,100,77,0.1);color:var(--text);transform:scale(1.1); }
    .photo-popup-img { width:300px;height:300px;border-radius:50%;margin:0 auto 24px;overflow:hidden;border:3px solid rgba(53,100,77,0.15);box-shadow:0 0 50px rgba(53,100,77,0.15);position:relative; }
    .photo-popup-img::before { content:'';position:absolute;inset:-5px;border-radius:50%;background:linear-gradient(135deg,var(--accent-1),var(--accent-2),var(--accent-3));z-index:-1;opacity:0.4;filter:blur(8px); }
    .photo-popup-img img { width:100%;height:100%;object-fit:cover;object-position:center 15%; }
    .photo-popup-text { font-family:'Space Grotesk',sans-serif;font-size:26px;font-weight:700;color:var(--text);line-height:1.35;margin-bottom:14px;letter-spacing:-0.02em; }
    .photo-popup-sub { font-size:16px;color:var(--muted);line-height:1.75;max-width:500px;margin:0 auto; }
  