/* PKAMG v134 — only the homepage. Every image and service is visible without horizontal sliding. */
.home .home-photo-gallery-v134{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;
  width:100%;max-width:1360px;margin:0 auto;
}
.home .home-photo-gallery-v134>.real-photo-card{
  display:block;position:relative;isolation:isolate;min-width:0;max-width:none;
  width:100%;height:clamp(245px,25vw,345px);min-height:0!important;
  padding:0;overflow:hidden;border-radius:24px!important;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 14px 36px rgba(22,26,33,.1);text-align:left;cursor:zoom-in;
  transform:none;transition:box-shadow .2s ease,transform .2s ease;
}
.home .home-photo-gallery-v134>.real-photo-card:hover{
  transform:translateY(-3px);box-shadow:0 19px 42px rgba(22,26,33,.17);
}
.home .home-photo-gallery-v134>.real-photo-card:focus-visible{
  outline:3px solid #98334c;outline-offset:3px;
}
.home .home-photo-gallery-v134>.real-photo-card img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
}
.home .home-photo-gallery-v134>.real-photo-card .real-photo-caption{
  position:absolute;z-index:1;left:0;right:0;bottom:0;
  min-height:100px;padding:52px 26px 22px;
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;
  background:linear-gradient(to top,rgba(8,13,20,.86),rgba(8,13,20,.55) 55%,transparent);
  color:#fff;pointer-events:none;
}
.home .home-photo-gallery-v134 .real-photo-caption small{
  color:#edcf95;font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;
}
.home .home-photo-gallery-v134 .real-photo-caption strong{
  font-size:clamp(18px,1.55vw,24px);line-height:1.23;font-weight:800;max-width:95%;color:#fff;
}
.home .home-services-grid-v134{
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px!important;align-items:stretch;width:100%;max-width:1360px;margin:0 auto;
  overflow:visible!important;scroll-snap-type:none!important;
}
.home .home-services-grid-v134>.service-card{
  grid-column:span 2;min-width:0;min-height:0!important;width:100%;
  display:flex;flex-direction:column;align-items:stretch;
  border-radius:22px;overflow:hidden;box-shadow:0 14px 35px rgba(0,0,0,.1);
  transition:transform .2s ease,box-shadow .2s ease;
}
/* Two final cards are deliberately wider — no orphan or empty third column. */
.home .home-services-grid-v134>.service-card:nth-child(n+4){grid-column:span 3}
.home .home-services-grid-v134>.service-card:hover{transform:translateY(-3px);box-shadow:0 19px 44px rgba(0,0,0,.17)}
.home .home-services-grid-v134>.service-card .card-mini-hero{
  width:100%;height:clamp(175px,15vw,220px);flex:none;overflow:hidden;
}
.home .home-services-grid-v134>.service-card .card-mini-hero img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;
}
.home .home-services-grid-v134>.service-card h3{
  font-size:clamp(21px,1.6vw,25px);line-height:1.19;margin:15px 22px 8px;
}
.home .home-services-grid-v134>.service-card>.tag{align-self:flex-start;margin:18px 22px 0}
.home .home-services-grid-v134>.service-card>p{
  margin:0 22px 22px;line-height:1.48;font-size:16px;color:#66635f;flex:1;
}
.home .home-services-grid-v134>.service-card .card-link{
  margin:0 22px 24px;align-self:flex-start;
}
.home .real-photo-section--home .real-photo-head,
.home .home-services-section>.section-head{max-width:1360px;margin-left:auto;margin-right:auto}
.home .real-photo-section--home .real-photo-source{margin-top:17px}
@media(max-width:1080px){
  .home .home-services-grid-v134{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
  .home .home-services-grid-v134>.service-card,
  .home .home-services-grid-v134>.service-card:nth-child(n+4){grid-column:auto}
  .home .home-services-grid-v134>.service-card:last-child{grid-column:span 2}
  .home .home-photo-gallery-v134{gap:14px}
  .home .home-photo-gallery-v134>.real-photo-card{height:clamp(205px,29vw,285px)}
}
@media(max-width:650px){
  .home .home-photo-gallery-v134{grid-template-columns:1fr;gap:14px}
  .home .home-photo-gallery-v134>.real-photo-card{height:clamp(210px,64vw,290px);border-radius:19px!important}
  .home .home-photo-gallery-v134>.real-photo-card .real-photo-caption{padding:46px 19px 17px;gap:4px}
  .home .home-photo-gallery-v134 .real-photo-caption strong{font-size:20px}
  .home .home-services-grid-v134{grid-template-columns:1fr;gap:15px!important}
  .home .home-services-grid-v134>.service-card,
  .home .home-services-grid-v134>.service-card:nth-child(n+4),
  .home .home-services-grid-v134>.service-card:last-child{grid-column:1/-1}
  .home .home-services-grid-v134>.service-card .card-mini-hero{height:195px}
  .home .home-services-grid-v134>.service-card h3{font-size:21px;margin:13px 19px 9px}
  .home .home-services-grid-v134>.service-card>.tag{margin:15px 19px 0}
  .home .home-services-grid-v134>.service-card>p{margin:0 19px 15px;font-size:15.5px}
  .home .home-services-grid-v134>.service-card .card-link{margin:0 19px 20px}
}
@media(prefers-reduced-motion:reduce){.home .home-photo-gallery-v134>.real-photo-card,.home .home-services-grid-v134>.service-card{transition:none}}
/* Legacy named gallery classes used to force one image per row; reset. */
.home .home-photo-gallery-v134>.real-photo-card{grid-column:auto!important;grid-row:auto!important}
/* The old global overlay must not dim the new photo captions. */
.home .home-photo-gallery-v134>.real-photo-card::after{display:none!important}
.home .home-photo-gallery-v134>.real-photo-card .real-photo-caption{opacity:1!important}
.home .home-photo-gallery-v134>.real-photo-card .real-photo-caption strong{opacity:1!important;color:#fff!important}
/* On the static gallery the floating legacy zoom circles are unnecessary. */
.home .home-photo-gallery-v134>.real-photo-card::before{display:none!important}
