.ug-section {
  --ug-ink: #183f3e;
  --ug-muted: #405d59;
  --ug-edge: #ccdad4;
  color: var(--ug-ink);
  width: min(100%, 1200px);
  margin: clamp(50px, 7vw, 88px) auto;
  scroll-margin-top: 92px;
  font-size: 16px;
  line-height: 1.56;
}
.ug-section *, .ug-section *::before, .ug-section *::after { box-sizing: border-box; }
.ug-section h2, .ug-section h3, .ug-section h4, .ug-section p,
.ug-section dl, .ug-section dd, .ug-section figure { margin: 0; }
.ug-section .ug-title { max-width: 800px; margin-bottom: 24px; }
.ug-section .ug-title h2 { color: var(--ug-ink); font-size: clamp(26px, 3.3vw, 44px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.ug-section .ug-title > p { margin-top: 11px; max-width: 75ch; color: var(--ug-muted); font-size: clamp(16px, 1.35vw, 18px); }
.ug-section h3 { color: var(--ug-ink); font-size: clamp(19px, 2vw, 25px); line-height: 1.2; letter-spacing: -.018em; }
.ug-section h4, .ug-section dt { color: var(--ug-ink); font-size: 17px; line-height: 1.3; font-weight: 700; }
.ug-section p, .ug-section dd { color: var(--ug-muted); }
.ug-section h3 + p, .ug-section h4 + p, .ug-section p + p, .ug-section > p:last-child { margin-top: 10px; }
.ug-section a { color: #006d5c; text-underline-offset: 3px; }
.ug-section a:focus-visible, .ug-section summary:focus-visible { outline: 3px solid #549e82; outline-offset: 3px; }
.ug-section .ug-tech, .ug-section .ug-process, .ug-section .ug-duo, .ug-section .ug-three, .ug-section .ug-dims, .ug-section .ug-library { display: grid; gap: 16px; }
.ug-section .ug-tech { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); align-items:center; border: 1px solid var(--ug-edge); border-radius: 18px; overflow: hidden; background: #fff; }
.ug-section .ug-intro { padding: clamp(18px, 2.8vw, 36px) clamp(18px,3vw,36px) clamp(18px,2.8vw,36px) 0; }
.ug-section .ug-heroimg { padding: 16px; height: 100%; display: grid; align-items: center; }
.ug-section .ug-figure { min-width: 0; }
.ug-section .ug-img { display: block; max-width: 100%; width: 100%; height: auto; object-fit: contain; }
.ug-section .ug-heroimg .ug-img { max-height: 245px; }
.ug-section .ug-figure figcaption { color: #46605a; font-size: 13px; line-height: 1.4; text-align: left; margin: 8px 0 0; }
.ug-section .ug-heroimg figcaption { text-align: center; }
.ug-section .ug-process { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; margin: 18px 0; padding: clamp(15px,2.5vw,28px); border-radius: 16px; background: #edf4ee; column-gap: clamp(22px,4vw,44px); }
.ug-section .ug-process .ug-figure { width: 100%; max-width: 540px; }
.ug-section .ug-process .ug-img { border-radius: 8px; background: #f7f9f2; }
.ug-section .ug-duo { grid-template-columns: repeat(2, minmax(0,1fr)); }
.ug-section .ug-option { padding: clamp(14px,2vw,24px); border-radius: 16px; border: 1px solid var(--ug-edge); background: #fff; }
.ug-section .ug-option h3 { margin: 0 0 10px; }
.ug-section .ug-option .ug-img { background: #f1f6f1; border-radius: 10px; }
.ug-section .ug-option figcaption { font-size: 15px; font-weight: 650; color: #215a4b; }
.ug-section .ug-option > p { margin-top: 9px; }
.ug-section .ug-detail, .ug-section .ug-topic, .ug-section .ug-question { background: #fff; border: 1px solid var(--ug-edge); border-radius: 11px; }
.ug-section .ug-detail { margin: 12px 0; }
.ug-section summary { position: relative; display: block; cursor: pointer; list-style: none; }
.ug-section summary::-webkit-details-marker { display: none; }
.ug-section summary::after { content: ''; position: absolute; right: 19px; top: 50%; width: 9px; height: 9px; border: solid #387462; border-width: 0 1.8px 1.8px 0; transform: translateY(-70%) rotate(45deg); }
.ug-section details[open] > summary::after { transform: translateY(-25%) rotate(225deg); }
.ug-section .ug-detail > summary, .ug-section .ug-question > summary { padding: 13px 42px 13px 17px; color: var(--ug-ink); font-weight: 650; line-height: 1.45; }
.ug-section .ug-detail > div, .ug-section .ug-question > p { padding: 0 17px 16px; }
.ug-section .ug-zones { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px 22px; padding: 8px 0 20px; }
.ug-section .ug-zones dt { display: flex; align-items: baseline; gap: 8px; }
.ug-section .ug-zones dt b { color: #137158; }
.ug-section .ug-zones dd { margin: 4px 0 0 0; font-size: 15px; }
.ug-section .ug-docimgs .ug-img { background: white; border: 1px solid #e5eae6; border-radius: 8px; }
.ug-section .ug-docimgs + p { margin-top: 16px; }
.ug-section .ug-three { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2vw,24px); margin: 18px 0; }
.ug-section .ug-point { padding-left: 12px; border-left: 3px solid #9dc5af; }
.ug-section .ug-dims { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 12px 0; }
.ug-section .ug-dims > div { padding: 16px; border: 1px solid var(--ug-edge); border-radius: 12px; background: #fff; }
.ug-section .ug-dims strong { display: block; color: #215f50; line-height: 1.15; font-size: clamp(23px,2.5vw,31px); letter-spacing: -.03em; }
.ug-section .ug-dims span { display: block; margin-top: 4px; color: var(--ug-muted); font-size: 14px; line-height: 1.35; }
.ug-section .ug-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; overflow: hidden; background: #d7e2d6; border: 1px solid #d7e2d6; border-radius: 15px; }
.ug-section .ug-stages li { padding: clamp(10px,1.6vw,20px); background: #f2f6ee; min-width: 0; }
.ug-section .ug-stages h3 { font-size: 18px; margin: 5px 0 4px; }
.ug-section .ug-stages p { margin: 0; font-size: 15px; line-height: 1.42; }
.ug-section .ug-mini { width: 72px; height: 49px; display: block; object-fit: contain; }
.ug-section a.ug-cta { background:#126752; color: #fff; display:inline-flex; align-items:center; gap:12px; min-height:46px; padding: 10px 18px; margin-top: 10px; border-radius:9px; text-decoration:none; font-weight:650; line-height:1.3; }
.ug-section .ug-first { display:grid; gap: 6px; }
.ug-section .ug-question > p { margin: 0; max-width: 85ch; }
.ug-section .ug-library { margin-top: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); align-items:start; gap:9px; }
.ug-section .ug-topic > summary { display:flex; align-items:center; gap:10px; padding:9px 42px 9px 12px; line-height:1.26; font-weight:650; min-height:61px; }
.ug-section .ug-topic > summary .ug-mini { width:55px; height:38px; flex:none; background:#eff4ed; border-radius:5px; }
.ug-section .ug-topic > div { padding:0 10px 8px; }
.ug-section .ug-topic .ug-question { border:0; border-top:1px solid var(--ug-edge); border-radius:0; }
.ug-section .ug-topic .ug-question > summary { padding-left:4px; font-size:15px; }
.ug-section .ug-topic .ug-question p { padding-left:4px; font-size:15px; }
@media (hover:hover) { .ug-section summary:hover { color:#08715a; } .ug-section a.ug-cta:hover { background:#095842; } }
@media (max-width: 800px) {
  .ug-section .ug-stages { grid-template-columns: 1fr; }
  .ug-section .ug-stages li { display:grid; grid-template-columns: 65px minmax(0,1fr); padding:7px 14px; align-content:center; column-gap:10px; }
  .ug-section .ug-stages .ug-mini { grid-row:span 2; width:63px; align-self:center; }
  .ug-section .ug-stages h3 { margin:4px 0 0; }
  .ug-section .ug-zones {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px) {
  .ug-section { scroll-margin-top:75px; margin:42px auto; }
  .ug-section .ug-title { margin-bottom:16px; }
  .ug-section .ug-tech, .ug-section .ug-process, .ug-section .ug-duo, .ug-section .ug-three, .ug-section .ug-library, .ug-section .ug-zones { grid-template-columns:minmax(0,1fr); }
  .ug-section .ug-heroimg { padding:12px 14px 0; }
  .ug-section .ug-heroimg .ug-img { max-height:155px; }
  .ug-section .ug-intro { padding:0 15px 16px; }
  .ug-section .ug-process { gap:14px; padding:12px; }
  .ug-section .ug-option { padding:12px; }
  .ug-section .ug-dims { gap:5px; }
  .ug-section .ug-dims > div { padding:10px 7px; }
  .ug-section .ug-dims strong { font-size:21px; white-space:nowrap; }
  .ug-section .ug-dims span { font-size:13px; overflow-wrap:anywhere; }
  .ug-section .ug-zones { gap:13px; }
  .ug-section .ug-library { gap:7px; }
  .ug-section .ug-topic > summary { min-height:52px; }
  .ug-section .ug-topic .ug-question > summary { min-height:44px; }
}

/* UNI project in Kostroma */
#cases .ug-case {
  display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  align-items: start; gap: clamp(20px,3.3vw,40px);
  margin: 18px 0 28px; padding: clamp(16px,2.4vw,29px);
  border: 1px solid #c7d9cd; border-radius: 17px; background:#f3f7f0;
  color:#193f39;
}
#cases .ug-case * { box-sizing:border-box; }
#cases .ug-case h3 { margin:4px 0 13px; font-size:clamp(22px,2.45vw,34px); line-height:1.13; letter-spacing:-.025em; color:#193f39; }
#cases .ug-case-copy p { margin:0 0 11px; font-size:16px; line-height:1.53; color:#375951; }
#cases .ug-case-copy .ug-case-place { margin:0; color:#386a58; font-size:14px; font-weight:650; }
#cases .ug-case-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; margin-top:14px; }
#cases .ug-case-actions a { display:inline-flex; align-items:center; min-height:44px; color:#12624c; text-decoration:underline; text-underline-offset:3px; font-weight:650; line-height:1.3; }
#cases .ug-case-actions a:first-child { justify-content:center; padding:10px 14px; border-radius:8px; background:#126752; color:white; text-decoration:none; }
#cases .ug-case-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; align-items:start; }
#cases .ug-case-pair figure { min-width:0; margin:0;background:transparent; }
#cases .ug-case-pair figure a { display:block; margin:0; padding:0; border:0; background:transparent; border-radius:9px; }
#cases .ug-case-pair img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:contain; background:#e8eee7; border-radius:9px; }
#cases .ug-case-pair figcaption { color:#31584b; margin:6px 0 0; font-size:14px; font-weight:650; line-height:1.3; text-align:left; }
#cases .ug-case-more { margin-top:9px; border-top:1px solid #c9d9ce; }
#cases .ug-case-more summary { display:flex; justify-content:space-between; align-items:center; gap:14px; min-height:46px; padding:8px 3px; font-weight:650; font-size:15px; color:#12624c; cursor:pointer; list-style:none; }
#cases .ug-case-more summary::-webkit-details-marker { display:none; }
#cases .ug-case-more summary::after { content:''; display:block; flex:none; width:9px; height:9px; border:solid currentColor; border-width:0 2px 2px 0; margin-right:4px; transform:rotate(45deg); }
#cases .ug-case-more[open] summary::after { transform:rotate(225deg); }
#cases .ug-case :is(a,summary):focus-visible { outline:3px solid #278063; outline-offset:3px; }
@media (max-width: 840px) {
  #cases .ug-case { grid-template-columns:minmax(0,1fr); gap:15px; }
}
@media (max-width: 550px) {
  #cases .ug-case { display:flex; flex-direction:column; gap:12px; padding:13px; }
  #cases .ug-case-copy { display:contents; }
  #cases .ug-case-copy .ug-case-place { order:0; }
  #cases .ug-case h3 { order:1; margin: -6px 0 0; }
  #cases .ug-case-media { order:2; width:100%; }
  #cases .ug-case-copy p:not(.ug-case-place) { order:3; margin:0; }
  #cases .ug-case-actions { order:4; margin:0; }
  #cases .ug-case-pair { gap:6px; }
  #cases .ug-case-pair figcaption { font-size:13px; }
}
/* End UNI project */
