/* ============================================================
   sections.css — Contenedores colapsables de cada sección
   ============================================================ */

/* ── Área de secciones ──────────────────────────────────── */
.sections-area {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Sección colapsable ─────────────────────────────────── */
.form-section {
  position: relative;
  background: var(--c-section-bg);
  border: 1.5px solid var(--c-border-dark);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-section);
  
}

/* Label flotante sobre el borde (réplica del original) */
.section__title {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-label);
}

/* Header clickeable */
.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 14px;
  cursor: pointer;
  user-select: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: transparent;
  transition: background 0.15s;
  border-bottom: 1.5px solid transparent;
}
.section__header:hover                      { background: rgba(0, 0, 0, 0.04); }
.form-section.open .section__header         { border-bottom-color: var(--c-border); }

/* Botón "Objetivo Estudio" */
.btn-obj-estudio {
  font-family: var(--ff-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-label);
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid var(--c-border-dark);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  cursor: default;
}

/* Indicador circular con punto (el círculo del wireframe) */
.section-indicator {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--c-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.section-indicator:hover                    { transform: scale(1.08); }
.section-indicator.active                   { border-color: var(--c-accent-ring); box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.25); }

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border-dark);
  transition: background 0.2s, transform 0.2s;
}
.section-indicator.active .indicator-dot   { background: var(--c-accent-ring); transform: scale(1.15); }

/* Chevron colapsable */
.section__chevron {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  flex-shrink: 0;
}
.section__chevron svg                       { transition: transform 0.25s ease; color: var(--c-sublabel); }
.form-section.open .section__chevron svg    { transform: rotate(180deg); }

/* Cuerpo colapsable */
.section__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.form-section.open .section__body          { max-height: 3000px; }

.section__inner                             { padding: 14px 14px 16px; }

/* Placeholder para secciones sin contenido aún */
.placeholder-inner {
  padding: 20px 16px;
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--c-placeholder);
  font-style: italic;
  text-align: center;
  border: 1.5px dashed var(--c-border);
  border-radius: var(--r-md);
  margin: 14px;
}
