/* 108Букетов — стили лендинга */

:root{
    --ink:#1B1726;
    --ink-2:#241E33;
    --ink-3:#171320;
    --paper:#FBF7F1;
    --paper-2:#F1E7DD;
    --paper-3:#EADFD3;
    --rose:#C23652;
    --rose-deep:#9C2740;
    --sage:#6E7F5C;
    --sage-deep:#566448;
    --gold:#C08A34;
    --text-ink:#241E33;
    --text-ink-muted:#6E6578;
    --text-paper:#F6EFE8;
    --text-paper-muted:#B7AEC2;
    --line-ink:#DED2C2;
    --line-paper:#3A3348;
    --radius-s:6px;
    --radius-m:14px;
    --shadow-card:0 18px 40px -22px rgba(27,23,38,0.35);
  }

  *{box-sizing:border-box;}
  body{
    background:var(--paper);
    color:var(--text-ink);
    font-family:"Golos Text", "PT Sans", Arial, sans-serif;
    -webkit-font-smoothing:antialiased;
    margin:0;
  }
  img{max-width:100%;display:block;}
  a{color:inherit;}
  h1,h2,h3{
    font-family:"Unbounded","Golos Text",Arial,sans-serif;
    font-weight:700;
    line-height:1.08;
    text-wrap:balance;
    margin:0;
  }
  p{margin:0;}
  .container{
    max-width:1180px;
    margin-inline:auto;
    padding-inline:24px;
  }
  @media (min-width:900px){ .container{ padding-inline:48px; } }

  .eyebrow{
    font-family:"Golos Text",sans-serif;
    font-weight:700;
    font-size:12.5px;
    letter-spacing:.14em;
    text-transform:uppercase;
  }
  .on-paper .eyebrow{ color:var(--rose); }
  .on-ink .eyebrow{ color:var(--gold); }

  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 26px;
    border-radius:999px;
    font-family:"Golos Text",sans-serif;
    font-weight:700;
    font-size:15.5px;
    text-decoration:none;
    border:1.5px solid transparent;
    cursor:pointer;
    white-space:nowrap;
  }
  .btn-primary{ background:var(--rose); color:#FFF6F2; }
  .btn-primary:hover{ background:var(--rose-deep); }
  .btn-ghost-paper{ border-color:var(--text-ink); color:var(--text-ink); background:transparent; }
  .btn-ghost-paper:hover{ background:var(--text-ink); color:var(--paper); }
  .btn-ghost-ink{ border-color:rgba(246,239,232,.5); color:var(--text-paper); background:transparent; }
  .btn-ghost-ink:hover{ border-color:var(--text-paper); background:rgba(246,239,232,.08); }
  .btn-sm{ padding:10px 18px; font-size:14px; }
  .btn svg{ width:18px; height:18px; flex:none; }
  .btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible{
    outline:3px solid var(--rose); outline-offset:2px;
  }

  /* ---------- scalloped divider (florist wrap-paper edge) ---------- */
  .scallop{ height:26px; width:100%; }
  .scallop.to-ink{ background: radial-gradient(circle at 13px 0, transparent 13px, var(--ink) 13.5px) top/26px 30px repeat-x, var(--paper); }
  .scallop.to-paper{ background: radial-gradient(circle at 13px 26px, transparent 13px, var(--paper) 13.5px) bottom/26px 30px repeat-x, var(--ink); }
  .scallop.to-blush{ background: radial-gradient(circle at 13px 0, transparent 13px, var(--paper-2) 13.5px) top/26px 30px repeat-x, var(--paper); }

  /* ---------- header ---------- */
  header{
    position:sticky; top:env(safe-area-inset-top,0px);
    z-index:40;
    background:rgba(251,247,241,.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-ink);
  }
  .header-row{
    display:flex; align-items:center; justify-content:space-between;
    gap:20px; padding-block:14px;
  }
  .logo{ display:flex; align-items:center; gap:10px; text-decoration:none; }
  .logo-mark{ width:34px; height:34px; flex:none; }
  .logo-word{ font-family:"Unbounded",sans-serif; font-weight:800; font-size:17px; letter-spacing:.01em; color:var(--text-ink); }
  .logo-word span{ color:var(--rose); }
  nav.primary-nav{ display:flex; align-items:center; gap:28px; }
  nav.primary-nav a{ font-size:14.5px; font-weight:600; text-decoration:none; color:var(--text-ink-muted); }
  nav.primary-nav a:hover{ color:var(--text-ink); }
  .header-actions{ display:flex; align-items:center; gap:10px; }
  .icon-btn{
    width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    border:1.5px solid var(--line-ink); text-decoration:none; flex:none;
  }
  .icon-btn svg{ width:19px; height:19px; }
  .icon-btn.wa{ color:#3FA25A; border-color:#3FA25A44; }
  .icon-btn.tg{ color:#3B93D6; border-color:#3B93D644; }
  .icon-btn.max{ color:#7C5CFC; border-color:#7C5CFC44; }
  @media (max-width:860px){ nav.primary-nav{ display:none; } }
  @media (max-width:560px){ .icon-btn{ display:none; } }

  /* ---------- section shells ---------- */
  section{ padding-block:64px; }
  .on-ink{ background:var(--ink); color:var(--text-paper); }
  .on-paper{ background:var(--paper); color:var(--text-ink); }
  .on-blush{ background:var(--paper-2); color:var(--text-ink); }
  .section-head{ max-width:640px; margin-bottom:40px; }
  .section-head h2{ font-size:clamp(28px,4vw,38px); margin-top:10px; }
  .section-head p{ margin-top:14px; font-size:16.5px; line-height:1.55; }
  .on-ink .section-head p{ color:var(--text-paper-muted); }
  .on-paper .section-head p, .on-blush .section-head p{ color:var(--text-ink-muted); }

  /* ---------- hero ---------- */
  .hero{ padding-block:56px 48px; }
  .hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
  @media (max-width:940px){ .hero-grid{ grid-template-columns:1fr; } }
  .hero h1{ font-size:clamp(34px,5.4vw,58px); margin-top:14px; letter-spacing:-.01em; }
  .hero h1 em{ font-style:normal; color:var(--rose); }
  .hero p.lede{ margin-top:20px; font-size:18px; line-height:1.6; color:var(--text-ink-muted); max-width:52ch; }
  .hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; align-items:center; }
  .hero-meta{ margin-top:18px; font-size:13.5px; color:var(--text-ink-muted); display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
  .hero-meta .dot{ width:6px; height:6px; border-radius:50%; background:var(--sage); flex:none; }

  .hero-art{ position:relative; }
  .catalog-grid-preview{
    background:var(--ink); border-radius:20px; padding:16px;
    box-shadow:var(--shadow-card);
    display:grid; grid-template-columns:repeat(3,1fr); gap:10px;
    transform:rotate(1.2deg);
  }
  .preview-tile{
    aspect-ratio:3/4; border-radius:10px; position:relative; overflow:hidden;
    display:flex; align-items:flex-end; padding:9px;
    background-size:cover; background-position:center;
  }
  .preview-tile::before{
    content:""; position:absolute; inset:0;
    background:linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55) 100%);
  }
  .preview-tile span{ position:relative; font-size:10.5px; font-weight:700; color:rgba(255,255,255,.92); text-shadow:0 1px 3px rgba(0,0,0,.35); }
  .hero-badge{
    position:absolute; right:-14px; bottom:-22px; background:var(--paper);
    border:1.5px solid var(--line-ink); border-radius:16px; padding:14px 18px;
    box-shadow:var(--shadow-card); display:flex; gap:14px; align-items:center;
  }
  @media (max-width:560px){ .hero-badge{ position:static; margin-top:16px; } }
  .hero-badge b{ display:block; font-family:"Unbounded",sans-serif; font-size:20px; }
  .hero-badge small{ font-size:11.5px; color:var(--text-ink-muted); }

  /* ---------- stat ribbon ---------- */
  .stat-ribbon{ padding-block:44px; }
  .stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
  @media (max-width:820px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }
  .stat b{
    font-family:"Unbounded",sans-serif; font-size:clamp(32px,4.2vw,44px);
    color:var(--gold); font-variant-numeric:tabular-nums; display:block;
  }
  .stat p{ margin-top:8px; font-size:14px; color:var(--text-paper-muted); line-height:1.45; max-width:22ch; }

  /* ---------- catalogs ---------- */
  .catalog-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  @media (max-width:980px){ .catalog-cards{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .catalog-cards{ grid-template-columns:1fr; } }
  .cat-card{
    border-radius:var(--radius-m); overflow:hidden; display:flex; flex-direction:column;
    box-shadow:var(--shadow-card);
  }
  .cat-cover{ aspect-ratio:1/1; position:relative; overflow:hidden; display:flex; align-items:flex-end; background-size:cover; background-position:center; }
  .cat-cover::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45) 100%); }
  .cat-cover .tag{
    position:relative; z-index:2; margin:14px; font-size:11px; font-weight:700; letter-spacing:.06em;
    text-transform:uppercase; padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.85); color:var(--ink);
  }

  /* Бегущая лента фото в обложке. В треке два одинаковых набора фото подряд, анимация
     сдвигает его ровно на один набор (половина ширины + половина зазора) — шва не видно.
     Едет, только пока карточка на экране (класс is-running ставит site.js), на наведении замирает. */
  .cat-strip{ position:absolute; inset:0; overflow:hidden; }
  .cat-strip-track{
    display:flex; gap:4px; height:100%; width:max-content;
    animation:cat-strip var(--strip-time, 60s) linear infinite paused;
  }
  .cat-strip.is-running .cat-strip-track{ animation-play-state:running; }
  @media (hover:hover){ .cat-card:hover .cat-strip-track{ animation-play-state:paused; } }
  .cat-strip img{ flex:none; height:100%; width:auto; aspect-ratio:3/4; object-fit:cover; }
  @keyframes cat-strip{ to{ transform:translateX(calc(-50% - 2px)); } }
  @media (prefers-reduced-motion:reduce){ .cat-strip-track{ animation:none; } }
  .cat-body{ padding:20px; flex:1; display:flex; flex-direction:column; gap:12px; }
  .cat-body h3{ font-size:19px; }
  .cat-body .price{ font-family:"Unbounded",sans-serif; font-size:22px; color:var(--rose); }
  .cat-body .spec{ font-size:13.5px; color:var(--text-ink-muted); }
  .cat-body .cat-ctas{ margin-top:auto; display:flex; flex-direction:column; gap:8px; }
  .cat-body .cat-ctas .btn{ width:100%; justify-content:center; text-align:center; }

  .barbie{ background:#F4D3DA; } .barbie .tag{ color:#9C2740; }
  .oblako{ background:#E7EFF1; } .oblako .tag{ color:#3E5C68; }
  .temnaya{ background:#151222; } .temnaya .tag{ background:rgba(255,255,255,.14); color:#F0DDA8; }
  .shokolad{ background:#4A342A; } .shokolad .tag{ background:rgba(255,255,255,.16); color:#F0DDA8; }
  .temnaya .cat-body h3, .shokolad .cat-body h3{ color:var(--text-paper); }
  .temnaya .cat-body .spec, .shokolad .cat-body .spec{ color:var(--text-paper-muted); }
  .temnaya .cat-ctas .btn-ghost-paper, .shokolad .cat-ctas .btn-ghost-paper{
    border-color:rgba(246,239,232,.5); color:var(--text-paper);
  }
  .temnaya .cat-ctas .btn-ghost-paper:hover, .shokolad .cat-ctas .btn-ghost-paper:hover{
    background:rgba(246,239,232,.1); color:var(--text-paper);
  }

  /* ---------- compare table ---------- */
  .compare{ display:grid; grid-template-columns:1fr 1fr; gap:0; border:1.5px solid var(--line-ink); border-radius:var(--radius-m); overflow:hidden; }
  @media (max-width:760px){ .compare{ grid-template-columns:1fr; } }
  .compare > div{ padding:30px; }
  .compare .bad{ background:var(--paper); }
  .compare .good{ background:var(--ink); color:var(--text-paper); }
  .compare h4{ font-family:"Unbounded",sans-serif; font-size:17px; margin-bottom:16px; }
  .compare ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
  .compare li{ font-size:14.5px; line-height:1.5; display:flex; gap:10px; }
  .compare .bad li{ color:var(--text-ink-muted); }
  .compare .good li{ color:var(--text-paper-muted); }
  .compare li svg{ width:17px; height:17px; flex:none; margin-top:2px; }
  .compare .bad svg{ color:#B8534F; }
  .compare .good svg{ color:var(--sage); }

  /* ---------- case studies: см. блок «Результаты клиентов» в конце файла ---------- */

  /* ---------- city checker ---------- */
  .checker{ background:var(--paper); border:1.5px solid var(--line-ink); border-radius:var(--radius-m); padding:32px; box-shadow:var(--shadow-card); }
  .checker-intro{ font-size:14.5px; color:var(--text-ink-muted); margin-bottom:18px; }
  .cat-buttons{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
  @media (min-width:520px){ .cat-buttons{ grid-template-columns:repeat(4,1fr); } }
  .cat-btn{
    font-family:"Golos Text",sans-serif; font-weight:700; font-size:14.5px;
    padding:16px 14px; border-radius:var(--radius-s); border:1.5px solid var(--line-ink);
    background:#fff; color:var(--text-ink); cursor:pointer; text-align:left;
    display:flex; flex-direction:column; gap:6px;
  }
  .cat-btn:hover{ border-color:var(--text-ink); }
  .cat-btn small{ font-weight:600; font-size:12px; color:var(--text-ink-muted); }
  .checker-note{ margin-top:20px; font-size:12.5px; color:var(--text-ink-muted); }

  /* ---------- city modal ---------- */
  .modal-overlay{
    position:fixed; inset:0; background:rgba(23,19,32,.55); backdrop-filter:blur(2px);
    display:flex; align-items:center; justify-content:center; padding:24px; z-index:100;
  }
  .modal-overlay[hidden]{ display:none; }
  .modal-card{
    background:#fff; border-radius:var(--radius-m); padding:28px; max-width:440px; width:100%;
    max-height:80vh; overflow-y:auto; box-shadow:var(--shadow-card); position:relative;
  }
  .modal-close{
    position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%;
    border:1.5px solid var(--line-ink); background:#fff; display:flex; align-items:center; justify-content:center;
    cursor:pointer; color:var(--text-ink-muted); flex:none;
  }
  .modal-close:hover{ color:var(--text-ink); border-color:var(--text-ink); }
  .modal-close svg{ width:16px; height:16px; }
  .modal-card h4{ font-family:"Unbounded",sans-serif; font-size:18px; padding-right:36px; }
  .modal-sub{ margin-top:6px; font-size:13.5px; color:var(--text-ink-muted); }
  .taken-list{ list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:2px; }
  .taken-list li{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:13px 2px; border-bottom:1px solid var(--line-ink);
  }
  .taken-list li:last-child{ border-bottom:none; }
  .taken-list .city{ font-size:15px; font-weight:700; color:var(--text-ink); }
  .taken-list a{
    font-size:13.5px; font-weight:600; color:var(--rose-deep); text-decoration:none;
    display:inline-flex; align-items:center; gap:5px; white-space:nowrap;
  }
  .taken-list a:hover{ text-decoration:underline; }
  .taken-list a svg{ width:13px; height:13px; }
  .taken-empty{ margin-top:16px; font-size:14.5px; color:var(--sage-deep); font-weight:600; }

  /* ---------- pricing ---------- */
  .plans{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch; }
  @media (max-width:900px){ .plans{ grid-template-columns:1fr; } }
  .plan{ background:#fff; border:1.5px solid var(--line-ink); border-radius:var(--radius-m); padding:28px; display:flex; flex-direction:column; gap:16px; }
  .plan.featured{ border-color:var(--rose); box-shadow:0 0 0 3px rgba(194,54,82,.12), var(--shadow-card); position:relative; }
  .plan.featured::before{
    content:"Чаще всего берут"; position:absolute; top:-13px; left:24px; background:var(--rose); color:#fff;
    font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:5px 12px; border-radius:999px;
  }
  .plan h3{ font-size:18px; }
  .plan .price{ font-family:"Unbounded",sans-serif; font-size:26px; color:var(--text-ink); }
  .plan .price small{ display:block; font-family:"Golos Text",sans-serif; font-weight:600; font-size:12.5px; color:var(--text-ink-muted); margin-top:4px; }
  .plan ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; flex:1; }
  .plan li{ font-size:14px; line-height:1.45; display:flex; gap:9px; color:var(--text-ink-muted); }
  .plan li svg{ width:16px; height:16px; flex:none; margin-top:2px; color:var(--sage); }

  /* ---------- final CTA ---------- */
  .final-cta{ text-align:center; }
  .final-cta h2{ font-size:clamp(28px,4.6vw,42px); max-width:16ch; margin-inline:auto; }
  .final-cta p{ margin-top:16px; font-size:16.5px; color:var(--text-paper-muted); }
  .final-cta .hero-ctas{ justify-content:center; margin-top:28px; }

  /* ---------- messenger picker ---------- */
  .msg-picker{ position:relative; display:inline-block; }
  .msg-picker .chev{ width:15px; height:15px; margin-left:2px; }
  .msg-menu{
    position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%);
    background:#fff; border-radius:14px; padding:8px; box-shadow:var(--shadow-card);
    display:flex; flex-direction:column; gap:2px; min-width:200px; z-index:60;
  }
  .msg-menu[hidden]{ display:none; }
  .msg-item{
    display:flex; align-items:center; gap:11px; padding:11px 14px; border-radius:9px;
    text-decoration:none; font-size:14.5px; font-weight:700; color:var(--text-ink);
  }
  .msg-item:hover{ background:var(--paper-2); }
  .msg-item svg{ width:20px; height:20px; flex:none; }
  .msg-item.tg svg{ color:#3B93D6; }
  .msg-item.wa svg{ color:#3FA25A; }
  .msg-item.max svg{ color:#7C5CFC; }

  /* ---------- footer ---------- */
  footer{ background:var(--ink-3); padding-block:44px calc(36px + env(safe-area-inset-bottom,0px)); }
  .footer-top{ display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; padding-bottom:32px; border-bottom:1px solid rgba(246,239,232,.12); }
  .footer-nav{ display:flex; gap:26px; flex-wrap:wrap; }
  .footer-nav a{ font-size:14px; color:var(--text-paper-muted); text-decoration:none; }
  .footer-nav a:hover{ color:var(--text-paper); }
  .footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:22px; font-size:12.5px; color:var(--text-paper-muted); }
  .footer-bottom a{ text-decoration:underline; text-decoration-color:rgba(183,174,194,.4); }

  @media (prefers-reduced-motion: reduce){ *{ transition:none !important; } }

/* =====================================================================
   Добавлено при переносе на свой сервер: формы заявок, статусы городов
   ===================================================================== */

/* ---------- формы ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; }
.field.wide{ grid-column:1 / -1; }
.field label{ font-size:13px; font-weight:600; color:var(--text-ink-muted); }
.field input, .field select, .field textarea{
  font-family:"Golos Text",sans-serif; font-size:15px; color:var(--text-ink);
  padding:13px 15px; border:1.5px solid var(--line-ink); border-radius:var(--radius-s);
  background:#fff; width:100%;
}
.field textarea{ min-height:92px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--rose); box-shadow:0 0 0 3px rgba(194,54,82,.12);
}
.field .hint{ font-size:12px; color:var(--text-ink-muted); }
.field.err input, .field.err select, .field.err textarea{ border-color:#B8534F; }
.field .err-text{ font-size:12px; color:#B8534F; font-weight:600; }

.on-ink .field label{ color:var(--text-paper-muted); }
.on-ink .field input, .on-ink .field select, .on-ink .field textarea{
  background:rgba(255,255,255,.06); border-color:var(--line-paper); color:var(--text-paper);
}
.on-ink .field input::placeholder, .on-ink .field textarea::placeholder{ color:#7C7490; }

.form-consent{ font-size:12px; line-height:1.5; color:var(--text-ink-muted); margin-top:4px; }
.on-ink .form-consent{ color:var(--text-paper-muted); }
.form-consent a{ text-decoration:underline; }
.form-actions{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:6px; }

/* honeypot — скрытое поле от спам-ботов */
.hp-field{ position:absolute!important; left:-9999px!important; width:1px; height:1px; overflow:hidden; }

/* ---------- ответ формы ---------- */
.form-result{
  border-radius:var(--radius-m); padding:22px 24px; display:flex; gap:14px; align-items:flex-start;
  font-size:15px; line-height:1.55;
}
.form-result svg{ width:22px; height:22px; flex:none; margin-top:1px; }
.form-result.ok{ background:rgba(110,127,92,.12); color:var(--sage-deep); border:1.5px solid rgba(110,127,92,.35); }
.form-result.fail{ background:rgba(184,83,79,.1); color:#8E3A37; border:1.5px solid rgba(184,83,79,.3); }
.on-ink .form-result.ok{ background:rgba(110,127,92,.22); color:#CFE0BC; border-color:rgba(160,190,130,.4); }
.on-ink .form-result.fail{ background:rgba(184,83,79,.2); color:#F2C6C2; border-color:rgba(226,140,134,.4); }
.form-result b{ display:block; margin-bottom:3px; }

/* ---------- блок проверки города ---------- */
.city-form{ display:grid; grid-template-columns:1fr auto; gap:12px; align-items:end; margin-bottom:20px; }
@media (max-width:560px){ .city-form{ grid-template-columns:1fr; } }

.city-answer{ margin-top:20px; border-top:1px solid var(--line-ink); padding-top:20px; }
.city-answer[hidden]{ display:none; }
.city-answer h4{ font-family:"Unbounded",sans-serif; font-size:16px; margin-bottom:4px; }
.city-answer .sub{ font-size:13.5px; color:var(--text-ink-muted); }

.avail-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:16px; }
@media (min-width:560px){ .avail-grid{ grid-template-columns:repeat(4,1fr); } }
.avail{
  border:1.5px solid var(--line-ink); border-radius:var(--radius-s); padding:14px;
  display:flex; flex-direction:column; gap:7px; background:#fff;
}
.avail .name{ font-weight:700; font-size:14.5px; }
.avail .state{ font-size:12.5px; font-weight:700; display:flex; align-items:center; gap:6px; }
.avail .state svg{ width:14px; height:14px; flex:none; }
.avail.free{ border-color:rgba(110,127,92,.5); }
.avail.free .state{ color:var(--sage-deep); }
.avail.busy{ background:var(--paper-2); }
.avail.busy .name, .avail.busy .price-s{ opacity:.72; }
.avail.busy .state{ color:#8E3A37; }
.avail .price-s{ font-size:12.5px; color:var(--text-ink-muted); margin-top:auto; }

.badge-count{
  display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px;
  background:var(--paper-2); font-size:12px; font-weight:700; color:var(--text-ink-muted);
}

/* кнопка каталога в чекере может показывать счётчик занятых городов */
.cat-btn .taken-n{ font-weight:700; color:var(--rose); }
.cat-btn.is-free .taken-n{ color:var(--sage-deep); }

/* ---------- всплывающее окно заявки ---------- */
.lead-modal .modal-card{ max-width:520px; }
.lead-modal h4{ margin-bottom:4px; }

/* ---------- выбор канала связи в окне заявки ---------- */
.channel-list{ display:flex; flex-direction:column; gap:9px; margin-top:20px; }
.channel{
  display:flex; align-items:center; gap:13px; width:100%; text-align:left;
  padding:14px 16px; border-radius:var(--radius-s); border:1.5px solid var(--line-ink);
  background:#fff; cursor:pointer; text-decoration:none; color:var(--text-ink);
  font-family:"Golos Text",sans-serif;
}
.channel:hover{ border-color:var(--text-ink); }
.channel.primary{ border-color:var(--rose); background:rgba(194,54,82,.05); }
.channel.primary:hover{ background:rgba(194,54,82,.1); }
.ch-icon{ width:38px; height:38px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; background:var(--paper-2); }
.ch-icon svg{ width:20px; height:20px; }
.channel.primary .ch-icon{ background:var(--rose); color:#fff; }
.channel.tg .ch-icon{ background:rgba(59,147,214,.14); color:#3B93D6; }
.channel.wa .ch-icon{ background:rgba(63,162,90,.14); color:#3FA25A; }
.channel.max .ch-icon{ background:rgba(124,92,252,.14); color:#7C5CFC; }
.ch-text{ flex:1; display:flex; flex-direction:column; gap:2px; }
.ch-text b{ font-size:15px; font-weight:700; }
.ch-text small{ font-size:12.5px; color:var(--text-ink-muted); }
.ch-go{ width:17px; height:17px; flex:none; color:var(--text-ink-muted); }
.channel.primary .ch-go{ color:var(--rose); }

.channel-note{ margin-top:16px; font-size:13px; color:var(--text-ink-muted); text-align:center; }
.channel-note a{ font-weight:700; color:var(--rose-deep); text-decoration:none; }
.channel-note a:hover{ text-decoration:underline; }

.step-back{
  display:inline-flex; align-items:center; gap:5px; background:none; border:none; cursor:pointer;
  font-family:"Golos Text",sans-serif; font-size:13px; font-weight:600; color:var(--text-ink-muted);
  padding:0 0 12px; margin:0;
}
.step-back:hover{ color:var(--text-ink); }
.step-back svg{ width:15px; height:15px; }

/* ---------- Подсказки городов ---------- */
.city-field{ position:relative; }
.city-suggest{
  position:absolute; top:100%; left:0; right:0; z-index:30; margin-top:4px;
  background:var(--paper, #fff); border:1px solid var(--line-ink, rgba(0,0,0,.12)); border-radius:12px;
  box-shadow:0 12px 32px rgba(40,20,20,.14); overflow:hidden; max-height:320px; overflow-y:auto;
}
.city-suggest-item{ padding:11px 14px; font-size:15px; cursor:pointer; color:var(--text-ink); }
.city-suggest-item:hover{ background:var(--paper-2, rgba(0,0,0,.05)); }
.checker-note{ font-size:12.5px; color:var(--text-ink-muted); margin:10px 0 0; }
.avail .taken-link{ color:#8E3A37; text-decoration:none; }
.avail .taken-link:hover{ text-decoration:underline; }
.avail .taken-link svg{ width:13px; height:13px; }

/* ---------- Окна с подробностями (страница каталога) ---------- */
.modal-card.wide{ max-width:520px; max-height:calc(100vh - 40px); overflow-y:auto; }
.modal-section{ margin-top:22px; }
.modal-section:first-of-type{ margin-top:16px; }
.modal-section h5{
  font-family:"Unbounded",sans-serif; font-size:13px; text-transform:uppercase;
  letter-spacing:.06em; color:var(--rose); margin:0 0 12px;
}
.license-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.license-list li{ display:flex; gap:9px; font-size:14.5px; line-height:1.45; color:var(--text-ink-muted); }
.license-list li[hidden]{ display:none; }
.license-list li svg{ width:16px; height:16px; flex:0 0 auto; margin-top:2px; color:var(--sage); }
.usage-flag{
  display:inline-flex; align-items:center; gap:5px; margin:0 2px; padding:3px 9px; border-radius:999px;
  font-family:"Golos Text",sans-serif; font-size:12px; font-weight:700; white-space:nowrap;
  color:var(--rose-deep); background:rgba(194,54,82,.1); border:1px solid rgba(194,54,82,.28);
}
.usage-note{ color:var(--text-ink-muted); }
.breakdown-list{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:2px; }
.breakdown-list li{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:11px 2px; font-size:14.5px; border-bottom:1px solid var(--line-ink);
}
.breakdown-list li:last-child{ border-bottom:none; }
.breakdown-list .b-name{ color:var(--text-ink); }
.breakdown-list .b-count{ font-family:"Unbounded",sans-serif; font-size:14px; color:var(--text-ink-muted); white-space:nowrap; }
.breakdown-total{
  display:flex; justify-content:space-between; gap:12px; margin-top:12px; padding-top:12px;
  border-top:1.5px solid var(--line-ink); font-family:"Unbounded",sans-serif; font-size:14.5px; color:var(--text-ink);
}
.breakdown-total b{ color:var(--rose-deep); }
.modal-cta{ margin-top:22px; padding-top:20px; border-top:1.5px solid var(--line-ink); }
.modal-cta[hidden]{ display:none; }
.modal-cta .btn{ width:100%; justify-content:center; text-align:center; white-space:normal; line-height:1.3; }

/* =================================================================
   Блоки со старого сайта (Flexbe): выгода, цифры, сравнение,
   проверка города, цены
   ================================================================= */
.roi{ padding-top:0; padding-bottom:20px; }
.roi-card{ background:var(--paper-2); border:1.5px solid var(--line-ink); border-radius:var(--radius-m); box-shadow:var(--shadow-card); padding:36px 32px; }
.roi-formula{ display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
.roi-num{ display:flex; flex-direction:column; gap:6px; }
.roi-num b{ font-family:"Unbounded",sans-serif; font-size:clamp(24px,3.2vw,32px); line-height:1; color:var(--text-ink); font-variant-numeric:tabular-nums; }
.roi-num span{ font-size:13px; line-height:1.4; color:var(--text-ink-muted); max-width:170px; }
.roi-num--accent b{ color:var(--rose-deep); }
.roi-op{ font-family:"Unbounded",sans-serif; font-size:26px; color:var(--gold); flex:0 0 auto; }
.roi-yearly{ margin-top:24px; padding-top:24px; border-top:1.5px dashed var(--line-ink); font-size:15.5px; color:var(--text-ink); }
.roi-yearly b{ display:block; margin-bottom:4px; font-family:"Unbounded",sans-serif; font-size:clamp(26px,3.6vw,34px); color:var(--rose-deep); }
@media (max-width:640px){
  .roi-card{ padding:28px 22px; }
  .roi-formula{ flex-direction:column; align-items:flex-start; gap:16px; }
  .roi-op{ align-self:flex-start; margin-left:2px; }
}

.stat-heading{ text-align:center; color:#fff; font-size:clamp(28px,4vw,38px); margin-bottom:8px; }
.stat-subhead{ text-align:center; color:var(--text-paper-muted); font-size:15px; margin-bottom:36px; }
.stat-grid--3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:820px){ .stat-grid--3{ grid-template-columns:1fr; } }

.compare ul{ gap:10px; }
.compare li{ padding:12px 14px; border-radius:10px; gap:10px; }
.compare .bad li{ background:rgba(156,39,64,.05); border:1px solid rgba(156,39,64,.14); }
.compare .good li{ background:rgba(192,138,52,.08); border:1px solid rgba(192,138,52,.22); }
.compare li svg{ margin-top:3px; }
.compare li .txt{ display:flex; flex-direction:column; gap:4px; }
.compare li b{ font-family:"Unbounded",sans-serif; font-size:14px; font-weight:600; line-height:1.3; }
.compare .bad li b{ color:var(--rose-deep); }
.compare .good li b{ color:var(--gold); }
.compare li span{ font-size:13.5px; line-height:1.5; }
.compare .bad li span{ color:var(--text-ink-muted); }
.compare .good li span{ color:var(--text-paper-muted); }
@media (max-width:760px){
  .compare > div{ padding:26px 24px; }
  .compare ul{ gap:20px; }
  .compare li{ background:none !important; border:none !important; border-radius:0; padding:0 0 0 14px; }
  .compare .bad li{ border-left:3px solid var(--rose-deep) !important; }
  .compare .good li{ border-left:3px solid var(--gold) !important; }
}

.checkers-grid{ display:grid; grid-template-columns:1fr; gap:24px; align-items:start; }
@media (min-width:860px){ .checkers-grid{ grid-template-columns:1fr 1fr; } }
.checkers-grid .checker{ height:100%; }
.checkers-grid .checker-note{ margin-top:20px; }
.city-search-row{ display:flex; flex-wrap:wrap; gap:10px; margin:0; }
.city-search-field{ position:relative; flex:1 1 0%; min-width:160px; }
.city-search-row input[type="text"]{
  width:100%; padding:13px 16px; border-radius:var(--radius-s); border:1.5px solid var(--line-ink);
  background:#fff; color:var(--text-ink); font-family:"Golos Text",sans-serif; font-size:15px;
}
.city-search-row input[type="text"]::placeholder{ color:var(--text-ink-muted); }
.city-search-row .btn{ flex:0 0 auto; }
.city-results-headline{ margin-top:20px; font-size:14.5px; font-weight:700; color:var(--text-ink); }
.city-results-headline[hidden], .city-results[hidden]{ display:none; }
.city-results{ display:flex; flex-direction:column; gap:2px; margin-top:6px; }
.city-result-row{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 2px; border-bottom:1px solid var(--line-ink); }
.city-result-row:last-child{ border-bottom:none; }
.city-result-row .cat-name{ font-size:15px; font-weight:700; color:var(--text-ink); }
.city-result-row .status{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; white-space:nowrap; }
.city-result-row .status svg{ width:15px; height:15px; flex:0 0 auto; }
.city-result-row .status.free{ color:var(--sage-deep); }
.city-result-row .taken-link{ display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:600; color:var(--rose-deep); text-decoration:none; white-space:nowrap; }
.city-result-row .taken-link:hover{ text-decoration:underline; }

.pricing-eyebrow{ display:flex; align-items:center; gap:12px; margin-bottom:18px; font-family:"Unbounded",sans-serif; font-size:21px; font-weight:700; color:var(--text-ink); }
.pricing-eyebrow .num{ display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; flex:0 0 auto; border-radius:50%; background:var(--rose); color:#fff; font-family:"Golos Text",sans-serif; font-size:15px; font-weight:700; }
.product-card{ display:grid; grid-template-columns:auto 1.5px 1fr; align-items:center; gap:32px; padding:32px; background:#fff; border:1.5px solid var(--line-ink); border-radius:var(--radius-m); box-shadow:var(--shadow-card); }
.product-card .price-col{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.product-card .price{ font-family:"Unbounded",sans-serif; font-size:32px; color:var(--text-ink); white-space:nowrap; }
.product-card .price small{ display:block; margin-top:6px; white-space:normal; font-family:"Golos Text",sans-serif; font-size:13px; font-weight:600; color:var(--text-ink-muted); }
.product-card .divider{ align-self:stretch; background:var(--line-ink); }
.product-card ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.product-card li{ display:flex; gap:9px; font-size:14.5px; line-height:1.45; color:var(--text-ink-muted); }
.product-card li svg{ width:16px; height:16px; flex:0 0 auto; margin-top:2px; color:var(--sage); }
.product-card li b{ color:var(--text-ink); font-weight:700; white-space:nowrap; }
.product-card li s{ color:var(--text-ink-muted); opacity:.75; white-space:nowrap; }
.save-badge{ display:inline-flex; align-items:center; gap:7px; padding:7px 14px 7px 12px; border-radius:999px; font-family:"Golos Text",sans-serif; font-size:12.5px; font-weight:700; color:var(--sage-deep); background:rgba(110,127,92,.12); border:1px solid rgba(110,127,92,.28); white-space:nowrap; }
.save-badge svg{ width:14px; height:14px; flex:0 0 auto; }
@media (max-width:760px){
  .save-badge{ white-space:normal; }
  .product-card{ grid-template-columns:1fr; padding:26px 22px; }
  .product-card .divider{ width:100%; height:1.5px; }
}
.promo-block{ margin-top:20px; }
.promo-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.promo-list li{ display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:16px 0; border-bottom:1px solid var(--line-ink); }
.promo-list li:first-child{ padding-top:0; }
.promo-list li:last-child{ border-bottom:none; }
.promo-name{ font-family:"Unbounded",sans-serif; font-size:15px; font-weight:600; color:var(--text-ink); }
.promo-desc{ margin-top:4px; max-width:46ch; font-size:13.5px; color:var(--text-ink-muted); }
.promo-price{ font-family:"Unbounded",sans-serif; font-size:16px; color:var(--rose-deep); white-space:nowrap; text-align:right; }
@media (max-width:640px){
  .promo-list li{ flex-direction:column; align-items:flex-start; gap:4px; }
  .promo-price{ text-align:left; }
}

/* =====================================================================
   Страница каталога: /katalog/<slug> — все букеты по съёмкам
   ===================================================================== */
.kat section{ padding-block:0; }
.kat-hero{ padding-block:36px 40px !important; }
.kat-crumbs{ display:flex; flex-wrap:wrap; gap:8px; font-size:14px; color:var(--text-ink-muted); margin-bottom:22px; }
.kat-crumbs a{ color:var(--text-ink-muted); text-decoration:none; }
.kat-crumbs a:hover{ color:var(--text-ink); text-decoration:underline; }
.kat-crumbs b{ color:var(--text-ink); font-weight:600; }
/* переключатель каталогов */
.kat-switch{ display:flex; flex-wrap:wrap; gap:8px; margin:-6px 0 26px; }
.kat-switch a{ display:inline-flex; align-items:center; gap:8px; padding:4px 14px 4px 4px; border-radius:999px; border:1px solid var(--line-ink); background:#fff; color:var(--text-ink); text-decoration:none; font-size:14px; font-weight:600; transition:border-color .15s, background .15s; }
.kat-switch a:hover{ border-color:var(--text-ink-muted); }
.kat-switch a.is-on{ background:var(--text-ink); border-color:var(--text-ink); color:#fff; pointer-events:none; }
.kat-switch img{ width:28px; height:28px; border-radius:50%; object-fit:cover; flex:none; }
@media (max-width:600px){ .kat-switch a{ font-size:13px; padding-right:12px; } .kat-switch img{ width:24px; height:24px; } }
.kat-hero-row{ display:grid; gap:32px; align-items:end; }
@media (min-width:980px){ .kat-hero-row{ grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); } }
.kat-hero-main{ min-width:0; }
.kat-hero h1{ font-size:clamp(36px,6vw,64px); margin:10px 0 10px; letter-spacing:-.01em; }
.kat-tagline{ font-weight:600; font-size:16px; color:var(--rose-deep); }
.kat-lead{ margin-top:12px; font-size:16.5px; line-height:1.55; color:var(--text-ink-muted); max-width:56ch; }
.kat-stats{ display:flex; flex-wrap:wrap; gap:14px 34px; margin:24px 0 0; }
.kat-stats div{ margin:0; }
.kat-stats dt{ font-family:"Unbounded",sans-serif; font-weight:700; font-size:24px; font-variant-numeric:tabular-nums; }
.kat-stats dd{ margin:2px 0 0; font-size:13.5px; color:var(--text-ink-muted); }
.kat-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }

.kat-disk{ background:#fff; border:1px solid var(--line-ink); border-radius:var(--radius-m); padding:22px 24px; box-shadow:var(--shadow-card); min-width:0; }
.kat-disk h2{ font-family:"Golos Text",sans-serif; font-size:16px; font-weight:700; }
.kat-disk > p{ margin-top:6px; font-size:14px; line-height:1.5; color:var(--text-ink-muted); }
.kat-tree{ list-style:none; margin:14px 0 0; padding:0; font-size:14px; font-variant-numeric:tabular-nums; }
.kat-tree li{ display:flex; align-items:center; gap:8px; padding:7px 0 7px 22px; border-top:1px dashed var(--line-ink); }
.kat-tree li.root{ padding-left:0; border-top:0; }
.kat-tree li a{ display:flex; align-items:center; gap:8px; color:var(--text-ink); text-decoration:none; }
.kat-tree li a:hover{ color:var(--rose); }
.kat-tree li > span{ margin-left:auto; color:var(--text-ink-muted); font-size:13px; }
.kat-tree li.more{ color:var(--text-ink-muted); font-size:13px; }
.ic-folder{ width:17px; height:17px; color:var(--gold); flex:none; }

/* липкая полоса со съёмками — под шапкой сайта */
.kat-nav{ position:sticky; top:calc(env(safe-area-inset-top,0px) + var(--hdr,69px)); z-index:30;
  background:rgba(251,247,241,.94); backdrop-filter:blur(10px); border-block:1px solid var(--line-ink); }
.kat-nav-row{ display:flex; align-items:center; gap:14px; min-height:60px; }
.kat-nav-label{ font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--text-ink-muted); flex:none; }
@media (max-width:560px){ .kat-nav-label{ display:none; } }
.kat-chips{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-block:10px; min-width:0; scroll-behavior:smooth; }
.kat-chips::-webkit-scrollbar{ display:none; }
.kat-chip{ flex:none; display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px;
  border:1px solid var(--line-ink); background:#fff; color:var(--text-ink); font-size:13.5px; font-weight:600; text-decoration:none; white-space:nowrap; }
.kat-chip small{ font-size:12px; font-weight:600; color:var(--text-ink-muted); font-variant-numeric:tabular-nums; }
.kat-chip:hover{ border-color:var(--text-ink); }
.kat-chip.is-on{ background:var(--ink); border-color:var(--ink); color:var(--text-paper); }
.kat-chip.is-on small{ color:var(--text-paper-muted); }

/* съёмка */
.kat-shoots{ padding-bottom:56px; }
.kat .kat-shoot{ padding-top:44px; scroll-margin-top:calc(var(--hdr,69px) + 74px); }
.kat-shoot-head{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px 24px;
  padding-bottom:18px; margin-bottom:22px; border-bottom:1px solid var(--line-ink); }
.kat-shoot-head > div{ min-width:0; }
.kat-shoot-no{ font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--rose); }
.kat-shoot-head h2{ font-size:clamp(23px,3vw,32px); margin:6px 0 10px; }
.kat-shoot-head h2 em{ font-style:normal; color:var(--rose); }
.kat-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; font-size:14px; color:var(--text-ink-muted); }
.kat-folder{ display:inline-flex; align-items:center; gap:7px; padding:4px 11px 4px 8px; border-radius:var(--radius-s);
  background:var(--paper-2); color:var(--text-ink); font-weight:600; }
.kat-folder .ic-folder{ width:15px; height:15px; }
.kat-list-btn svg{ width:16px; height:16px; }

/* карточки букетов */
.kat-grid{ display:grid; gap:18px; grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (min-width:760px){ .kat-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; } }
@media (min-width:1100px){ .kat-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
.kat-card{ background:#fff; border:1px solid var(--line-ink); border-radius:var(--radius-m); overflow:hidden; min-width:0; }
.kat-slider{ position:relative; aspect-ratio:1/1; max-width:100%; background:var(--paper-3); overflow:hidden; touch-action:pan-y; }
.kat-track{ display:flex; height:100%; transition:transform .35s ease; }
.kat-track img{ width:100%; height:100%; flex:none; object-fit:cover; user-select:none; -webkit-user-drag:none; }
.kat-count{ position:absolute; top:10px; right:10px; padding:3px 9px; border-radius:999px; background:rgba(23,19,32,.72);
  color:#fff; font-size:12px; font-weight:600; font-variant-numeric:tabular-nums; }
.kat-arrow{ position:absolute; top:50%; translate:0 -50%; width:34px; height:34px; border-radius:50%; border:0; cursor:pointer;
  display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.9); color:var(--ink);
  box-shadow:0 4px 12px -4px rgba(0,0,0,.3); opacity:.92; transition:opacity .15s; }
.kat-arrow svg{ width:17px; height:17px; }
.kat-arrow.l{ left:8px; } .kat-arrow.r{ right:8px; }
.kat-arrow:focus-visible, .kat-chip:focus-visible, .kat-all:focus-visible{ outline:2px solid var(--rose); outline-offset:2px; }
@media (hover:hover){ .kat-slider .kat-arrow{ opacity:0; } .kat-slider:hover .kat-arrow, .kat-slider .kat-arrow:focus-visible{ opacity:.92; } }
.kat-dots{ position:absolute; left:0; right:0; bottom:10px; display:flex; justify-content:center; gap:5px; pointer-events:none; }
.kat-dots i{ width:6px; height:6px; border-radius:3px; background:rgba(255,255,255,.6); transition:width .2s; }
.kat-dots i.on{ width:16px; background:#fff; }
.kat-card-b{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 14px 14px; }
.kat-card-b > div{ min-width:0; }
.kat-card-b b{ font-size:15px; }
.kat-card-b small{ display:block; margin-top:2px; font-size:12.5px; color:var(--text-ink-muted); font-variant-numeric:tabular-nums; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kat-all{ display:inline-flex; align-items:center; gap:2px; flex:none; padding:6px 0; border:0; background:none; cursor:pointer;
  font-family:"Golos Text",sans-serif; font-size:13.5px; font-weight:700; color:var(--rose); }
.kat-all svg{ width:14px; height:14px; }
@media (max-width:480px){
  .kat-grid{ gap:12px; }
  .kat-card-b{ flex-direction:column; align-items:flex-start; gap:2px; padding:10px 11px 12px; }
  .kat-arrow{ width:30px; height:30px; }
}

/* призыв внизу */
.kat-cta{ padding-block:56px !important; }
.kat-cta-row{ display:grid; gap:20px; align-items:center; }
@media (min-width:900px){ .kat-cta-row{ grid-template-columns:minmax(0,1.4fr) auto; } }
.kat-cta h2{ font-size:clamp(24px,3.4vw,34px); margin:10px 0 10px; }
.kat-cta p:not(.eyebrow){ color:var(--text-paper-muted); max-width:56ch; line-height:1.55; }
.kat-cta .kat-actions{ margin-top:0; }

/* окно «Список снятого» */
.kat-list-card{ max-width:620px; padding:26px 22px 14px; }
.kat-list-card h4{ font-size:21px; margin:6px 40px 6px 0; }
.kat-list{ list-style:none; margin:14px -8px 0; padding:0; }
.kat-list li{ display:grid; grid-template-columns:26px 52px minmax(0,1fr) auto; gap:12px; align-items:center; padding:8px; border-radius:10px; }
.kat-list li:hover{ background:var(--paper); }
.kat-list .i{ font-weight:700; font-size:14px; color:var(--text-ink-muted); font-variant-numeric:tabular-nums; text-align:right; }
.kat-list img{ width:52px; height:52px; border-radius:8px; object-fit:cover; background:var(--paper-3); }
.kat-list b{ display:block; font-size:14.5px; }
.kat-list small{ font-size:12.5px; color:var(--text-ink-muted); font-variant-numeric:tabular-nums; }
.kat-list button{ border:0; background:none; cursor:pointer; font-family:"Golos Text",sans-serif; font-size:13.5px; font-weight:700; color:var(--rose); padding:6px 4px; }

/* окно «Все 7 фото» */
.kat-lb .kat-lb-card{ width:min(1080px,100%); max-height:calc(100vh - 32px); display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:14px;
  background:var(--ink-3); color:var(--text-paper); border-radius:var(--radius-m); padding:18px; }
.kat-lb{ padding:16px; z-index:110; } /* фото — поверх шахматки и списков */
.kat-lb-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.kat-lb-head b{ font-family:"Unbounded",sans-serif; font-size:17px; }
.kat-lb-head small{ display:block; white-space:pre-line; line-height:1.5; margin-top:4px; font-size:13px; color:var(--text-paper-muted); font-variant-numeric:tabular-nums; }
.kat-lb-close{ width:36px; height:36px; flex:none; border-radius:50%; border:1px solid var(--line-paper); background:transparent; color:var(--text-paper); cursor:pointer; display:flex; align-items:center; justify-content:center; }
.kat-lb-close svg{ width:16px; height:16px; }
.kat-lb-main{ position:relative; display:flex; align-items:center; justify-content:center; height:min(60vh,640px); min-height:0; }
.kat-lb-main img{ height:100%; width:auto; max-width:100%; object-fit:contain; border-radius:8px; }
.kat-lb-main .kat-arrow{ background:rgba(255,255,255,.14); color:#fff; opacity:1; }
.kat-lb-strip{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; width:100%; max-width:760px; margin-inline:auto; }
.kat-lb-strip button{ padding:0; border:2px solid transparent; border-radius:7px; background:none; cursor:pointer; opacity:.5; overflow:hidden; }
.kat-lb-strip button.on{ opacity:1; border-color:var(--gold); }
.kat-lb-strip img{ display:block; width:100%; aspect-ratio:1; object-fit:cover; }
@media (max-width:600px){ .kat-lb-main{ height:min(52vh,420px); } .kat-lb-strip{ gap:5px; } }
@media (prefers-reduced-motion:reduce){ .kat-track, .kat-chips{ transition:none; scroll-behavior:auto; } }

/* каталоги с названиями букетов (папка = букет) */
.kat-no{ display:block; font-size:12px; font-weight:700; color:var(--text-ink-muted); font-variant-numeric:tabular-nums; }
.kat-card-b .kat-name{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:14.5px; line-height:1.3; margin-top:2px; }
.kat-card-b:has(.kat-name){ align-items:flex-end; }
/* название букета — ссылка на его страницу /katalog/<каталог>/<дата>/<файл> */
a.kat-name{ font-weight:700; color:inherit; text-decoration:underline; text-decoration-color:var(--line-ink); text-underline-offset:3px; }
a.kat-name:hover{ color:var(--rose); text-decoration-color:var(--rose); }
.kat-list .spec{ display:block; font-size:13px; line-height:1.4; color:var(--text-ink); margin:2px 0 2px; }

/* всплывашка «Состав» на карточке */
.kat-spec-btn{ position:absolute; left:10px; top:10px; z-index:2; display:inline-flex; align-items:center; gap:5px;
  padding:5px 11px 5px 8px; border:0; border-radius:999px; cursor:pointer; background:rgba(255,255,255,.92); color:var(--ink);
  font-family:"Golos Text",sans-serif; font-size:12.5px; font-weight:700; box-shadow:0 4px 12px -4px rgba(0,0,0,.3); }
.kat-spec-btn svg{ width:15px; height:15px; color:var(--rose); }
.kat-spec-btn[aria-expanded="true"]{ background:var(--ink); color:var(--text-paper); }
.kat-spec-btn[aria-expanded="true"] svg{ color:var(--gold); }
.kat-spec-btn:focus-visible, .kat-pop-x:focus-visible{ outline:2px solid var(--rose); outline-offset:2px; }
.kat-pop{ position:absolute; left:8px; right:8px; top:48px; max-height:calc(100% - 56px); z-index:3; overflow-y:auto;
  background:rgba(255,255,255,.97); border-radius:10px; padding:12px 14px 14px; box-shadow:0 12px 30px -10px rgba(23,19,32,.45); color:var(--text-ink); }
.kat-pop-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; }
.kat-pop-head b{ font-family:"Unbounded",sans-serif; font-size:13px; letter-spacing:.04em; text-transform:uppercase; color:var(--rose); }
.kat-pop-x{ width:28px; height:28px; flex:none; border-radius:50%; border:1px solid var(--line-ink); background:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:var(--text-ink-muted); }
.kat-pop-x svg{ width:13px; height:13px; }
.kat-pop ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.kat-pop li{ position:relative; padding-left:14px; font-size:13.5px; line-height:1.35; }
.kat-pop li::before{ content:""; position:absolute; left:2px; top:.55em; width:5px; height:5px; border-radius:50%; background:var(--sage); }
.kat-pop-size{ margin-top:10px; padding-top:8px; border-top:1px dashed var(--line-ink); font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; }
@media (max-width:480px){ .kat-spec-btn{ left:7px; top:7px; padding:4px 9px 4px 6px; font-size:11.5px; } .kat-pop{ top:40px; left:6px; right:6px; max-height:calc(100% - 46px); padding:10px 11px; } .kat-pop li{ font-size:12.5px; } }

/* видео букета: кнопка на карточке и окно с плеером */
.kat-video-btn{ position:absolute; left:10px; bottom:10px; z-index:2; width:38px; height:38px; padding:0; display:flex; align-items:center; justify-content:center;
  border:0; border-radius:50%; cursor:pointer; background:rgba(255,255,255,.94); color:var(--rose);
  box-shadow:0 4px 14px -4px rgba(0,0,0,.35); transition:background .15s, color .15s, transform .15s; }
.kat-video-btn svg{ width:17px; height:17px; margin-left:2px; }
.kat-video-btn span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.kat-video-btn:hover{ background:var(--rose); color:#fff; transform:scale(1.06); }
.kat-video-btn:focus-visible{ outline:2px solid var(--rose); outline-offset:2px; }
.kat-play-inline{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; background:#fff;
  border:1px solid var(--line-ink); vertical-align:-5px; }
.kat-play-inline svg{ width:11px; height:11px; margin-left:1px; color:var(--rose); }
@media (max-width:480px){ .kat-video-btn{ left:7px; bottom:7px; width:32px; height:32px; } .kat-video-btn svg{ width:15px; height:15px; } }
.kat-lb-tools{ display:flex; align-items:center; gap:8px; flex:none; }
.kat-lb-switch{ display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 14px 0 12px; border-radius:999px;
  border:1px solid var(--line-paper); background:transparent; color:var(--text-paper); cursor:pointer;
  font-family:"Golos Text",sans-serif; font-size:13.5px; font-weight:700; }
.kat-lb-switch svg{ width:14px; height:14px; color:var(--gold); }
.kat-lb-switch:hover{ background:rgba(255,255,255,.08); }
.kat-vid .kat-lb-card{ width:min(560px,100%); }
.kat-vid-main{ height:min(72vh,780px); }
.kat-vid-main video{ height:100%; width:auto; max-width:100%; aspect-ratio:9/16; object-fit:contain; border-radius:8px; background:#000; }
.kat-vid-main video::-webkit-media-controls-mute-button, .kat-vid-main video::-webkit-media-controls-volume-slider{ display:none; } /* в роликах нет звука */
.kat-vid-count{ text-align:center; font-size:13px; color:var(--text-paper-muted); font-variant-numeric:tabular-nums; }
@media (max-width:600px){ .kat-vid-main{ height:min(66vh,620px); } .kat-vid-main .kat-arrow.l{ left:2px; } .kat-vid-main .kat-arrow.r{ right:2px; } }

/* «Все позиции» на странице каталога */
.kat-actions .btn svg{ width:17px; height:17px; }
.kat-nav-all{ flex:none; display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border-radius:999px; cursor:pointer;
  border:1.5px solid var(--text-ink); background:transparent; color:var(--text-ink); font-family:"Golos Text",sans-serif; font-size:13.5px; font-weight:700; white-space:nowrap; }
.kat-nav-all svg{ width:16px; height:16px; }
.kat-nav-all:hover{ background:var(--text-ink); color:var(--paper); }
@media (max-width:560px){ .kat-nav-all span{ display:none; } .kat-nav-all{ padding:8px 10px; } }
.kat-all-card{ max-width:640px; max-height:calc(100vh - 32px); padding:26px 24px 18px; }
.kat-all-card h4{ font-size:21px; margin-right:40px; }
.kat-search{ display:flex; align-items:center; gap:8px; padding:10px 14px; border:1.5px solid var(--line-ink); border-radius:12px; background:var(--paper); margin:4px 0 6px; }
.kat-search:focus-within{ border-color:var(--text-ink); }
.kat-search svg{ width:18px; height:18px; color:var(--text-ink-muted); flex:none; }
.kat-search input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font:inherit; font-size:15px; color:var(--text-ink); }
.kat-search-none{ font-size:14px; color:var(--text-ink-muted); padding:12px 2px; }
.kat-pos-shoot{ margin-top:14px; padding:0; }
.kat-pos-shoot[hidden], .kat-pos li[hidden]{ display:none; }
.kat-pos-shoot h6{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 10px; margin:0 0 4px; padding:8px 2px 6px;
  border-bottom:1px solid var(--line-ink); font-family:"Golos Text",sans-serif; font-size:14px; font-weight:700; color:var(--text-ink); }
.kat-pos-shoot h6 small{ font-weight:500; font-size:12.5px; color:var(--text-ink-muted); }
.kat-pos ol{ list-style:none; margin:0; padding:0; }
.kat-pos li button{ display:grid; grid-template-columns:26px minmax(0,1fr) auto; gap:10px; align-items:baseline; width:100%; text-align:left;
  padding:8px 6px; border:0; border-radius:8px; background:none; cursor:pointer; font-family:"Golos Text",sans-serif; color:var(--text-ink); }
.kat-pos li button:hover{ background:var(--paper); }
.kat-pos li button:focus-visible{ outline:2px solid var(--rose); outline-offset:-2px; }
.kat-pos .n{ font-size:13px; font-weight:700; color:var(--text-ink-muted); text-align:right; font-variant-numeric:tabular-nums; }
.kat-pos .t b{ display:block; font-size:14.5px; font-weight:600; line-height:1.35; }
.kat-pos .t small{ display:block; margin-top:2px; font-size:12.5px; line-height:1.4; color:var(--text-ink-muted); }
.kat-pos .go{ font-size:13px; font-weight:700; color:var(--rose); }

/* «Монобукеты» — шахматка */
.kat-mono-card{ max-width:880px; max-height:calc(100vh - 32px); padding:26px 24px 18px; }
.kat-mono-card h4{ font-size:21px; margin-right:40px; }
.kat-mono-tabs{ display:flex; flex-wrap:wrap; gap:6px; margin:16px 0 12px; }
.kat-mono-tabs .kat-chip{ cursor:pointer; font-family:"Golos Text",sans-serif; }
.kat-mono-panel[hidden]{ display:none; }
.kat-mono-scroll{ overflow-x:auto; border:1px solid var(--line-ink); border-radius:12px; }
.kat-mono{ border-collapse:collapse; width:100%; font-size:14px; }
.kat-mono thead th{ position:sticky; top:0; background:var(--paper-2); font-size:12.5px; font-weight:700; color:var(--text-ink-muted);
  padding:9px 6px; text-align:center; font-variant-numeric:tabular-nums; white-space:nowrap; }
.kat-mono thead th:first-child{ text-align:left; padding-left:14px; }
.kat-mono tbody th{ text-align:left; font-weight:600; padding:8px 14px; min-width:200px; border-top:1px solid var(--paper-3); }
.kat-mono td{ text-align:center; padding:5px 4px; border-top:1px solid var(--paper-3); white-space:nowrap; }
.kat-mono td button{ min-width:38px; height:30px; padding:0 8px; margin:1px; border:0; border-radius:8px; cursor:pointer;
  background:var(--rose); color:#fff; font-family:"Golos Text",sans-serif; font-weight:700; font-size:13px; font-variant-numeric:tabular-nums; }
.kat-mono td button:hover{ background:var(--rose-deep); }
.kat-mono td button:focus-visible{ outline:2px solid var(--text-ink); outline-offset:2px; }
.kat-mono tbody tr:hover{ background:var(--paper); }
.kat-mono-note{ margin-top:12px; font-size:13px; color:var(--text-ink-muted); }
@media (max-width:560px){ .kat-mono tbody th{ min-width:150px; font-size:13px; padding:8px 10px; } .kat-mono-card{ padding:22px 14px 14px; } }

/* =====================================================================
   Результаты клиентов: отзыв + результат + сайт клиента на телефоне
   (app/views/site/_cases.php)
   ===================================================================== */
.cases{ padding-block:76px 84px; }
.cases .eyebrow{ color:var(--gold); }
.cases-head{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); gap:48px; align-items:end; margin-bottom:44px; }
.cases-head h2{ font-size:clamp(30px,4.4vw,46px); margin-top:12px; letter-spacing:-.01em; }
.cases-hl{ color:var(--gold); }
.cases-lede{ margin-top:18px; font-size:17px; line-height:1.55; color:var(--text-paper-muted); max-width:50ch; }

.cases-proof{ margin:0; padding:6px 22px; border:1px solid rgba(246,239,232,.12); border-radius:18px; background:rgba(255,255,255,.03); }
.cases-proof div{ display:flex; align-items:center; gap:18px; padding:16px 0; }
.cases-proof div + div{ border-top:1px solid rgba(246,239,232,.1); }
.cases-proof dt{ min-width:62px; font-family:"Unbounded",sans-serif; font-weight:700; font-size:36px; line-height:1; color:var(--text-paper); font-variant-numeric:tabular-nums; }
.cases-proof dd{ margin:0; font-size:14.5px; line-height:1.4; color:var(--text-paper-muted); }

.cases-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.cases-card{
  display:flex; align-items:flex-start; gap:24px; padding:28px; overflow:hidden;
  border-radius:22px; background:var(--ink-2); border:1px solid rgba(246,239,232,.09);
}
.cases-card--main{
  background:radial-gradient(120% 90% at 0% 100%, rgba(194,54,82,.42) 0%, rgba(194,54,82,0) 60%), var(--ink-2);
  border-color:rgba(194,54,82,.5);
}
.cases-text{ flex:1; min-width:0; align-self:stretch; display:flex; flex-direction:column; gap:18px; }
.cases-result{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.cases-num{
  display:flex; align-items:center; font-family:"Unbounded",sans-serif; font-weight:800; font-size:56px;
  line-height:.9; letter-spacing:-.03em; color:var(--gold);
}
.cases-num svg{ width:54px; height:54px; }
.cases-what{ font-family:"Unbounded",sans-serif; font-weight:600; font-size:16.5px; line-height:1.28; color:var(--text-paper); }
.cases-quote{ margin:0; padding-left:16px; border-left:2px solid rgba(192,138,52,.55); font-size:15.5px; line-height:1.6; color:rgba(246,239,232,.92); }

.cases-who{ margin-top:auto; display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding-top:18px; border-top:1px solid rgba(246,239,232,.08); }
.cases-ava{
  width:40px; height:40px; border-radius:50%; flex:none; display:grid; place-items:center;
  background:var(--a,var(--rose)); color:#fff; font-family:"Unbounded",sans-serif; font-weight:700; font-size:15px;
}
.cases-name{ flex:1 1 150px; min-width:0; display:flex; flex-direction:column; gap:2px; }
.cases-name b{ font-size:15px; color:var(--text-paper); }
.cases-name span{ font-size:13px; line-height:1.4; color:var(--text-paper-muted); }
.cases-name a{ color:inherit; text-decoration:underline; text-decoration-color:rgba(183,174,194,.45); text-underline-offset:2px; }
.cases-name a:hover{ color:var(--gold); text-decoration-color:currentColor; }
.cases-site{
  display:inline-flex; align-items:center; gap:6px; padding:8px 13px; border-radius:999px; white-space:nowrap;
  border:1px solid rgba(246,239,232,.22); color:var(--text-paper); font-size:13.5px; font-weight:600; text-decoration:none;
}
.cases-site:hover{ border-color:var(--gold); color:var(--gold); }
.cases-site svg{ width:13px; height:13px; flex:none; }

/* телефон со скрином мобильной версии сайта; все размеры — от ширины --pw */
.cases-phone{
  --pw:186px;
  position:relative; display:block; flex:none; width:var(--pw); aspect-ratio:375/812;
  padding:calc(var(--pw)*.035); border-radius:calc(var(--pw)*.17);
  background:#0D0A14; text-decoration:none;
  box-shadow:0 24px 48px -20px rgba(0,0,0,.8), inset 0 0 0 1.5px rgba(255,255,255,.12);
  transition:transform .25s ease, box-shadow .25s ease;
}
.cases-phone:hover{ transform:translateY(-4px); box-shadow:0 30px 56px -20px rgba(0,0,0,.85), inset 0 0 0 1.5px rgba(192,138,52,.55); }
.cases-screen{
  position:relative; display:flex; flex-direction:column; width:100%; height:100%; overflow:hidden;
  border-radius:calc(var(--pw)*.135); background:var(--bar,#fff);
}
.cases-status{
  flex:none; height:calc(var(--pw)*.13); display:flex; align-items:center; justify-content:space-between;
  padding:0 calc(var(--pw)*.1) 0 calc(var(--pw)*.115);
  font:700 calc(var(--pw)*.058)/1 "Golos Text",sans-serif; color:#1B1726; letter-spacing:.01em;
}
.cases-status::after{ /* «островок» камеры */
  content:""; position:absolute; top:calc(var(--pw)*.03); left:50%; width:calc(var(--pw)*.3); height:calc(var(--pw)*.085);
  margin-left:calc(var(--pw)*-.15); border-radius:99px; background:#0D0A14;
}
.cases-status svg{ width:auto; height:calc(var(--pw)*.05); }
.cases-screen img{ flex:1; min-height:0; display:block; width:100%; height:auto; object-fit:cover; object-position:top; }

.cases-cta{
  margin-top:24px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px 32px;
  padding:24px 28px; border-radius:20px; background:rgba(192,138,52,.1); border:1px solid rgba(192,138,52,.32);
}
.cases-cta p{ max-width:60ch; font-size:16px; line-height:1.5; color:var(--text-paper-muted); }
.cases-cta p b{ color:var(--text-paper); }

@media (max-width:1000px){ .cases-grid{ grid-template-columns:1fr; } }
@media (max-width:900px){ .cases-head{ grid-template-columns:1fr; gap:28px; } }
@media (max-width:640px){
  .cases{ padding-block:60px 64px; }
  .cases-lede{ font-size:16px; }
  .cases-proof dt{ min-width:52px; font-size:30px; }
  /* на телефоне макет «выглядывает» из-под карточки */
  .cases-card{ flex-direction:column; align-items:stretch; padding:24px 20px 0; }
  .cases-result{ flex-direction:row; align-items:center; gap:16px; }
  .cases-num{ font-size:48px; }
  .cases-num svg{ width:46px; height:46px; }
  .cases-what{ font-size:15px; }
  .cases-phone{ --pw:220px; align-self:center; margin-bottom:-120px; }
  .cases-phone:hover{ transform:none; }
  .cases-cta{ padding:22px 20px; }
  .cases-cta .btn{ width:100%; justify-content:center; }
}
nav.primary-nav a[aria-current="page"]{ color:var(--text-ink); }
