/* Стили лендингов (#1152). Копия блока <style> из company.php — страница
   /reklama должна выглядеть точно так же, как страница для компаний.
   ⚠️ company.php намеренно не трогали: он живой и приносит B2B-трафик.
   При правке дизайна лендинга менять в обоих местах. */


    :root {
      --bg: #ffffff;
      --text: #0b0f19;
      --muted: #5b6476;
      --surface-1: #ffffff;
      --surface-2: #f6f7fb;
      --surface-3: #eef1f7;
      --border: #e6e8ee;
      --shadow: 0 12px 40px rgba(11,15,25,.08);
      --primary: #0b0f19;
      --primaryText: #ffffff;
      --accent: #1f6feb;
      --radius: 18px;
      --radiusSm: 14px;
      --max: 1340px;
      color-scheme: light;
    }
    html[data-theme="dark"] {
      --bg: #070a12;
      --text: #b8c2dc;
      --muted: #8a94a8;
      --surface-1: #0c1020;
      --surface-2: #0a0e1b;
      --surface-3: #10162a;
      --border: rgba(237,241,255,.12);
      --shadow: 0 16px 50px rgba(0,0,0,.45);
      --primary: #b8c2dc;
      --primaryText: #070a12;
      --accent: #7aa7ff;
      color-scheme: dark;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html:focus-within { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
      color: var(--text);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      letter-spacing: -0.01em;
      overflow-x: hidden;
      overflow-wrap: break-word;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    .container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

    /* -- Header -- */
    header {
      position: sticky; top: 0;
      background: rgba(255,255,255,.86);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(230,232,238,.7);
      z-index: 10;
    }
    html[data-theme="dark"] header {
      background: rgba(7,10,18,.72);
      border-bottom: 1px solid var(--border);
    }
    .nav {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 0; gap: 14px;
    }
    .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
    .brand .logoImg { height: 64px; width: auto; display: block; }
    .navLinks { display: flex; gap: 4px; color: var(--muted); font-weight: 600; font-size: 14px; }
    .navLinks a { padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
    .navLinks a:hover { background: var(--surface-2); color: var(--text); }
    .navCtas { display: flex; gap: 10px; align-items: center; }

    /* -- Buttons -- */
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 10px 14px; border-radius: 12px;
      font-weight: 700; font-size: 14px;
      border: 1px solid transparent;
      transition: transform .06s ease, background .2s ease, border-color .2s ease;
      white-space: nowrap; cursor: pointer;
    }
    .btn:active { transform: translateY(1px); }
    .btnPrimary { background: var(--primary); color: var(--primaryText); }
    .btnPrimary:hover { opacity: .9; }
    .btnGhost { background: transparent; border-color: var(--border); color: var(--text); }
    .btnGhost:hover { background: var(--surface-2); }
    .btnMAX { background: #0070e0; color: #fff; border-color: transparent; }
    .btnMAX:hover { background: #005fcc; }
    .btnTg { background: #0b0f19; color: #fff; border-color: transparent; }
    .btnTg:hover { background: #1e2538; }
    html[data-theme="dark"] .btnTg { background: #2a3654; color: #e8edf5; }
    .btnLink { background: transparent; color: var(--accent); padding: 10px; }
    .btnLink:hover { background: rgba(31,111,235,.10); }
    html[data-theme="dark"] .btnLink:hover { background: rgba(122,167,255,.14); }

    /* -- Theme toggle -- */
    .themeToggle {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 10px 12px; border-radius: 12px;
      border: 1px solid var(--border); background: var(--surface-1);
      color: var(--text); font-weight: 900; font-size: 14px;
      cursor: pointer; transition: background .2s ease, transform .06s ease;
    }
    .themeToggle:hover { background: var(--surface-2); }
    .themeToggle:active { transform: translateY(1px); }
    .themeIcon { width: 18px; display: inline-flex; justify-content: center; }
    @media (max-width: 520px) { .themeText { display: none; } }

    /* -- Typography -- */
    h1 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -0.04em; }
    h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.03em; }
    h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.01em; color: var(--text); }
    p  { margin: 0; color: var(--muted); line-height: 1.55; }
    .lead { font-size: 16px; margin-top: 14px; color: var(--muted); line-height: 1.6; max-width: 54ch; }

    /* -- Sections -- */
    section { padding: 52px 0; }
    .altBg { background: var(--surface-2); position: relative; }
    .altBg::before {
      content: ''; position: absolute; inset: 0;
      background-image:
        radial-gradient(circle at 20% 50%, rgba(31,111,235,.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 0%,  rgba(31,111,235,.03) 0%, transparent 40%);
      pointer-events: none;
    }
    .sectionLabel {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 10px; border-radius: 999px;
      border: 1px solid var(--border); background: var(--surface-1);
      font-size: 11px; font-weight: 800; color: var(--muted);
      letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px;
    }
    .sectionLabelDot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

    /* -- Grids -- */
    .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

    /* -- Cards -- */
    .card {
      background: var(--surface-1);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 22px;
      display: flex; flex-direction: column;
    }
    .card p { font-size: 14px; }

    /* -- Compare 1C / CRM -- */
    .compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
    .compareCol {
      background: var(--surface-1); border: 1.5px solid var(--border);
      border-radius: var(--radius); padding: 22px;
    }
    .compareCol.accent {
      border-color: rgba(31,111,235,.32);
      background: linear-gradient(180deg, rgba(31,111,235,.06), transparent 70%);
    }
    .compareTag {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
      color: var(--muted); margin-bottom: 4px;
    }
    .compareCol h3 { font-size: 16px; margin-bottom: 12px; }
    @media (max-width: 768px) { .compare { grid-template-columns: 1fr; } }

    /* -- Seafarer app block -- */
    .appGrid { display: grid; grid-template-columns: 1fr .85fr; gap: 32px; align-items: center; }
    .channelsTitle { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
    .channels { display: flex; flex-direction: column; gap: 10px; }
    .channel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-1); border: 1.5px solid var(--border); }
    .channelIcon {
      width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
      display: flex; align-items: center; justify-content: center;
      font-size: 17px; font-weight: 900; color: var(--accent);
      background: linear-gradient(135deg, rgba(31,111,235,.16), rgba(31,111,235,.04));
      border: 1.5px solid rgba(31,111,235,.22);
    }
    .channel b { display: block; font-size: 14px; color: var(--text); }
    .channel small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }

    .phone { width: 100%; max-width: 300px; margin: 0 auto; background: var(--primary); border-radius: 34px; padding: 10px; box-shadow: var(--shadow); }
    html[data-theme="dark"] .phone { background: var(--surface-3); border: 1px solid var(--border); }
    .phoneScreen { background: #0b0f19; border-radius: 26px; overflow: hidden; }
    .appBar { padding: 14px 16px 10px; }
    .appBar b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: #fff; }
    .appBar small { font-size: 11px; color: rgba(255,255,255,.5); }
    .appTabs { display: flex; gap: 6px; padding: 0 12px 12px; }
    .appTab { font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
    .appTab--on { background: var(--accent); color: #fff; }
    .appBody { padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #0e1424; }
    .appVac { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px; }
    .appVacTop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
    .appVacTop b { color: #fff; font-size: 13px; }
    .appTag { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
    .appVacRow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
    .appSalary { color: #4ade80; font-weight: 800; font-size: 13px; }
    .appWhen { color: rgba(255,255,255,.5); font-size: 11px; }
    .appBtn { text-align: center; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 9px; border-radius: 11px; }
    .appChat { display: flex; flex-direction: column; gap: 6px; }
    .appMsg { font-size: 11.5px; line-height: 1.35; padding: 8px 10px; border-radius: 12px; max-width: 86%; }
    .appMsg--in { background: rgba(255,255,255,.08); color: #e8edf5; border-bottom-left-radius: 4px; align-self: flex-start; }
    .appMsg--out { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
    @media (max-width: 860px) { .appGrid { grid-template-columns: 1fr; gap: 22px; } .phone { max-width: 280px; } }

    /* -- Hero -- */
    .hero { padding: 50px 0 40px; position: relative; overflow: hidden; }
    .hero::before {
      content: ''; position: absolute; inset: 0;
      background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
      background-size: 26px 26px;
      opacity: .5; pointer-events: none;
    }
    .heroBlob {
      position: absolute; width: 500px; height: 500px; border-radius: 50%;
      background: radial-gradient(circle, rgba(31,111,235,.11) 0%, rgba(31,111,235,0) 70%);
      top: -120px; right: -80px; pointer-events: none;
    }
    .heroGrid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 32px;
      align-items: start;
      position: relative;
    }
    .heroCtas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; align-items: center; }
    .heroHint { font-size: 13px; color: var(--muted); line-height: 1.4; }

    /* -- Рабочий телефон для компаний -- */
    .cphIc { width: 16px; height: 16px; flex: none; }
    .navPhone { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 12px; color: var(--text); font-weight: 800; font-size: 14px; white-space: nowrap; }
    .navPhone:hover { background: var(--surface-2); }
    .navPhone .cphIc { color: var(--accent); }
    /* Полный номер влезает в шапку, только пока пункты меню скрыты (901–1200px);
       иначе «МОРСКОЙ СЕРВИС» переносится на две строки */
    @media (min-width: 1201px), (max-width: 900px) { .navPhone span { display: none; } }
    .heroPhone { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
    .heroPhone a { color: var(--text); font-weight: 800; white-space: nowrap; }
    .heroPhoneNum { white-space: nowrap; } /* «·» держится за номером, иначе при переносе строка начинается с точки */
    .heroPhone a:hover { color: var(--accent); }
    .heroPhone .cphIc { color: var(--accent); }

    /* -- Badge -- */
    .badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 12px; border-radius: 999px;
      border: 1px solid var(--border); background: var(--surface-1);
      font-size: 12px; font-weight: 800; color: var(--text);
      margin-bottom: 16px;
    }
    .badgeDot {
      width: 8px; height: 8px; border-radius: 999px; background: var(--accent);
      animation: pulseDot 2.4s ease-in-out infinite;
    }
    @keyframes pulseDot {
      0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(31,111,235,.5); }
      50%     { opacity:.8; box-shadow: 0 0 0 5px rgba(31,111,235,0); }
    }
    html[data-theme="dark"] .badgeDot { animation-name: pulseDotDark; }
    @keyframes pulseDotDark {
      0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(122,167,255,.5); }
      50%     { opacity:.8; box-shadow: 0 0 0 5px rgba(122,167,255,0); }
    }

    /* -- Trust list -- */
    .trustList { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
    .trustList li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 14px; color: var(--muted); font-weight: 600;
    }
    .tick {
      width: 22px; height: 22px; border-radius: 8px; flex: 0 0 auto;
      background: linear-gradient(135deg, rgba(31,111,235,.16), rgba(31,111,235,.04));
      border: 1.5px solid rgba(31,111,235,.25);
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-size: 11px; font-weight: 900;
    }

    /* -- Mockup dashboard -- */
    .dashboard {
      background: var(--surface-1);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .dashboard__head {
      padding: 14px 16px 12px;
      background: var(--primary); color: var(--primaryText);
    }
    html[data-theme="dark"] .dashboard__head {
      background: var(--surface-3);
      color: var(--text);
      border-bottom: 1px solid var(--border);
    }
    .dashboard__headTitle {
      font-weight: 800; font-size: 14px;
      display: flex; justify-content: space-between; align-items: center;
    }
    .dashboard__headSub { font-size: 12px; opacity: .7; font-weight: 600; }
    .dashboard__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
    .dashboard__card {
      background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px;
    }
    .dashboard__card h4 {
      font-size: 11px; font-weight: 800; color: var(--muted);
      text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px;
    }
    .candidate {
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
      padding: 8px 10px; border-radius: 10px;
      background: var(--surface-1); border: 1px solid var(--border);
      font-size: 12px; font-weight: 700; color: var(--text);
    }
    .candidate + .candidate { margin-top: 6px; }
    .matchBadge {
      padding: 3px 8px; border-radius: 999px;
      font-size: 11px; font-weight: 800; white-space: nowrap;
    }
    .matchBadge--high { background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.22); color: #15803d; }
    html[data-theme="dark"] .matchBadge--high { color: #4ade80; }
    .matchBadge--med { background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.24); color: #b45309; }
    html[data-theme="dark"] .matchBadge--med { color: #fbbf24; }
    .matchBadge--low { background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.22); color: #dc2626; }
    html[data-theme="dark"] .matchBadge--low { color: #f87171; }
    .matchBadge--idle { background: var(--surface-1); border: 1px solid var(--border); color: var(--muted); }
    .statRow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
    .statBox {
      padding: 8px 10px; border-radius: 10px;
      background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15);
      font-size: 12px; color: rgba(255,255,255,.9);
    }
    html[data-theme="dark"] .statBox {
      background: rgba(255,255,255,.06); border-color: var(--border); color: var(--muted);
    }
    .statBox strong {
      display: block; margin-bottom: 2px; opacity: .65;
      font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    }

    /* -- List -- */
    .list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
    .list li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
    .list li::before { content: '\2014'; color: var(--accent); font-weight: 900; flex-shrink: 0; margin-top: 1px; }
    .list li strong { color: var(--text); }
    .emph {
      margin-top: 16px; padding: 14px 16px;
      background: var(--surface-2); border: 1px solid var(--border);
      border-left: 3px solid var(--accent);
      border-radius: 12px; color: var(--text); font-weight: 600; font-size: 14px;
    }

    /* -- Steps -- */
    .step {
      background: var(--surface-1); border: 1.5px solid var(--border);
      border-radius: var(--radius); padding: 20px;
      display: flex; flex-direction: column; gap: 8px;
      position: relative; overflow: hidden;
    }
    .step::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(31,111,235,.05) 0%, transparent 55%);
      pointer-events: none;
    }
    .step__num {
      width: 34px; height: 34px; border-radius: 11px;
      background: linear-gradient(135deg, rgba(31,111,235,.16), rgba(31,111,235,.04));
      border: 1.5px solid rgba(31,111,235,.25);
      display: flex; align-items: center; justify-content: center;
      font-weight: 900; color: var(--accent); font-size: 14px;
      position: relative;
    }
    .step h3 { font-size: 15px; position: relative; }
    .step p  { font-size: 13px; position: relative; }

    /* -- FAQ -- */
    details {
      background: var(--surface-1); border: 1.5px solid var(--border);
      border-radius: 14px; padding: 16px;
    }
    details + details { margin-top: 10px; }
    summary {
      cursor: pointer; font-weight: 700; color: var(--text);
      list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: '+'; color: var(--accent); font-weight: 900; font-size: 18px; flex-shrink: 0; }
    details[open] summary::after { content: '\2212'; }
    .faqAnswer {
      margin-top: 12px; padding-top: 12px;
      border-top: 1px solid var(--border);
      font-size: 14px; color: var(--muted); line-height: 1.6;
    }

    /* -- Final CTA -- */
    .finalCta {
      background: var(--primary); color: var(--primaryText);
      border-radius: var(--radius); padding: 44px 40px;
      text-align: center; position: relative; overflow: hidden;
    }
    .finalCta::before {
      content: ''; position: absolute; inset: 0;
      background:
        radial-gradient(circle at 15% 20%, rgba(31,111,235,.38) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(31,111,235,.24) 0%, transparent 50%);
      pointer-events: none;
    }
    .finalCta h2 { position: relative; color: var(--primaryText); margin-bottom: 12px; font-size: clamp(20px, 2.5vw, 28px); }
    .finalCta > p { position: relative; color: rgba(255,255,255,.72); max-width: 58ch; margin: 0 auto 24px; }
    html[data-theme="dark"] .finalCta > p { color: rgba(11,15,25,.65); }
    .finalCtas { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .btnWhite {
      display: inline-flex; align-items: center; justify-content: center;
      background: #fff; color: #0b0f19;
      padding: 11px 20px; border-radius: 12px; border: none;
      font-weight: 700; font-size: 14px; cursor: pointer;
      transition: opacity .15s ease;
    }
    .btnWhite:hover { opacity: .9; }
    html[data-theme="dark"] .btnWhite { background: rgba(11,15,25,.9); color: #e8edf5; }
    .btnLight {
      display: inline-flex; align-items: center; justify-content: center;
      background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
      color: #fff; padding: 11px 20px; border-radius: 12px;
      font-weight: 700; font-size: 14px; cursor: pointer;
      transition: background .15s ease;
    }
    .btnLight:hover { background: rgba(255,255,255,.18); }
    html[data-theme="dark"] .btnLight { background: rgba(11,15,25,.2); border-color: rgba(11,15,25,.3); color: var(--primaryText); }
    .finalNote { position: relative; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.5); }
    html[data-theme="dark"] .finalNote { color: rgba(11,15,25,.45); }
    .finalPhone { position: relative; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.72); }
    .finalPhone a { color: var(--primaryText); font-weight: 800; white-space: nowrap; }
    .finalPhone a:hover { text-decoration: underline; }
    html[data-theme="dark"] .finalPhone { color: rgba(11,15,25,.65); }

    /* -- Footer -- */
    footer { padding: 60px 0 70px; border-top: 1px solid var(--border); background: var(--bg); }
    .footerGrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
    .footerColTitle { font-weight: 700; margin-bottom: 10px; font-size: 13px; color: var(--text); }
    .footerLinks { display: flex; flex-direction: column; gap: 8px; }
    .footerLinks a { color: var(--muted); font-size: 13px; transition: color .15s ease; }
    .footerLinks a:hover { color: var(--text); }
    .fine { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; }

    /* -- Mobile CTA -- */
    .mobileCta {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
      background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
      border-top: 1px solid var(--border); padding: 10px 20px;
      display: none;
    }
    html[data-theme="dark"] .mobileCta { background: rgba(7,10,18,.9); }
    .mobileCtaInner {
      display: flex; gap: 10px; align-items: center;
      max-width: var(--max); margin: 0 auto;
    }
    .mobileCtaInner .btn { flex: 1; justify-content: center; padding: 12px 14px; border-radius: 14px; }
    .mobileCtaInner .btn.btnCall { flex: 0 0 auto; color: var(--accent); }
    .mobileCtaInner .btnCall .cphIc { width: 20px; height: 20px; }
    /* Три кнопки не влезают в ширину телефона: при кнопке звонка прячем «Кадры и смены» */
    @media (max-width: 480px) { .mobileCtaInner .btnCall + .btn { display: none; } }

    /* -- Screenshots (#shots) + lightbox -- */
    .shotGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
    .shot {
      margin: 0; background: var(--surface-1);
      border: 1.5px solid var(--border); border-radius: var(--radius);
      overflow: hidden; cursor: zoom-in;
      transition: border-color .2s ease;
    }
    .shot:hover { border-color: var(--accent); }
    .shot img { display: block; width: 100%; height: auto; }
    .shot figcaption { padding: 13px 18px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); line-height: 1.45; }
    .shot figcaption b { display: block; color: var(--text); font-size: 14px; margin-bottom: 3px; }
    .lightbox {
      position: fixed; inset: 0; z-index: 100; display: none;
      align-items: center; justify-content: center; flex-direction: column; gap: 12px;
      padding: 28px; background: rgba(7,10,18,.88); cursor: zoom-out;
    }
    .lightbox.open { display: flex; }
    .lightbox img { max-width: 100%; max-height: calc(100% - 40px); border-radius: 12px; box-shadow: 0 12px 48px rgba(0,0,0,.55); }
    .lightbox .lbCap { color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
    @media (max-width: 768px) { .shotGrid { grid-template-columns: 1fr; } }

    /* -- Visible in-text links to detail pages -- */
    .moreLinks { margin-top: 20px; display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; }
    .moreLink { color: var(--accent); font-weight: 700; font-size: 14px; }
    .moreLink:hover { text-decoration: underline; }
    #details .card h3 a { color: var(--accent); }
    #details .card h3 a:hover { text-decoration: underline; }

    /* -- Responsive -- */
    @media (max-width: 1380px) {
      .navLinks { gap: 2px; }
      .navLinks a { padding: 8px 7px; font-size: 13px; }
    }
    @media (max-width: 1200px) {
      .navLinks { display: none; }
    }
    @media (max-width: 980px) {
      .navLinks { display: none; }
      .heroGrid { grid-template-columns: 1fr; }
      .heroBlob { display: none; }
      .grid3 { grid-template-columns: repeat(2, 1fr); }
      .grid4 { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      section { padding: 36px 0; }
      .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
      .footerGrid { grid-template-columns: 1fr; gap: 16px; }
      .finalCta { padding: 30px 20px; }
      .mobileCta { display: block; }
      footer,.sf { padding-bottom: 100px; }
      /* Nav compact */
      .brand .logoImg { height: 48px; }
      .brand span { font-size: 14px; }
      .navCtas { gap: 8px; }
      .navCtas .btn { padding: 8px 12px; font-size: 13px; }
      .navPhone { display: none; } /* на телефоне звонок — кнопкой в нижней панели */
      .themeToggle { padding: 8px 10px; }
    }
    @media (max-width: 420px) {
      .brand span { font-size: 13px; }
      /* #1201: четыре кнопки не влезали в 360px и уносили страницу вбок на 13px.
         Ужимаем, а не прячем: язык и мессенджеры нужны и на телефоне. */
      .navCtas { gap: 6px; }
      .navCtas .btn { padding: 7px 9px; font-size: 12.5px; }
      .themeToggle { padding: 7px 8px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .btn, .btnWhite, .btnLight { transition: none; }
    }
  