:root { --hand: "Replica Klee", "Klee", "Yu Mincho", serif; --rep-mint: #aaeebe; --rep-paper: #eaf5bf; }
.rep-home { background: var(--rep-paper); }
html .mid-section { --mid-hand: var(--hand); }
.rep-head { position: relative; z-index: 4; padding: 0 16px; background: var(--rep-mint); color: #2f5840; }
.rep-head-inner { width: min(100%, 980px); min-height: 128px; margin: auto; display: grid; grid-template-columns: 93px auto minmax(0,1fr); align-items: center; gap: 12px; padding: 12px 14px; }
.rep-brand { display: grid; place-items: center; min-height: 72px; }
.rep-brand img { height: 69px; width: auto; }
.rep-social { display: flex; gap: 10px; align-items: center; }
.rep-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #508a63; background: #fff; text-decoration: none; }
.rep-social b { font: 700 34px/1 Arial,sans-serif; align-self: end; }
.camera-sign { position: relative; width: 23px; height: 23px; border: 2px solid currentColor; border-radius: 7px; display: grid; place-items: center; }
.camera-sign::before { content:""; width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50%; }
.camera-sign::after { content:""; position: absolute; width: 3px; height: 3px; right: 3px; top: 3px; border-radius: 50%; background: currentColor; }
.rep-contacts { display: flex; flex-wrap: wrap; gap: 0 .65em; justify-self: end; align-items: center; font: 400 clamp(14px,1.3vw,17px)/1.65 var(--body); }
.rep-contacts a { display: inline-flex; align-items: center; min-height: 24px; white-space: nowrap; }
@media (min-width: 851px) { .rep-contacts a:first-child { flex-basis: 100%; } }
.rep-contacts a, .rep-foot a { color: inherit; text-decoration: none; }
.rep-contacts a:hover, .rep-foot a:hover { text-decoration: underline; }
.rep-nav { display: flex; min-height: 56px; width: min(100%, 980px); border-radius: 9px; margin: auto; justify-content: space-around; align-items: stretch; background: #ddf8e4; }
.rep-nav a { padding: 0 8px; display: grid; place-items: center; text-decoration: none; color: #354a3b; font: 600 clamp(14px,1.29vw,17px)/1.5 var(--hand); }
.rep-nav a:hover { color: #752a49; text-decoration: underline; }
.rep-mobile { display:none; }
.rep-foot { background:var(--rep-mint); color:#315c40; padding: 36px 20px; }
.rep-foot-inner { max-width: 980px; margin:auto; display:flex; justify-content:space-between; align-items:flex-start; gap:2rem; }
.rep-foot-address { font-size:.94rem; }
.rep-foot-address p { margin:0 0 .2em; font-weight:600; }
.rep-foot nav { display:grid; grid-template-columns:repeat(3, auto); gap: 25px; }
.rep-foot nav div { display:grid; align-content:start; gap:.25rem; }
.rep-foot nav a { font: 600 .92rem/1.7 var(--hand); }
@media(max-width:850px){
  .rep-head { padding:0 10px; }
  .rep-head-inner { position:relative; min-height:85px; padding:6px 0; gap:0 8px; grid-template-columns:68px minmax(0,1fr) 42px; grid-template-rows:auto auto; align-items:center; }
  .rep-brand { min-height:0; grid-column:1; grid-row:1; }
  .rep-brand img { height:54px; }
  .rep-contacts { grid-column:2; grid-row:1/3; justify-self:start; font-size:clamp(11px,2.8vw,15px); gap:0 .55em; }
  .rep-social { grid-column:1;grid-row:2;justify-content:center;gap:5px; }
  .rep-social a { width:clamp(22px,6.2vw,32px); height:clamp(22px,6.2vw,32px); }
  .rep-social b { font-size:21px; } .camera-sign { transform:scale(.69); }
  .rep-nav { display:none; }
  .rep-head .rep-mobile { display:block; grid-column:3; grid-row:1/3; position:static; }
  .rep-mobile summary { list-style:none; border-radius:3px; padding:0; width:42px; min-height:42px; display:grid; place-items:center; border:1px solid #88c49d; background:#e4fae8; color:#335a43; cursor:pointer; }
  .rep-mobile summary::-webkit-details-marker { display:none; }
  .rep-mobile summary span { font:600 14px/1.05 var(--hand); letter-spacing:.14em; }
  .rep-head .rep-mobile nav { position:absolute; top:100%; right:0; left:auto; width:min(310px,100%); background:#edf9eb; box-shadow:0 4px 14px #344c4128; border-radius:0 0 9px 9px; padding:8px 18px; }
  .rep-mobile:not([open]) nav { display:none; }
  .rep-mobile nav a { display:block; padding:9px 4px; font:600 16px/1.45 var(--hand); }
  .rep-foot-inner { display:grid; justify-content:center; }
  .rep-foot-address { text-align:center; }
  .rep-foot nav { gap:12px; }
}
@media(max-width:365px){
 .rep-head-inner { grid-template-columns:52px minmax(0,1fr) 36px; gap:0 5px; }
 .rep-mobile summary { width:36px; }
 .rep-brand img { height:44px; }
}
