:root {
    /* Палитра «Эдем Бюро» — мягкая нейтральная база с оливковым акцентом */
    --green-900: #2a2a2a;
    --green-800: #6b6b6b;
    --green-700: #7a7a7a;
    --green-600: #94B43D;
    --green-400: #A2C055;
    --green-100: #ebf2d6;
    --green-50:  #f4f7eb;
    --cream:     #ececec;
    --paper:     #f5f5f5;
    --ink:       #3a3a3a;
    --muted:     #888888;
    --line:      #dcdcdc;
    --accent:    #A2C055;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Manrope', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
  }
  .container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
  .container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

  h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: var(--green-900);
    letter-spacing: -0.01em;
    line-height: 1.15;
  }

  /* ============= BUTTONS ============= */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .btn-primary { background: var(--accent); color: var(--ink); font-weight: 500; }
  .btn-primary:hover { background: #94B43D; transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(162, 192, 85, 0.5); }
  .btn-outline { background: transparent; color: var(--green-900); border-color: var(--green-900); }
  .btn-outline:hover { background: var(--green-900); color: var(--paper); }
  .btn-ghost { background: transparent; color: var(--green-900); border-color: var(--line); }
  .btn-ghost:hover { border-color: var(--green-900); }
  .btn-light { background: var(--paper); color: var(--green-900); }
  .btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(0,0,0,0.25); }

  /* ============= HEADER ============= */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 245, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
  .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 600;
    color: var(--green-900);
    letter-spacing: -0.02em;
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
  }
  .logo svg { width: 28px; height: 28px; }
  .logo-img { height: 40px; width: auto; max-width: 240px; display: block; }
  .nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
  .nav-links a {
    color: var(--green-900);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color .25s;
  }
  .nav-links a:hover { color: var(--green-600); }
  .nav-links a::after {
    content: ''; position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--green-600);
    transition: width .3s ease;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.active { color: var(--green-600); }
  .nav-links a.active::after { width: 100%; }
  .dropdown { position: relative; }
  .dropdown > a::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-right: 7px;
    transition: transform .25s;
    vertical-align: middle;
  }
  .dropdown:hover > a::before { transform: rotate(225deg) translateY(2px); }
  .dropdown-menu {
    position: absolute;
    top: 100%; left: -16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 8px;
    min-width: 240px;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    box-shadow: 0 18px 50px -20px rgba(42, 42, 42, 0.25);
    list-style: none;
  }
  .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown-menu li a { display: block; padding: 8px 18px; font-size: 14px; border-radius: 6px; }
  .dropdown-menu li a:hover { background: var(--green-50); }
  .dropdown-menu li a::after { display: none; }

  /* ============= BREADCRUMBS ============= */
  .breadcrumbs {
    padding: 24px 0 0;
    font-size: 13px;
    color: var(--muted);
  }
  .breadcrumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
  .breadcrumbs a:hover { color: var(--green-700); }
  .breadcrumbs .sep { margin: 0 10px; opacity: 0.5; }
  .breadcrumbs .current { color: var(--green-900); }

  /* ============= HERO ============= */
  .hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--accent); }
  .hero h1 {
    font-size: clamp(48px, 7vw, 96px);
    margin-bottom: 32px;
    max-width: 1100px;
  }
  .hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
  .hero-lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 56px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 40px;
  }
  .hero-stat {
    padding: 32px 24px 0 0;
    border-right: 1px solid var(--line);
  }
  .hero-stat:last-child { border-right: none; padding-right: 0; }
  .hero-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    color: var(--green-900);
    margin-bottom: 14px;
  }
  .hero-stat-num .plus { color: var(--accent); }
  .hero-stat-label {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
  }

  /* ============= FILTER BAR ============= */
  .filter-bar {
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
    position: sticky;
    top: 78px;
    z-index: 50;
    backdrop-filter: blur(12px);
  }
  .filter-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filter-inner::-webkit-scrollbar { display: none; }
  .filter-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 24px;
    flex-shrink: 0;
  }
  .filter-chip {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--green-900);
    cursor: pointer;
    transition: all .25s;
    white-space: nowrap;
    text-decoration: none;
  }
  .filter-chip:hover { border-color: var(--green-900); background: var(--paper); }
  .filter-chip.active { background: var(--green-900); color: var(--paper); border-color: var(--green-900); }

  /* ============= SECTION SHARED ============= */
  section { padding: 110px 0; }
  .section-head { margin-bottom: 64px; max-width: 760px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head.center .section-eyebrow { justify-content: center; }
  .section-eyebrow {
    display: inline-flex;
    align-items: center; gap: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 22px;
  }
  .section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
  .section-title {
    font-size: clamp(34px, 4vw, 52px);
    margin-bottom: 22px;
  }
  .section-title em { font-style: italic; color: var(--accent); font-weight: 400; }
  .section-lead { font-size: 17px; color: var(--muted); max-width: 640px; line-height: 1.65; }

  /* ============= CATEGORIES GRID ============= */
  .categories-section { padding: 100px 0 60px; }
  .categories-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    gap: 60px;
    flex-wrap: wrap;
  }
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .category-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
    background: var(--green-800);
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform .4s ease;
    isolation: isolate;
  }
  .category-card:hover { transform: translateY(-6px); }
  .category-card-bg { position: absolute; inset: 0; transition: transform .8s ease; }
  .category-card:hover .category-card-bg { transform: scale(1.08); }
  .category-card-bg svg { width: 100%; height: 100%; display: block; }
  .category-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(42, 42, 42, 0.15) 0%, rgba(42, 42, 42, 0.4) 50%, rgba(42, 42, 42, 0.95) 100%);
    z-index: 1;
    transition: background .4s ease;
  }
  .category-card:hover::before {
    background: linear-gradient(180deg, rgba(42, 42, 42, 0.4) 0%, rgba(42, 42, 42, 0.7) 50%, rgba(42, 42, 42, 0.97) 100%);
  }
  .category-card-count {
    position: absolute;
    top: 28px; left: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.08em;
    z-index: 2;
  }
  .category-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 28px;
    z-index: 2;
    color: var(--paper);
  }
  .category-card-content h3 {
    color: var(--paper);
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 14px;
    transition: transform .4s ease;
  }
  .category-card-content p {
    font-size: 14px;
    color: rgba(247, 244, 236, 0.75);
    line-height: 1.5;
    margin-bottom: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .4s ease, margin-bottom .4s ease;
  }
  .category-card:hover .category-card-content p {
    max-height: 100px;
    opacity: 1;
    margin-bottom: 20px;
  }
  .category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 244, 236, 0.9);
    transition: color .25s;
  }
  .category-card-link::after { content: '→'; transition: transform .25s; }
  .category-card:hover .category-card-link { color: var(--accent); }
  .category-card:hover .category-card-link::after { transform: translateX(6px); }

  .category-card.featured {
    grid-column: span 2;
    aspect-ratio: 8/5;
  }
  .category-card.featured .category-card-content h3 { font-size: 48px; }

  /* ============= FEATURED PROJECTS ============= */
  .featured-projects { background: var(--cream); }
  .featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
  .featured-grid + .featured-grid {
    grid-template-columns: 1fr 1.4fr;
  }
  .featured-project {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--green-800);
    cursor: pointer;
    text-decoration: none;
    display: block;
  }
  .featured-project-bg { position: absolute; inset: 0; transition: transform .6s ease; }
  .featured-project:hover .featured-project-bg { transform: scale(1.04); }
  .featured-project-bg svg { width: 100%; height: 100%; display: block; }
  .featured-project::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(42, 42, 42, 0.9) 100%);
  }
  .featured-project-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px;
    z-index: 2;
    color: var(--paper);
  }
  .featured-project-info .cat {
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .featured-project-info h3 {
    color: var(--paper);
    font-size: 32px;
    margin-bottom: 8px;
    line-height: 1.15;
  }
  .featured-project-info p {
    font-size: 14.5px;
    color: rgba(247, 244, 236, 0.8);
  }
  .featured-project-meta {
    display: flex;
    gap: 24px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(247, 244, 236, 0.2);
    font-size: 12.5px;
    color: rgba(247, 244, 236, 0.7);
  }
  .featured-project-meta strong { color: var(--accent); font-weight: 500; }

  /* ============= LOGOS ============= */
  .logos { background: var(--paper); padding: 90px 0; }
  .logos-head { text-align: center; margin-bottom: 56px; }
  .logos-head .section-eyebrow { justify-content: center; }
  .logos-head h2 { font-size: 38px; }
  .logos-track-wrap {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  .logos-track {
    display: flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
    width: max-content;
  }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .logo-item {
    flex-shrink: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.02em;
    opacity: 0.55;
    transition: all .3s;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 4px;
  }
  .logo-item:hover {
    opacity: 1;
    color: var(--green-900);
    border-color: var(--line);
  }

  /* ============= CTA + FORM ============= */
  .cta-section {
    background: var(--green-900);
    color: var(--paper);
    position: relative;
    overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 15% 20%, rgba(162, 192, 85, 0.12), transparent 50%),
      radial-gradient(circle at 85% 80%, rgba(162, 192, 85, 0.15), transparent 50%);
  }
  .cta-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .cta-section .section-eyebrow { color: var(--green-400); }
  .cta-section .section-eyebrow::before { background: var(--green-400); }
  .cta-wrap h2 { color: var(--paper); font-size: clamp(36px, 4vw, 52px); margin-bottom: 24px; }
  .cta-wrap p { color: rgba(247, 244, 236, 0.75); font-size: 17px; line-height: 1.65; margin-bottom: 28px; }
  .cta-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .cta-bullets li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(247, 244, 236, 0.9); }
  .cta-bullets li::before {
    content: '';
    width: 18px; height: 18px;
    background: var(--green-700);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a96a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 60%; background-position: center; background-repeat: no-repeat;
  }
  .form-card { background: var(--paper); border-radius: 4px; padding: 48px; color: var(--ink); }
  .form-card h3 { font-size: 28px; margin-bottom: 8px; }
  .form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
  .form-row { margin-bottom: 18px; }
  .form-row label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .form-row input, .form-row textarea, .form-row select {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all .25s;
  }
  .form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: none; border-color: var(--green-700); background: var(--paper);
  }
  .form-row textarea { resize: vertical; min-height: 90px; }
  .form-policy { font-size: 12.5px; color: #6b6b6b !important; margin-top: 18px; line-height: 1.55; }
  .form-policy a { color: #6f8c2e !important; text-decoration: underline; text-underline-offset: 3px; }

  /* ============= FOOTER ============= */
  footer {
    background: var(--green-900);
    color: rgba(247, 244, 236, 0.75);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(247, 244, 236, 0.1);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }
  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--paper);
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
  }
  .footer-about { font-size: 14.5px; line-height: 1.7; max-width: 320px; }
  .footer h4 {
    color: var(--paper);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-links a {
    color: rgba(247, 244, 236, 0.75);
    text-decoration: none;
    font-size: 14.5px;
    transition: color .2s;
  }
  .footer-links a:hover { color: var(--paper); }
  .footer-bottom {
    border-top: 1px solid rgba(247, 244, 236, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(247, 244, 236, 0.5);
  }

  /* ============= MODAL ============= */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
  }
  .modal-overlay.show { display: flex; }
  .modal {
    background: var(--paper);
    border-radius: 8px;
    padding: 56px 48px;
    max-width: 440px;
    text-align: center;
    position: relative;
    animation: modalIn .35s ease;
  }
  @keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .modal-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--green-100);
    margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
  }
  .modal-icon svg { width: 30px; height: 30px; stroke: var(--green-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .modal h3 { font-size: 28px; margin-bottom: 14px; }
  .modal p { color: var(--muted); margin-bottom: 28px; }

  /* ============= BURGER + MOBILE MENU ============= */
  .burger {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: all .25s;
  }
  .burger:hover { border-color: var(--green-900); }
  .burger span {
    position: absolute; left: 50%;
    width: 16px; height: 1.5px;
    background: var(--green-900);
    transform: translateX(-50%);
    transition: all .3s ease;
  }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 21px; }
  .burger span:nth-child(3) { top: 26px; }
  .burger.open span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    z-index: 99;
    overflow-y: auto;
    padding: 32px 24px 80px;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu-section { border-bottom: 1px solid var(--line); padding: 20px 0; }
  .mobile-menu-section:last-of-type { border-bottom: none; }
  .mobile-menu-section > a, .mobile-menu-section > button.mm-toggle {
    display: flex; width: 100%;
    justify-content: space-between; align-items: center;
    background: none; border: none; padding: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 500;
    color: var(--green-900);
    text-decoration: none; cursor: pointer; text-align: left;
  }
  .mobile-menu-section > button.mm-toggle::after {
    content: '';
    width: 8px; height: 8px;
    border-right: 1.5px solid var(--green-900);
    border-bottom: 1.5px solid var(--green-900);
    transform: rotate(45deg);
    transition: transform .25s;
  }
  .mobile-menu-section > button.mm-toggle.open::after { transform: rotate(-135deg); }
  .mobile-submenu {
    list-style: none; max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .mobile-submenu.open { max-height: 800px; margin-top: 14px; }
  .mobile-submenu li a {
    display: block; padding: 10px 0;
    color: var(--muted); text-decoration: none;
    font-size: 15px; font-family: 'Manrope', sans-serif;
  }
  .mobile-menu-cta { margin-top: 32px; width: 100%; justify-content: center; }
  body.menu-open { overflow: hidden; }

  /* ============= RESPONSIVE ============= */
  @media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav .btn-primary { display: none; }
    .burger { display: block; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat:nth-child(2) { border-right: none; }
    .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 32px; margin-bottom: 32px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card.featured { grid-column: span 2; }
    .featured-grid, .featured-grid + .featured-grid { grid-template-columns: 1fr; gap: 24px; }
    .cta-wrap { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  }
  @media (max-width: 640px) {
    .container, .container-wide { padding: 0 20px; }
    section { padding: 70px 0; }
    .hero { padding: 50px 0 60px; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; margin: 0; }
    .hero-stat:last-child { border-bottom: none; }
    .hero-stat-num { font-size: 48px; }
    .categories-grid { grid-template-columns: 1fr; }
    .category-card.featured { aspect-ratio: 4/5; }
    .filter-bar { top: 78px; }
    .form-card { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .section-head { margin-bottom: 40px; }
    .category-card-content h3, .category-card.featured .category-card-content h3 { font-size: 26px; }
    .featured-project-info h3 { font-size: 22px; }
    .featured-project-info { padding: 24px; }
  }
  /* ============= НОВАЯ ЛЕНТА ПОРТФОЛИО (pf-*) ============= */
  .pf-section { padding: 64px 0 100px; }

  /* Строка тегов-фильтров */
  .pf-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
  }
  .pf-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .pf-tag:hover { border-color: var(--green-900); background: #fff; }
  .pf-tag.active {
    background: var(--accent);
    color: var(--green-900);
    border-color: var(--accent);
    font-weight: 600;
  }
  .pf-tag-count { font-size: 12px; color: var(--muted); }
  .pf-tag.active .pf-tag-count { color: var(--green-900); opacity: 0.6; }

  /* Грид проектов */
  .pf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    transition: opacity .25s ease;
  }
  .pf-grid.is-loading { opacity: 0.4; pointer-events: none; }

  .pf-card {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .pf-card-media {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--green-100);
    margin-bottom: 20px;
  }
  .pf-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
  }
  .pf-card:hover .pf-card-media img { transform: scale(1.04); }
  .pf-card-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--green-100), var(--green-50));
  }
  .pf-card-year {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(255,255,255,0.92);
    color: var(--green-900);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
  }
  .pf-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--green-900);
    margin-bottom: 12px;
  }
  .pf-card-title span { color: var(--muted); font-style: italic; }
  .pf-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .pf-card-stat {
    font-size: 13px;
    color: var(--muted);
    position: relative;
    padding-left: 16px;
  }
  .pf-card-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .pf-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    padding: 60px 0;
    font-size: 16px;
  }

  @media (max-width: 768px) {
    .pf-grid { grid-template-columns: 1fr; gap: 28px; }
    .pf-section { padding: 40px 0 70px; }
    .pf-card-title { font-size: 23px; }
  }

  /* ============= ГЛОБАЛЬНЫЙ ПОПАП ОБРАТНОЙ СВЯЗИ ============= */
  .lead-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 31, 28, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .lead-popup-overlay.open { opacity: 1; visibility: visible; }
  .lead-popup {
    background: var(--paper);
    border-radius: 8px;
    padding: 44px;
    width: 100%;
    max-width: 460px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(16px);
    transition: transform .3s ease;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  }
  .lead-popup-overlay.open .lead-popup { transform: translateY(0); }
  .lead-popup-close {
    position: absolute;
    top: 18px; right: 20px;
    width: 36px; height: 36px;
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    border-radius: 50%;
    transition: all .2s;
  }
  .lead-popup-close:hover { background: var(--cream); color: var(--green-900); }
  .lead-popup-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 500;
    color: var(--green-900);
    margin-bottom: 8px;
  }
  .lead-popup-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 26px;
  }
  @media (max-width: 480px) {
    .lead-popup { padding: 32px 24px; }
    .lead-popup-title { font-size: 26px; }
  }

  /* Логотип в футере */
  .footer-logo-img { height: 42px; width: auto; max-width: 240px; display: block; }
