/* site.css — общие стили сайта «Прокат-Маркет»: шрифты, база, шапка (#b1-header),
   футер (#b13-footer), кнопки, контактный блок (#contact), FAQ, sticky-CTA, .page-content.
   Подключается на всех страницах. Правки — только здесь. Версия в ?v= у ссылок в страницах. */
/* ===== БАЗОВЫЕ СТИЛИ ВАРИАНТА №4 («Прокат-Маркет», донор-структура qmeding.ru) ===== */
@font-face{font-family:'Onest';src:url('/fonts/onest-500-latin.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Onest';src:url('/fonts/onest-500-cyrillic.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Onest';src:url('/fonts/onest-600-latin.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Onest';src:url('/fonts/onest-600-cyrillic.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Onest';src:url('/fonts/onest-700-latin.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Onest';src:url('/fonts/onest-700-cyrillic.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Onest';src:url('/fonts/onest-800-latin.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Onest';src:url('/fonts/onest-800-cyrillic.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}

:root{
  --accent:#f7811b; --accent-deep:#d96a10;
  --ink:#212120; --muted:#6b6b68;
  --bg:#f7f8fa; --card:#ffffff; --line:#e8e8e4;
  --ok:#2e7d5b;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:84px;}
body{font-family:'Onest',system-ui,sans-serif;font-weight:500;color:var(--ink);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
em,i{font-style:normal;}
img{max-width:100%;display:block;}
a{color:inherit;}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px;}
.lp-sec{padding:80px 0;}
@media(max-width:640px){.lp-sec{padding:15px 0;}.wrap{padding-left:15px;padding-right:15px;}}

/* заголовки секций */
.sec-kicker{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin-bottom:14px;}
.sec-kicker::before{content:"";width:26px;height:2px;background:var(--accent);}
.sec-title{font-weight:800;font-size:clamp(26px,3.4vw,42px);line-height:1.16;letter-spacing:-.015em;color:var(--ink);}

/* кнопки */
.btn-accent,.btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;
  text-decoration:none;font-family:'Onest',sans-serif;font-weight:700;font-size:15.5px;
  border-radius:12px;padding:16px 32px;border:none;transition:background .18s,transform .18s,box-shadow .18s;
}
.btn-accent{background:var(--accent);color:#212120;box-shadow:0 12px 26px -10px rgba(247,129,27,.55);}
.btn-accent:hover{background:var(--accent-deep);transform:translateY(-1px);}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--ink);}
.btn-ghost:hover{background:var(--ink);color:#fff;transform:translateY(-1px);}

/* карточки */
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;min-width:0;}

/* появление при скролле: скрываем только при работающем JS (класс js ставится в <head>),
   без JS контент сразу видим */
html.js .rv{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s ease;}
html.js .rv.on{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){html.js .rv{opacity:1;transform:none;transition:none;}html{scroll-behavior:auto;}}

/* FAQ-аккордеон (глобально): нативные details/summary — ответ не обрезается при
   изменении ширины окна, состояние доступно скринридерам */
.faq-item{border-bottom:1px solid var(--line);}
.faq-item:first-child{border-top:1px solid var(--line);}
.faq-q{
  list-style:none;width:100%;background:none;border:none;cursor:pointer;font-family:'Onest',sans-serif;
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  padding:22px 4px;text-align:left;font-size:17px;font-weight:700;color:var(--ink);
}
.faq-q::-webkit-details-marker{display:none;}
.faq-q::marker{content:"";}
.faq-q .ind{
  flex:none;width:30px;height:30px;border-radius:9px;background:#fdeadd;color:var(--accent);
  display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px;
  transition:transform .3s,background .3s,color .3s;
}
.faq-item[open] .ind{transform:rotate(45deg);background:var(--accent);color:#212120;}
.faq-a p{padding:0 56px 22px 4px;color:var(--muted);font-size:15px;}

/* липкая мобильная CTA-панель (глобально) */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;
  background:#212120;border-top:1px solid rgba(255,255,255,.14);
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  transform:translateY(110%);transition:transform .35s ease;
  align-items:center;gap:12px;justify-content:space-between;
}
.sticky-cta .p{color:#fff;font-weight:700;font-size:15px;line-height:1.25;white-space:nowrap;}
.sticky-cta .p small{display:block;color:#b9b5ae;font-weight:500;font-size:12px;}
.sticky-cta .btn-accent{padding:11px 22px;font-size:14px;flex:none;}
.sticky-cta.show{transform:translateY(0);}
@media(max-width:640px){
  .sticky-cta{display:flex;}
  body.has-sticky{padding-bottom:calc(84px + env(safe-area-inset-bottom));}
}
@media(max-width:400px){
  .sticky-cta{padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;}
  .sticky-cta .p{font-size:13px;line-height:1.2;}
  .sticky-cta .p small{font-size:11px;}
  .sticky-cta .btn-accent{padding:9px 12px;font-size:13px;}
}
/* b1: header */
#b1-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #e8e8e4;}
#b1-header .b1-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px;}
#b1-header .b1-logo{font-size:19px;font-weight:800;letter-spacing:-.01em;color:#212120;text-decoration:none;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;}
#b1-header .b1-logo-accent{color:#f7811b;}
#b1-header .b1-nav{display:flex;align-items:center;gap:20px;min-width:0;flex:none;}
#b1-header .b1-phone{font-size:16px;font-weight:700;color:#212120;text-decoration:none;white-space:nowrap;}
#b1-header .b1-phone:hover{color:#b35400;}
#b1-header .btn-accent{padding:10px 18px;font-size:14px;}
@media (max-width:640px){
#b1-header .b1-phone{display:none;}
}
@media (max-width:420px){
#b1-header .b1-logo{font-size:16px;}
#b1-header .b1-nav{gap:10px;}
#b1-header .btn-accent{padding:9px 13px;font-size:13px;}
}
/* b1: hero */
#b1{background:#f7f8fa;}
#b1 .b1-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center;}
#b1 .b1-copy{min-width:0;}
#b1 .sec-kicker{margin:0 0 14px;}
#b1 .b1-title{margin:0 0 16px;font-size:clamp(32px,4.4vw,54px);font-weight:800;line-height:1.07;letter-spacing:-.02em;color:#212120;overflow-wrap:break-word;hyphens:auto;}
#b1 .b1-sub{margin:0;max-width:540px;font-size:18px;line-height:1.55;color:#6b6b68;}
#b1 .b1-price{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin:26px 0 24px;}
#b1 .b1-price-now{font-size:clamp(28px,3.2vw,38px);font-weight:800;letter-spacing:-.01em;color:#212120;}
#b1 .b1-nowrap{white-space:nowrap;}
#b1 .b1-price-per{margin-left:6px;font-size:18px;font-weight:600;color:#6b6b68;}
#b1 .b1-price-old{font-size:16px;font-weight:600;color:#6b6b68;text-decoration:line-through;text-decoration-color:rgba(33,33,32,.35);}
#b1 .b1-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
#b1 .b1-chips{list-style:none;margin:30px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px;}
#b1 .b1-chips li{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;background:#ffffff;border:1px solid #e8e8e4;border-radius:999px;font-size:14px;font-weight:600;color:#212120;}
#b1 .b1-chips svg{width:18px;height:18px;flex:none;color:#f7811b;}
#b1 .b1-media{min-width:0;}
#b1 .b1-photo{position:relative;margin:0;padding:12px;background:#ffffff;border:1px solid #e8e8e4;border-radius:16px;box-shadow:0 32px 64px -36px rgba(33,33,32,.38);}
#b1 .b1-photo img{display:block;width:100%;height:auto;aspect-ratio:1200/1102;object-fit:cover;border-radius:10px;}
#b1 .b1-badge{position:absolute;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;background:#ffffff;border:1px solid #e8e8e4;border-radius:12px;box-shadow:0 14px 30px -16px rgba(33,33,32,.35);font-size:14px;font-weight:700;color:#212120;white-space:nowrap;}
#b1 .b1-badge svg{width:18px;height:18px;flex:none;color:#f7811b;}
#b1 .b1-badge-top{top:26px;left:26px;}
#b1 .b1-badge-bottom{right:26px;bottom:26px;}
#b1 .b1-copy.rv{transition-delay:.05s;}
#b1 .b1-media.rv{transition-delay:.15s;}
@media (max-width:1020px){
#b1 .b1-grid{grid-template-columns:1fr;gap:40px;}
#b1 .b1-media{max-width:620px;margin:0 auto;width:100%;}
}
@media (max-width:640px){
#b1 .b1-sub{font-size:16px;}
#b1 .b1-price{gap:10px;}
#b1 .b1-badge{padding:8px 12px;font-size:13px;border-radius:10px;}
#b1 .b1-badge-top{top:22px;left:20px;}
#b1 .b1-badge-bottom{right:20px;bottom:22px;}
}
@media (max-width:360px){
#b1 .b1-title{font-size:27px;}
}
/* cta strip */
.cta-strip{padding:24px 0;}
.cta-strip .b1-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;background:#212120;border-radius:16px;}
.cta-strip .b1-strip-text{margin:0;font-size:16px;font-weight:500;color:rgba(255,255,255,.72);}
.cta-strip .b1-strip-text a{color:#ffffff;font-weight:800;text-decoration:none;white-space:nowrap;}
.cta-strip .b1-strip-text a:hover{color:#f7811b;}
@media (max-width:640px){
.cta-strip{padding:15px 0;}
.cta-strip .b1-strip{flex-direction:column;text-align:center;gap:16px;padding:20px 22px;}
.cta-strip .b1-strip-text{font-size:15px;}
}
#contact{background:#212120;color:#fff}
#contact .c-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:start}
#contact .sec-title{color:#fff}
#contact .c-phone{display:inline-block;margin-top:24px;font-weight:800;font-size:clamp(26px,3.2vw,42px);line-height:1.15;color:#fff;text-decoration:none;white-space:nowrap;border-radius:8px;transition:color .2s ease}
#contact .c-phone:hover{color:#f7811b}
#contact .c-phone:focus-visible{outline:2px solid #f7811b;outline-offset:4px}
#contact .c-list{list-style:none;margin:34px 0 0;padding:0;display:grid;gap:18px}
#contact .c-item{display:flex;align-items:flex-start;gap:14px;font-size:16px;font-weight:500;line-height:1.5;color:rgba(255,255,255,.82)}
#contact .c-item svg{flex:none;width:22px;height:22px;margin-top:2px}
#contact .c-item a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.3);transition:color .2s ease,border-color .2s ease}
#contact .c-item a:hover{color:#f7811b;border-color:#f7811b}
#contact .form-card{background:#ffffff;border-radius:16px;padding:34px;color:#212120;box-shadow:0 24px 60px rgba(0,0,0,.35)}
#contact .b13-field{margin:0 0 14px}
#contact .b13-field label{display:block;margin:0 0 7px;font-size:13px;font-weight:600;color:#6b6b68}
#contact .b13-field input{box-sizing:border-box;width:100%;padding:13px 15px;background:#f7f8fa;border:1px solid #e8e8e4;border-radius:11px;font-family:inherit;font-size:15.5px;font-weight:500;color:#212120;transition:border-color .2s ease,box-shadow .2s ease}
#contact .b13-field input::placeholder{color:#6b6b68;opacity:.75}
#contact .b13-field input:focus{outline:none;border-color:#f7811b;box-shadow:0 0 0 3px rgba(248,129,27,.14)}
#contact .form-submit{width:100%;margin-top:6px}
#contact .form-submit:disabled{opacity:.65;cursor:progress;transform:none;box-shadow:none}
#contact .form-error{margin:6px 0 0;font-size:12.5px;font-weight:600;line-height:1.4;color:#b3261e}
#contact .b13-field input[aria-invalid="true"]{border-color:#b3261e;box-shadow:0 0 0 3px rgba(179,38,30,.12)}
#contact .form-ok{margin:14px 0 0;padding:12px 14px;background:rgba(46,125,91,.1);border:1px solid rgba(46,125,91,.35);border-radius:10px;color:#2e7d5b;font-size:14px;font-weight:600;line-height:1.45}
#contact .form-err{margin:14px 0 0;padding:12px 14px;background:rgba(179,38,30,.08);border:1px solid rgba(179,38,30,.35);border-radius:10px;color:#8f1d17;font-size:14px;font-weight:600;line-height:1.45}
#contact .form-err a{color:inherit;font-weight:800}
#contact .b13-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#contact .form-check-field{margin:2px 0 18px}
#contact label.form-check{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px;font-weight:500;line-height:1.45;color:#6b6b68;-webkit-user-select:none;user-select:none}
#contact label.form-check input{appearance:none;-webkit-appearance:none;flex:0 0 auto;box-sizing:border-box;width:20px;height:20px;padding:0;margin:0;background:#fff;border:1.5px solid #c5c5be;border-radius:6px;position:relative;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease,transform .12s ease}
#contact .form-check input:hover{border-color:#f7811b;box-shadow:0 1px 4px rgba(248,129,27,.25)}
#contact .form-check input:active{transform:scale(.88)}
#contact .form-check input:focus-visible{outline:none;border-color:#f7811b;box-shadow:0 0 0 3px rgba(248,129,27,.16)}
#contact .form-check input:checked{border-color:#f7811b;background:#f7811b}
#contact .form-check input:checked:hover{border-color:#e97410;background:#e97410}
#contact label.form-check input::after{content:"";position:absolute;left:5px;top:3px;width:5px;height:9px;border:solid #fff;border-width:0 2.2px 2.2px 0;transform:rotate(45deg) scale(0);opacity:0;transition:transform .18s cubic-bezier(.2,1.6,.4,1),opacity .12s ease}
#contact .form-check input:checked::after{transform:rotate(45deg) scale(1);opacity:1}
@keyframes pmCheckShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
#contact .form-check input[aria-invalid="true"]{border-color:#b3261e;box-shadow:0 0 0 3px rgba(179,38,30,.12);animation:pmCheckShake .28s ease}
#contact .form-check input[aria-invalid="true"] + span,
#contact .form-check input[aria-invalid="true"] + span a{color:#8f1d17;text-decoration-color:rgba(143,29,23,.5)}
#contact .form-check a{color:inherit;font-weight:600;text-decoration:underline;text-decoration-color:rgba(107,107,104,.4);text-underline-offset:3px;transition:color .2s ease,text-decoration-color .2s ease}
#contact .form-check a:hover{color:#f7811b;text-decoration-color:#f7811b}
#b13-footer{background:#212120;border-top:1px solid rgba(255,255,255,.12);padding:34px 0 44px}
#b13-footer .f-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 32px}
#b13-footer .f-copy{margin:0;font-size:14px;font-weight:500;line-height:1.55;color:rgba(255,255,255,.6)}
#b13-footer .f-nav{display:flex;flex-wrap:wrap;gap:10px 26px}
#b13-footer .f-nav a{font-size:14px;font-weight:600;color:rgba(255,255,255,.75);text-decoration:none;transition:color .2s ease}
#b13-footer .f-nav a:hover{color:#f7811b}
@media (max-width:1020px){
#contact .c-grid{grid-template-columns:1fr;gap:44px}
}
@media (max-width:640px){
#contact .form-card{padding:24px 20px}
#contact .c-list{margin-top:28px;gap:15px}
#b13-footer .f-row{flex-direction:column;align-items:flex-start}
}
.page-content{max-width:860px}
.page-content h2{font-size:clamp(22px,2.6vw,32px);font-weight:800;line-height:1.2;margin:36px 0 14px;color:var(--ink)}
.page-content h3{font-size:20px;font-weight:700;line-height:1.3;margin:28px 0 10px;color:var(--ink)}
.page-content p{margin:0 0 16px}
.page-content ul,.page-content ol{margin:0 0 18px;padding-left:24px}
.page-content li{margin:0 0 8px}
.page-content a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.page-content a:hover{color:var(--accent)}
.page-content img{border-radius:14px;margin:20px 0;height:auto}
.page-content table{width:100%;border-collapse:collapse;margin:20px 0}
.page-content th,.page-content td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.page-content th{background:var(--bg);font-weight:700}
.page-content blockquote{border-left:3px solid var(--accent);padding:4px 0 4px 18px;margin:20px 0;color:var(--muted)}
