/* Разделы «Родительский патруль» (newtech.social) и «Городские социальные мероприятия» (israfest.com).
   Один файл стилей на оба раздела: цвета и шрифт — как на главной NewTech.Social. */
:root{
  --ink:#1F1B4B; --ink-2:#2E2A5C; --muted:#3D3A66;
  --green:#06794A; --green-d:#055C38; --orange:#F5921E; --rust:#B4500A;
  --mint:#EEF3EE; --line:#DDE5DE; --paper:#FFFFFF;
  --vest:#FFC83D; --vest-pale:#FFF4D1; --reflect:#E6E9EE;
  --rose:#FCE9E2;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Rubik','Segoe UI','Noto Sans Hebrew',sans-serif;font-size:17px;line-height:1.55;color:var(--ink);background:var(--paper)}
img,video{max-width:100%;height:auto;display:block}
a{color:var(--green)}a:hover{color:var(--ink)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #0E6A91;outline-offset:2px}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
h1,h2,h3{text-wrap:balance}
.wrap{max-width:1248px;margin-inline:auto;padding-inline:24px}
.band{padding-block:72px}
.band--mint{background:var(--mint)}
.band--night{background:var(--ink);color:#fff}
.band--vest{background:var(--vest-pale)}
.band--rose{background:var(--rose)}
h2{font-size:36px;line-height:1.15;font-weight:800;letter-spacing:-.01em}
h3{font-size:20px;line-height:1.25;font-weight:700}
.lead{font-size:19px;color:var(--ink-2);max-width:62ch}
.band--night .lead{color:#E4E2F3}
.head{display:flex;flex-direction:column;gap:14px;max-width:760px;margin-bottom:36px}
.stack{display:flex;flex-direction:column;gap:16px}
.prose{max-width:66ch;display:flex;flex-direction:column;gap:14px}

/* Шапка */
.top{padding-block:16px 8px;display:flex;flex-direction:column;gap:12px}
.top__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink);min-height:44px}
.brand img{width:64px;height:61px;object-fit:contain}
.brand__name{font-size:26px;font-weight:800;line-height:1.1;letter-spacing:-.01em;display:block}
.brand__name b:nth-child(2){color:var(--green)}.brand__name b:nth-child(3){color:var(--rust)}
.brand__sub{font-size:12px;font-weight:500;color:var(--muted);display:block;line-height:1.35}
.top__tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.langs{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--mint)}
.langs a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:40px;padding:0 12px;border-radius:999px;color:var(--ink);font-weight:700;font-size:15px;text-decoration:none}
.langs a[aria-current]{background:var(--ink);color:#fff}
.nav{display:flex;flex-wrap:wrap;gap:4px 26px;padding-top:8px;border-top:1px solid var(--line);font-size:16px;font-weight:500}
.nav a{color:var(--ink);text-decoration:none;padding:11px 0}
.nav a:hover{text-decoration:underline;text-underline-offset:4px}

/* Кнопки */
.btn{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 26px;border-radius:999px;font-weight:700;font-size:17px;text-decoration:none;border:2px solid transparent}
.btn--green{background:var(--green);color:#fff}.btn--green:hover{background:var(--green-d);color:#fff}
.btn--orange{background:var(--orange);color:var(--ink)}
.btn--vest{background:var(--vest);color:var(--ink)}
.btn--line{border-color:currentColor;color:var(--ink);background:transparent}
.band--night .btn--line{color:#fff}
.btn--sm{min-height:44px;padding:0 20px;font-size:15px}
.btns{display:flex;flex-wrap:wrap;gap:14px}
.pill{display:inline-block;align-self:flex-start;padding:5px 14px;border-radius:999px;font-size:14px;font-weight:700;background:#fff;color:var(--ink)}
.pill--vest{background:var(--vest);color:var(--ink)}
.pill--ink{background:var(--ink);color:#fff}

/* Обложка патруля: ночь и светоотражающая полоса жилета */
.hero-patrol{background:var(--ink);color:#fff;padding-block:64px 0}
.hero-patrol__in{display:flex;flex-direction:column;align-items:flex-start;gap:22px;padding-bottom:60px}
.hero-patrol h1{font-size:clamp(40px,7vw,76px);line-height:1.02;font-weight:800;letter-spacing:-.02em}
.hero-patrol__alt{font-size:20px;font-weight:500;color:var(--vest)}
.hero-patrol .lead{color:#E4E2F3;font-size:20px}
.vest{height:44px;background:
  linear-gradient(var(--vest),var(--vest)) top/100% 14px no-repeat,
  linear-gradient(var(--reflect),var(--reflect)) center/100% 16px no-repeat,
  linear-gradient(var(--vest),var(--vest)) bottom/100% 14px no-repeat}

/* Обложка мероприятий и билет */
.hero-events{background:var(--mint);padding-block:64px 72px}
.hero-events__in{display:flex;flex-wrap:wrap;align-items:center;gap:40px 56px}
.hero-events__text{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.hero-events h1{font-size:clamp(36px,5.4vw,56px);line-height:1.08;font-weight:800;letter-spacing:-.015em}
.ticket{flex:1 1 360px;max-width:460px;background:var(--ink);color:#fff;border-radius:22px;position:relative;display:flex;flex-direction:column}
.ticket__main{padding:30px 30px 26px;display:flex;flex-direction:column;gap:10px}
.ticket__title{font-size:34px;line-height:1.08;font-weight:800;color:var(--vest)}
.ticket__en{font-size:15px;font-weight:500;letter-spacing:.14em;color:#C9C6E6}
.ticket__tear{position:relative;border-top:2px dashed #6E6AA5;margin-inline:22px}
.ticket__tear::before,.ticket__tear::after{content:"";position:absolute;top:-15px;width:28px;height:28px;border-radius:50%;background:var(--mint)}
.ticket__tear::before{inset-inline-start:-36px}.ticket__tear::after{inset-inline-end:-36px}
.ticket__stub{padding:22px 30px 28px;display:flex;flex-direction:column;gap:14px}
.ticket dl{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:16px}
.ticket dt{color:#C9C6E6}.ticket dd{font-weight:500}

/* Сетки и карточки */
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.card{padding:24px;border-radius:22px;background:#fff;display:flex;flex-direction:column;gap:10px}
.card p{font-size:16px;color:var(--ink-2)}
.band--night .card{background:#2B2760;color:#fff}.band--night .card p{color:#E4E2F3}
.card--mint{background:var(--mint)}.card--peach{background:#FFF3E3}.card--leaf{background:#E4F4EA}
.num{width:44px;height:44px;border-radius:50%;background:var(--ink);color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center}
.band--night .num,.num--vest{background:var(--vest);color:var(--ink)}
.icon{width:52px;height:52px;border-radius:16px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center}
.two{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.list{list-style:none;padding:0;display:flex;flex-direction:column;gap:10px;font-size:17px}
.list li{position:relative;padding-inline-start:30px}
.list li::before{content:"";position:absolute;inset-inline-start:0;top:.42em;width:16px;height:16px;border-radius:50%}
.list--yes li::before{background:var(--green)}
.list--no li::before{background:#fff;border:3px solid var(--rust)}
.split{display:flex;flex-wrap:wrap;gap:32px 56px;align-items:center}
.split>*{flex:1 1 340px;min-width:0}
.note{padding:18px 22px;border-radius:16px;background:var(--vest-pale);border-inline-start:6px solid var(--vest);font-size:16px;max-width:76ch}

/* Телефоны помощи */
.phones{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.phone{display:flex;flex-direction:column;gap:2px;padding:18px 22px;border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;border:2px solid transparent}
.phone:hover{border-color:var(--ink);color:var(--ink)}
.phone b{font-size:30px;line-height:1.1;font-weight:800;direction:ltr;unicode-bidi:isolate;align-self:flex-start}
.phone span{font-size:15px;color:var(--muted)}
.phone--urgent{background:var(--vest)}.phone--urgent span{color:var(--ink)}

/* Программа вечера */
.facts{display:grid;grid-template-columns:auto 1fr;gap:10px 22px;font-size:17px;max-width:680px}
.facts dt{color:var(--muted)}.facts dd{font-weight:500}
.prog{list-style:none;padding:0;max-width:820px}
.prog li{display:grid;grid-template-columns:86px 1fr;gap:4px 20px;padding:14px 0;border-top:1px solid #D9C9C0}
.prog li:last-child{border-bottom:1px solid #D9C9C0}
.prog time{font-weight:800;font-size:20px;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
.prog b{font-weight:700}.prog span{display:block;font-size:16px;color:var(--ink-2)}
.shots{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
figure img,figure video{border-radius:18px;width:100%}
figure img{background:var(--mint)}figure video{background:#000}
figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.videos video{max-height:460px;object-fit:contain}
.videos{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:start}

/* Подвал */
.foot{background:var(--mint);padding-block:48px 28px}
.foot__in{display:flex;flex-wrap:wrap;gap:28px 56px;justify-content:space-between}
.foot a{color:var(--ink);font-weight:500}
.foot__links{display:flex;flex-direction:column;gap:10px}
.foot__base{margin-top:28px;padding-top:18px;border-top:1px solid #C9D3CB;font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px}
.ltr{direction:ltr;unicode-bidi:isolate}

@media (max-width:640px){
  .band{padding-block:52px} h2{font-size:29px}
  .prog li{grid-template-columns:68px 1fr}
  .brand__name{font-size:22px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.top,.btns,.foot,.videos{display:none}.band{padding-block:20px}}

/* ---- единый подвал (одинаковый на всех страницах) ---- */
.sf{position:relative;background:#EEF3EE;color:#1F1B4B;font-family:'Rubik','Segoe UI','Noto Sans Hebrew',sans-serif;font-size:16px;line-height:1.5;text-align:start}
.sf *{box-sizing:border-box}
.sf-in{max-width:1248px;margin:0 auto;padding:56px 24px 88px;display:flex;flex-direction:column;gap:32px}
.sf-cols{display:flex;flex-wrap:wrap;gap:36px 56px}
.sf-org{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.sf-orgrow{display:flex;align-items:flex-start;gap:20px;max-width:100%}
.sf-org img{width:104px;height:100px;object-fit:contain;flex:0 0 auto;background:none;border-radius:0;padding:0}
.sf-orgtxt{display:flex;flex-direction:column;min-width:0;width:250px;max-width:100%}
.sf-names{width:100%;height:auto;display:block;direction:ltr;overflow:visible}
.sf-names text,.sf-reg text{font-family:'Rubik','Segoe UI','Noto Sans Hebrew',sans-serif;fill:#1F1B4B}
.sf-names .n1{font-weight:700;font-size:19.5px}
.sf-names .n2{font-weight:600;font-size:13.2px}
.sf-names .n3{font-weight:500;font-size:20.5px}
.sf-reg{height:44px;margin-top:16px;display:flex;align-items:center}
.sf-reg svg{width:100%;height:auto;display:block;direction:ltr;overflow:visible}
.sf-reg text{font-weight:600;font-size:11.6px}
.sf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sf-slogan{font-size:26px;line-height:1.25;font-weight:800;color:#1F1B4B;direction:ltr;text-align:start}
.sf-col{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:4px}
.sf-h{margin:0 0 6px;font-size:20px;line-height:1.3;font-weight:800;color:#1F1B4B;font-family:inherit}
.sf a.sf-l{display:flex;align-items:center;gap:12px;min-height:44px;color:#1F1B4B;font-weight:500;text-decoration:none;border:0}
.sf a.sf-l:hover,.sf a.sf-l:focus-visible{text-decoration:underline;color:#1F1B4B}
[dir="rtl"] .sf a.sf-l[dir="ltr"]{justify-content:flex-end}
.sf a.sf-l svg{flex:0 0 auto;width:20px;height:20px;color:#1F1B4B}
.sf a.sf-btn{align-self:flex-start;display:inline-flex;align-items:center;min-height:48px;margin-top:8px;padding:0 22px;border-radius:999px;background:#F5921E;color:#1F1B4B;font-weight:700;text-decoration:none}
.sf-bot{padding-top:20px;border-top:1px solid #C9D3CB;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;font-size:14px;color:#3D3A66}

/* ---- указатель «Наверх»: полупрозрачный, чтобы не закрывать содержимое ---- */
.totop{position:fixed;inset-inline-end:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:60;display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px 0 11px;border-radius:999px;background:rgba(31,27,75,.9);color:#FFFFFF;font:700 14px/1 'Rubik','Segoe UI','Noto Sans Hebrew',sans-serif;text-decoration:none;text-shadow:0 1px 2px rgba(0,0,0,.45);border:1.5px solid rgba(255,255,255,.6);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,background .2s ease}
.totop.on{opacity:1;transform:none}
.totop[hidden]{display:none}
.totop:hover,.totop:focus-visible{background:#1F1B4B;color:#FFFFFF}
.totop svg{width:16px;height:16px;flex:0 0 auto}
/* на телефонах и планшетах указатель не показывается: там страницу листают пальцем */
@media (max-width:1024px),(hover:none),(pointer:coarse){.totop{display:none!important}}
@media (prefers-reduced-motion:reduce){.totop{transition:none}}

/* ---- шапка: три названия амуты одной длины ---- */
.brand__lock{width:250px;max-width:60vw;height:auto;display:block;direction:ltr;overflow:visible;flex:0 1 auto}
.brand__lock text{font-family:'Rubik','Segoe UI','Noto Sans Hebrew',sans-serif;fill:#1F1B4B}
.brand__lock .n1{font-weight:700;font-size:19.5px}
.brand__lock .n2{font-weight:600;font-size:13.2px}
.brand__lock .n3{font-weight:500;font-size:20.5px}

/* 2.11.3 — доступность */
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:#1F1B4B;color:#FFFFFF;padding:10px 16px;border-radius:10px;font-weight:700;text-decoration:none}.skip:focus{top:12px}
.sf-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.langs{flex-wrap:wrap;justify-content:center}.langs a{min-width:40px;padding:0 9px}
