*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#EFE9DF}
a{color:#1F2A24}a:hover{color:#000}
section[id]{scroll-margin-top:90px}
img{max-width:100%;height:auto}

/* Вопросы */
.faq{border-bottom:1px solid #DED5C6}
.faq summary{list-style:none;cursor:pointer;min-height:68px;padding:18px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:18px;font-weight:700;color:#1F2A24}
.faq summary::-webkit-details-marker{display:none}
.faq-sign{flex:none;width:34px;height:34px;border-radius:8px;background:#EFE9DF;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1}
.faq-sign::before{content:"+"}
.faq[open] .faq-sign::before{content:"−"}
.faq p{margin:0 0 22px;padding-right:54px;color:#4E4C45}
.faq summary:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #D9A15A;outline-offset:2px}

/* Липкая кнопка звонка — только на телефонах */
.callbar{display:none}

@media (max-width:1024px){
  .g3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:760px){
  .g2,.g3{grid-template-columns:minmax(0,1fr)!important}
  h1{font-size:36px!important}
  h2{font-size:30px!important}
  section > div, header > div, footer > div{padding-left:20px!important;padding-right:20px!important}
  #call > div{padding:28px 20px!important}
  .site-header > div{padding-top:10px!important;padding-bottom:10px!important}
  .site-header nav{order:3;width:100%;gap:0 22px!important;font-size:15px!important}
  .site-header > div > div:last-child a{font-size:17px!important}
  .site-header > div > a svg{width:34px;height:34px}
  .site-header > div > a span span:first-child{font-size:15px!important}
  .site-header > div > a span span:last-child{display:none}
  .faq p{padding-right:0}
  body{padding-bottom:72px}
  .callbar{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:50;min-height:56px;align-items:center;justify-content:center;border-radius:12px;background:#D9A15A;color:#1F2A24;font-family:Onest,system-ui,sans-serif;font-weight:700;font-size:17px;text-decoration:none;box-shadow:0 6px 20px rgba(31,42,36,.25)}
}

/* Меню «Направления» */
.dd .dropdown{display:none}
.dd:hover .dropdown,.dd:focus-within .dropdown,.dd.is-open .dropdown{display:block}
.dropdown a:hover{background:#EFE9DF}

/* Подсказка у номера телефона */
.phone-tip{position:absolute;z-index:100;background:#1F2A24;color:#F4EFE6;font:500 13px/1.2 Onest,system-ui,sans-serif;padding:7px 11px;border-radius:8px;white-space:nowrap;pointer-events:none;opacity:0;transform:translateY(-4px);transition:opacity .15s,transform .15s}
.phone-tip.is-visible{opacity:1;transform:none}
@media (hover:hover) and (pointer:fine){a[href^="tel:"]{cursor:copy}}
