﻿:root {
      --bg: #f6f0e6;
      --paper: #fffaf2;
      --panel: #ffffff;
      --ink: #17211f;
      --muted: #6d6a61;
      --line: #e5d8c4;
      --beige: #dec89d;
      --beige-strong: #b99052;
      --gold: #c79a3a;
      --green: #6f9b84;
      --green-dark: #276b58;
      --blue: #587f9e;
      --red: #b94a3b;
      --graphite: #1e2a2b;
      --radius: 8px;
      --shadow: 0 26px 70px rgba(47, 39, 25, .16);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, Arial, Helvetica, sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 15% 0%, rgba(222,200,157,.55), transparent 32%),
        linear-gradient(180deg, #fff7eb 0%, var(--bg) 42%, #f3eadb 100%);
      line-height: 1.5;
    }
    a { color: inherit; text-decoration: none; }
    button, a { -webkit-tap-highlight-color: transparent; }
    .wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
    .top {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(255,250,242,.84);
      border-bottom: 1px solid rgba(229,216,196,.9);
      backdrop-filter: blur(14px);
    }
    .nav {
      min-height: 72px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 22px;
    }
    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .logo { font-weight: 900; font-size: 18px; letter-spacing: 0; }
    .logo span { color: var(--green-dark); }
    .menu { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
    .menu a { transition: color .2s ease; }
    .menu a:hover { color: var(--green-dark); }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 20px;
      border-radius: 8px;
      background: var(--green-dark);
      color: #fff;
      border: 1px solid var(--green-dark);
      font-weight: 800;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(39,107,88,.22); background: #1e5c4c; }
    .btn.ghost { background: rgba(255,255,255,.55); color: var(--green-dark); }
    .btn.mail {
      background: rgba(255,250,242,.74);
      color: var(--green-dark);
      border-color: var(--line);
    }
    .btn.copied {
      background: var(--red);
      border-color: var(--red);
      color: #fff;
    }
    .hero {
      min-height: calc(100vh - 72px);
      padding: 46px 0 34px;
      display: flex;
      align-items: center;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: .95fr .86fr;
      gap: 42px;
      align-items: center;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #fff;
      background: linear-gradient(135deg, #b94a3b, #8d332b);
      border: 1px solid rgba(141,51,43,.35);
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 14px;
      margin-bottom: 18px;
      animation: fadeUp .55s ease both;
    }
    .badge:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f2c7bd; }
    h1 {
      margin: 0;
      font-size: clamp(38px, 5vw, 62px);
      line-height: 1.03;
      letter-spacing: 0;
      max-width: 680px;
      animation: fadeUp .65s ease both;
    }
    .lead {
      margin: 20px 0 0;
      max-width: 640px;
      font-size: 19px;
      color: var(--muted);
      animation: fadeUp .75s ease both;
    }
    .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .85s ease both; }
    .cta-note {
      margin-top: 12px;
      max-width: 610px;
      color: #725f49;
      font-size: 14px;
      animation: fadeUp .95s ease both;
    }
    .hero-proof {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 26px;
      max-width: 650px;
    }
    .proof {
      position: relative;
      background: rgba(255,255,255,.72);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 14px 14px 14px 38px;
      min-height: 92px;
      animation: popIn .65s ease both;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .proof:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .proof:nth-child(2) { animation-delay: .12s; }
    .proof:nth-child(3) { animation-delay: .24s; }
    .proof:before {
      content: "";
      position: absolute;
      left: 14px;
      top: 18px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 5px rgba(111,155,132,.18);
    }
    .proof.danger:before { background: var(--red); box-shadow: 0 0 0 5px rgba(185,74,59,.15); }
    .proof strong { display: block; color: var(--ink); margin-bottom: 4px; }
    .proof span { color: var(--muted); font-size: 13px; }
    .portrait {
      position: relative;
      min-height: 560px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .portrait:before {
      content: "";
      position: absolute;
      inset: 34px 0 20px 38px;
      background: linear-gradient(135deg, #e3c995, #dfeadf);
      border: 1px solid #d6c49f;
      border-radius: var(--radius);
      transform: rotate(-1.5deg);
    }
    .portrait img {
      position: relative;
      z-index: 1;
      width: min(100%, 500px);
      aspect-ratio: 4 / 5.1;
      object-fit: cover;
      object-position: center;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      animation: photoIn .75s ease both;
    }
    section { padding: 76px 0; }
    .head {
      display: flex;
      justify-content: space-between;
      gap: 40px;
      align-items: end;
      margin-bottom: 30px;
    }
    h2 { margin: 0; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: 0; max-width: 780px; }
    .head p { max-width: 500px; color: var(--muted); margin: 0; font-size: 18px; }
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.visible { opacity: 1; transform: none; }
    .decision-map {
      display: grid;
      grid-template-columns: .92fr 1.08fr;
      gap: 18px;
      align-items: stretch;
    }
    .question-list {
      display: grid;
      gap: 12px;
    }
    .question {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255,255,255,.72);
      padding: 18px;
      text-align: left;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }
    .question:hover, .question.active { transform: translateX(4px); border-color: var(--gold); box-shadow: var(--shadow); }
    .question b { display: block; font-size: 18px; margin-bottom: 4px; }
    .question span { color: var(--muted); }
    .answer-panel {
      background: var(--graphite);
      color: #fff;
      border-radius: var(--radius);
      padding: 28px;
      min-height: 360px;
      position: relative;
      overflow: hidden;
    }
    .answer-panel h3 { margin: 0 0 14px; font-size: 28px; }
    .answer-panel p { color: #d8e1dd; max-width: 620px; }
    .mini-kpi {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 24px;
      position: relative;
      z-index: 1;
    }
    .kpi {
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
      border-radius: var(--radius);
      padding: 14px;
    }
    .kpi strong { display: block; color: #f3d49d; margin-bottom: 6px; }
    .service-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: 16px; }
    .primary-service {
      background: linear-gradient(135deg, #2a3433, #263c36);
      color: #fff;
      border-radius: var(--radius);
      padding: 28px;
      min-height: 330px;
    }
    .primary-service p { color: #d9e4df; }
    .workflow {
      display: grid;
      gap: 10px;
      margin-top: 22px;
    }
    .work-step {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 12px;
      align-items: center;
      padding: 13px 14px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
      border-radius: var(--radius);
      transition: transform .2s ease, background .2s ease;
    }
    .work-step:hover { transform: translateX(4px); background: rgba(255,255,255,.13); }
    .work-step span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: #f3d49d;
      color: #25312f;
      font-weight: 900;
    }
    .work-step b { display: block; color: #fff; margin-bottom: 2px; }
    .work-step small { color: #d9e4df; }
    .service-list { display: grid; gap: 12px; }
    .service-item {
      background: rgba(255,255,255,.78);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .deliverables {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }
    .deliverable {
      background: rgba(255,255,255,.84);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 20px;
      min-height: 180px;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .deliverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .deliverable span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 10px;
      margin-bottom: 16px;
      background: #f2dfb5;
      color: #785822;
      font-weight: 900;
    }
    .deliverable:nth-child(2) span { background: #dcead9; color: #426f53; }
    .deliverable:nth-child(3) span { background: #dbe9ee; color: #436f8b; }
    .deliverable:nth-child(4) span { background: #efd6cc; color: #9a4237; }
    .deliverable b { display: block; font-size: 18px; margin-bottom: 8px; }
    .deliverable p { color: var(--muted); margin: 0; font-size: 14px; }
    .industry-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
    }
    .industry {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
      min-height: 190px;
      position: relative;
      overflow: hidden;
    }
    .industry-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 52px;
      height: 52px;
      border-radius: 12px;
      margin-bottom: 18px;
      background: #f4e5c8;
      color: var(--green-dark);
      border: 1px solid #dfc895;
    }
    .industry-icon svg { width: 34px; height: 34px; stroke-width: 1.8; }
    .industry:nth-child(2) .industry-icon { background: #dcead9; color: #426f53; border-color: #b8d3b3; }
    .industry:nth-child(3) .industry-icon { background: #dbe9ee; color: #436f8b; border-color: #bdd5df; }
    .industry:nth-child(4) .industry-icon { background: #f2dfb5; color: #8b6421; border-color: #dbbd78; }
    .industry:nth-child(5) .industry-icon { background: #efd6cc; color: #9a4237; border-color: #dfb5aa; }
    .industry b { display: block; font-size: 18px; margin-bottom: 8px; }
    .industry p { color: var(--muted); margin: 0; font-size: 14px; }
    .tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
    .tab {
      border: 1px solid var(--line);
      background: #fffaf2;
      color: var(--muted);
      border-radius: 8px;
      padding: 10px 14px;
      cursor: pointer;
      transition: background .2s ease, transform .2s ease;
    }
    .tab:hover { transform: translateY(-2px); }
    .tab.active { background: var(--graphite); color: #fff; border-color: var(--graphite); }
    .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .shot {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      background: #fff;
      padding: 0;
      text-align: left;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .shot:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow); }
    .shot img { width: 100%; height: 150px; object-fit: cover; display: block; }
    .shot span { display: block; padding: 13px; min-height: 70px; font-size: 14px; }
    .case {
      background: linear-gradient(135deg, #2b312e, #695331);
      color: #fff;
      border-radius: var(--radius);
      padding: 34px;
      display: grid;
      grid-template-columns: .9fr .7fr;
      gap: 28px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .case:after {
      content: "реализован";
      position: absolute;
      right: 24px;
      top: 22px;
      color: #fff;
      background: var(--red);
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 13px;
      font-weight: 800;
    }
    .case p { color: #f0e5d3; }
    .case-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
    .case-copy { max-width: 660px; }
    .case-title-scan {
      align-self: stretch;
      background: rgba(255,255,255,.96);
      border: 1px solid rgba(255,255,255,.2);
      border-radius: var(--radius);
      padding: 12px;
      box-shadow: 0 20px 46px rgba(0,0,0,.22);
      transform: rotate(1deg);
      transition: transform .2s ease;
    }
    .case-title-scan:hover { transform: rotate(0deg) translateY(-4px); }
    .case-title-scan img {
      display: block;
      width: 100%;
      max-height: 420px;
      object-fit: contain;
      border-radius: 4px;
      background: #fff;
    }
    .case-title-scan figcaption {
      color: #5b5144;
      font-size: 13px;
      margin-top: 10px;
      text-align: center;
    }
    .price-factors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .factor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--muted); min-height: 112px; }
    .factor b { display: block; color: var(--ink); margin-bottom: 6px; }
    .factor.important { border-color: rgba(185,74,59,.45); box-shadow: inset 0 0 0 1px rgba(185,74,59,.2); }
    .faq details {
      background: rgba(255,255,255,.82);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      margin-bottom: 10px;
      padding: 18px 20px;
      transition: box-shadow .2s ease;
    }
    .faq details[open] { box-shadow: var(--shadow); }
    .faq summary { cursor: pointer; font-weight: 800; }
    .faq p { color: var(--muted); margin-bottom: 0; }
    .section-cta {
      margin-top: 24px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px;
      padding: 18px;
      background: rgba(255,255,255,.78);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }
    .section-cta p { margin: 0; color: var(--muted); flex: 1 1 320px; }
    .final {
      background: var(--graphite);
      color: #fff;
      padding: 70px 0;
    }
    .final p { color: #e1d9cc; }
    .footer {
      background: #17201f;
      color: #cfd8d3;
      border-top: 1px solid rgba(255,255,255,.08);
      padding: 22px 0;
      font-size: 14px;
    }
    .footer-row {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }
    .footer b { color: #fff; }
    .modal {
      position: fixed;
      inset: 0;
      background: rgba(9,15,14,.82);
      z-index: 80;
      display: none;
      place-items: center;
      padding: 20px;
    }
    .modal.open { display: grid; }
    .modal-box { width: min(1080px, 96vw); background: #fff; border-radius: var(--radius); overflow: hidden; animation: modalIn .18s ease both; }
    .modal img { width: 100%; max-height: 76vh; object-fit: contain; background: #111; display: block; }
    .modal-bar { display: grid; grid-template-columns: 52px 1fr 52px 52px; align-items: center; gap: 12px; padding: 12px 14px; }
    .iconbtn {
      width: 52px;
      height: 44px;
      border-radius: 8px;
      border: 1px solid var(--green-dark);
      background: var(--green-dark);
      color: #fff;
      cursor: pointer;
      font-size: 24px;
      font-weight: 900;
      transition: background .2s ease, transform .2s ease;
    }
    .iconbtn.close { background: var(--red); border-color: var(--red); }
    .iconbtn:hover { background: #1e5c4c; transform: translateY(-1px); }
    .iconbtn.close:hover { background: #94382f; }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    @keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
    @keyframes photoIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
    @keyframes modalIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
    @media (max-width: 1080px) {
      .industry-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 980px) {
      .menu { display: none; }
      .hero-grid, .decision-map, .service-layout, .case { grid-template-columns: 1fr; }
      .portrait { min-height: auto; }
      .head { display: block; }
      .head p { margin-top: 14px; }
      .hero-proof, .mini-kpi { grid-template-columns: 1fr; }
      .gallery, .price-factors, .deliverables { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 620px) {
      .wrap { width: min(100% - 22px, 1180px); }
      .nav { gap: 10px; }
      .logo { font-size: 16px; }
      .nav-actions { gap: 6px; }
      .nav-actions .btn { min-height: 40px; padding: 0 10px; font-size: 13px; }
      .hero { padding-top: 34px; }
      .actions .btn { width: 100%; }
      .gallery, .price-factors, .industry-grid, .deliverables { grid-template-columns: 1fr; }
      .portrait:before { display: none; }
      .portrait img { aspect-ratio: 4 / 5; }
      h1 { font-size: clamp(34px, 10vw, 46px); }
    }

