/* The live WordPress theme owns all shared components. These rules cover only new method blocks and demo behavior. */
:root{
  --al-hero-clinic:url("hero-clinic.webp");
  --al-hero-team-background:url("hero-team-background.webp");
}
.service-preview [hidden]{display:none!important}
.service-preview .mobile-menu:not(.open){visibility:hidden}
.service-preview .skip-link:focus{z-index:200}
/* Prevent the preceding hero decoration from tinting the original Methods section in the demo. */
.service-preview #methods{position:relative;z-index:1}
.benefit-grid,.method-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:34px}
#method-comparison.section-soft .method-links{grid-template-columns:repeat(2,minmax(0,1fr))}
.benefit-grid article,.method-link{padding:28px;border-radius:var(--radius);border:1px solid var(--line);background:var(--white);box-shadow:var(--shadow-soft)}
.benefit-grid article>span,.method-link-number{font-weight:800;color:var(--turquoise-deep);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.benefit-grid h3,.method-link h3{font-size:clamp(19px,1.8vw,26px);margin:14px 0 8px}
.benefit-grid p,.method-link p{margin:0;color:var(--muted)}
.method-link{display:flex;flex-direction:column}
.method-link:hover{border-color:var(--teal-dark)}
.method-arrow{display:flex;justify-content:space-between;font-weight:800;color:var(--turquoise-deep);padding-top:18px;margin-top:auto}
.service-preview details.faq-item summary{list-style:none;cursor:pointer;display:flex;gap:16px;justify-content:space-between;align-items:center;padding:21px 0;font-size:clamp(16px,1.5vw,20px);font-weight:800}
.service-preview details.faq-item summary::-webkit-details-marker{display:none}
.service-preview details.faq-item summary::after{content:"+";flex:0 0 32px;text-align:center;border-radius:100%;border:1px solid var(--line);color:var(--turquoise)}
.service-preview details[open] summary::after{content:"−"}
.service-preview details.faq-item p{line-height:1.65;color:inherit;padding:0 30px 18px 0;margin:0}
.service-preview .final-demo{display:block;align-self:center}
.service-preview .final-demo .price-pair{margin:12px 0 16px}
.service-preview .demo-note,.preview-status{font-size:.82rem;line-height:1.45}
.preview-status{padding:10px;margin:0;background:var(--paper);color:var(--ink);border-radius:var(--radius-sm)}
@media(max-width:760px){
 .benefit-grid,.method-links,#method-comparison.section-soft .method-links{grid-template-columns:1fr;gap:14px}
 .service-preview .site-footer{padding-bottom:calc(85px + env(safe-area-inset-bottom))}
}

/* Service-page navigation is separate from the original #methods tabs. */
.services-rail{position:relative;z-index:2;background:var(--paper);border-bottom:1px solid var(--line);padding:12px 0 13px}
.service-rail-title{color:var(--ink);font-size:12px;font-weight:800;margin-bottom:8px}
.services-rail .service-rail-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;overflow:visible}
.services-rail .method-tab{display:flex;align-items:center;min-height:46px;padding:8px 11px;gap:9px;transform:none}
.services-rail .method-tab b{flex:1;align-self:center;font-size:clamp(11px,2.8vw,14px)}
.hub-preview #method-comparison .method-links{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){
 .services-rail .service-rail-options,.hub-preview #method-comparison .method-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .services-rail .method-tab{gap:5px;padding-inline:8px}
}
@media(max-width:430px){
 .hub-preview #method-comparison .method-links{grid-template-columns:1fr}
}

/* Keep the original graphite treatment. At widths where the theme hides the
   side portrait, use the matching service photograph behind the copy. */
.service-uzd{--service-hero-photo:url("visit-diagnostic.jpg")}
.service-lazer{--service-hero-photo:url("official-laser.webp")}
.service-bioklei{--service-hero-photo:url("official-glue.webp")}
.service-klapany{--service-hero-photo:url("official-valves.webp")}
@media(max-width:1260px){
 .service-preview:not(.hub-preview) .hero::before{background-image:var(--service-hero-photo);background-size:cover;background-position:center 38%;opacity:.17}
}
@media(min-width:1024px){
 #method-comparison.section-soft .method-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.service-preview main [id]{scroll-margin-top:86px}
@media(max-width:1180px){
 .service-preview .mobile-menu.open{max-height:min(390px,calc(100dvh - 80px));overflow-y:auto}
}
