/* v1.7 — icons, testimonials and balanced image proportions */
.service figure{height:clamp(330px,30vw,400px);min-height:0;align-self:start}
.service figure img{object-position:center 48%}
.channel-mark svg{width:26px;height:26px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.viber-mark svg path:first-child{fill:currentColor;fill-opacity:.08}
.contact-social{display:block;padding:20px 9px 7px}
.contact-social>span{display:block;margin:0 0 12px;color:#c7ceca;font-size:12px;font-weight:900;letter-spacing:.11em}
.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.social-grid a{min-height:96px;padding:16px;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:12px;align-content:center;border:1px solid rgba(255,255,255,.19);border-radius:15px;background:rgba(255,255,255,.075);transition:transform .22s ease,background .22s ease,border-color .22s ease}
.social-grid a:hover{transform:translateY(-3px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.42)}
.social-grid svg{grid-row:1/3;width:32px;height:32px;align-self:center;fill:none;stroke:currentColor;stroke-width:1.8}
.social-grid a:last-child svg{fill:currentColor;stroke:none}
.social-grid b{font-size:16px;line-height:1.15}.social-grid small{color:#b9c2bd;font-size:11px}

.testimonials{padding:105px 0 115px;overflow:hidden;background:#e9e3d9;color:var(--ink)}
.testimonials-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:46px}
.testimonials-head h2{margin:0;font-size:clamp(44px,5vw,70px);line-height:1.04;letter-spacing:-.052em}
.testimonial-controls{display:flex;gap:9px}
.testimonial-controls button{width:52px;height:52px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:23px;cursor:pointer;transition:.2s}
.testimonial-controls button:hover{background:var(--ink);color:#fff;transform:translateY(-2px)}
.testimonials-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(330px,calc((100% - 32px)/3));gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;scrollbar-width:none;padding-bottom:5px}
.testimonials-track::-webkit-scrollbar{display:none}
.testimonials article{scroll-snap-align:start;min-height:390px;padding:30px;display:flex;flex-direction:column;border:1px solid rgba(23,23,23,.17);border-radius:20px;background:rgba(255,255,255,.6)}
.testimonials article>span{color:var(--red);font-size:13px;font-weight:900;letter-spacing:.1em}
.testimonials blockquote{margin:55px 0 38px;font-size:clamp(22px,2vw,28px);font-weight:700;line-height:1.42;letter-spacing:-.025em}
.testimonials article footer{margin-top:auto;padding:0;display:block;background:none;color:var(--ink)}
.testimonials article footer b,.testimonials article footer small{display:block;justify-self:auto}.testimonials article footer b{font-size:15px}.testimonials article footer small{margin-top:3px;color:var(--muted);font-size:12px}

body>footer{grid-template-areas:"logo tagline" "logo copyright"}
body>footer>img{grid-area:logo}body>footer>p{grid-area:tagline}body>footer>small{grid-area:copyright}

.motion-ready .testimonials{opacity:0;transform:translateY(26px);transition:opacity .75s ease,transform .75s ease}.motion-ready .testimonials.is-visible{opacity:1;transform:none}

@media(max-width:1050px) and (min-width:701px){
  .service figure{height:420px}
  .testimonials-track{grid-auto-columns:minmax(330px,calc((100% - 16px)/2))}
}

@media(max-width:700px){
  .service figure{height:auto;min-height:0;aspect-ratio:3/4}
  .team-grid img{aspect-ratio:5/6;object-position:center 24%}
  .team-grid article:nth-child(2) img{object-position:center 20%}
  .team h4{font-size:18.5px;line-height:1.4}
  .team small{font-size:13px}
  .testimonials{padding:72px 0 78px}
  .testimonials-head{align-items:center;margin-bottom:32px}
  .testimonials-head h2{font-size:39px}
  .testimonial-controls button{width:44px;height:44px}
  .testimonials-track{grid-auto-columns:86%;gap:12px}
  .testimonials article{min-height:340px;padding:24px;border-radius:17px}
  .testimonials blockquote{margin:36px 0 28px;font-size:21px;line-height:1.47}
  .contact-social{padding-inline:4px}
  .social-grid{gap:8px}
  .social-grid a{min-height:90px;padding:13px;grid-template-columns:32px 1fr;column-gap:9px}
  .social-grid svg{width:27px;height:27px}.social-grid b{font-size:15px}
  body>footer{grid-template-areas:"logo" "tagline" "copyright"}
}

@media(prefers-reduced-motion:reduce){.motion-ready .testimonials{opacity:1;transform:none;transition:none}}
