/* CONTACT — origen: bloques nativos de Squarespace (acordeón + título + luna).
   Posiciones medidas en vivo a 1256px y 430px. */

/* ---------- MOBILE (base) ---------- */
/* Ojo: sin padding horizontal en la sección, para que cqw = ancho completo de la sección */
.contact-section {
  padding: 63.256cqw 0 0;        /* acordeón en y=272 */
  min-height: 143.047cqw;        /* 615px @430 */
  box-sizing: border-box;
}
.contact-moon {
  position: absolute; z-index: 2;
  left: 20.465cqw; top: 22.326cqw; width: 13.721cqw;  /* (88,96) 59px */
}
.contact-moon img { display: block; width: 100%; height: auto; }
.contact-title {
  position: absolute; z-index: 0;
  left: 26px; top: 38.605cqw;    /* y=166 */
  width: calc(100% - 52px);      /* 378px @430 */
  margin: 0;
}

/* Acordeón (réplica del acordeón de Squarespace) */
.accordion { position: relative; z-index: 1; list-style: none; margin: 0 26px; padding: 0; }
.accordion-divider { height: 1px; background-color: var(--sq-texto); opacity: 0.2; }
.accordion-item__title-wrapper { margin: 0; }
.accordion-item__click-target {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: var(--sq-texto);
  text-align: left;
}
.accordion-item__title {
  font-family: "Epilogue", sans-serif;
  font-size: 20.48px; font-weight: 500;
  line-height: normal;
  flex: 1;
  padding-right: 14px;
}
.accordion-icon-container {
  position: relative; flex: 0 0 14px; width: 14px; height: 14px;
  display: flex; align-items: center; justify-content: center;
}
.accordion-icon-container .arrow {
  width: 9.89px; height: 9.89px;
  border-right: 1px solid var(--sq-texto);
  border-bottom: 1px solid var(--sq-texto);
  transform: translateY(-2.47px) rotate(45deg);
}
.accordion-item.is-open .arrow { transform: translateY(2.47px) rotate(-135deg); }
.accordion-item__dropdown { height: 0; overflow: hidden; }
.accordion-item.is-open .accordion-item__dropdown { height: auto; }
.accordion-item__description { padding: 0 0 30px; max-width: 300px; }
.accordion-item__description p { margin: 0; white-space: pre-wrap; color: var(--sq-texto); }

/* ---------- DESKTOP ---------- */
@media (min-width: 768px) {
  .contact-section {
    padding: 15.525cqw 0 0;            /* acordeón en y=195 */
    min-height: 47.293cqw;             /* 594px @1256 */
  }
  .accordion { margin: 0 0 0 50.478cqw; width: 45.541cqw; }  /* x=634 · 572px */
  .contact-moon { left: 17.118cqw; top: 12.659cqw; width: 7.723cqw; }  /* (215,159) 97px */
  .contact-title { left: 11.704cqw; top: 21.258cqw; width: 37.818cqw; } /* (147,267) 475px */
}
