/* One service in the centre, framed by the architectural illustrations. */
.services-grid.services-carousel{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:center;perspective:none;}
.services-carousel .service-stage{min-width:0;border-radius:24px;background:#fff;box-shadow:0 24px 60px #30295f18;border:1px solid #3d378922;overflow:hidden;}
.service-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 26px;border-bottom:1px solid #3d378918;color:var(--morado);}
.service-eyebrow{font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;}
.service-count{font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.12em;white-space:nowrap;}
.service-slides{display:grid;}
.services-carousel .service-slides>.flyer{grid-area:1/1;display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;padding:28px;border:0;border-radius:0;content-visibility:visible;contain:none;box-shadow:none;transform:none;filter:none;opacity:1;transition:none;}
.services-carousel .service-slides>.flyer[hidden]{display:flex;visibility:hidden;pointer-events:none;animation:none;}
/* All slides share one grid cell, so its height follows the longest content.
   Inactive slides remain in layout but are invisible and inert. */
.services-carousel.is-enhanced .flyer{animation:service-enter .5s ease both;}
.services-carousel .flyer h3{font-size:clamp(20px,2vw,26px);line-height:1.3;color:var(--morado);}
.services-carousel .flyer .wm{opacity:.07;}
.services-carousel .flyer-cta{margin-top:auto;padding-top:24px;}
.service-controls{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 20px;background:#f7f6fb;border-top:1px solid #3d378915;flex-wrap:wrap;}
.service-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #3d378925;border-radius:50%;background:#fff;color:var(--morado);cursor:pointer;font:inherit;transition:background .2s,color .2s;}
.service-controls button:hover{background:var(--morado);color:#fff;}
.service-controls button:focus-visible{outline:3px solid var(--naranja);outline-offset:3px;}
.service-dots{display:flex;justify-content:center;gap:0;}
.service-dots button{min-width:26px;width:26px;border:0;background:transparent;border-radius:8px;}
.service-dots button::before{content:'';height:6px;width:6px;background:#3d378944;border-radius:10px;transition:width .25s,background .25s;}
.service-dots button[aria-current=true]::before{width:20px;background:var(--naranja);}
.service-controls .service-pause{font-size:12px;border-radius:20px;padding:0 12px;}
.service-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
@media(min-width:900px){
  .services-carousel .service-stage{position:relative;overflow:visible;}
  .services-carousel .service-toolbar{border-radius:24px 24px 0 0;}
  .services-carousel .service-slides{overflow:hidden;border-radius:0 0 24px 24px;}
  .service-controls .service-prev,.service-controls .service-next{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;z-index:2;font-size:24px;border-color:#3d378940;box-shadow:0 8px 24px #30295f20;}
  .service-controls .service-prev{left:-72px;}
  .service-controls .service-next{right:-72px;}
  .services-grid.services-carousel{grid-template-columns:minmax(120px,1fr) minmax(0,600px) minmax(120px,1fr);gap:20px;}
  .services-grid.services-carousel>.property-vignette{display:flex;grid-row:1;padding:0;align-self:center;}
  .services-carousel>.property-vignette-left{grid-column:1;}
  .services-carousel>.service-stage{grid-column:2;grid-row:1;}
  .services-carousel>.property-vignette-right{grid-column:3;}
}
@media(max-width:899px){.services-grid.services-carousel>.property-vignette{display:none;}.service-stage{width:100%;max-width:640px;justify-self:center;}}
@media(max-width:480px){.services-carousel .service-slides>.flyer{padding:20px;}.service-toolbar{padding:16px 20px;}.service-controls{gap:4px;padding:12px 8px;}.service-dots button{min-width:23px;width:23px;}}
@keyframes service-enter{from{opacity:0;transform:translateX(16px);}to{opacity:1;transform:translateX(0);}}
header.nav.carousel-aware-nav{transition:transform .28s ease,opacity .28s ease;}
header.nav.carousel-aware-nav.carousel-nav-hidden{transform:translateY(calc(-100% - 24px));opacity:0;pointer-events:none;}
header.nav.carousel-aware-nav:focus-within{transform:none;opacity:1;pointer-events:auto;}
.carousel-menu-reveal{position:fixed;top:0;right:24px;z-index:60;min-height:32px;padding:6px 16px;border:1px solid #3d378925;border-top:0;border-radius:0 0 12px 12px;background:#fff;color:var(--morado);font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;box-shadow:0 3px 12px #30295f12;cursor:pointer;}
.carousel-menu-reveal[hidden]{display:none;}
.carousel-menu-reveal:focus-visible{outline:3px solid var(--naranja);outline-offset:3px;}
@media(pointer:coarse){.carousel-menu-reveal{min-height:44px;right:12px;}}
@media(prefers-reduced-motion:reduce){header.nav.carousel-aware-nav{transition:none;}}
@media(prefers-reduced-motion:reduce){.services-carousel.is-enhanced .flyer{animation:none;}.service-controls button,.service-dots button::before{transition:none;}}
