/* SlyFix P2.1: compact header mark (35% smaller), unchanged full-size footer. */

/* Header: 112→73 desktop; 98→64 mobile. Footer remains 98px. */
.site-header .brand.sly-brand .sly-brand__icon{
  width:73px;height:73px;min-width:73px;max-width:none;max-height:none;
  flex:0 0 73px;object-fit:contain;
}
.site-header .wrap{min-height:96px}
html{scroll-padding-top:100px}
.site-footer.sly-site-footer{
  padding:0;background:#f7faf8;border-top:1px solid #d9e7e2;
  color:#526b6a;font-size:14px;
}
.site-footer .sly-footer-grid{
  display:grid;grid-template-columns:minmax(260px,1.65fr) repeat(3,minmax(0,1fr));
  gap:clamp(22px,3.2vw,50px);
  padding-top:clamp(34px,4vw,54px);padding-bottom:38px;align-items:start;
}
.site-footer .sly-footer-about{min-width:0;max-width:420px}
.site-footer .sly-footer-brand{
  display:inline-flex;align-items:center;gap:14px;
  text-decoration:none;max-width:100%;min-width:0;
}
.site-footer .sly-footer-brand__icon{
  display:block;width:98px;height:98px;flex:0 0 98px;
  max-height:none;max-width:none;object-fit:contain;border-radius:0;
}
.site-footer .sly-footer-brand__text{display:flex;flex-direction:column;gap:6px;min-width:0}
.site-footer .sly-footer-brand__text .sly-brand__word{
  font-size:clamp(24px,2.2vw,31px);white-space:nowrap;
}
.site-footer .sly-footer-brand__note{font-size:12px;line-height:1.5;color:#637c7a}
.site-footer .sly-footer-description{
  max-width:380px;margin:16px 0 0;
  font-size:14px;line-height:1.72;color:#5c7270;
}
.site-footer .sly-footer-col{display:block;min-width:0}
.site-footer .sly-footer-col h2{
  margin:4px 0 15px;font-size:15px;font-weight:650;
  letter-spacing:0;line-height:1.3;color:#1d3c39;
}
.site-footer .sly-footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.site-footer .sly-footer-col li{margin:0;padding:0;line-height:1.45}
.site-footer .sly-footer-col a{
  color:#176e5d;text-decoration:none;font-weight:500;
  overflow-wrap:anywhere;transition:color .2s ease;
}
.site-footer .sly-footer-col a:hover,
.site-footer .sly-footer-col a:focus-visible{
  color:#075444;text-decoration:underline;text-underline-offset:4px;
}
.site-footer .sly-footer-bottom{
  display:flex;gap:24px;justify-content:space-between;align-items:baseline;
  border-top:1px solid #d9e7e2;padding-top:18px;padding-bottom:26px;
  font-size:12px;line-height:1.55;color:#687d79;
}
.site-footer .sly-footer-bottom small{font-size:12px;white-space:nowrap}
.site-footer .sly-footer-bottom p{margin:0;max-width:670px}
@media(max-width:1200px){
  .site-header .wrap{min-height:84px}
  .site-header .brand.sly-brand .sly-brand__icon{
    width:64px;height:64px;min-width:64px;flex-basis:64px;
  }
  .site-header .brand.sly-brand{gap:9px}
  .site-header .sly-brand__word{font-size:clamp(18px,3.1vw,26px)}
  .site-footer .sly-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));column-gap:35px;row-gap:35px;
  }
}
@media(max-width:650px){
  .site-header .wrap{min-height:84px}
  .site-header .brand.sly-brand{gap:7px;flex-shrink:1}
  .site-header .sly-brand__word{font-size:clamp(16px,4.9vw,22px)}
  .site-footer .sly-footer-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .site-footer .sly-footer-about{max-width:none}
  .site-footer .sly-footer-brand__text .sly-brand__word{font-size:27px}
  .site-footer .sly-footer-description{max-width:550px}
  .site-footer .sly-footer-col h2{margin:0 0 12px}
  .site-footer .sly-footer-col ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
  .site-footer .sly-footer-bottom{display:block;padding-top:17px;padding-bottom:24px}
  .site-footer .sly-footer-bottom p{margin-top:8px}
}
@media(max-width:350px){
  .site-header .brand.sly-brand .sly-brand__icon{width:64px;height:64px;min-width:64px;flex-basis:64px}
  .site-header .brand.sly-brand{gap:5px}
  .site-header .sly-brand__word{font-size:16px}
  .site-footer .sly-footer-col ul{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .site-footer .sly-footer-col a{transition:none}
}
