.estudio {
  --paper: #fbfcf8;
  --ink: #153d35;
  --accent: #184d40;
  --on-accent: white;
  --wash: #e6efdf;
  --display: "DM Sans", Arial, sans-serif;
}
.choice-body p {
  margin: 0.7rem 0 1rem;
  max-width: 33rem;
}
.estudio h1,
.estudio h2,
.estudio h3 {
  font-weight: 600;
}
.estudio-intro {
  padding: 2.7rem 6% 2.1rem;
}
.estudio-intro h1 {
  font-size: clamp(3rem, 5.65vw, 6rem);
  letter-spacing: -0.065em;
  line-height: 1.03;
}
.estudio-intro .location {
  margin-bottom: 0.65rem;
}
.estudio-intro > p:last-child {
  margin-top: 1rem;
}
.estudio .button {
  border-radius: 0.4rem;
}
.selector {
  padding: 0 6% 4rem;
}
.choices {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 53%;
  min-height: 30rem;
  justify-content: center;
}
.choice {
  padding: 0.75rem 0.9rem;
  border-top: 1px solid #a9c0b8;
}
.choice:last-child {
  border-bottom: 1px solid #a9c0b8;
}
.choice[open] {
  background: var(--wash);
}
.choice summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: clamp(1.1rem, 1.7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  list-style: none;
}
.choice summary::-webkit-details-marker {
  display: none;
}
.choice summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
}
.choice[open] summary::after {
  content: "−";
}
.choices::before {
  content: "";
  position: absolute;
  inset: 0 0 0 50%;
  background: var(--wash) url(../assets/marca.jpg) center/80% auto no-repeat;
  background-blend-mode: multiply;
  border-radius: 0.45rem;
}
.choice-body img {
  position: absolute;
  inset: 0 0 0 50%;
  width: 50%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.45rem;
}
.estudio .about {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}
@media (max-width: 680px) {
  .estudio .about {
    grid-template-columns: 1fr;
  }
  .estudio-intro {
    padding-block: 2.3rem 1.5rem;
  }
  .choices {
    padding: 0;
    min-height: auto;
  }
  .choices::before {
    display: none;
  }
  .choice-body img {
    position: static;
    width: 100%;
    height: 13rem;
    margin-top: 1rem;
  }
  .choice {
    scroll-margin-top: 0.6rem;
  }
}

@media (max-width: 680px) {
  .choice {
    padding-block: 0.25rem;
  }
  .choice summary {
    min-height: 44px;
  }
}

/* Fichas de tratamiento con una imagen que cambia al seleccionar. */
.estudio { --wash: #e1eedb; }
.estudio-intro h1 { text-wrap: balance; }
.choice { border-radius: .65rem; border-color: transparent; }
.choice:last-child { border-bottom: 0; }
.choice[open] { box-shadow: inset 3px 0 var(--accent); }
.choice summary::after {
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--wash);
  font-size: 1.2rem;
}
.choice[open] summary::after { color: white; background: var(--accent); }
.choice-body img, .choices::before { border-radius: 1.45rem; }
@media (prefers-reduced-motion: no-preference) {
  .choice { transition: background-color 240ms ease; }
  .choice[open] .choice-body img { animation: studio-wipe 550ms var(--ease-out); }
  .choice[open] .choice-body p { animation: print-appear 350ms var(--ease-out); }
}
@keyframes studio-wipe {
  from { clip-path: inset(0 0 24% 0 round 1.45rem); opacity: .45; }
  to { clip-path: inset(0 0 0 0 round 1.45rem); opacity: 1; }
}

/* Curvas de una huella que respiran en el margen del catálogo. */
.estudio-intro { position: relative; isolation: isolate; }
.estudio .ambient-art::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -4rem;
  width: clamp(10rem, 32vw, 36rem);
  height: 135%;
  background: repeating-radial-gradient(ellipse at 80% 52%, transparent 0 13px, #37695339 14px 15px, transparent 16px 25px);
  mask-image: linear-gradient(90deg, transparent, black 62%);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 62%);
}
@media (max-width: 680px) {
  .estudio .ambient-art::before { right: -6rem; opacity: .7; }
}
@media (prefers-reduced-motion: no-preference) {
  .estudio .ambient-art::before {
    transform-origin: 80% 52%;
    animation: studio-breathe 6.5s ease-in-out infinite alternate;
  }
}
@keyframes studio-breathe {
  from { transform: scale(.94) rotate(-3deg); }
  to { transform: scale(1.07) rotate(3deg); }
}

.estudio-intro { background-color: var(--paper); }
.estudio .cover-wave::before { top: 2%; height: 95%; }
@media (max-width: 680px) {
  .estudio .cover-wave::before { top: 5%; }
}
