/* Overrides for the inline-styled markup: base resets, hover/focus, responsive. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#F5F4F0}
img{max-width:100%}
a{color:#141615}a:hover{color:#B8431A}
.nav a{color:#141615;text-decoration:none}.nav a:hover{color:#B8431A}
.btn-primary:hover{background:#F07A4A !important}
.btn-ghost:hover{background:rgba(255,255,255,0.08) !important}
.lang a{text-decoration:none}
input:focus,textarea:focus,select:focus,a:focus-visible,button:focus-visible{outline:2px solid #E8622C;outline-offset:2px}
input,select,textarea{width:100%}
#form-status.ok{background:#E3F4EA;color:#14532D;border:1px solid #9BD3B0}
#form-status.err{background:#FDE8E4;color:#7A1F10;border:1px solid #F0A99B}
section[id]{scroll-margin-top:12px}

@media (max-width: 900px){
  h1{font-size:44px !important;letter-spacing:-1px !important}
  h2{font-size:34px !important}
}
@media (max-width: 720px){
  h1{font-size:34px !important}
  h2{font-size:28px !important}
  header > div{padding:12px 16px !important;gap:12px !important}
  .nav{gap:8px 18px !important;font-size:14px !important;order:3;width:100%}
  #top > div{padding:48px 16px 56px !important;gap:36px !important}
  section[style*="padding: 104px 24px"]{padding:64px 16px !important}
  section[style*="padding: 0 24px 104px"]{padding:0 16px 64px !important}
  #quality > div{padding:36px 22px !important;border-radius:22px !important;gap:32px !important}
  #contact > div{gap:32px !important}
  #contact form{padding:20px !important}
  article{padding:24px !important}
  article > div:first-child{margin:-24px -24px 8px !important}
  p[style*="font-size: 19px"]{font-size:17px !important}
  p[style*="font-size: 18px"]{font-size:16px !important}
}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
