/* Services shares the finished home palette and type, with complete desktop chapters. */
.services-layout{--service-space:calc(100svh - var(--chapter-header,var(--space-24)))}
.services-layout .shell{width:100%;max-width:calc(var(--container-max) + var(--space-20)*5)}
.services-layout h1,.services-layout h2,.services-layout h3{font-family:var(--font-display);font-weight:var(--weight-heavy);line-height:var(--leading-heading);letter-spacing:var(--tracking-display)}
.service-opening{display:grid;gap:var(--space-16);align-items:center}
.services-layout .open{padding-block:var(--space-10)}
.service-area{font-size:var(--text-sm);font-weight:var(--weight-bold);color:var(--sky-700);margin-bottom:var(--space-6)}
.service-opening h1{font-size:var(--text-5xl);max-width:12ch}
.service-opening__copy>p:last-child{max-width:38ch;margin-top:var(--space-6);font-size:var(--text-lg);line-height:var(--leading-body);color:var(--ink-500)}
.service-index{display:grid}
.service-index>a{display:grid;grid-template-columns:var(--space-12) minmax(0,1fr) var(--space-6);align-items:center;gap:var(--space-5);padding-block:var(--space-6);border-bottom:1px solid var(--ink-150)}
.service-index>a:first-child{border-top:1px solid var(--ink-150)}
.service-index__number{display:grid;place-items:center;aspect-ratio:1;border-radius:var(--radius-pill);background:var(--sky-050);color:var(--sky-700);font-size:var(--text-md);font-weight:var(--weight-heavy)}
.service-index b{display:block;font-family:var(--font-display);font-size:var(--text-xl);font-weight:var(--weight-bold)}
.service-index small{display:block;font-size:var(--text-md);margin-top:var(--space-2);color:var(--ink-500)}
.service-index svg{width:var(--space-5);height:var(--space-5);fill:none;stroke:var(--sky-700);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.service-index>a:hover b{color:var(--sky-700)}
.svc{--stage-h:var(--service-stage,min(52vh,calc(var(--space-24)*6)));padding-block:var(--space-6)}
.svc-screen{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:var(--space-16);align-items:center}
.svc-copy{display:grid;gap:var(--space-4);align-content:center;justify-items:start}
.svc-number{font-size:var(--text-sm);font-weight:var(--weight-heavy);color:var(--sky-700)}
.svc-title{font-size:var(--text-4xl);max-width:17ch;text-wrap:balance}
.svc-lead{font-size:var(--text-lg);line-height:var(--leading-body);max-width:45ch;color:var(--ink-700)}
.svc-includes{display:grid;gap:var(--space-2);padding-block:var(--space-4);border-block:1px solid var(--ink-150);width:100%}
.svc-includes li{position:relative;padding-left:var(--space-5);font-size:var(--text-md);line-height:var(--leading-body);color:var(--ink-700)}
.svc-includes li::before{content:"";position:absolute;left:0;top:var(--space-2);width:var(--space-2);height:var(--space-2);border-radius:var(--radius-pill);border:1px solid var(--sky-700)}
.svc-note{font-size:var(--text-sm);line-height:var(--leading-body);color:var(--ink-500);max-width:54ch}
.svc-quote{display:inline-flex;align-items:center;justify-content:center;min-height:var(--space-12);box-shadow:none}
.svc-media{display:grid;gap:var(--space-3);min-width:0}
.svc .stage{background:transparent;min-width:0}
.svc-caption{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-4)}
.svc-caption p{font-family:var(--font-display);font-weight:var(--weight-bold);font-size:var(--text-lg)}
.svc-caption span{color:var(--ink-500);font-size:var(--text-sm);font-variant-numeric:tabular-nums;white-space:nowrap}
.svc-hint{font-size:var(--text-sm);color:var(--ink-500)}
.svc-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2);overflow:visible;padding:0}
.svc-tabs[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.svc-tabs .thumb{display:flex;align-items:center;gap:var(--space-2);min-width:0;width:100%;height:auto;min-height:var(--space-16);padding:var(--space-2);border:1px solid var(--ink-150);background:var(--white);border-radius:var(--radius-md);opacity:1;outline-offset:0;overflow:visible;text-align:left}
.svc-tabs .thumb img{width:var(--space-10);height:var(--space-10);border-radius:var(--radius-sm);flex:none;object-fit:cover}
.svc-tabs .thumb span{position:static;padding:0;min-width:0;background:none;color:var(--ink-700);font-size:var(--text-sm);font-weight:var(--weight-bold);line-height:var(--leading-heading);border-radius:0;font-variant-numeric:normal}
.svc-tabs .thumb.is-on{background:var(--sky-050);outline:2px solid var(--sky-700);border-color:transparent}
.svc-tabs .thumb.is-on span{color:var(--sky-700)}
.svc-tabs .thumb:hover{border-color:var(--sky-700);opacity:1}
.svc-tabs .thumb:focus-visible{outline:2px solid var(--ink-900);outline-offset:var(--space-1)}
.service-process{padding-block:var(--space-12)}
.service-process__head h2{font-size:var(--text-4xl)}
.service-process__head>p{font-size:var(--text-lg);color:var(--ink-500);margin-top:var(--space-4)}
.service-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-12);margin-top:var(--space-16);position:relative}
.service-steps::before{content:"";position:absolute;left:0;right:0;top:var(--space-6);border-top:1px solid var(--sky-100);z-index:-1}
.service-step-number{display:grid;place-items:center;width:var(--space-12);height:var(--space-12);border-radius:var(--radius-pill);background:var(--sky-700);color:var(--white);font-family:var(--font-display);font-size:var(--text-xl);font-weight:var(--weight-bold);outline:var(--space-3) solid var(--white);margin-bottom:var(--space-6)}
.service-steps h3{font-size:var(--text-xl);margin-bottom:var(--space-3)}
.service-steps p{font-size:var(--text-md);line-height:var(--leading-body);color:var(--ink-500);max-width:34ch}
.service-steps a{color:var(--sky-700);text-decoration:underline;text-underline-offset:var(--space-1)}
.service-steps a[href^="tel:"],.service-steps a[href^="sms:"]{white-space:nowrap}
.service-close{display:flex;flex-direction:column;justify-content:space-between;min-height:var(--service-space);background:var(--sky-700);color:var(--white)}
.service-close__body{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-block:var(--space-12)}
.service-close h2{font-size:var(--text-5xl);max-width:16ch;text-wrap:balance}
.service-close__body>p{font-size:var(--text-lg);line-height:var(--leading-body);margin-top:var(--space-5);color:var(--white);max-width:44ch}
.service-close__button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-4);padding:var(--space-4) var(--space-8);min-height:var(--space-16);margin-top:var(--space-8);border-radius:var(--radius-pill);background:var(--white);color:var(--sky-700);font-size:var(--text-lg);font-weight:var(--weight-heavy)}
.service-close__button svg{width:var(--space-6);height:var(--space-6);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.service-close__button:hover{background:var(--sky-050);color:var(--ink-900)}
.service-close__phone{font-family:var(--font-display);font-weight:var(--weight-heavy);font-size:var(--text-3xl);margin-top:var(--space-6)}
.service-close__small{font-size:var(--text-sm);color:var(--ink-150);margin-top:var(--space-2)}
.services-footer{display:flex;align-items:center;justify-content:space-between;gap:var(--space-5);padding-block:var(--space-5);border-top:1px solid var(--sky-600);font-size:var(--text-xs);color:var(--ink-150)}
.services-footer b,.services-footer span{display:block;line-height:var(--leading-body)}
.services-footer b{color:var(--white);font-weight:var(--weight-bold);font-size:var(--text-sm)}
.services-footer nav{display:flex;gap:var(--space-5);align-items:center;flex-wrap:wrap}
.services-footer a:hover{color:var(--white);text-decoration:underline}
.services-footer .chapter-switch{font-size:var(--text-xs);padding:var(--space-2);border-color:var(--sky-600);color:var(--ink-150);min-height:var(--space-10)}
@media(min-width:768px){
 .services-layout main>section{min-height:var(--service-space)}
 .services-layout .open,.services-layout .svc,.services-layout .service-process{display:grid;align-content:center}
 .service-opening{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(min-width:768px) and (max-height:740px){
 .services-layout .open,.svc,.service-process{padding-block:var(--space-4)}
 .service-opening h1,.service-close h2{font-size:var(--text-4xl)}
 .service-index>a{padding-block:var(--space-4)}
 .svc-copy{gap:var(--space-2)}
 .svc-title{font-size:var(--text-3xl)}
 .svc-lead{font-size:var(--text-md)}
 .svc-includes{gap:var(--space-1);padding-block:var(--space-3)}
 .svc-includes li{font-size:var(--text-sm)}
 .svc-note{font-size:var(--text-sm)}
 .svc-screen{gap:var(--space-10)}
 .svc-media{gap:var(--space-2)}
 .service-steps{margin-top:var(--space-10)}
 .service-process__head h2{font-size:var(--text-3xl)}
 .service-close__body{padding-block:var(--space-6)}
 .service-close__button{margin-top:var(--space-5)}
 .service-close__phone{margin-top:var(--space-4)}
}
@media(min-width:768px) and (max-width:1000px){
 .service-opening{gap:var(--space-8)}
 .service-opening h1{font-size:var(--text-4xl)}
 .service-index b{font-size:var(--text-lg)}
 .service-index small{font-size:var(--text-sm)}
 .svc-screen{gap:var(--space-8)}
 .svc-copy{gap:var(--space-3)}
 .svc-title{font-size:var(--text-3xl)}
 .svc-lead{font-size:var(--text-md)}
 .svc-includes{gap:var(--space-1);padding-block:var(--space-3)}
 .svc-includes li{font-size:var(--text-sm)}
 .svc-tabs .thumb{flex-direction:column;align-items:flex-start;gap:var(--space-1);min-height:var(--space-20)}
 .svc-tabs .thumb img{width:var(--space-8);height:var(--space-8)}
 .svc-tabs[data-count="4"] .thumb{flex-direction:row;align-items:center;min-height:var(--space-16)}
}
@media(min-width:768px) and (max-width:1000px) and (max-height:740px){
 .svc-copy{gap:var(--space-2)}
 .svc-title{font-size:var(--text-2xl)}
 .svc-lead{font-size:var(--text-sm)}
 .svc-note{font-size:var(--text-xs)}
}
@media(max-width:767px){
 .services-layout .open{padding-block:var(--space-8)}
 .service-opening{gap:var(--space-8)}
 .service-opening h1{font-size:var(--text-3xl)}
 .service-area{margin-bottom:var(--space-4)}
 .service-opening__copy>p:last-child{font-size:var(--text-md);margin-top:var(--space-4)}
 .service-index>a{grid-template-columns:var(--space-10) minmax(0,1fr) var(--space-5);gap:var(--space-3);padding-block:var(--space-4)}
 .service-index b{font-size:var(--text-md)}
 .service-index small{font-size:var(--text-sm);margin-top:var(--space-1)}
 .svc{--stage-h:min(42svh,calc(var(--space-24)*4));padding-block:var(--space-6)}
 .svc-screen{display:flex;flex-direction:column;gap:var(--space-4);align-items:stretch}
 .svc-copy{display:contents}
 .svc-number{order:1}
 .svc-title{order:2;font-size:var(--text-2xl);max-width:none}
 .svc-lead{order:3;font-size:var(--text-md)}
 .svc-media{order:4;gap:var(--space-3)}
 .svc-includes{order:5;padding-block:var(--space-4)}
 .svc-note{order:6}
 .svc-quote{order:7;align-self:flex-start}
 .svc-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .svc-tabs .thumb{flex-direction:column;align-items:flex-start;min-height:var(--space-20);gap:var(--space-2)}
 .svc-tabs .thumb img{width:var(--space-10);height:var(--space-10)}
 .service-process{padding-block:var(--space-10)}
 .service-process__head h2{font-size:var(--text-2xl)}
 .service-process__head>p{font-size:var(--text-md);margin-top:var(--space-3)}
 .service-steps{grid-template-columns:minmax(0,1fr);gap:var(--space-8);margin-top:var(--space-8)}
 .service-steps::before{left:var(--space-6);top:0;bottom:0;right:auto;border:0;border-left:1px solid var(--sky-100)}
 .service-steps li{display:grid;grid-template-columns:var(--space-12) minmax(0,1fr);gap:var(--space-2) var(--space-5)}
 .service-step-number{grid-row:1/3;margin:0;outline-color:var(--white)}
 .service-steps h3{font-size:var(--text-lg);margin:0}
 .service-steps p{grid-column:2}
 .service-close__body{padding-block:var(--space-12)}
 .service-close h2{font-size:var(--text-3xl)}
 .service-close__body>p{font-size:var(--text-md)}
 .service-close__phone{font-size:var(--text-2xl)}
 .services-footer{align-items:flex-start;flex-direction:column;gap:var(--space-4)}
 .services-footer nav{gap:var(--space-5);font-size:var(--text-sm)}
 .services-footer [data-chapter-controls]{display:none}
}
