/* Los dos recorridos visuales empiezan con su título centrado sobre las fotos. */
.services-title-panel{text-align:center;padding-right:0}
.services-title-panel h2{margin:12px auto 12px}
.services-title-panel>p{max-width:560px;margin-inline:auto}
.manual-heading{display:block;text-align:center;margin-bottom:23px}
.manual-heading>div:first-child{max-width:800px;margin-inline:auto}
.manual-heading h2{max-width:800px;margin:12px auto 13px}
.manual-heading p{margin-inline:auto}

@media(min-width:681px){
  .services-scroll-track{padding-top:38px}
  .services-sticky{grid-template-columns:minmax(0,1fr);justify-items:center;align-items:start;gap:15px}
  .services-title-panel{grid-column:1;grid-row:1;width:min(100%,780px);align-self:auto}
  .services-title-panel h2{max-width:780px}
  .services-stage,.services-controls{grid-column:1;width:min(100%,700px);justify-self:center}
  .services-stage{grid-row:2;aspect-ratio:5/4}
  .services-scene{height:auto;min-height:0;aspect-ratio:5/4}
  .services-interactive .services-stage{height:auto;min-height:0}
  .services-controls{grid-row:3;padding-right:0}
}
@media(max-width:680px){
  .services{padding-bottom:30px}
  .services + .manual-section{margin-top:0}
  .services-title-panel{width:100%}
  .services-title-panel h2{margin:12px auto 10px}
  .services-title-panel>p{max-width:340px}
  .manual-heading{margin-bottom:17px}
  .manual-heading h2{margin:11px auto 10px}
  .manual-heading p{max-width:360px}
}

/* En escritorio, los siete tratamientos cuelgan a ambos lados de la escena. */
.services-treatment-nav{display:none}
@media(min-width:901px){
  .services-sticky{--services-photo-width:min(55vw,700px)}
  .services-stage{width:var(--services-photo-width);z-index:1}
  .services-interactive .services-treatment-nav{
    display:grid;
    grid-column:1;
    grid-row:2;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:calc(var(--services-photo-width) + 34px);
    align-self:stretch;
    width:100%;
    z-index:2;
    pointer-events:none;
  }
  .services-treatment-column{display:flex;flex-direction:column;justify-content:space-evenly;min-width:0;padding:14px 0}
  .services-choice{
    position:relative;
    display:flex;
    align-items:center;
    min-height:64px;
    width:100%;
    padding:12px 17px;
    border:1px solid #d7c5b8;
    border-radius:9px;
    background:#fcf9f5;
    color:var(--ink);
    box-shadow:0 11px 23px rgba(65,40,29,.065);
    font-family:var(--serif);
    font-size:clamp(17px,1.65vw,24px);
    font-weight:600;
    line-height:1.05;
    text-align:left;
    cursor:pointer;
    pointer-events:auto;
    transition:background .25s,border-color .25s,box-shadow .25s,transform .25s;
  }
  .services-treatment-column--left .services-choice{justify-content:flex-end;text-align:right}
  .services-choice::before{
    content:"";
    position:absolute;
    top:-13px;
    left:50%;
    width:1px;
    height:12px;
    background:#cbb2a0;
  }
  .services-choice::after{
    content:"";
    position:absolute;
    top:-16px;
    left:calc(50% - 2px);
    width:5px;
    height:5px;
    border-radius:50%;
    background:#cbb2a0;
  }
  .services-choice:hover{transform:translateY(-3px);border-color:var(--terra);box-shadow:0 16px 27px rgba(65,40,29,.13)}
  .services-choice.is-current{border-color:var(--terra);background:#f0e5dc;box-shadow:0 13px 27px rgba(103,55,40,.12)}
  .services-choice.is-current::before,.services-choice.is-current::after{background:var(--terra)}
  .services-choice:focus-visible{outline:3px solid var(--terra-dark);outline-offset:4px}
  .services-interactive .services-arrows{display:none}
  .services-controls{width:var(--services-photo-width);justify-content:center}
}
@media(min-width:901px) and (max-width:1100px){
  .services-choice{min-height:58px;padding:10px 12px;font-size:clamp(16px,1.6vw,19px)}
}
@media(min-width:901px) and (prefers-reduced-motion:no-preference){
  .services-treatment-nav.is-visible .services-choice{
    animation:services-choice-drop .7s cubic-bezier(.2,.8,.2,1) backwards;
    animation-delay:calc(var(--choice-order) * 75ms);
  }
  .services-treatment-column--left .services-choice:nth-child(1){--choice-order:0}
  .services-treatment-column--left .services-choice:nth-child(2){--choice-order:1}
  .services-treatment-column--left .services-choice:nth-child(3){--choice-order:2}
  .services-treatment-column--right .services-choice:nth-child(1){--choice-order:3}
  .services-treatment-column--right .services-choice:nth-child(2){--choice-order:4}
  .services-treatment-column--right .services-choice:nth-child(3){--choice-order:5}
  .services-treatment-column--right .services-choice:nth-child(4){--choice-order:6}
  @keyframes services-choice-drop{
    from{opacity:0;transform:translateY(-20px) rotate(-1deg);filter:blur(3px)}
    to{opacity:1;transform:none;filter:blur(0)}
  }
}
@media(prefers-reduced-motion:reduce){.services-choice{transition:none}}
